[arch-commits] Commit in (6 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Thu Aug 14 14:58:22 UTC 2014


    Date: Thursday, August 14, 2014 @ 16:58:22
  Author: mtorromeo
Revision: 117393

Add sssd to community repo

Added:
  sssd/
  sssd/trunk/
  sssd/trunk/0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch
  sssd/trunk/0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch
  sssd/trunk/PKGBUILD
  sssd/trunk/sssd.service

-----------------------------------------------------------------+
 0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch   |   27 +++
 0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch |   29 +++
 PKGBUILD                                                        |   90 ++++++++++
 sssd.service                                                    |   12 +
 4 files changed, 158 insertions(+)

Added: sssd/trunk/0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch
===================================================================
--- sssd/trunk/0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch	                        (rev 0)
+++ sssd/trunk/0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch	2014-08-14 14:58:22 UTC (rev 117393)
@@ -0,0 +1,27 @@
+From b31b0a468ddbc9be4fc78289e5a0a108c31ec620 Mon Sep 17 00:00:00 2001
+From: Sumit Bose <sbose at redhat.com>
+Date: Fri, 18 Jul 2014 22:39:56 +0200
+Subject: [PATCH] AD: add missing debug-to-stderr option to gpo_child
+
+Reviewed-by: Jakub Hrozek <jhrozek at redhat.com>
+---
+ src/providers/ad/ad_gpo_child.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/providers/ad/ad_gpo_child.c b/src/providers/ad/ad_gpo_child.c
+index 0b6a4cd..31c5c99 100644
+--- a/src/providers/ad/ad_gpo_child.c
++++ b/src/providers/ad/ad_gpo_child.c
+@@ -498,6 +498,9 @@ main(int argc, const char *argv[])
+          _("Show timestamps with microseconds"), NULL},
+         {"debug-fd", 0, POPT_ARG_INT, &debug_fd, 0,
+          _("An open file descriptor for the debug logs"), NULL},
++        {"debug-to-stderr", 0, POPT_ARG_NONE | POPT_ARGFLAG_DOC_HIDDEN,
++         &debug_to_stderr, 0,
++         _("Send the debug output to stderr directly."), NULL },
+         POPT_TABLEEND
+     };
+ 
+-- 
+2.0.3
+

Added: sssd/trunk/0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch
===================================================================
--- sssd/trunk/0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch	                        (rev 0)
+++ sssd/trunk/0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch	2014-08-14 14:58:22 UTC (rev 117393)
@@ -0,0 +1,29 @@
+From ee4ba51f2fcfc8d8b807c3de6eaac554281165d2 Mon Sep 17 00:00:00 2001
+From: Sumit Bose <sbose at redhat.com>
+Date: Fri, 18 Jul 2014 22:34:23 +0200
+Subject: [PATCH] KRB5: add missing debug-to-stderr option to krb5_child
+
+Without this option krb5_child cannot be run in interactive mode.
+
+Reviewed-by: Jakub Hrozek <jhrozek at redhat.com>
+---
+ src/providers/krb5/krb5_child.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
+index 0980c7c..3234a4e 100644
+--- a/src/providers/krb5/krb5_child.c
++++ b/src/providers/krb5/krb5_child.c
+@@ -1979,6 +1979,9 @@ int main(int argc, const char *argv[])
+          _("Show timestamps with microseconds"), NULL},
+         {"debug-fd", 0, POPT_ARG_INT, &debug_fd, 0,
+          _("An open file descriptor for the debug logs"), NULL},
++        {"debug-to-stderr", 0, POPT_ARG_NONE | POPT_ARGFLAG_DOC_HIDDEN,
++         &debug_to_stderr, 0,
++         _("Send the debug output to stderr directly."), NULL },
+         POPT_TABLEEND
+     };
+ 
+-- 
+2.0.3
+

Added: sssd/trunk/PKGBUILD
===================================================================
--- sssd/trunk/PKGBUILD	                        (rev 0)
+++ sssd/trunk/PKGBUILD	2014-08-14 14:58:22 UTC (rev 117393)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Maintainer: Mantas M. <grawity at gmail.com>
+
+pkgname=sssd
+pkgver=1.12.0
+pkgrel=4
+pkgdesc="System Security Services Daemon"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/sssd/"
+license=('GPL3')
+depends=(
+  'augeas'
+  'bind'          # for nsupdate
+  'c-ares'
+  'cyrus-sasl-gssapi'
+  'dbus-core'
+  'ding-libs'
+  'libnl'
+  'libunistring'
+  'nss'
+  'smbclient'     # for libndr-nbt
+  'systemd'
+)
+makedepends=(
+  'docbook-xsl'
+  'doxygen'
+  'python2'
+  'samba'         # for libndr-nbt headers
+)
+source=("https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.gz"
+        "https://fedorahosted.org/released/$pkgname/$pkgname-$pkgver.tar.gz.asc"
+        '0001-AD-add-missing-debug-to-stderr-option-to-gpo_child.patch'
+        '0002-KRB5-add-missing-debug-to-stderr-option-to-krb5_chil.patch'
+        'sssd.service')
+sha1sums=('482d126430b52e00b49b9ba10276a8f6ed2d8408'
+          'SKIP'
+          '6cc2704b73d32b0c5b68de038f80ab967e5f3520'
+          'ed5961ed325be966e5e1aa204ff430f9a895d510'
+          '2d10db3d6f54a58bbf8d1f27328e68555256e0ce')
+
+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"
+  export PYTHON=/usr/bin/python2
+  ./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-python-bindings                        \
+    --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 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
+  install -Dm0644 sssd.service  "$pkgdir/usr/lib/systemd/system/sssd.service"
+} 
+
+# vim: ts=2:sw=2:et:nowrap

Added: sssd/trunk/sssd.service
===================================================================
--- sssd/trunk/sssd.service	                        (rev 0)
+++ sssd/trunk/sssd.service	2014-08-14 14:58:22 UTC (rev 117393)
@@ -0,0 +1,12 @@
+[Unit]
+Description=System Security Services Daemon
+Documentation=man:sssd(8)
+Before=rpc-idmapd.service
+
+[Service]
+ExecStart=/usr/bin/sssd -D -f
+Type=forking
+PIDFile=/run/sssd.pid
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list