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-20080723.1.ebuild pambase-20080723.ebuild
Date: Wed, 23 Jul 2008 14:50:44
Message-Id: E1KLfft-0004kO-C7@stork.gentoo.org
1 flameeyes 08/07/23 14:50:41
2
3 Modified: ChangeLog
4 Added: pambase-20080723.1.ebuild
5 Removed: pambase-20080723.ebuild
6 Log:
7 Version bump with two minor fixes for Gentoo/FreeBSD.
8 (Portage version: 2.2_rc2/cvs/Linux 2.6.26-gentoo x86_64)
9
10 Revision Changes Path
11 1.44 sys-auth/pambase/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 23 Jul 2008 11:18:54 -0000 1.43
24 +++ ChangeLog 23 Jul 2008 14:50:40 -0000 1.44
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.43 2008/07/23 11:18:54 fmccor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.44 2008/07/23 14:50:40 flameeyes Exp $
30 +
31 +*pambase-20080723.1 (23 Jul 2008)
32 +
33 + 23 Jul 2008; Diego Pettenò <flameeyes@g.o>
34 + -pambase-20080723.ebuild, +pambase-20080723.1.ebuild:
35 + Version bump with two minor fixes for Gentoo/FreeBSD.
36
37 23 Jul 2008; Ferris McCormick <fmccor@g.o> pambase-20080723.ebuild:
38 Rekeyword for ~sparc (allow pam_ssh), Bug #232691.
39
40
41
42 1.1 sys-auth/pambase/pambase-20080723.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080723.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20080723.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pambase-20080723.1.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-20080723.1.ebuild,v 1.1 2008/07/23 14:50:40 flameeyes Exp $
52
53 inherit eutils
54
55 DESCRIPTION="PAM base configuration files"
56 HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/"
57 SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
62 IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh"
63 RESTRICT="binchecks"
64
65 RDEPEND="
66 || (
67 >=sys-libs/pam-0.99.9.0-r1
68 ( sys-auth/openpam
69 || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules )
70 )
71 )
72 cracklib? ( >=sys-libs/pam-0.99 )
73 consolekit? ( sys-auth/consolekit )
74 gnome-keyring? ( >=gnome-base/gnome-keyring-2.20 )
75 selinux? ( >=sys-libs/pam-0.99 )
76 passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
77 mktemp? ( sys-auth/pam_mktemp )
78 ssh? ( sys-auth/pam_ssh )
79 !<sys-freebsd/freebsd-pam-modules-6.2-r1
80 !<sys-libs/pam-0.99.9.0-r1"
81 DEPEND=""
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-keyring && ! 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 GIT=true \
119 DEBUG=$(use debug && echo yes || echo no) \
120 CRACKLIB=$(use cracklib && echo yes || echo no) \
121 PASSWDQC=$(use passwdqc && echo yes || echo no) \
122 CONSOLEKIT=$(use consolekit && echo yes || echo no) \
123 GNOME_KEYRING=$(use gnome-keyring && echo yes || echo no) \
124 SELINUX=$(use selinux && echo yes || echo no) \
125 MKTEMP=$(use mktemp && echo yes || echo no) \
126 PAM_SSH=$(use ssh && echo yes || echo no) \
127 IMPLEMENTATION=${implementation} \
128 || die "emake failed"
129 }
130
131 src_install() {
132 emake GIT=true DESTDIR="${D}" install || die "emake install failed"
133 }