summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/cdm')
-rw-r--r--x11-misc/cdm/Manifest1
-rw-r--r--x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild70
-rw-r--r--x11-misc/cdm/cdm-0.7.ebuild13
-rw-r--r--x11-misc/cdm/metadata.xml29
4 files changed, 17 insertions, 96 deletions
diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest
index 9c602834109d..027ce2546c69 100644
--- a/x11-misc/cdm/Manifest
+++ b/x11-misc/cdm/Manifest
@@ -1,2 +1 @@
-DIST cdm-0.6.1_pre20180107.tar.gz 16541 BLAKE2B 19b7a8f6ef7541333b96bb3c2d6a9d3b7ce3bffdcf6653a3799d963d3b3bab3fe3553469a9cbf0f493109ad5308c739b25ce9e5801d0904f5d7b6e78b680e2fc SHA512 dc5587debb304636be25afdf60e8328b1eb9b961694813b089df504567f63cfeac6de17df715d589cec597f51044b8c121242ebefbe5bfeccf6aa072b1c03a40
DIST cdm-0.7.tar.gz 16154 BLAKE2B ca240e253ad4ed6b5e634069b98c90c00852fc6d6550ca1f72b3399435264055cfca31f88f6061daa3e2e3445bd1a8ad9f950b44968df4c77d6c8150b2782a34 SHA512 51591b953ec83c06a5a4407c6d6083ac11e7095c7fb22e491ed3d6626217462529d3dd3590c2a256273b3668c7246b13bfd1f2f682f5bd860ca8a34aaca0b6f5
diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
deleted file mode 100644
index 9702b5d25cc7..000000000000
--- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit pam eutils
-
-DESCRIPTION="The Console Display Manager"
-HOMEPAGE="https://github.com/evertiro/cdm"
-SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="pam consolekit"
-REQUIRED_USE="consolekit? ( pam )"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-util/dialog
- x11-apps/xdpyinfo
- x11-apps/xinit
- consolekit? ( sys-auth/consolekit
- sys-apps/dbus )
- pam? ( sys-libs/pam )"
-
-src_prepare() {
- default
- if ! use consolekit; then
- sed -e 's@consolekit=yes@consolekit=no@' \
- -i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc"
- fi
-}
-
-src_install() {
- if use pam ; then
- pamd_mimic system-local-login cdm auth account session
- fi
-
- insinto /usr/bin/
- insopts -m0755
- dobin src/${PN} src/${PN}-xlaunch
-
- insinto /etc
- insopts -Dm644
- doins src/cdmrc
-
- insinto /etc/profile.d/
- insopts -Dm755
- newins src/profile.sh zzz-${PN}.sh
-
- # Install themes
- insinto /usr/share/${PN}/themes
- doins themes/*
- # Copy documentation manually
- dodoc ChangeLog-0.6 ChangeLog-before-0.6 README.md
-}
-
-pkg_postinst() {
- ewarn "In order to use CDM you must first edit your /etc/cdmrc"
- ewarn "At least the binlist, namelist and flaglist entries should be added or edited"
- ewarn "to specify the X window managers and console shells that you want before"
- ewarn "you start CDM. Something like:"
- ewarn "binlist=('xmonad' 'startkde' '/bin/zsh --login' '/bin/bash --login')"
- ewarn "namelist=('XMonad' 'KDE' 'Console Zsh' 'Console Bash')"
- ewarn "flaglist=(X X C C)"
- ewarn "Ensure the flaglist X entries correspond to the X-Windows programs, and the"
- ewarn "C entries correspond to console shells. Then just login with your username."
- ewarn "Remove xdm from default runlevel."
-}
diff --git a/x11-misc/cdm/cdm-0.7.ebuild b/x11-misc/cdm/cdm-0.7.ebuild
index ec83965c22fc..a11947101909 100644
--- a/x11-misc/cdm/cdm-0.7.ebuild
+++ b/x11-misc/cdm/cdm-0.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-inherit pam eutils
+inherit pam
DESCRIPTION="The Console Display Manager"
HOMEPAGE="https://github.com/evertiro/cdm"
@@ -12,24 +12,19 @@ SRC_URI="https://github.com/evertiro/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="pam consolekit"
-REQUIRED_USE="consolekit? ( pam )"
+IUSE="pam"
DEPEND=""
RDEPEND="${DEPEND}
dev-util/dialog
x11-apps/xdpyinfo
x11-apps/xinit
- consolekit? ( sys-auth/consolekit
- sys-apps/dbus )
pam? ( sys-libs/pam )"
src_prepare() {
default
- if ! use consolekit; then
- sed -e 's@consolekit=yes@consolekit=no@' \
+ sed -e 's@consolekit=yes@consolekit=no@' \
-i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc"
- fi
}
src_install() {
diff --git a/x11-misc/cdm/metadata.xml b/x11-misc/cdm/metadata.xml
index 76e6b001343e..bda2ea2392c5 100644
--- a/x11-misc/cdm/metadata.xml
+++ b/x11-misc/cdm/metadata.xml
@@ -1,19 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>gienah@gentoo.org</email>
- <name>Mark Wright</name>
-</maintainer>
-<longdescription lang="en">
-CDM is a minimalistic, yet full-featured replacement for
-login-managers like slim, kdm, gdm and qingy that provides a fast,
-dialog-based login system without the overhead of the X Window System
-or the instability of qingy. Written in pure bash, CDM has no other
-dependencies, yet supports multiple users/sessions and can start
-virtually any DE/WM.
-</longdescription>
-<use>
- <flag name="consolekit">Enable native consolekit support</flag>
-</use>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ CDM is a minimalistic, yet full-featured replacement for
+ login-managers like slim, kdm, gdm and qingy that provides a fast,
+ dialog-based login system without the overhead of the X Window System
+ or the instability of qingy. Written in pure bash, CDM has no other
+ dependencies, yet supports multiple users/sessions and can start
+ virtually any DE/WM.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">evertiro/cdm</remote-id>
+ </upstream>
</pkgmetadata>