[arch-commits] Commit in sssd/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Mar 28 18:48:03 UTC 2020


    Date: Saturday, March 28, 2020 @ 18:48:02
  Author: anthraxx
Revision: 605426

upgpkg: sssd 2.2.3-5: adding soname deps to avoid future breakage + add tests

Modified:
  sssd/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-28 18:46:45 UTC (rev 605425)
+++ PKGBUILD	2020-03-28 18:48:02 UTC (rev 605426)
@@ -3,7 +3,7 @@
 
 pkgname=sssd
 pkgver=2.2.3
-pkgrel=4
+pkgrel=5
 pkgdesc="System Security Services Daemon"
 arch=('x86_64')
 url="https://pagure.io/SSSD/sssd"
@@ -19,6 +19,8 @@
   'smbclient'     # for libndr-nbt
   'nfsidmap'
   'jansson'
+  'libtevent.so'
+  'libldb.so'
 )
 makedepends=(
   'docbook-xsl'
@@ -26,7 +28,14 @@
   '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')
@@ -43,6 +52,10 @@
 
   # 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() {
@@ -69,6 +82,12 @@
   make
 }
 
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make check
+}
+
+
 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make -j1 DESTDIR="$pkgdir/" install



More information about the arch-commits mailing list