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-20080305.ebuild pambase-20080301.ebuild
Date: Wed, 05 Mar 2008 17:06:20
Message-Id: E1JWx4K-0002dW-4f@stork.gentoo.org
1 flameeyes 08/03/05 17:06:16
2
3 Modified: ChangeLog
4 Added: pambase-20080305.ebuild
5 Removed: pambase-20080301.ebuild
6 Log:
7 Bump to avoid calling git during ebuild phases. Closes bug #212395.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.15 sys-auth/pambase/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 4 Mar 2008 23:09:32 -0000 1.14
24 +++ ChangeLog 5 Mar 2008 17:06:15 -0000 1.15
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.14 2008/03/04 23:09:32 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.15 2008/03/05 17:06:15 flameeyes Exp $
30 +
31 +*pambase-20080305 (05 Mar 2008)
32 +
33 + 05 Mar 2008; Diego Pettenò <flameeyes@g.o>
34 + -pambase-20080301.ebuild, +pambase-20080305.ebuild:
35 + Bump to avoid calling git during ebuild phases. Closes bug #212395.
36
37 04 Mar 2008; Brent Baude <ranger@g.o> ChangeLog:
38 keyworded ~arch for ppc64, bug 210769
39
40
41
42 1.1 sys-auth/pambase/pambase-20080305.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080305.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080305.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pambase-20080305.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-20080305.ebuild,v 1.1 2008/03/05 17:06:15 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/base/pam/"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~hppa ~ppc64 ~x86"
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 GIT=true \
117 DEBUG=$(use debug && echo yes || echo no) \
118 CRACKLIB=$(use cracklib && echo yes || echo no) \
119 CONSOLEKIT=$(use consolekit && echo yes || echo no) \
120 GNOME_KEYRING=$(use gnome && echo yes || echo no) \
121 SELINUX=$(use selinux && echo yes || echo no) \
122 IMPLEMENTATION=${implementation} \
123 || die "emake failed"
124 }
125
126 src_install() {
127 emake GIT=true DESTDIR="${D}" install || die "emake install failed"
128 }
129
130
131
132 --
133 gentoo-commits@l.g.o mailing list