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

Massimiliano Torromeo mtorromeo at archlinux.org
Fri May 29 13:11:55 UTC 2020


    Date: Friday, May 29, 2020 @ 13:11:54
  Author: mtorromeo
Revision: 637048

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  225 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 115 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 13:11:31 UTC (rev 637047)
+++ PKGBUILD	2020-05-29 13:11:54 UTC (rev 637048)
@@ -1,110 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Maintainer: Mantas M. <grawity at gmail.com>
-
-pkgname=sssd
-pkgver=2.3.0
-pkgrel=1
-pkgdesc="System Security Services Daemon"
-arch=('x86_64')
-url="https://github.com/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'
-  'openssh'
-  'softhsm'
-)
-source=("https://github.com/SSSD/$pkgname/releases/download/$pkgname-${pkgver//./_}/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('72fc69018c4b8a71198f4a82e89d49d7a5c513e9291deff2f8e0e132cbd67341a8fa89598d28fcc1d785497526c9eeffe9b261c751524ee0e553badf0f748d59'
-            'SKIP')
-validpgpkeys=('E4E366758CA0716AAB8048671EC6AB7532E7BC25'
-              '16F24229488E736048952737BA88000FE6398272'
-              '1A41DC67505F89A330828B66AFFE75DDE8508E12')
-
-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          \
-    --enable-pac-responder                        \
-    --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 \
-    --with-crypto=nss                             \
-    ;
-  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

Copied: sssd/repos/community-x86_64/PKGBUILD (from rev 637047, sssd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-29 13:11:54 UTC (rev 637048)
@@ -0,0 +1,115 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="System Security Services Daemon"
+arch=('x86_64')
+url="https://github.com/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'
+  'openssh'
+  'softhsm'
+)
+backup=('etc/logrotate.d/sssd')
+source=("https://github.com/SSSD/$pkgname/releases/download/$pkgname-${pkgver//./_}/$pkgname-$pkgver.tar.gz"{,.asc})
+sha512sums=('72fc69018c4b8a71198f4a82e89d49d7a5c513e9291deff2f8e0e132cbd67341a8fa89598d28fcc1d785497526c9eeffe9b261c751524ee0e553badf0f748d59'
+            'SKIP')
+validpgpkeys=('E4E366758CA0716AAB8048671EC6AB7532E7BC25'
+              '16F24229488E736048952737BA88000FE6398272'
+              '1A41DC67505F89A330828B66AFFE75DDE8508E12')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  for f in "${source[@]}"; do
+    if [[ $f == *.patch ]]; then
+      patch -p1 < "$srcdir/$f"
+    fi
+  done
+
+  sed -i 's#/var/run/#/run/#' src/examples/logrotate
+
+  # 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          \
+    --enable-pac-responder                        \
+    --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 \
+    --with-crypto=nss                             \
+    ;
+  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 {} \;
+
+  install -Dm0644 src/examples/logrotate "$pkgdir/etc/logrotate.d/sssd"
+
+  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