[arch-commits] Commit in sssd/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Mon Mar 30 19:40:04 UTC 2020
Date: Monday, March 30, 2020 @ 19:40:03
Author: jelle
Revision: 607127
db-move: moved sssd from [community-staging] to [community-testing] (x86_64)
Added:
sssd/repos/community-testing-x86_64/
sssd/repos/community-testing-x86_64/PKGBUILD
(from rev 607126, sssd/repos/community-staging-x86_64/PKGBUILD)
Deleted:
sssd/repos/community-staging-x86_64/
----------+
PKGBUILD | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 105 insertions(+)
Copied: sssd/repos/community-testing-x86_64/PKGBUILD (from rev 607126, sssd/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-03-30 19:40:03 UTC (rev 607127)
@@ -0,0 +1,105 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=2.2.3
+pkgrel=6
+pkgdesc="System Security Services Daemon"
+arch=('x86_64')
+url="https://pagure.io/SSSD/sssd"
+license=('GPL3')
+depends=(
+ 'bind' # for nsupdate
+ 'c-ares'
+ 'cyrus-sasl-gssapi'
+ 'ding-libs'
+ 'libnl'
+ 'libunistring'
+ 'nss'
+ 'smbclient' # for libndr-nbt
+ 'nfsidmap'
+ 'jansson'
+ 'libtevent.so'
+ 'libldb.so'
+)
+makedepends=(
+ 'docbook-xsl'
+ 'doxygen'
+ 'python'
+ 'samba' # for libndr-nbt headers
+ 'systemd'
+ 'tevent'
+ 'ldb'
+)
+checkdepends=(
+ 'check'
+ 'cmocka'
+ 'libfaketime'
+)
+source=("https://releases.pagure.org/SSSD/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+sha512sums=('b61d52a53e26e8efa9cb799fc6efc2314bf9d174d3cacfe591a4ca77530637591eacc0dc70c0555252e04a9617e8b134b1ab2d9b0f7351b4228e7b61499e6a10'
+ 'SKIP')
+validpgpkeys=('E4E366758CA0716AAB8048671EC6AB7532E7BC25'
+ '16F24229488E736048952737BA88000FE6398272')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for f in "${source[@]}"; do
+ if [[ $f == *.patch ]]; then
+ patch -p1 < "$srcdir/$f"
+ fi
+ done
+
+ # dbus policy files in /usr/share/dbus-1
+ sed -i -e 's/^dbuspolicydir = $(sysconfdir)/dbuspolicydir = $(datadir)/' Makefile.in
+
+ # remove flaky network test
+ sed '/fail_over-tests/d' -i Makefile.am
+ autoreconf -fiv
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/sssd \
+ --datadir=/usr/share \
+ --enable-pammoddir=/usr/lib/security \
+ --with-initscript=systemd \
+ --with-os=fedora \
+ --with-pid-path=/run \
+ --without-python2-bindings \
+ --with-python3-bindings \
+ --with-syslog=journald \
+ --without-selinux \
+ --without-semanage \
+ --with-systemdunitdir=/usr/lib/systemd/system \
+ ;
+ sed -i '/\<HAVE_KRB5_SET_TRACE_CALLBACK\>/d' config.h
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -j1 DESTDIR="$pkgdir/" install
+ rm -rf "$pkgdir"/etc/rc.d
+ rm -rf "$pkgdir"/lib
+ rm -rf "$pkgdir"/run
+ rm -f "$pkgdir"/usr/lib/ldb/modules/ldb/memberof.la
+ find "$pkgdir"/usr -depth -type d \
+ -exec rmdir --ignore-fail-on-non-empty {} \;
+
+ cd "$srcdir"
+ rm -rf "$pkgdir/etc/systemd" # remove the drop-in
+}
+
+# vim: ts=2:sw=2:et:nowrap
More information about the arch-commits
mailing list