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