diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-05-12 08:42:34 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-05-12 08:42:34 +0000 |
commit | 916a29845732aee68f7f3a7068fafec8f8566046 (patch) | |
tree | aed908d6d546c2ad14e1e4d4201ffd1f00a15349 /x11-misc/alock | |
parent | Stable on ppc64; bug #221263 (diff) | |
download | historical-916a29845732aee68f7f3a7068fafec8f8566046.tar.gz historical-916a29845732aee68f7f3a7068fafec8f8566046.tar.bz2 historical-916a29845732aee68f7f3a7068fafec8f8566046.zip |
Add imlib and pam useflags, see bug #220425.
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'x11-misc/alock')
-rw-r--r-- | x11-misc/alock/ChangeLog | 5 | ||||
-rw-r--r-- | x11-misc/alock/Manifest | 14 | ||||
-rw-r--r-- | x11-misc/alock/alock-60-r3.ebuild | 36 |
3 files changed, 38 insertions, 17 deletions
diff --git a/x11-misc/alock/ChangeLog b/x11-misc/alock/ChangeLog index 7c38e813456d..3c91889bf821 100644 --- a/x11-misc/alock/ChangeLog +++ b/x11-misc/alock/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-misc/alock # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/ChangeLog,v 1.12 2008/03/23 00:39:25 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/ChangeLog,v 1.13 2008/05/12 08:42:34 nelchael Exp $ + + 12 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> alock-60-r3.ebuild: + Add imlib and pam useflags, see bug #220425. 22 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> alock-60-r3.ebuild: amd64 stable, clean up and add desktop-misc to herd. diff --git a/x11-misc/alock/Manifest b/x11-misc/alock/Manifest index b85d61ddac22..bf33643b9181 100644 --- a/x11-misc/alock/Manifest +++ b/x11-misc/alock/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST alock-svn-60.tar.bz2 64818 RMD160 30448c69817efb4d7979958ca32f07e9276c1795 SHA1 508edc150517963310eb1518eeb1831552f68d54 SHA256 27e7b6b0c8dc2443c349f12288d11d2b01f20fd2e61e55ef712362176577667d -EBUILD alock-60-r3.ebuild 1222 RMD160 6589ad74e1951419c615f34c441e5bdeb69180b0 SHA1 f654479b81e9978e2c0947700f6a15d2bcc7834e SHA256 f815f98a38077e7928e168dd05522c93e40a4219755cbc311aabee553aec7a51 -MISC ChangeLog 1741 RMD160 d3269ffaf4a5e6e17d024287f19789c1e1f1f53a SHA1 8393950b67a5baa32c8362c253a87a0b5db99da8 SHA256 ff4ceb9b626e6daf33ecff82fe066b67613843fdeb77a91735cc530aa9b2acce +EBUILD alock-60-r3.ebuild 1536 RMD160 1bad81b970fd5c2f1add56b13d75b580cc1469cb SHA1 6620a0c84a006ae38a2c40a372049521ddff2e83 SHA256 0833578b12e6728250b03b1ac0c7604c7fcdce4edd5a904e93e2b89481efd1ec +MISC ChangeLog 1862 RMD160 d591b7a4b77798bc9f1529f0efec3843c202a862 SHA1 c5ef8b43bd0f1207cab92210491cec7d9c7a821e SHA256 5284512abf682f8c590e8d450400719dbb3f37915b3c7e59514fe0bd9824ee92 MISC metadata.xml 248 RMD160 a3c2fb4b86800643829c453c9c8706f6b6f443c6 SHA1 2de379f0bc60838592b7d054d2314af50d092aa0 SHA256 bd56c85b46515758beb9ddbd9af1cdc1f6541e148c33dcc53f9f8a5e30a9608d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkgoAwAACgkQgo/w9rxVVVFw3gCgiUZ0/C8+c56j5Sl6JTUTRBWj +NS4An1xvXY75ZMUy/tCcvBb8dsLCw5mk +=lk0p +-----END PGP SIGNATURE----- diff --git a/x11-misc/alock/alock-60-r3.ebuild b/x11-misc/alock/alock-60-r3.ebuild index da0db0454f2f..8e9b34c39cc2 100644 --- a/x11-misc/alock/alock-60-r3.ebuild +++ b/x11-misc/alock/alock-60-r3.ebuild @@ -1,33 +1,30 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-60-r3.ebuild,v 1.4 2008/03/23 00:39:25 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-60-r3.ebuild,v 1.5 2008/05/12 08:42:34 nelchael Exp $ inherit eutils DESCRIPTION="locks the local X display until a password is entered" -HOMEPAGE=" - http://code.google.com/p/alock/ - http://darkshed.net/projects/alock -" +HOMEPAGE="http://code.google.com/p/alock/ + http://darkshed.net/projects/alock" SRC_URI="http://alock.googlecode.com/files/alock-svn-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" -IUSE="" +IUSE="imlib pam" -DEPEND=" - x11-libs/libX11 +DEPEND="x11-libs/libX11 x11-libs/libXext x11-libs/libXpm - media-libs/imlib2 -" -RDEPEND="" + imlib? ( media-libs/imlib2 ) + pam? ( virtual/pam )" +RDEPEND="${DEPEND}" S=${WORKDIR}/alock-svn-${PV} pkg_setup() { - if ! built_with_use media-libs/imlib2 X ; then + if use imlib && ! built_with_use media-libs/imlib2 X ; then eerror "media-libs/imlib2 has to be built with X support" die "emerge media-libs/imlib2 with USE=\"X\"" fi @@ -40,8 +37,11 @@ src_unpack() { } src_compile() { - econf --with-all || die - emake || die + econf --with-all \ + $(use_with pam) \ + $(use_with imlib) \ + || die "configure failed" + emake || die "make failed" } src_install() { @@ -55,3 +55,11 @@ src_install() { insinto /usr/share/alock/bitmaps doins bitmaps/* } + +pkg_postinst() { + if ! use pam; then + einfo "pam support disabled" + einfo "In order to authenticate against /etc/passwd, " + einfo "/usr/bin/alock will need to be SUID" + fi +} |