Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/pambase: ChangeLog pambase-20080801-r1.ebuild
Date: Mon, 29 Sep 2008 05:25:12
Message-Id: E1KkBFr-0005Rg-Nb@stork.gentoo.org
1 flameeyes 08/09/29 05:25:07
2
3 Modified: ChangeLog
4 Added: pambase-20080801-r1.ebuild
5 Log:
6 Add a new revision using EAPI=2.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.55 sys-auth/pambase/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.55&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.55&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.54&r2=1.55
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v
19 retrieving revision 1.54
20 retrieving revision 1.55
21 diff -u -r1.54 -r1.55
22 --- ChangeLog 22 Aug 2008 20:53:25 -0000 1.54
23 +++ ChangeLog 29 Sep 2008 05:25:07 -0000 1.55
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-auth/pambase
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.54 2008/08/22 20:53:25 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.55 2008/09/29 05:25:07 flameeyes Exp $
29 +
30 +*pambase-20080801-r1 (29 Sep 2008)
31 +
32 + 29 Sep 2008; Diego Pettenò <flameeyes@g.o>
33 + +pambase-20080801-r1.ebuild:
34 + Add a new revision using EAPI=2.
35
36 22 Aug 2008; Alexis Ballier <aballier@g.o> pambase-20080801.ebuild:
37 keyword ~sparc-fbsd
38
39
40
41 1.1 sys-auth/pambase/pambase-20080801-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080801-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080801-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pambase-20080801-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20080801-r1.ebuild,v 1.1 2008/09/29 05:25:07 flameeyes Exp $
51
52 EAPI=2
53
54 inherit eutils
55
56 DESCRIPTION="PAM base configuration files"
57 HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/"
58 SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512"
64 RESTRICT="binchecks"
65
66 RDEPEND="
67 || (
68 >=sys-libs/pam-0.99.9.0-r1
69 ( sys-auth/openpam
70 || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules )
71 )
72 )
73 cracklib? ( >=sys-libs/pam-0.99[cracklib] )
74 consolekit? ( sys-auth/consolekit[pam] )
75 gnome-keyring? ( >=gnome-base/gnome-keyring-2.20[pam] )
76 selinux? ( >=sys-libs/pam-0.99[selinux] )
77 passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
78 mktemp? ( sys-auth/pam_mktemp )
79 ssh? ( sys-auth/pam_ssh )
80 sha512? ( >=sys-libs/pam-1.0.1 )
81 !<sys-freebsd/freebsd-pam-modules-6.2-r1
82 !<sys-libs/pam-0.99.9.0-r1"
83 DEPEND=""
84
85 src_compile() {
86 has_version sys-libs/pam && implementation="linux-pam"
87 has_version sys-auth/openpam && implementation="openpam"
88
89 emake \
90 GIT=true \
91 DEBUG=$(use debug && echo yes || echo no) \
92 CRACKLIB=$(use cracklib && echo yes || echo no) \
93 PASSWDQC=$(use passwdqc && echo yes || echo no) \
94 CONSOLEKIT=$(use consolekit && echo yes || echo no) \
95 GNOME_KEYRING=$(use gnome-keyring && echo yes || echo no) \
96 SELINUX=$(use selinux && echo yes || echo no) \
97 MKTEMP=$(use mktemp && echo yes || echo no) \
98 PAM_SSH=$(use ssh && echo yes || echo no) \
99 SHA512=$(use sha512 && echo yes || echo no) \
100 IMPLEMENTATION=${implementation} \
101 || die "emake failed"
102 }
103
104 src_install() {
105 emake GIT=true DESTDIR="${D}" install || die "emake install failed"
106 }
107
108 pkg_postinst() {
109 if use sha512; then
110 elog "Starting from version 20080801, pambase optionally enables"
111 elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1"
112 elog "built against sys-libs/glibc-2.7 or later."
113 elog "If you don't have support for this, it will automatically fallback"
114 elog "to MD5-hashed passwords, just like before."
115 elog
116 elog "Please note that the change only affects the newly-changed passwords"
117 elog "and that SHA512-hashed passwords will not work on earlier versions"
118 elog "of glibc or Linux-PAM."
119 fi
120 }