1 # Maintainer: Mantas M. <grawity@gmail.com>
5 pkgdesc="System Security Services Daemon"
7 url="https://fedorahosted.org/sssd/"
32 source=("https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.gz"
35 sha1sums=('c46600b6686ef0eabd09bfa07a78fa285f2275e0'
36 '10945fa294c5ace62f2dcc7db6091710b46d6ffe'
37 'e40e22cecc2cd6d842a040e3266554bff17ba079')
40 cd "$srcdir/$pkgname-$pkgver"
44 --localstatedir=/var \
45 --libexecdir=/usr/lib/sssd \
46 --enable-pammoddir=/lib/security \
48 --with-pid-path=/run \
49 --without-python-bindings \
52 --with-initscript=systemd \
53 --with-systemdunitdir=/lib/systemd/system \
54 --enable-all-experimental-features \
60 cd "$srcdir/$pkgname-$pkgver"
61 make DESTDIR="$pkgdir/" install
62 rm -rf "$pkgdir/etc/rc.d"
63 rm -f "$pkgdir/usr/modules/ldb/memberof.la"
64 find "$pkgdir/usr/share/man" -depth -type d -exec rmdir --ignore-fail-on-non-empty {} \;
65 # The included unit requires way too much sed'ing.
66 install -Dm0644 "$srcdir/sssd.service" "$pkgdir/lib/systemd/system/sssd.service"
67 install -Dm0755 "$srcdir/sssd.rcd" "$pkgdir/etc/rc.d/sssd"