Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/sssd: sssd-1.8.6.ebuild sssd-1.9.4.ebuild ChangeLog sssd-1.9.3.ebuild
Date: Thu, 31 Jan 2013 17:56:06
Message-Id: 20130131175602.138422171D@flycatcher.gentoo.org
1 maksbotan 13/01/31 17:56:02
2
3 Modified: ChangeLog
4 Added: sssd-1.8.6.ebuild sssd-1.9.4.ebuild
5 Removed: sssd-1.9.3.ebuild
6 Log:
7 Bump to 1.9.4 and 1.8.6, clean vulnerable 1.9.x versions, fixes security bug 453808
8
9 (Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
10
11 Revision Changes Path
12 1.32 sys-auth/sssd/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.32&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?rev=1.32&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/ChangeLog?r1=1.31&r2=1.32
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v
21 retrieving revision 1.31
22 retrieving revision 1.32
23 diff -u -r1.31 -r1.32
24 --- ChangeLog 6 Jan 2013 19:15:46 -0000 1.31
25 +++ ChangeLog 31 Jan 2013 17:56:01 -0000 1.32
26 @@ -1,6 +1,14 @@
27 # ChangeLog for sys-auth/sssd
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.31 2013/01/06 19:15:46 maksbotan Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/ChangeLog,v 1.32 2013/01/31 17:56:01 maksbotan Exp $
31 +
32 +*sssd-1.8.6 (31 Jan 2013)
33 +*sssd-1.9.4 (31 Jan 2013)
34 +
35 + 31 Jan 2013; Maxim Koltsov <maksbotan@g.o> +sssd-1.8.6.ebuild,
36 + +sssd-1.9.4.ebuild, -sssd-1.9.3.ebuild:
37 + Bump to 1.9.4 and 1.8.6, clean vulnerable 1.9.x versions, fixes security bug
38 + 453808
39
40 06 Jan 2013; Maxim Koltsov <maksbotan@g.o> sssd-1.9.3.ebuild:
41 Change 1.9.3 depends to make it build, bug #450226. Thanks to slepnoga.
42
43
44
45 1.1 sys-auth/sssd/sssd-1.8.6.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.8.6.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.8.6.ebuild?rev=1.1&content-type=text/plain
49
50 Index: sssd-1.8.6.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.8.6.ebuild,v 1.1 2013/01/31 17:56:01 maksbotan Exp $
55
56 EAPI=4
57
58 PYTHON_DEPEND="python? 2:2.6"
59
60 inherit python multilib pam linux-info autotools-utils
61
62 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
63 HOMEPAGE="http://fedorahosted.org/sssd/"
64 SRC_URI="http://fedorahosted.org/released/${PN}/${P}.tar.gz"
65
66 LICENSE="GPL-3"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="doc +locator netlink nls python selinux test"
70
71 COMMON_DEP="
72 virtual/pam
73 dev-libs/popt
74 dev-libs/glib:2
75 >=dev-libs/ding-libs-0.1.2
76 >=sys-libs/talloc-2.0
77 sys-libs/tdb
78 sys-libs/tevent
79 sys-libs/ldb
80 >=net-nds/openldap-2.4.19
81 !!~net-nds/openldap-2.4.28
82 dev-libs/libpcre
83 >=app-crypt/mit-krb5-1.9.1
84 sys-apps/keyutils
85 >=net-dns/c-ares-1.7.4
86 >=dev-libs/nss-3.12.9
87 selinux? (
88 >=sys-libs/libselinux-2.0.94
89 >=sys-libs/libsemanage-2.0.45
90 sec-policy/selinux-sssd
91 )
92 net-dns/bind-tools
93 dev-libs/cyrus-sasl
94 sys-apps/dbus
95 nls? ( >=sys-devel/gettext-0.17 )
96 virtual/libintl
97 netlink? ( dev-libs/libnl )
98 "
99
100 RDEPEND="${COMMON_DEP}"
101 DEPEND="${COMMON_DEP}
102 test? ( dev-libs/check )
103 >=dev-libs/libxslt-1.1.26
104 app-text/docbook-xml-dtd:4.4
105 doc? ( app-doc/doxygen )"
106
107 CONFIG_CHECK="~KEYS"
108
109 pkg_setup(){
110 if use python; then
111 python_set_active_version 2
112 python_pkg_setup
113 python_need_rebuild
114 fi
115 linux-info_pkg_setup
116 }
117
118 src_prepare() {
119 cp -f "${FILESDIR}"/sssd "${S}/"src/sysv/gentoo/sssd
120 }
121
122 src_configure(){
123 local myeconfargs=(
124 --localstatedir="${EPREFIX}"/var
125 --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
126 --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
127 --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
128 --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/ldb/modules/ldb
129 --without-nscd
130 --with-unicode-lib="glib2"
131 $(use_with selinux)
132 $(use_with selinux semanage)
133 $(use_with python python-bindings)
134 $(use_enable locator krb5-locator-plugin)
135 $(use_enable nls )
136 $(use_with netlink libnl) )
137
138 autotools-utils_src_configure
139 }
140
141 src_install(){
142 autotools-utils_src_install
143 remove_libtool_files all
144
145 insinto /etc/sssd
146 insopts -m600
147 doins "${S}"/src/examples/sssd-example.conf
148
149 insinto /etc/logrotate.d
150 insopts -m644
151 newins "${S}"/src/examples/logrotate sssd
152
153 if use python; then
154 python_clean_installation_image
155 python_convert_shebangs 2 "${ED}$(python_get_sitedir)/"*.py
156 fi
157 newconfd "${FILESDIR}"/sssd.conf sssd
158 }
159
160 src_test() {
161 autotools-utils_src_test
162 }
163
164 pkg_postinst(){
165 elog "You must set up sssd.conf (default installed into /etc/sssd)"
166 elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
167 elog "features. Please see howto in http://fedorahosted.org/sssd/wiki/HOWTO_Configure_1_0_2"
168
169 use python && python_mod_optimize SSSDConfig.py ipachangeconf.py
170 }
171
172 pkg_postrm() {
173 use python && python_mod_cleanup SSSDConfig.py ipachangeconf.py
174 }
175
176
177
178 1.1 sys-auth/sssd/sssd-1.9.4.ebuild
179
180 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.4.ebuild?rev=1.1&view=markup
181 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/sssd/sssd-1.9.4.ebuild?rev=1.1&content-type=text/plain
182
183 Index: sssd-1.9.4.ebuild
184 ===================================================================
185 # Copyright 1999-2013 Gentoo Foundation
186 # Distributed under the terms of the GNU General Public License v2
187 # $Header: /var/cvsroot/gentoo-x86/sys-auth/sssd/sssd-1.9.4.ebuild,v 1.1 2013/01/31 17:56:01 maksbotan Exp $
188
189 EAPI=4
190
191 PYTHON_DEPEND="python? 2:2.6"
192
193 AUTOTOOLS_IN_SOURCE_BUILD=1
194 AUTOTOOLS_AUTORECONF=1
195
196 inherit python multilib pam linux-info autotools-utils
197
198 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
199 HOMEPAGE="http://fedorahosted.org/sssd/"
200 SRC_URI="http://fedorahosted.org/released/${PN}/${P}.tar.gz"
201
202 LICENSE="GPL-3"
203 SLOT="0"
204 KEYWORDS="~amd64 ~x86"
205 IUSE="autofs doc +locator netlink nls +manpages python selinux sudo ssh test"
206
207 COMMON_DEP="
208 virtual/pam
209 >=dev-libs/popt-1.16
210 dev-libs/glib:2
211 >=dev-libs/ding-libs-0.2
212 >=sys-libs/talloc-2.0.7
213 >=sys-libs/tdb-1.2.9
214 >=sys-libs/tevent-0.9.16
215 >=sys-libs/ldb-1.1.13
216 >=net-nds/openldap-2.4.30
217 >=dev-libs/libpcre-8.30
218 >=app-crypt/mit-krb5-1.10.3
219 >=sys-apps/keyutils-1.5
220 >=net-dns/c-ares-1.7.4
221 >=dev-libs/nss-3.12.9
222 >=net-fs/samba-4
223 selinux? (
224 >=sys-libs/libselinux-2.1.9
225 >=sys-libs/libsemanage-2.1
226 >=sec-policy/selinux-sssd-2.20120725-r9
227 )
228 >=net-dns/bind-tools-9.9[gssapi]
229 >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
230 >=sys-apps/dbus-1.6
231 nls? ( >=sys-devel/gettext-0.18 )
232 virtual/libintl
233 netlink? ( dev-libs/libnl:3 )
234 "
235
236 RDEPEND="${COMMON_DEP}"
237
238 DEPEND="${COMMON_DEP}
239 test? ( dev-libs/check )
240 manpages? (
241 >=dev-libs/libxslt-1.1.26
242 app-text/docbook-xml-dtd:4.4
243 )
244 doc? ( app-doc/doxygen )"
245
246 CONFIG_CHECK="~KEYS"
247
248 PATCHES=( "${FILESDIR}"/0*.patch )
249
250 pkg_setup(){
251 if use python; then
252 python_set_active_version 2
253 python_pkg_setup
254 python_need_rebuild
255 fi
256 linux-info_pkg_setup
257 }
258
259 src_prepare() {
260 autotools-utils_src_prepare
261 }
262
263 src_configure(){
264 local myeconfargs=(
265 --localstatedir="${EPREFIX}"/var
266 --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
267 --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
268 --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
269 --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/ldb/modules/ldb
270 --without-nscd
271 --with-unicode-lib="glib2"
272 --disable-rpath
273 --enable-silent-rules
274 $(use_with selinux)
275 $(use_with selinux semanage)
276 $(use_with python python-bindings)
277 $(use_enable locator krb5-locator-plugin)
278 $(use_enable nls )
279 $(use_with netlink libnl)
280 $(use_with manpages)
281 $(use_with sudo)
282 $(use_with autofs)
283 $(use_with ssh)
284 --with-crypto="libcrypto"
285 --with-initscript="sysv"
286 )
287
288 autotools-utils_src_configure
289 }
290
291 src_install(){
292 autotools-utils_src_install
293 prune_libtool_files --all
294
295 insinto /etc/sssd
296 insopts -m600
297 doins "${S}"/src/examples/sssd-example.conf
298
299 insinto /etc/logrotate.d
300 insopts -m644
301 newins "${S}"/src/examples/logrotate sssd
302
303 if use python; then
304 python_clean_installation_image
305 python_convert_shebangs -r 2 "${ED}$(python_get_sitedir)"/*.py
306 fi
307 newconfd "${FILESDIR}"/sssd.conf sssd
308 }
309
310 src_test() {
311 autotools-utils_src_test
312 }
313
314 pkg_postinst(){
315 elog "You must set up sssd.conf (default installed into /etc/sssd)"
316 elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
317 elog "features. Please see howto in http://fedorahosted.org/sssd/wiki/HOWTO_Configure_1_0_2"
318
319 use python && python_mod_optimize SSSDConfig.py ipachangeconf.py
320 }
321
322 pkg_postrm() {
323 use python && python_mod_cleanup SSSDConfig.py ipachangeconf.py
324 }