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