[arch-commits] Commit in sssd/repos (3 files)

Andreas Radke andyrtr at archlinux.org
Thu Dec 21 20:17:38 UTC 2017


    Date: Thursday, December 21, 2017 @ 20:17:37
  Author: andyrtr
Revision: 275235

archrelease: copy trunk to community-staging-x86_64

Added:
  sssd/repos/community-staging-x86_64/
  sssd/repos/community-staging-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch
    (from rev 275234, sssd/trunk/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch)
  sssd/repos/community-staging-x86_64/PKGBUILD
    (from rev 275234, sssd/trunk/PKGBUILD)

-----------------------------------------------+
 0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch |   28 +++++++
 PKGBUILD                                      |   89 ++++++++++++++++++++++++
 2 files changed, 117 insertions(+)

Copied: sssd/repos/community-staging-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch (from rev 275234, sssd/trunk/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch)
===================================================================
--- community-staging-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch	                        (rev 0)
+++ community-staging-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch	2017-12-21 20:17:37 UTC (rev 275235)
@@ -0,0 +1,28 @@
+From 201651e66544d07e89287454924ea5f196467463 Mon Sep 17 00:00:00 2001
+From: REIM THOMAS <reimth at gmail.com>
+Date: Thu, 14 Dec 2017 03:23:11 +0100
+Subject: [PATCH 7/7] Update SMB IDMAP INTERFACE VERSION
+
+    Update to latest version 6 implemented by samba 4.7.3
+
+Signed-off-by: REIM THOMAS <reimth at gmail.com>
+---
+ src/lib/winbind_idmap_sss/winbind_idmap_sss.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/lib/winbind_idmap_sss/winbind_idmap_sss.h b/src/lib/winbind_idmap_sss/winbind_idmap_sss.h
+index 0f27c8561..0eb6bb22b 100644
+--- a/src/lib/winbind_idmap_sss/winbind_idmap_sss.h
++++ b/src/lib/winbind_idmap_sss/winbind_idmap_sss.h
+@@ -64,7 +64,7 @@ struct id_map {
+     enum id_mapping status;
+ };
+ 
+-#define SMB_IDMAP_INTERFACE_VERSION 5
++#define SMB_IDMAP_INTERFACE_VERSION 6
+ 
+ struct idmap_domain {
+     const char *name;
+-- 
+2.15.1
+

Copied: sssd/repos/community-staging-x86_64/PKGBUILD (from rev 275234, sssd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-21 20:17:37 UTC (rev 275235)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=1.16.0
+pkgrel=3
+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"
+        "0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch")
+sha1sums=('fff74b3798e163a0fe311bdfc4588524afe6dd87'
+          'd89f98e921fee2a492830ca55cc573d0b4dcea53')
+
+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