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