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 metadata.xml pambase-20080306.2.ebuild
Date: Thu, 06 Mar 2008 15:12:44
Message-Id: E1JXHlx-0004Bo-2J@stork.gentoo.org
1 flameeyes 08/03/06 15:12:41
2
3 Modified: ChangeLog metadata.xml
4 Added: pambase-20080306.2.ebuild
5 Log:
6 Add a new release with pam_mktemp as a dependency. This means a few more keywords needed, sorry.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.21 sys-auth/pambase/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 6 Mar 2008 11:09:27 -0000 1.20
23 +++ ChangeLog 6 Mar 2008 15:12:40 -0000 1.21
24 @@ -1,6 +1,13 @@
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.20 2008/03/06 11:09:27 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.21 2008/03/06 15:12:40 flameeyes Exp $
29 +
30 +*pambase-20080306.2 (06 Mar 2008)
31 +
32 + 06 Mar 2008; Diego Pettenò <flameeyes@g.o> metadata.xml,
33 + +pambase-20080306.2.ebuild:
34 + Add a new release with pam_mktemp as a dependency. This means a few more
35 + keywords needed, sorry.
36
37 06 Mar 2008; Raúl Porcel <armin76@g.o> pambase-20080306.1.ebuild:
38 Add ~alpha/~ia64
39
40
41
42 1.4 sys-auth/pambase/metadata.xml
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/metadata.xml?rev=1.4&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/metadata.xml?rev=1.4&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/metadata.xml?r1=1.3&r2=1.4
47
48 Index: metadata.xml
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/metadata.xml,v
51 retrieving revision 1.3
52 retrieving revision 1.4
53 diff -u -r1.3 -r1.4
54 --- metadata.xml 5 Mar 2008 23:02:28 -0000 1.3
55 +++ metadata.xml 6 Mar 2008 15:12:40 -0000 1.4
56 @@ -35,5 +35,10 @@
57 when changing your system password. It is used by default by
58 OpenWall GNU/*/Linux and by FreeBSD.
59 </flag>
60 + <flag name="mktemp">
61 + Enable pam_mktemp module on system auth stack for session
62 + handling. This module creates a private temporary directory for
63 + the user, and sets TMP and TMPDIR accordingly.
64 + </flag>
65 </use>
66 </pkgmetadata>
67
68
69
70 1.1 sys-auth/pambase/pambase-20080306.2.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080306.2.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080306.2.ebuild?rev=1.1&content-type=text/plain
74
75 Index: pambase-20080306.2.ebuild
76 ===================================================================
77 # Copyright 1999-2008 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20080306.2.ebuild,v 1.1 2008/03/06 15:12:40 flameeyes Exp $
80
81 inherit eutils
82
83 DESCRIPTION="PAM base configuration files"
84 SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
85 HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/"
86
87 LICENSE="GPL-2"
88 SLOT="0"
89 KEYWORDS="~x86"
90 IUSE="debug cracklib passwdqc consolekit gnome selinux mktemp"
91
92 RDEPEND="
93 || (
94 >=sys-libs/pam-0.99.9.0-r1
95 ( sys-auth/openpam
96 || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules )
97 )
98 )
99 cracklib? ( >=sys-libs/pam-0.99 )
100 consolekit? ( sys-auth/consolekit )
101 gnome? ( >=gnome-base/gnome-keyring-2.20 )
102 selinux? ( >=sys-libs/pam-0.99 )
103 passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
104 mktemp? ( sys-auth/pam_mktemp )
105 !<sys-freebsd/freebsd-pam-modules-6.2-r1
106 !<sys-libs/pam-0.99.9.0-r1"
107 DEPEND=""
108
109 RESTRICT="binchecks"
110
111 pkg_setup() {
112 if use cracklib && ! built_with_use sys-libs/pam cracklib; then
113 eerror "To enable cracklib support in the main PAM configuration"
114 eerror "you need to enable cracklib USE flag on sys-libs/pam"
115 eerror "first."
116 die "Missing pam_cracklib"
117 fi
118
119 if use selinux && ! built_with_use sys-libs/pam selinux; then
120 eerror "To enable selinux support in the main PAM configuration"
121 eerror "you need to enable selinux USE flag on sys-libs/pam"
122 eerror "first."
123 die "Missing pam_selinux"
124 fi
125
126 if use consolekit && ! built_with_use sys-auth/consolekit pam; then
127 eerror "To enable ConsoleKit support in the main PAM configuration"
128 eerror "you need to enable pam USE flag on sys-auth/consolekit"
129 eerror "first."
130 die "Missing pam_ck_connector"
131 fi
132
133 if use gnome && ! built_with_use gnome-base/gnome-keyring pam; then
134 eerror "To enable GNOME Keyring support in the main PAM configuration"
135 eerror "you need to enable pam USE flag on gnome-base/gnome-keyring"
136 eerror "first."
137 die "Missing pam_gnome_keyring"
138 fi
139 }
140
141 src_compile() {
142 has_version sys-libs/pam && implementation="linux-pam"
143 has_version sys-auth/openpam && implementation="openpam"
144
145 emake \
146 GIT=true \
147 DEBUG=$(use debug && echo yes || echo no) \
148 CRACKLIB=$(use cracklib && echo yes || echo no) \
149 PASSWDQC=$(use passwdqc && echo yes || echo no) \
150 CONSOLEKIT=$(use consolekit && echo yes || echo no) \
151 GNOME_KEYRING=$(use gnome && echo yes || echo no) \
152 SELINUX=$(use selinux && echo yes || echo no) \
153 MKTEMP=$(use mktemp && echo yes || echo no) \
154 IMPLEMENTATION=${implementation} \
155 || die "emake failed"
156 }
157
158 src_install() {
159 emake GIT=true DESTDIR="${D}" install || die "emake install failed"
160 }
161
162
163
164 --
165 gentoo-commits@l.g.o mailing list