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-20080301.ebuild pambase-20080224.ebuild
Date: Sat, 01 Mar 2008 14:02:25
Message-Id: E1JVSI9-0000me-Uw@stork.gentoo.org
1 flameeyes 08/03/01 14:02:21
2
3 Modified: ChangeLog
4 Added: pambase-20080301.ebuild
5 Removed: pambase-20080224.ebuild
6 Log:
7 Version bump, should fix su(1) problems under FreeBSD. See bug #211895.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.9 sys-auth/pambase/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 24 Feb 2008 14:45:33 -0000 1.8
24 +++ ChangeLog 1 Mar 2008 14:02:21 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-auth/pambase
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.8 2008/02/24 14:45:33 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.9 2008/03/01 14:02:21 flameeyes Exp $
30 +
31 +*pambase-20080301 (01 Mar 2008)
32 +
33 + 01 Mar 2008; Diego Pettenò <flameeyes@g.o>
34 + -pambase-20080224.ebuild, +pambase-20080301.ebuild:
35 + Version bump, should fix su(1) problems under FreeBSD. See bug #211895.
36
37 *pambase-20080224 (24 Feb 2008)
38
39
40
41
42 1.1 sys-auth/pambase/pambase-20080301.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080301.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080301.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pambase-20080301.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20080301.ebuild,v 1.1 2008/03/01 14:02:21 flameeyes Exp $
52
53 inherit eutils
54
55 DESCRIPTION="PAM base configuration files"
56 SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
57 HOMEPAGE="http://www.gentoo.org/proj/en/pam/"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS=""
62 IUSE="debug cracklib consolekit gnome selinux"
63
64 RDEPEND="
65 || (
66 >=sys-libs/pam-0.99.9.0-r1
67 ( sys-auth/openpam
68 || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules )
69 )
70 )
71 cracklib? ( >=sys-libs/pam-0.99 )
72 consolekit? ( sys-auth/consolekit )
73 gnome? ( >=gnome-base/gnome-keyring-2.20 )
74 selinux? ( >=sys-libs/pam-0.99 )
75 !<sys-freebsd/freebsd-pam-modules-6.2-r1
76 !<sys-libs/pam-0.99.9.0-r1"
77 DEPEND=""
78
79 RESTRICT="binchecks"
80
81 pkg_setup() {
82 if use cracklib && ! built_with_use sys-libs/pam cracklib; then
83 eerror "To enable cracklib support in the main PAM configuration"
84 eerror "you need to enable cracklib USE flag on sys-libs/pam"
85 eerror "first."
86 die "Missing pam_cracklib"
87 fi
88
89 if use selinux && ! built_with_use sys-libs/pam selinux; then
90 eerror "To enable selinux support in the main PAM configuration"
91 eerror "you need to enable selinux USE flag on sys-libs/pam"
92 eerror "first."
93 die "Missing pam_selinux"
94 fi
95
96 if use consolekit && ! built_with_use sys-auth/consolekit pam; then
97 eerror "To enable ConsoleKit support in the main PAM configuration"
98 eerror "you need to enable pam USE flag on sys-auth/consolekit"
99 eerror "first."
100 die "Missing pam_ck_connector"
101 fi
102
103 if use gnome && ! built_with_use gnome-base/gnome-keyring pam; then
104 eerror "To enable GNOME Keyring support in the main PAM configuration"
105 eerror "you need to enable pam USE flag on gnome-base/gnome-keyring"
106 eerror "first."
107 die "Missing pam_gnome_keyring"
108 fi
109 }
110
111 src_compile() {
112 has_version sys-libs/pam && implementation="linux-pam"
113 has_version sys-auth/openpam && implementation="openpam"
114
115 emake \
116 DEBUG=$(use debug && echo yes || echo no) \
117 CRACKLIB=$(use cracklib && echo yes || echo no) \
118 CONSOLEKIT=$(use consolekit && echo yes || echo no) \
119 GNOME_KEYRING=$(use gnome && echo yes || echo no) \
120 SELINUX=$(use selinux && echo yes || echo no) \
121 IMPLEMENTATION=${implementation} \
122 || die "emake failed"
123 }
124
125 src_install() {
126 emake DESTDIR="${D}" install || die "emake install failed"
127 }
128
129
130
131 --
132 gentoo-commits@l.g.o mailing list