[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2024-04-05 Thread Arthur Zamarin
commit: 870ad7c11f5924647b33e0926174e79b45691e9f
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar 27 18:31:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 15:26:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870ad7c1

x11-misc/cdm: add missing remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35947
Signed-off-by: Arthur Zamarin  gentoo.org>

 x11-misc/cdm/metadata.xml | 21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/x11-misc/cdm/metadata.xml b/x11-misc/cdm/metadata.xml
index 0de7e88f0721..bda2ea2392c5 100644
--- a/x11-misc/cdm/metadata.xml
+++ b/x11-misc/cdm/metadata.xml
@@ -1,13 +1,16 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-
-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.
-
+  
+  
+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.
+  
+  
+evertiro/cdm
+  
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2021-04-30 Thread Andreas Sturmlechner
commit: 40783fcda7a84c9dfba7b363eadfe9156e6ee2c5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr 18 18:38:31 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Apr 30 19:40:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40783fcd

x11-misc/cdm: Drop 0.6.1_pre20180107, EAPI6--

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 x11-misc/cdm/Manifest |  1 -
 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 65 ---
 2 files changed, 66 deletions(-)

diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest
index 9c602834109..027ce2546c6 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 b6b34d36637..000
--- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit pam
-
-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"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   dev-util/dialog
-   x11-apps/xdpyinfo
-   x11-apps/xinit
-   pam? ( sys-libs/pam )"
-
-src_prepare() {
-   default
-   sed -e 's@consolekit=yes@consolekit=no@' \
-   -i "${S}/src/cdmrc" || die "Could not turn off 
consolekit in cdmrc"
-}
-
-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."
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2021-04-16 Thread Sam James
commit: e1470986f3b652b9e99fa2b1960c7419b7ea31a5
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 16 08:07:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 16 11:22:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1470986

x11-misc/cdm: eutils--

Signed-off-by: Sam James  gentoo.org>

 x11-misc/cdm/cdm-0.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/cdm/cdm-0.7.ebuild b/x11-misc/cdm/cdm-0.7.ebuild
index 69859215a89..a1194710190 100644
--- a/x11-misc/cdm/cdm-0.7.ebuild
+++ b/x11-misc/cdm/cdm-0.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 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;



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2021-04-16 Thread Sam James
commit: 32c9c6df59ae337ef8054bfef3cb9344e28f48bf
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 16 08:15:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 16 11:22:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c9c6df

x11-misc/cdm: eutils--

Signed-off-by: Sam James  gentoo.org>

 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild 
b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
index 880a059eabf..b6b34d36637 100644
--- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
+++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit pam eutils
+inherit pam
 
 DESCRIPTION="The Console Display Manager"
 HOMEPAGE="https://github.com/evertiro/cdm;



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2020-10-04 Thread Mikle Kolyada
commit: 3f129436248df4fc168081fbdd1753e8f9c29b81
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct  4 14:57:02 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct  4 14:57:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f129436

x11-misc/cdm: remove consolekit support

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada  gentoo.org>

 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 11 +++
 x11-misc/cdm/cdm-0.7.ebuild   | 11 +++
 x11-misc/cdm/metadata.xml |  3 ---
 3 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild 
b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
index 9702b5d25cc..880a059eabf 100644
--- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
+++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,24 +12,19 @@ 
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 )"
+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/cdm-0.7.ebuild b/x11-misc/cdm/cdm-0.7.ebuild
index ec83965c22f..69859215a89 100644
--- a/x11-misc/cdm/cdm-0.7.ebuild
+++ b/x11-misc/cdm/cdm-0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -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 76e6b001343..1f9a6e70a7b 100644
--- a/x11-misc/cdm/metadata.xml
+++ b/x11-misc/cdm/metadata.xml
@@ -13,7 +13,4 @@ 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.
 
- 
-  Enable native consolekit support
-
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2019-10-12 Thread Mikle Kolyada
commit: e3503d9a1d516c4bc8524ec0adcab3a53ff644d8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 18:07:55 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 18:07:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3503d9a

x11-misc/cdm: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 x11-misc/cdm/cdm-0.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/cdm/cdm-0.7.ebuild b/x11-misc/cdm/cdm-0.7.ebuild
index a2ed855b1c5..ec83965c22f 100644
--- a/x11-misc/cdm/cdm-0.7.ebuild
+++ b/x11-misc/cdm/cdm-0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND}
x11-apps/xinit
consolekit? ( sys-auth/consolekit
sys-apps/dbus )
-   pam? ( virtual/pam )"
+   pam? ( sys-libs/pam )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2019-10-12 Thread Mikle Kolyada
commit: d5b07617fa4ebc66dec365d955f0e6e694260219
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 18:06:51 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 18:06:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b07617

