[arch-commits] Commit in sssd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Jan 14 16:39:23 UTC 2019


    Date: Monday, January 14, 2019 @ 16:39:22
  Author: mtorromeo
Revision: 423079

archrelease: copy trunk to community-x86_64

Added:
  sssd/repos/community-x86_64/PKGBUILD
    (from rev 423078, sssd/trunk/PKGBUILD)
Deleted:
  sssd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  172 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 87 insertions(+), 85 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-14 16:39:06 UTC (rev 423078)
+++ PKGBUILD	2019-01-14 16:39:22 UTC (rev 423079)
@@ -1,85 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Maintainer: Mantas M. <grawity at gmail.com>
-
-pkgname=sssd
-pkgver=2.0.0
-pkgrel=1
-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'
-)
-makedepends=(
-  'docbook-xsl'
-  'doxygen'
-  'python'
-  'python2'
-  'samba'         # for libndr-nbt headers
-  'systemd'
-)
-source=("https://releases.pagure.org/SSSD/$pkgname/$pkgname-$pkgver.tar.gz")
-sha512sums=('affeb0799d8a4fcbcb4b2ed7925b397ae6ba0e2982c5603e98636b765d3820a3b29ac58b0771e5cc00c752512f091ae4fd271d441544147a0570d3c14b535701')
-
-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-x86_64/PKGBUILD (from rev 423078, sssd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-14 16:39:22 UTC (rev 423079)
@@ -0,0 +1,87 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=2.0.0
+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'
+  'jansson'
+)
+makedepends=(
+  'docbook-xsl'
+  'doxygen'
+  'python'
+  'python2'
+  'samba'         # for libndr-nbt headers
+  'systemd'
+)
+source=("https://releases.pagure.org/SSSD/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('affeb0799d8a4fcbcb4b2ed7925b397ae6ba0e2982c5603e98636b765d3820a3b29ac58b0771e5cc00c752512f091ae4fd271d441544147a0570d3c14b535701')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  for f in "${source[@]}"; do
+    if [[ $f == *.patch ]]; then
+      msg2 "Applying $f"
+      patch -p1 < "$srcdir/$f"
+    fi
+  done
+
+  # dbus policy files in /usr/share/dbus-1
+  sed -i -e 's/^dbuspolicydir = $(sysconfdir)/dbuspolicydir = $(datadir)/' Makefile.in
+}
+
+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