[arch-commits] Commit in sssd/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 15:43:42 UTC 2018
Date: Monday, July 23, 2018 @ 15:43:41
Author: foutrelis
Revision: 363060
archrelease: copy trunk to community-staging-x86_64
Added:
sssd/repos/community-staging-x86_64/
sssd/repos/community-staging-x86_64/PKGBUILD
(from rev 363059, sssd/trunk/PKGBUILD)
----------+
PKGBUILD | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
Copied: sssd/repos/community-staging-x86_64/PKGBUILD (from rev 363059, sssd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-23 15:43:41 UTC (rev 363060)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=1.16.2
+pkgrel=2
+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'
+ 'http-parser'
+ 'jansson'
+ 'curl'
+)
+makedepends=(
+ 'docbook-xsl'
+ 'doxygen'
+ 'python'
+ 'python2'
+ 'samba' # for libndr-nbt headers
+ 'systemd'
+)
+source=("https://releases.pagure.org/SSSD/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('de029e60c509d1ca9d716074c6c30bc469793440ad11452be6756df110911772d3d9d6bf555acb65f510957d6b8a265f0accc0940622101fa9cf809ac9c6d999')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for f in "${source[@]}"; do
+ if [[ $f == *.patch ]]; then
+ msg2 "Applying $f"
+ patch -p1 < "$srcdir/$f"
+ fi
+ done
+}
+
+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 \
+ --with-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
+}
+
+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
+
+ sed '1 s/python$/python2/' -i "$pkgdir"/usr/bin/sss_obfuscate
+}
+
+# vim: ts=2:sw=2:et:nowrap
More information about the arch-commits
mailing list