1 |
commit: 24666abda592abbd76f0937f7c2c88c915a7f0bb |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 20 07:21:14 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 20 07:22:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24666abd |
7 |
|
8 |
sys-auth/sssd: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-auth/sssd/Manifest | 1 - |
13 |
sys-auth/sssd/sssd-2.5.0.ebuild | 299 ---------------------------------------- |
14 |
2 files changed, 300 deletions(-) |
15 |
|
16 |
diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest |
17 |
index 0e5e62e5f17..22b3b8ebd83 100644 |
18 |
--- a/sys-auth/sssd/Manifest |
19 |
+++ b/sys-auth/sssd/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST sssd-2.3.1.tar.gz 7186526 BLAKE2B 6d630fe75b9b426ef54adbe1704fde8e01fc34df7861028c07ce2985db8a151ce743d633061386fea6460fe8eabb89242b816d4bac87975bb9b7b2064ad1d547 SHA512 6aeb52d5222c5992d581296996749327bcaf276e4eb4413a6a32ea6529343432cfe413006aca4245c19b38b515be1c4c2ef88a157c617d889274179253355bc6 |
22 |
-DIST sssd-2.5.0.tar.gz 7474851 BLAKE2B 835ca53a7910f457666a92be62fe047dbcf52c56560dad60d6c6275dccca917b4349d053586c8c88da49f900d570c890faa7372783be35940ccd49d1fd4ec09d SHA512 80b5e81cedacdf0bbe724af20d69b918bb6cc353976c6c65421afcd5809d1723f523bc3c1be294b9e01cfda9617c2df5c6ceb007837f195eb1abc2abdab9858c |
23 |
DIST sssd-2.5.1.tar.gz 7492275 BLAKE2B 9f19d12cb0e071b15bd8fe2660ab9a2223d53267549602c4837f35ed852fa60022514a0bbd03c684c1f398d763120c5f706999d86432d9fe03c3715cb0d43000 SHA512 7441df3b5f1cc1eadb0c6853b048d780ecb36761876aaeb26b9a2d87729211d3ceeae01085dc3ec4fd1c5328f951c8abe854b1d01d91fae25466f930fe16e44a |
24 |
DIST sssd-2.5.2.tar.gz 7579208 BLAKE2B ec5d9aeaf5b5e05b56c01f9137f6f24db05544dbd48458d742285b60e7beb6d48af865f3415e11ce89e187f4643bbecf15bbb321859ec80cfe458eb781cea6c9 SHA512 a9bac7b2cc23022dce3bcda314c9c26a0a0914c448f6d5a51c5ba18670f04c1fd1a94cb20173235b6285df1dcc9251cb6b3f3e71a220037b4eb66668e6f33c48 |
25 |
|
26 |
diff --git a/sys-auth/sssd/sssd-2.5.0.ebuild b/sys-auth/sssd/sssd-2.5.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index f3bfe43fa44..00000000000 |
29 |
--- a/sys-auth/sssd/sssd-2.5.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,299 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{7,8,9,10} ) |
38 |
- |
39 |
-inherit autotools flag-o-matic linux-info multilib-minimal python-single-r1 pam systemd toolchain-funcs |
40 |
- |
41 |
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication" |
42 |
-HOMEPAGE="https://github.com/SSSD/sssd" |
43 |
-SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz" |
44 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
45 |
- |
46 |
-LICENSE="GPL-3" |
47 |
-SLOT="0" |
48 |
-IUSE="acl doc +locator +netlink nfsv4 nls +man pac python samba selinux sudo systemd systemtap test valgrind" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-REQUIRED_USE="pac? ( samba ) |
52 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
53 |
- test? ( sudo ) |
54 |
- valgrind? ( test )" |
55 |
- |
56 |
-DEPEND=" |
57 |
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}] |
58 |
- app-crypt/p11-kit |
59 |
- >=dev-libs/ding-libs-0.2 |
60 |
- dev-libs/glib:2 |
61 |
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos] |
62 |
- >=dev-libs/libpcre-8.30:= |
63 |
- >=dev-libs/popt-1.16 |
64 |
- >=dev-libs/openssl-1.0.2:0= |
65 |
- >=net-dns/bind-tools-9.9[gssapi] |
66 |
- >=net-dns/c-ares-1.7.4 |
67 |
- >=net-nds/openldap-2.4.30[sasl] |
68 |
- >=sys-apps/dbus-1.6 |
69 |
- >=sys-apps/keyutils-1.5:= |
70 |
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}] |
71 |
- >=sys-libs/talloc-2.0.7 |
72 |
- >=sys-libs/tdb-1.2.9 |
73 |
- >=sys-libs/tevent-0.9.16 |
74 |
- >=sys-libs/ldb-1.1.17-r1:= |
75 |
- virtual/libintl |
76 |
- locator? ( |
77 |
- >=net-dns/c-ares-1.10.0-r1[${MULTILIB_USEDEP}] |
78 |
- ) |
79 |
- acl? ( net-fs/cifs-utils[acl] ) |
80 |
- netlink? ( dev-libs/libnl:3 ) |
81 |
- nfsv4? ( || ( >=net-fs/nfs-utils-2.3.1-r2 net-libs/libnfsidmap ) ) |
82 |
- nls? ( >=sys-devel/gettext-0.18 ) |
83 |
- pac? ( |
84 |
- net-fs/samba |
85 |
- ) |
86 |
- python? ( ${PYTHON_DEPS} ) |
87 |
- samba? ( >=net-fs/samba-4.10.2[winbind] ) |
88 |
- selinux? ( |
89 |
- >=sys-libs/libselinux-2.1.9 |
90 |
- >=sys-libs/libsemanage-2.1 |
91 |
- ) |
92 |
- systemd? ( |
93 |
- dev-libs/jansson:0= |
94 |
- net-libs/http-parser:0= |
95 |
- net-misc/curl:0= |
96 |
- ) |
97 |
- systemtap? ( dev-util/systemtap )" |
98 |
-RDEPEND="${DEPEND} |
99 |
- >=sys-libs/glibc-2.17[nscd] |
100 |
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )" |
101 |
-BDEPEND=">=sys-devel/autoconf-2.69-r5 |
102 |
- virtual/pkgconfig |
103 |
- doc? ( app-doc/doxygen ) |
104 |
- test? ( |
105 |
- dev-libs/check |
106 |
- dev-libs/softhsm:2 |
107 |
- dev-util/cmocka |
108 |
- net-libs/gnutls[pkcs11,tools] |
109 |
- sys-libs/libfaketime |
110 |
- sys-libs/nss_wrapper |
111 |
- sys-libs/pam_wrapper |
112 |
- sys-libs/uid_wrapper |
113 |
- valgrind? ( dev-util/valgrind ) |
114 |
- ) |
115 |
- man? ( |
116 |
- app-text/docbook-xml-dtd:4.4 |
117 |
- >=dev-libs/libxslt-1.1.26 |
118 |
- nls? ( app-text/po4a ) |
119 |
- )" |
120 |
- |
121 |
-CONFIG_CHECK="~KEYS" |
122 |
- |
123 |
-MULTILIB_WRAPPED_HEADERS=( |
124 |
- /usr/include/ipa_hbac.h |
125 |
- /usr/include/sss_idmap.h |
126 |
- /usr/include/sss_nss_idmap.h |
127 |
- # --with-ifp |
128 |
- /usr/include/sss_sifp.h |
129 |
- /usr/include/sss_sifp_dbus.h |
130 |
- # from 1.15.3 |
131 |
- /usr/include/sss_certmap.h |
132 |
-) |
133 |
- |
134 |
-pkg_setup() { |
135 |
- linux-info_pkg_setup |
136 |
-} |
137 |
- |
138 |
-src_prepare() { |
139 |
- default |
140 |
- |
141 |
- sed -i \ |
142 |
- -e 's:/var/run:/run:' \ |
143 |
- "${S}"/src/examples/logrotate \ |
144 |
- || die |
145 |
- |
146 |
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631 |
147 |
- sed -i \ |
148 |
- -e '/^\s*pam-srv-tests[ \\]*$/d' \ |
149 |
- "${S}"/Makefile.am \ |
150 |
- || die |
151 |
- |
152 |
- eautoreconf |
153 |
- |
154 |
- multilib_copy_sources |
155 |
- |
156 |
- if use python && multilib_is_native_abi; then |
157 |
- python_setup |
158 |
- fi |
159 |
-} |
160 |
- |
161 |
-src_configure() { |
162 |
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1) |
163 |
- |
164 |
- multilib-minimal_src_configure |
165 |
-} |
166 |
- |
167 |
-multilib_src_configure() { |
168 |
- local myconf=() |
169 |
- |
170 |
- myconf+=( |
171 |
- --localstatedir="${EPREFIX}"/var |
172 |
- --runstatedir="${EPREFIX}"/run |
173 |
- --with-pid-path="${EPREFIX}"/run |
174 |
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd |
175 |
- --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir) |
176 |
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb |
177 |
- --with-db-path="${EPREFIX}"/var/lib/sss/db |
178 |
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache |
179 |
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf |
180 |
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes |
181 |
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc |
182 |
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets |
183 |
- --with-log-path="${EPREFIX}"/var/log/sssd |
184 |
- --with-os=gentoo |
185 |
- --with-nscd="${EPREFIX}"/usr/sbin/nscd |
186 |
- --with-unicode-lib="glib2" |
187 |
- --disable-rpath |
188 |
- --disable-static |
189 |
- --sbindir=/usr/sbin |
190 |
- --enable-local-provider |
191 |
- $(multilib_native_use_with systemd kcm) |
192 |
- $(multilib_native_use_with systemd secrets) |
193 |
- $(use_with samba) |
194 |
- --with-smb-idmap-interface-version=6 |
195 |
- $(multilib_native_use_enable acl cifs-idmap-plugin) |
196 |
- $(multilib_native_use_with selinux) |
197 |
- $(multilib_native_use_with selinux semanage) |
198 |
- $(use_enable locator krb5-locator-plugin) |
199 |
- $(use_enable pac pac-responder) |
200 |
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) |
201 |
- $(use_enable nls) |
202 |
- $(multilib_native_use_with netlink libnl) |
203 |
- $(multilib_native_use_with man manpages) |
204 |
- $(multilib_native_use_with sudo) |
205 |
- $(multilib_native_with autofs) |
206 |
- $(multilib_native_with ssh) |
207 |
- $(use_enable systemtap) |
208 |
- $(use_enable valgrind) |
209 |
- --without-python2-bindings |
210 |
- $(multilib_native_use_with python python3-bindings) |
211 |
- ) |
212 |
- |
213 |
- # Annoyingly configure requires that you pick systemd XOR sysv |
214 |
- if use systemd; then |
215 |
- myconf+=( |
216 |
- --with-initscript="systemd" |
217 |
- --with-systemdunitdir=$(systemd_get_systemunitdir) |
218 |
- ) |
219 |
- else |
220 |
- myconf+=(--with-initscript="sysv") |
221 |
- fi |
222 |
- |
223 |
- if ! multilib_is_native_abi; then |
224 |
- # work-around all the libraries that are used for CLI and server |
225 |
- myconf+=( |
226 |
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' ' |
227 |
- # ldb headers are fine since native needs it |
228 |
- # ldb lib fails... but it does not seem to bother |
229 |
- {DHASH,COLLECTION,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' ' |
230 |
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,GLIB2,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' ' |
231 |
- {NDR_NBT,SMBCLIENT,NDR_KRB5PAC}_{CFLAGS,LIBS}=' ' |
232 |
- |
233 |
- # use native include path for dbus (needed for build) |
234 |
- DBUS_CFLAGS="${native_dbus_cflags}" |
235 |
- |
236 |
- # non-pkgconfig checks |
237 |
- ac_cv_lib_ldap_ldap_search=yes |
238 |
- --without-secrets |
239 |
- --without-kcm |
240 |
- ) |
241 |
- fi |
242 |
- |
243 |
- econf "${myconf[@]}" |
244 |
-} |
245 |
- |
246 |
-multilib_src_compile() { |
247 |
- if multilib_is_native_abi; then |
248 |
- default |
249 |
- use doc && emake docs |
250 |
- if use man || use nls; then |
251 |
- emake update-po |
252 |
- fi |
253 |
- else |
254 |
- emake libnss_sss.la pam_sss.la |
255 |
- use locator && emake sssd_krb5_locator_plugin.la |
256 |
- use pac && emake sssd_pac_plugin.la |
257 |
- fi |
258 |
-} |
259 |
- |
260 |
-multilib_src_test() { |
261 |
- if multilib_is_native_abi; then |
262 |
- local -x CK_TIMEOUT_MULTIPLIER=10 |
263 |
- emake check VERBOSE=yes |
264 |
- fi |
265 |
-} |
266 |
- |
267 |
-multilib_src_install() { |
268 |
- if multilib_is_native_abi; then |
269 |
- emake -j1 DESTDIR="${D}" "${_at_args[@]}" install |
270 |
- if use python; then |
271 |
- python_optimize |
272 |
- python_fix_shebang "${ED}" |
273 |
- fi |
274 |
- else |
275 |
- # easier than playing with automake... |
276 |
- dopammod .libs/pam_sss.so |
277 |
- |
278 |
- into / |
279 |
- dolib.so .libs/libnss_sss.so* |
280 |
- |
281 |
- if use locator; then |
282 |
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5 |
283 |
- doexe .libs/sssd_krb5_locator_plugin.so |
284 |
- fi |
285 |
- |
286 |
- if use pac; then |
287 |
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata |
288 |
- doexe .libs/sssd_pac_plugin.so |
289 |
- fi |
290 |
- fi |
291 |
-} |
292 |
- |
293 |
-multilib_src_install_all() { |
294 |
- einstalldocs |
295 |
- find "${ED}" -type f -name '*.la' -delete || die |
296 |
- |
297 |
- insinto /etc/sssd |
298 |
- insopts -m600 |
299 |
- doins "${S}"/src/examples/sssd-example.conf |
300 |
- |
301 |
- insinto /etc/logrotate.d |
302 |
- insopts -m644 |
303 |
- newins "${S}"/src/examples/logrotate sssd |
304 |
- |
305 |
- newconfd "${FILESDIR}"/sssd.conf sssd |
306 |
- |
307 |
- keepdir /var/lib/sss/db |
308 |
- keepdir /var/lib/sss/deskprofile |
309 |
- keepdir /var/lib/sss/gpo_cache |
310 |
- keepdir /var/lib/sss/keytabs |
311 |
- keepdir /var/lib/sss/mc |
312 |
- keepdir /var/lib/sss/pipes/private |
313 |
- keepdir /var/lib/sss/pubconf/krb5.include.d |
314 |
- keepdir /var/lib/sss/secrets |
315 |
- keepdir /var/log/sssd |
316 |
- |
317 |
- # strip empty dirs |
318 |
- if ! use doc; then |
319 |
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die |
320 |
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap,sss_simpleifp}_doc || die |
321 |
- fi |
322 |
- |
323 |
- rm -r "${ED}"/run || die |
324 |
-} |
325 |
- |
326 |
-pkg_postinst() { |
327 |
- elog "You must set up sssd.conf (default installed into /etc/sssd)" |
328 |
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD" |
329 |
- elog "features. Please see howto in https://sssd.io/docs/design_pages/smartcard_authentication_require.html" |
330 |
-} |