[arch-commits] Commit in sssd/repos/community-x86_64 (3 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Fri Dec 15 21:58:16 UTC 2017
Date: Friday, December 15, 2017 @ 21:58:15
Author: mtorromeo
Revision: 274540
archrelease: copy trunk to community-x86_64
Added:
sssd/repos/community-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch
(from rev 274539, sssd/trunk/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch)
sssd/repos/community-x86_64/PKGBUILD
(from rev 274539, sssd/trunk/PKGBUILD)
Deleted:
sssd/repos/community-x86_64/PKGBUILD
-----------------------------------------------+
0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch | 28 +++
PKGBUILD | 176 ++++++++++++------------
2 files changed, 117 insertions(+), 87 deletions(-)
Copied: sssd/repos/community-x86_64/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch (from rev 274539, sssd/trunk/0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch)
===================================================================
--- 0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch (rev 0)
+++ 0007-Update-SMB-IDMAP-INTERFACE-VERSION.patch 2017-12-15 21:58:15 UTC (rev 274540)
@@ -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
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-15 21:54:14 UTC (rev 274539)
+++ PKGBUILD 2017-12-15 21:58:15 UTC (rev 274540)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Maintainer: Mantas M. <grawity at gmail.com>
-
-pkgname=sssd
-pkgver=1.16.0
-pkgrel=1
-pkgdesc="System Security Services Daemon"
-arch=('i686' '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")
-sha1sums=('fff74b3798e163a0fe311bdfc4588524afe6dd87')
-
-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 274539, sssd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-15 21:58:15 UTC (rev 274540)
@@ -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=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'
+ '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