diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-20 15:42:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-20 15:42:42 +0000 |
commit | 95c533a1fa3acf63520906499f8015ceb54ad61a (patch) | |
tree | 02600848bae60fd9984618d178d611e1bd71244e /sys-power/powersave | |
parent | Unmask amarok now that's released. (diff) | |
download | gentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.tar.gz gentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.tar.bz2 gentoo-2-95c533a1fa3acf63520906499f8015ceb54ad61a.zip |
Remove pam_console USE flag, dependency and so on.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'sys-power/powersave')
-rw-r--r-- | sys-power/powersave/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.14.0.ebuild | 19 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.15.11.ebuild | 19 |
3 files changed, 15 insertions, 29 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog index e71180600c36..b65169d42081 100644 --- a/sys-power/powersave/ChangeLog +++ b/sys-power/powersave/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/powersave # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.21 2007/08/02 06:38:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.22 2007/12/20 15:42:42 flameeyes Exp $ + + 20 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> + powersave-0.14.0.ebuild, powersave-0.15.11.ebuild: + Remove pam_console USE flag, dependency and so on. 02 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org> powersave-0.14.0.ebuild, powersave-0.15.11.ebuild: diff --git a/sys-power/powersave/powersave-0.14.0.ebuild b/sys-power/powersave/powersave-0.14.0.ebuild index 3bf27b10912b..efd88cf29344 100644 --- a/sys-power/powersave/powersave-0.14.0.ebuild +++ b/sys-power/powersave/powersave-0.14.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.14.0.ebuild,v 1.10 2007/08/02 06:38:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.14.0.ebuild,v 1.11 2007/12/20 15:42:42 flameeyes Exp $ inherit eutils libtool kde-functions autotools @@ -10,12 +10,11 @@ HOMEPAGE="http://powersave.sf.net/" KEYWORDS="amd64 x86" SLOT="0" LICENSE="GPL-2" -IUSE="pam_console doc" +IUSE="doc" RDEPEND="dev-libs/dbus-glib >=sys-apps/hal-0.5.3 - >=sys-power/cpufrequtils-001 - pam_console? ( || ( sys-auth/pam_console <sys-libs/pam-0.99 ) )" + >=sys-power/cpufrequtils-001" DEPEND="${RDEPEND} doc? ( app-doc/doxygen @@ -23,19 +22,11 @@ DEPEND="${RDEPEND} www-client/lynx )" -pkg_setup() { - if use pam_console && has_version "<sys-libs/pam-0.99" && ! built_with_use sys-libs/pam pam_console ; then - eerror "You need to build pam with pam_console support" - eerror "Please remerge sys-libs/pam with USE=pam_console" - die "pam without pam_console detected" - fi -} - src_unpack() { unpack ${A} cd ${S} - # Use pam_console or group plugdev to control access to powersave - use pam_console || epatch ${FILESDIR}/plugdev_access.patch + # Use group plugdev to control access to powersave + epatch ${FILESDIR}/plugdev_access.patch } src_compile() { diff --git a/sys-power/powersave/powersave-0.15.11.ebuild b/sys-power/powersave/powersave-0.15.11.ebuild index 09da5c1c0382..5d951c76fcbc 100644 --- a/sys-power/powersave/powersave-0.15.11.ebuild +++ b/sys-power/powersave/powersave-0.15.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.5 2007/08/02 06:38:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.6 2007/12/20 15:42:42 flameeyes Exp $ inherit eutils libtool kde-functions autotools @@ -10,13 +10,12 @@ HOMEPAGE="http://powersave.sf.net/" KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="GPL-2" -IUSE="pam_console doc" +IUSE="doc" RDEPEND="dev-libs/dbus-glib >=sys-apps/hal-0.5.3 >=sys-power/cpufrequtils-001 - dev-libs/liblazy - pam_console? ( || ( sys-auth/pam_console <sys-libs/pam-0.99 ) )" + dev-libs/liblazy" DEPEND="${RDEPEND} doc? ( app-doc/doxygen @@ -24,20 +23,12 @@ DEPEND="${RDEPEND} www-client/lynx )" -pkg_setup() { - if use pam_console && has_version "<sys-libs/pam-0.99" && ! built_with_use sys-libs/pam pam_console ; then - eerror "You need to build pam with pam_console support" - eerror "Please remerge sys-libs/pam with USE=pam_console" - die "pam without pam_console detected" - fi -} - src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/powersave-as-needed.patch - # Use pam_console or group plugdev to control access to powersave - use pam_console || epatch ${FILESDIR}/plugdev_access.patch + # Use group plugdev to control access to powersave + epatch ${FILESDIR}/plugdev_access.patch } src_compile() { |