# Contributor: Vince Mele # Contributor: Henrik Riomar # Maintainer: Vince Mele pkgname=sssd pkgver=2.9.1 pkgrel=0 pkgdesc="System Security Services Daemon" url="https://github.com/SSSD/sssd" arch="x86_64" license="GPL-3.0-or-later" # TODO: the full test suite depends on these # but does not pass. #checkdepends=" # check-dev # cmocka-dev # " depends=" bind curl cyrus-sasl-gssapiv2 " makedepends=" autoconf automake bash bind-tools c-ares-dev cifs-utils-dev curl-dev dbus-dev ding-libs-dev docbook-xsl gettext-dev glib-dev http-parser-dev jansson-dev jose-dev keyutils-dev krb5-dev ldb-dev libtool libunistring-dev libxml2-utils libxslt linux-pam-dev musl-nscd-dev nss-dev openldap-dev p11-kit-dev pcre2-dev popt-dev python3-dev talloc-dev tdb-dev tevent-dev " subpackages="$pkgname-dev py3-$pkgname-pyc py3-$pkgname:py3 $pkgname-openrc" source="$pkgname-$pkgver-2.tar.gz::https://github.com/SSSD/sssd/releases/download/$pkgver/sssd-$pkgver.tar.gz 0001-makefile.patch musl_fixup.patch sssd.initd " prepare() { default_prepare autoreconf -fvi } build() { ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/sssd \ --datadir=/usr/share \ --enable-pammoddir=/lib/security \ --with-pid-path=/run \ --with-initscript=sysv \ --with-init-dir=/etc/init.d \ --disable-cifs-idmap-plugin \ --disable-rpath \ --disable-static \ --without-autofs \ --without-manpages \ --without-nfsv4-idmapd-plugin \ --without-python2-bindings \ --without-samba \ --without-selinux \ --without-semanage \ --without-ssh make } check() { make check } package() { make -j1 DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/sssd.initd "$pkgdir"/etc/init.d/sssd # shellcheck disable=SC2115 rm -r "$pkgdir"/usr/share rm -r "$pkgdir"/run } py3() { amove usr/lib/python* } sha512sums=" eb7345dcfbbd51f005f67ee5032364d369d24589111ded60701e2dbe09563f0b862d343f231dd2e9d548acd8c560a036c8b88a0601f9aa048a7202da8202cd9b sssd-2.9.1-2.tar.gz a62843c65d864fa372b7ed550bdd6f277f054f3efae941c48e9bab239758dad079886f26fbb06fe15310845ba8dc5126d108b06864712c88904b08847a032308 0001-makefile.patch c9db51a773c821a2c5327d2e4b0d3c81dd89d780aa7f9dd66ff88a7419a8072907047c8d9faec17ea14c5404c636485eceda85df0b299f40fae362ef7bfb34e8 musl_fixup.patch 7198c66c96ba48c43def004e302be2e3348d43a4b5a1b35eb25f99081f1f6dce89d3994377a3064f72462509648bfbca1062493d244e413f0c47122cc0436bc9 sssd.initd "