x11-misc/cdm: Remove old

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4142
This commit is contained in:
Harri Nieminen
2017-03-06 08:53:34 +02:00
committed by David Seifert
parent ba5eb06a3f
commit 0d2e703a2c
3 changed files with 0 additions and 94 deletions

View File

@@ -1,2 +1 @@
DIST cdm-0.5.3.tar.gz 13751 SHA256 fb9ada13d3416305828c99943698fe7df3b0ab91bd6099e7b2707e1d8dd99a23 SHA512 bdb2746c41272d47defd6fcae3ab18bc71de6aaca521d8deee82d776fe1c06ea0eb679297dc731e9ecf878bee400aabccdb3d6d044f2ffcdc5e838488b0d6799 WHIRLPOOL 90265c475acc5a41e796cef9afb2087437885ca4b52f02e908d08f4e6f78201f1d09afeb0ebf906a6b3dcf3c7be69f9d5372d3035f85ed7d090137ce70bb8dc3
DIST cdm-0.6.1_pre20130419.tar.gz 16056 SHA256 3fabec053271c39bbca44074fd05eda0ccf8c1e320664bb6d8f23fa79aca2bca SHA512 638d92c536609b8bf1d08f4be80933e5ff23acfe412ee6b72ff924edbe1e510110b7941caea9b206136ee5a75dddd998275e89c132feba0ed3df26ab1657bf8b WHIRLPOOL 5606bc125080c74b5b49aebc26283817e03ef84bff5e671fa7df9f3f8041c3975db34a2a00ad37578419319244dc66935908df9bdd8b19f6d4b9351e5ff11f50

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit base 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"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pam consolekit"
REQUIRED_USE="consolekit? ( pam )"
DEPEND="app-shells/bash"
RDEPEND="${DEPEND}
dev-util/dialog
x11-apps/xdpyinfo
x11-apps/xinit
consolekit? ( sys-auth/consolekit
sys-apps/dbus )
pam? ( virtual/pam )"
PATCHES=("${FILESDIR}/${PN}-0.5.3-invalid-MIT-cookie.patch")
src_prepare() {
base_src_prepare
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}
insinto /etc
insopts -Dm644
doins src/cdmrc
insinto /usr/share/${PN}
insopts -m644
doins src/xinitrc*
insinto /etc/profile.d/
insopts -Dm755
doins src/zzz-${PN}-profile.sh
# Install themes
insinto /usr/share/${PN}/themes
doins src/themes/*
# Copy documentation manually
dodoc CHANGELOG
}
pkg_postinst() {
einfo "In order to use CDM you must first edit your /etc/cdmrc"
einfo "At least these should be edited before you start using CDM:"
einfo "wmbinlist=(awesome openbox-session startkde startxfce4 gnome-session)"
einfo "wmdisplist=(Awesome Openbox KDE Xfce Gnome)"
einfo "Add whatever WM/DE you have."
einfo "Then just login with your username"
ewarn "Remove xdm from default runlevel"
}

View File

@@ -1,19 +0,0 @@
commit c4b831f919e695d1c6882fbd76900dfa0f64cab5
Author: ShadowKyogre <shadowkyogre@aim.com>
Date: Sat Feb 11 17:44:23 2012 -0800
Add case for handling the Invalid MIT cookie or something.
diff --git a/src/cdm b/src/cdm
index d5aead5..59094cc 100755
--- a/src/cdm
+++ b/src/cdm
@@ -128,6 +128,8 @@ else
elif [[ $dpyinfo = No\ protocol\ specified* ]]; then
# Display is in use by another user
let display=display+1
+ elif [[ $dpyinfo = Invalid\ MIT* ]];then
+ let display=display+1
else
break
fi