x11-misc/cdm: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild 
b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
index d131c897863..9702b5d25cc 100644
--- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
+++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND}
x11-apps/xinit
consolekit? ( sys-auth/consolekit
sys-apps/dbus )
-   pam? ( virtual/pam )"
+   pam? ( sys-libs/pam )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2018-10-05 Thread Mark Wright
commit: 65bdf333a0e1045ee971e64bf446a53865f7c6bd
Author: Mark Wright  gentoo  org>
AuthorDate: Fri Oct  5 06:54:31 2018 +
Commit: Mark Wright  gentoo  org>
CommitDate: Fri Oct  5 07:03:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bdf333

x11-misc/cdm: Bump to 0.7

Thanks to Francesco Turco for reporting.
Closes: https://bugs.gentoo.org/666356
Signed-off-by: Mark Wright  gentoo.org>

 x11-misc/cdm/Manifest|  2 +-
 .../cdm/{cdm-0.6.1_pre20130419.ebuild => cdm-0.7.ebuild} | 12 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest
index 4e29e07811c..9c602834109 100644
--- a/x11-misc/cdm/Manifest
+++ b/x11-misc/cdm/Manifest
@@ -1,2 +1,2 @@
-DIST cdm-0.6.1_pre20130419.tar.gz 16056 BLAKE2B 
a92eabbc044b58e751b29bc05073052605b03460fa1aa62f15385c78e3c2ca033f8a25b40c646eed1602f3856e97d8dd6f987ecbc6ba50ad68aad4813725e72b
 SHA512 
638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75998275e89c132feba0ed3df26ab1657bf8b
 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_pre20130419.ebuild 
b/x11-misc/cdm/cdm-0.7.ebuild
similarity index 89%
rename from x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild
rename to x11-misc/cdm/cdm-0.7.ebuild
index 2544ebcfa1a..a2ed855b1c5 100644
--- a/x11-misc/cdm/cdm-0.6.1_pre20130419.ebuild
+++ b/x11-misc/cdm/cdm-0.7.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="7"
 
 inherit pam eutils
 
 DESCRIPTION="The Console Display Manager"
-HOMEPAGE="https://wiki.archlinux.org/index.php/CDM;
-SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz;
+HOMEPAGE="https://github.com/evertiro/cdm;
+SRC_URI="https://github.com/evertiro/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -15,8 +15,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="pam consolekit"
 REQUIRED_USE="consolekit? ( pam )"
 
-DEPEND="app-shells/bash"
-
+DEPEND=""
 RDEPEND="${DEPEND}
dev-util/dialog
x11-apps/xdpyinfo
@@ -26,6 +25,7 @@ RDEPEND="${DEPEND}
pam? ( virtual/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"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/

2018-01-29 Thread Mark Wright
commit: f536fcc093fa1d6a2df8dd8076cd568bdede48e3
Author: Mark Wright  gentoo  org>
AuthorDate: Mon Jan 29 10:28:40 2018 +
Commit: Mark Wright  gentoo  org>
CommitDate: Mon Jan 29 10:28:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f536fcc0

x11-misc/cdm: Bump

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-misc/cdm/Manifest |  1 +
 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 70 +++
 2 files changed, 71 insertions(+)

diff --git a/x11-misc/cdm/Manifest b/x11-misc/cdm/Manifest
index b4de7476ba0..4e29e07811c 100644
--- a/x11-misc/cdm/Manifest
+++ b/x11-misc/cdm/Manifest
@@ -1 +1,2 @@
 DIST cdm-0.6.1_pre20130419.tar.gz 16056 BLAKE2B 
a92eabbc044b58e751b29bc05073052605b03460fa1aa62f15385c78e3c2ca033f8a25b40c646eed1602f3856e97d8dd6f987ecbc6ba50ad68aad4813725e72b
 SHA512 
638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75998275e89c132feba0ed3df26ab1657bf8b
+DIST cdm-0.6.1_pre20180107.tar.gz 16541 BLAKE2B 
19b7a8f6ef7541333b96bb3c2d6a9d3b7ce3bffdcf6653a3799d963d3b3bab3fe3553469a9cbf0f493109ad5308c739b25ce9e5801d0904f5d7b6e78b680e2fc
 SHA512 
dc5587debb304636be25afdf60e8328b1eb9b961694813b089df504567f63cfeac6de17df715d589cec597f51044b8c121242ebefbe5bfeccf6aa072b1c03a40

diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild 
b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
new file mode 100644
index 000..d131c897863
--- /dev/null
+++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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? ( virtual/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."
+}