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

Felix Yan felixonmars at archlinux.org
Sun Feb 11 07:25:33 UTC 2018


    Date: Sunday, February 11, 2018 @ 07:25:32
  Author: felixonmars
Revision: 291922

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 291921, sssd/trunk/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch)
  sssd/repos/community-staging-x86_64/PKGBUILD
    (from rev 291921, 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 291921, 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	2018-02-11 07:25:32 UTC (rev 291922)
@@ -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 291921, sssd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-02-11 07:25:32 UTC (rev 291922)
@@ -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=4
+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")
+sha512sums=('4c11fe9c6d6a7de1294a18227e6776d3432150963f511143279507666f949ad5fe2a6a17f8deb79888a0243ed6a1e9c794527b80f4931f08ab1e757e0db83448'
+            'a654cbfbecfa88b74478fbbd7f8576ed1ec3920eff038c3898a3efc4bd95e0873a2525de4e4c565c09d800206a847a378edb0b6117a2de6e69051fb65bb9564f')
+
+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