[arch-commits] Commit in sssd/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 26 10:07:18 UTC 2016
Date: Monday, December 26, 2016 @ 10:07:17
Author: foutrelis
Revision: 202681
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
sssd/repos/community-staging-i686/
sssd/repos/community-staging-i686/PKGBUILD
(from rev 202680, sssd/trunk/PKGBUILD)
sssd/repos/community-staging-x86_64/
sssd/repos/community-staging-x86_64/PKGBUILD
(from rev 202680, sssd/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 86 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 86 ++++++++++++++++++++++++++++++++++++
2 files changed, 172 insertions(+)
Copied: sssd/repos/community-staging-i686/PKGBUILD (from rev 202680, sssd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-26 10:07:17 UTC (rev 202681)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=1.14.2
+pkgrel=2
+pkgdesc="System Security Services Daemon"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/sssd/"
+license=('GPL3')
+depends=(
+ 'augeas'
+ 'bind' # for nsupdate
+ 'c-ares'
+ 'cyrus-sasl-gssapi'
+ 'ding-libs'
+ 'libnl'
+ 'libunistring'
+ 'nss'
+ 'smbclient' # for libndr-nbt
+ 'nfsidmap'
+ 'http-parser'
+ 'jansson'
+)
+makedepends=(
+ 'docbook-xsl'
+ 'doxygen'
+ 'python'
+ 'python2'
+ 'samba' # for libndr-nbt headers
+)
+source=("https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.gz")
+sha1sums=('167b2216c536035175ff041d0449e0a874c68601')
+
+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
Copied: sssd/repos/community-staging-x86_64/PKGBUILD (from rev 202680, sssd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-26 10:07:17 UTC (rev 202681)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=1.14.2
+pkgrel=2
+pkgdesc="System Security Services Daemon"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/sssd/"
+license=('GPL3')
+depends=(
+ 'augeas'
+ 'bind' # for nsupdate
+ 'c-ares'
+ 'cyrus-sasl-gssapi'
+ 'ding-libs'
+ 'libnl'
+ 'libunistring'
+ 'nss'
+ 'smbclient' # for libndr-nbt
+ 'nfsidmap'
+ 'http-parser'
+ 'jansson'
+)
+makedepends=(
+ 'docbook-xsl'
+ 'doxygen'
+ 'python'
+ 'python2'
+ 'samba' # for libndr-nbt headers
+)
+source=("https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.gz")
+sha1sums=('167b2216c536035175ff041d0449e0a874c68601')
+
+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