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