Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/sssd/, sys-auth/sssd/files/
Date: Sat, 15 May 2021 13:34:57
Message-Id: 1621085656.5dfa2aaadea31507ebf4615e3213c6ee606f2b13.soap@gentoo
1 commit: 5dfa2aaadea31507ebf4615e3213c6ee606f2b13
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 15 13:34:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 13:34:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dfa2aaa
7
8 sys-auth/sssd: drop 2.2.0-r1, 2.4.2
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-auth/sssd/Manifest | 2 -
13 sys-auth/sssd/files/sssd | 21 ---
14 sys-auth/sssd/files/sssd.service | 15 --
15 sys-auth/sssd/sssd-2.2.0-r1.ebuild | 233 ------------------------------
16 sys-auth/sssd/sssd-2.4.2.ebuild | 284 -------------------------------------
17 5 files changed, 555 deletions(-)
18
19 diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest
20 index 7756a03ca18..ac80c344e81 100644
21 --- a/sys-auth/sssd/Manifest
22 +++ b/sys-auth/sssd/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST sssd-2.2.0.tar.gz 6642715 BLAKE2B e6c16ca69effe59769fc166c02203faee445ebe2bf551c6a1460bdee2474ccbce1a38b3aa59b1ae4a79bb170696a784b800a9299025bf6a58bc9aeb94b946338 SHA512 9ebd8784e1f0c72cb808bbc153c0b0aa9bf507938f78336a260073a89b49350dc2c6172653509738ea7a50bb9da596725e1d6c92f99c7a03308aa42f6378dbbb
25 DIST sssd-2.3.1.tar.gz 7186526 BLAKE2B 6d630fe75b9b426ef54adbe1704fde8e01fc34df7861028c07ce2985db8a151ce743d633061386fea6460fe8eabb89242b816d4bac87975bb9b7b2064ad1d547 SHA512 6aeb52d5222c5992d581296996749327bcaf276e4eb4413a6a32ea6529343432cfe413006aca4245c19b38b515be1c4c2ef88a157c617d889274179253355bc6
26 -DIST sssd-2.4.2.tar.gz 7402483 BLAKE2B e25fce29a7e4d544fed821c6c8238846083bd65caef5abd2944c3ac670f7b404cfcbe5321870ca9ded0c78f93f4503d61e7e5821726d1640d127bde63e2444a7 SHA512 871435cd82db38eef36988bae84a6d28220839ee16b600c3dab17523c18b295e65ff62e86c095ea67e652be661248b45720a5106e01179190ff3852b1c0e7a33
27 DIST sssd-2.5.0.tar.gz 7474851 BLAKE2B 835ca53a7910f457666a92be62fe047dbcf52c56560dad60d6c6275dccca917b4349d053586c8c88da49f900d570c890faa7372783be35940ccd49d1fd4ec09d SHA512 80b5e81cedacdf0bbe724af20d69b918bb6cc353976c6c65421afcd5809d1723f523bc3c1be294b9e01cfda9617c2df5c6ceb007837f195eb1abc2abdab9858c
28
29 diff --git a/sys-auth/sssd/files/sssd b/sys-auth/sssd/files/sssd
30 deleted file mode 100644
31 index c79b79ac1e1..00000000000
32 --- a/sys-auth/sssd/files/sssd
33 +++ /dev/null
34 @@ -1,21 +0,0 @@
35 -#!/sbin/openrc-run
36 -# Copyright 1999-2011 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -
40 -command="/usr/sbin/sssd"
41 -command_args="${SSSD_OPTIONS} -D"
42 -start_stop_daemon_args="--quiet"
43 -description="System Security Services Daemon"
44 -
45 -depend(){
46 - need localmount clock
47 - use syslog xdm
48 -}
49 -
50 -if [ "${RC_VERSION:-0}" = "0" ]; then
51 - start() {
52 - eerror "This script cannot be used for baselayout-1."
53 - return 1
54 - }
55 -fi
56
57 diff --git a/sys-auth/sssd/files/sssd.service b/sys-auth/sssd/files/sssd.service
58 deleted file mode 100644
59 index 1821089a609..00000000000
60 --- a/sys-auth/sssd/files/sssd.service
61 +++ /dev/null
62 @@ -1,15 +0,0 @@
63 -[Unit]
64 -Description=System Security Services Daemon
65 -# SSSD will not be started until syslog is
66 -After=syslog.target
67 -
68 -[Service]
69 -ExecStart=/usr/sbin/sssd -D -f
70 -# These two should be used with traditional UNIX forking daemons
71 -# consult systemd.service(5) for more details
72 -Type=forking
73 -PIDFile=/run/sssd.pid
74 -
75 -[Install]
76 -WantedBy=multi-user.target
77 -
78
79 diff --git a/sys-auth/sssd/sssd-2.2.0-r1.ebuild b/sys-auth/sssd/sssd-2.2.0-r1.ebuild
80 deleted file mode 100644
81 index b665a168288..00000000000
82 --- a/sys-auth/sssd/sssd-2.2.0-r1.ebuild
83 +++ /dev/null
84 @@ -1,233 +0,0 @@
85 -# Copyright 1999-2021 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=7
89 -
90 -inherit autotools flag-o-matic linux-info multilib-minimal pam systemd toolchain-funcs
91 -
92 -DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
93 -HOMEPAGE="https://pagure.io/SSSD/sssd"
94 -SRC_URI="http://releases.pagure.org/SSSD/${PN}/${P}.tar.gz"
95 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
96 -
97 -LICENSE="GPL-3"
98 -SLOT="0"
99 -IUSE="acl autofs +locator +netlink nfsv4 nls +manpages samba selinux sudo ssh test"
100 -RESTRICT="!test? ( test )"
101 -
102 -COMMON_DEP="
103 - >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
104 - >=dev-libs/popt-1.16
105 - dev-libs/glib:2
106 - >=dev-libs/ding-libs-0.2
107 - >=sys-libs/talloc-2.0.7
108 - >=sys-libs/tdb-1.2.9
109 - >=sys-libs/tevent-0.9.16
110 - >=sys-libs/ldb-1.1.17-r1:=
111 - >=net-nds/openldap-2.4.30[sasl]
112 - net-libs/http-parser
113 - >=dev-libs/libpcre-8.30
114 - >=app-crypt/mit-krb5-1.10.3
115 - dev-libs/jansson
116 - net-misc/curl
117 - locator? (
118 - >=app-crypt/mit-krb5-1.12.2[${MULTILIB_USEDEP}]
119 - >=net-dns/c-ares-1.10.0-r1[${MULTILIB_USEDEP}]
120 - )
121 - >=sys-apps/keyutils-1.5:=
122 - >=net-dns/c-ares-1.7.4
123 - >=dev-libs/nss-3.12.9
124 - selinux? (
125 - >=sys-libs/libselinux-2.1.9
126 - >=sys-libs/libsemanage-2.1
127 - )
128 - >=net-dns/bind-tools-9.9[gssapi]
129 - >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
130 - >=sys-apps/dbus-1.6
131 - acl? ( net-fs/cifs-utils[acl] )
132 - nfsv4? ( || ( >=net-fs/nfs-utils-2.3.1-r2 net-libs/libnfsidmap ) )
133 - nls? ( >=sys-devel/gettext-0.18 )
134 - virtual/libintl
135 - netlink? ( dev-libs/libnl:3 )
136 - samba? ( >=net-fs/samba-4.10.2[winbind] )
137 - "
138 -
139 -RDEPEND="${COMMON_DEP}
140 - >=sys-libs/glibc-2.17[nscd]
141 - selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )
142 - "
143 -DEPEND="${COMMON_DEP}
144 - test? ( dev-libs/check )"
145 -BDEPEND="
146 - virtual/pkgconfig
147 - manpages? (
148 - app-text/docbook-xml-dtd:4.4
149 - >=dev-libs/libxslt-1.1.26
150 - )
151 -"
152 -
153 -CONFIG_CHECK="~KEYS"
154 -
155 -MULTILIB_WRAPPED_HEADERS=(
156 - /usr/include/ipa_hbac.h
157 - /usr/include/sss_idmap.h
158 - /usr/include/sss_nss_idmap.h
159 - /usr/include/wbclient_sssd.h
160 - # --with-ifp
161 - /usr/include/sss_sifp.h
162 - /usr/include/sss_sifp_dbus.h
163 - # from 1.15.3
164 - /usr/include/sss_certmap.h
165 -)
166 -
167 -pkg_setup() {
168 - linux-info_pkg_setup
169 -}
170 -
171 -src_prepare() {
172 - sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' \
173 - "${S}"/src/sysv/gentoo/sssd.in || die "sed sssd.in"
174 -
175 - default
176 - eautoreconf
177 - multilib_copy_sources
178 -}
179 -
180 -src_configure() {
181 - local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1)
182 -
183 - multilib-minimal_src_configure
184 -}
185 -
186 -multilib_src_configure() {
187 - # set initscript to sysv because the systemd option needs systemd to
188 - # be installed. We provide our own systemd file anyway.
189 - local myconf=()
190 - #Work around linker dependency problem.
191 - append-ldflags "-Wl,--allow-shlib-undefined"
192 -
193 - myconf+=(
194 - --localstatedir="${EPREFIX}"/var
195 - --enable-nsslibdir="${EPREFIX}"/$(get_libdir)
196 - --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
197 - --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
198 - --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
199 - --with-os=gentoo
200 - --with-nscd
201 - --with-unicode-lib="glib2"
202 - --disable-rpath
203 - --sbindir=/usr/sbin
204 - --without-kcm
205 - $(use_with samba libwbclient)
206 - --with-secrets
207 - $(multilib_native_use_with samba)
208 - $(multilib_native_use_enable acl cifs-idmap-plugin)
209 - $(multilib_native_use_with selinux)
210 - $(multilib_native_use_with selinux semanage)
211 - $(use_enable locator krb5-locator-plugin)
212 - $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
213 - $(use_enable nls )
214 - $(multilib_native_use_with netlink libnl)
215 - $(multilib_native_use_with manpages)
216 - $(multilib_native_use_with sudo)
217 - $(multilib_native_use_with autofs)
218 - $(multilib_native_use_with ssh)
219 - --with-crypto="nss"
220 - --with-initscript="sysv"
221 - --without-python2-bindings
222 - --without-python3-bindings
223 -
224 - KRB5_CONFIG=/usr/bin/${CHOST}-krb5-config
225 - )
226 -
227 - if ! multilib_is_native_abi; then
228 - # work-around all the libraries that are used for CLI and server
229 - myconf+=(
230 - {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
231 - # ldb headers are fine since native needs it
232 - # ldb lib fails... but it does not seem to bother
233 - {DHASH,COLLECTION,INI_CONFIG_V{0,1,1_1}}_{CFLAGS,LIBS}=' '
234 - {PCRE,CARES,SYSTEMD_LOGIN,SASL,GLIB2,DBUS,CRYPTO}_{CFLAGS,LIBS}=' '
235 -
236 - # use native include path for dbus (needed for build)
237 - DBUS_CFLAGS="${native_dbus_cflags}"
238 -
239 - # non-pkgconfig checks
240 - ac_cv_lib_ldap_ldap_search=yes
241 - --without-secrets
242 - --without-libwbclient
243 - --without-kcm
244 - --with-crypto=""
245 - )
246 -
247 - use locator || myconf+=(
248 - KRB5_CONFIG=/bin/true
249 - )
250 - fi
251 -
252 - econf "${myconf[@]}"
253 -}
254 -
255 -multilib_src_compile() {
256 - if multilib_is_native_abi; then
257 - default
258 - else
259 - emake libnss_sss.la pam_sss.la
260 - use locator && emake sssd_krb5_locator_plugin.la
261 - fi
262 -}
263 -
264 -multilib_src_install() {
265 - if multilib_is_native_abi; then
266 - emake -j1 DESTDIR="${D}" "${_at_args[@]}" install
267 - else
268 - # easier than playing with automake...
269 - dopammod .libs/pam_sss.so
270 -
271 - into /
272 - dolib.so .libs/libnss_sss.so*
273 -
274 - if use locator; then
275 - exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
276 - doexe .libs/sssd_krb5_locator_plugin.so
277 - fi
278 - fi
279 -}
280 -
281 -multilib_src_install_all() {
282 - einstalldocs
283 - find "${ED}" -type f -name '*.la' -delete || die
284 -
285 - insinto /etc/sssd
286 - insopts -m600
287 - doins "${S}"/src/examples/sssd-example.conf
288 -
289 - insinto /etc/logrotate.d
290 - insopts -m644
291 - newins "${S}"/src/examples/logrotate sssd
292 -
293 - newconfd "${FILESDIR}"/sssd.conf sssd
294 - newinitd "${FILESDIR}"/sssd sssd
295 -
296 - keepdir /var/lib/sss/db
297 - keepdir /var/lib/sss/deskprofile
298 - keepdir /var/lib/sss/gpo_cache
299 - keepdir /var/lib/sss/keytabs
300 - keepdir /var/lib/sss/mc
301 - keepdir /var/lib/sss/pipes/private
302 - keepdir /var/lib/sss/pubconf/krb5.include.d
303 - keepdir /var/lib/sss/secrets
304 - keepdir /var/log/sssd
305 -
306 - systemd_dounit "${FILESDIR}/${PN}.service"
307 -}
308 -
309 -multilib_src_test() {
310 - default
311 -}
312 -
313 -pkg_postinst() {
314 - elog "You must set up sssd.conf (default installed into /etc/sssd)"
315 - elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
316 - elog "features. Please see howto in https://docs.pagure.org/SSSD.sssd/design_pages/smartcard_authentication_require.html"
317 -}
318
319 diff --git a/sys-auth/sssd/sssd-2.4.2.ebuild b/sys-auth/sssd/sssd-2.4.2.ebuild
320 deleted file mode 100644
321 index 4e9702f7c04..00000000000
322 --- a/sys-auth/sssd/sssd-2.4.2.ebuild
323 +++ /dev/null
324 @@ -1,284 +0,0 @@
325 -# Copyright 1999-2021 Gentoo Authors
326 -# Distributed under the terms of the GNU General Public License v2
327 -
328 -EAPI=7
329 -
330 -PYTHON_COMPAT=( python3_{7,8,9} )
331 -
332 -inherit autotools flag-o-matic linux-info multilib-minimal python-single-r1 pam systemd toolchain-funcs
333 -
334 -DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
335 -HOMEPAGE="https://github.com/SSSD/sssd"
336 -SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz"
337 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
338 -
339 -LICENSE="GPL-3"
340 -SLOT="0"
341 -IUSE="acl doc +locator +netlink nfsv4 nls +man pac python samba selinux sudo systemd test valgrind"
342 -RESTRICT="!test? ( test )"
343 -
344 -REQUIRED_USE="pac? ( samba )
345 - python? ( ${PYTHON_REQUIRED_USE} )
346 - test? ( sudo )"
347 -
348 -DEPEND="
349 - >=app-crypt/mit-krb5-1.10.3
350 - app-crypt/p11-kit
351 - >=dev-libs/ding-libs-0.2
352 - dev-libs/glib:2
353 - >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
354 - >=dev-libs/libpcre-8.30:=
355 - >=dev-libs/popt-1.16
356 - >=dev-libs/openssl-1.0.2:0=
357 - >=net-dns/bind-tools-9.9[gssapi]
358 - >=net-dns/c-ares-1.7.4
359 - >=net-nds/openldap-2.4.30[sasl]
360 - >=sys-apps/dbus-1.6
361 - >=sys-apps/keyutils-1.5:=
362 - >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
363 - >=sys-libs/talloc-2.0.7
364 - >=sys-libs/tdb-1.2.9
365 - >=sys-libs/tevent-0.9.16
366 - >=sys-libs/ldb-1.1.17-r1:=
367 - virtual/libintl
368 - locator? (
369 - >=app-crypt/mit-krb5-1.12.2[${MULTILIB_USEDEP}]
370 - >=net-dns/c-ares-1.10.0-r1[${MULTILIB_USEDEP}]
371 - )
372 - acl? ( net-fs/cifs-utils[acl] )
373 - netlink? ( dev-libs/libnl:3 )
374 - nfsv4? ( || ( >=net-fs/nfs-utils-2.3.1-r2 net-libs/libnfsidmap ) )
375 - nls? ( >=sys-devel/gettext-0.18 )
376 - pac? (
377 - app-crypt/mit-krb5[${MULTILIB_USEDEP}]
378 - net-fs/samba
379 - )
380 - python? ( ${PYTHON_DEPS} )
381 - samba? ( >=net-fs/samba-4.10.2[winbind] )
382 - selinux? (
383 - >=sys-libs/libselinux-2.1.9
384 - >=sys-libs/libsemanage-2.1
385 - )
386 - systemd? (
387 - dev-libs/jansson:0=
388 - net-libs/http-parser:0=
389 - net-misc/curl:0=
390 - )"
391 -RDEPEND="${DEPEND}
392 - >=sys-libs/glibc-2.17[nscd]
393 - selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
394 -BDEPEND=">=sys-devel/autoconf-2.69-r5
395 - virtual/pkgconfig
396 - doc? ( app-doc/doxygen )
397 - test? (
398 - dev-libs/check
399 - dev-libs/softhsm:2
400 - dev-util/cmocka
401 - net-libs/gnutls[pkcs11,tools]
402 - sys-libs/libfaketime
403 - sys-libs/nss_wrapper
404 - sys-libs/pam_wrapper
405 - sys-libs/uid_wrapper
406 - valgrind? ( dev-util/valgrind )
407 - )
408 - man? (
409 - app-text/docbook-xml-dtd:4.4
410 - >=dev-libs/libxslt-1.1.26
411 - nls? ( app-text/po4a )
412 - )"
413 -
414 -CONFIG_CHECK="~KEYS"
415 -
416 -MULTILIB_WRAPPED_HEADERS=(
417 - /usr/include/ipa_hbac.h
418 - /usr/include/sss_idmap.h
419 - /usr/include/sss_nss_idmap.h
420 - # --with-ifp
421 - /usr/include/sss_sifp.h
422 - /usr/include/sss_sifp_dbus.h
423 - # from 1.15.3
424 - /usr/include/sss_certmap.h
425 -)
426 -
427 -pkg_setup() {
428 - linux-info_pkg_setup
429 -}
430 -
431 -src_prepare() {
432 - sed -i 's:/var/run:/run:' \
433 - "${S}"/src/examples/logrotate || die
434 -
435 - default
436 - eautoreconf
437 - multilib_copy_sources
438 - if use python && multilib_is_native_abi; then
439 - python_setup
440 - fi
441 -}
442 -
443 -src_configure() {
444 - local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1)
445 -
446 - multilib-minimal_src_configure
447 -}
448 -
449 -multilib_src_configure() {
450 - local myconf=()
451 -
452 - myconf+=(
453 - --localstatedir="${EPREFIX}"/var
454 - --runstatedir="${EPREFIX}"/run
455 - --with-pid-path="${EPREFIX}"/run
456 - --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
457 - --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
458 - --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
459 - --with-db-path="${EPREFIX}"/var/lib/sss/db
460 - --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
461 - --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
462 - --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
463 - --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
464 - --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
465 - --with-log-path="${EPREFIX}"/var/log/sssd
466 - --with-os=gentoo
467 - --with-nscd="${EPREFIX}"/usr/sbin/nscd
468 - --with-unicode-lib="glib2"
469 - --disable-rpath
470 - --sbindir=/usr/sbin
471 - --enable-local-provider
472 - $(multilib_native_use_with systemd kcm)
473 - $(multilib_native_use_with systemd secrets)
474 - $(use_with samba)
475 - --with-smb-idmap-interface-version=6
476 - $(multilib_native_use_enable acl cifs-idmap-plugin)
477 - $(multilib_native_use_with selinux)
478 - $(multilib_native_use_with selinux semanage)
479 - $(use_enable locator krb5-locator-plugin)
480 - $(use_enable pac pac-responder)
481 - $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
482 - $(use_enable nls)
483 - $(multilib_native_use_with netlink libnl)
484 - $(multilib_native_use_with man manpages)
485 - $(multilib_native_use_with sudo)
486 - $(multilib_native_with autofs)
487 - $(multilib_native_with ssh)
488 - $(use_enable valgrind)
489 - --without-python2-bindings
490 - $(multilib_native_use_with python python3-bindings)
491 - )
492 -
493 - # Annoyingly configure requires that you pick systemd XOR sysv
494 - if use systemd; then
495 - myconf+=(
496 - --with-initscript="systemd"
497 - --with-systemdunitdir=$(systemd_get_systemunitdir)
498 - )
499 - else
500 - myconf+=(--with-initscript="sysv")
501 - fi
502 -
503 - if ! multilib_is_native_abi; then
504 - # work-around all the libraries that are used for CLI and server
505 - myconf+=(
506 - {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
507 - # ldb headers are fine since native needs it
508 - # ldb lib fails... but it does not seem to bother
509 - {DHASH,COLLECTION,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
510 - {PCRE,CARES,SYSTEMD_LOGIN,SASL,GLIB2,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
511 - {NDR_NBT,SMBCLIENT,NDR_KRB5PAC}_{CFLAGS,LIBS}=' '
512 -
513 - # use native include path for dbus (needed for build)
514 - DBUS_CFLAGS="${native_dbus_cflags}"
515 -
516 - # non-pkgconfig checks
517 - ac_cv_lib_ldap_ldap_search=yes
518 - --without-secrets
519 - --without-kcm
520 - )
521 - fi
522 -
523 - econf "${myconf[@]}"
524 -}
525 -
526 -multilib_src_compile() {
527 - if multilib_is_native_abi; then
528 - default
529 - use doc && emake docs
530 - if use man || use nls; then
531 - emake update-po
532 - fi
533 - else
534 - emake libnss_sss.la pam_sss.la
535 - use locator && emake sssd_krb5_locator_plugin.la
536 - use pac && emake sssd_pac_plugin.la
537 - fi
538 -}
539 -
540 -multilib_src_install() {
541 - if multilib_is_native_abi; then
542 - emake -j1 DESTDIR="${D}" "${_at_args[@]}" install
543 - if use python; then
544 - python_optimize
545 - python_fix_shebang "${ED}"
546 - fi
547 -
548 - else
549 - # easier than playing with automake...
550 - dopammod .libs/pam_sss.so
551 -
552 - into /
553 - dolib.so .libs/libnss_sss.so*
554 -
555 - if use locator; then
556 - exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
557 - doexe .libs/sssd_krb5_locator_plugin.so
558 - fi
559 -
560 - if use pac; then
561 - exeinto /usr/$(get_libdir)/krb5/plugins/authdata
562 - doexe .libs/sssd_pac_plugin.so
563 - fi
564 - fi
565 -}
566 -
567 -multilib_src_install_all() {
568 - einstalldocs
569 - find "${ED}" -type f -name '*.la' -delete || die
570 -
571 - insinto /etc/sssd
572 - insopts -m600
573 - doins "${S}"/src/examples/sssd-example.conf
574 -
575 - insinto /etc/logrotate.d
576 - insopts -m644
577 - newins "${S}"/src/examples/logrotate sssd
578 -
579 - newconfd "${FILESDIR}"/sssd.conf sssd
580 -
581 - keepdir /var/lib/sss/db
582 - keepdir /var/lib/sss/deskprofile
583 - keepdir /var/lib/sss/gpo_cache
584 - keepdir /var/lib/sss/keytabs
585 - keepdir /var/lib/sss/mc
586 - keepdir /var/lib/sss/pipes/private
587 - keepdir /var/lib/sss/pubconf/krb5.include.d
588 - keepdir /var/lib/sss/secrets
589 - keepdir /var/log/sssd
590 -
591 - # strip empty dirs
592 - if ! use doc ; then
593 - rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
594 - rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap,sss_simpleifp}_doc || die
595 - fi
596 -
597 - rm -r "${ED}"/run || die
598 -}
599 -
600 -multilib_src_test() {
601 - multilib_is_native_abi && emake check
602 -}
603 -
604 -pkg_postinst() {
605 - elog "You must set up sssd.conf (default installed into /etc/sssd)"
606 - elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
607 - elog "features. Please see howto in https://sssd.io/docs/design_pages/smartcard_authentication_require.html"
608 -}