[arch-commits] Commit in sudo/repos (14 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Jul 18 06:43:35 UTC 2015


    Date: Saturday, July 18, 2015 @ 08:43:35
  Author: foutrelis
Revision: 242336

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  sudo/repos/testing-i686/PKGBUILD
    (from rev 242335, sudo/trunk/PKGBUILD)
  sudo/repos/testing-i686/sudo.install
    (from rev 242335, sudo/trunk/sudo.install)
  sudo/repos/testing-i686/sudo.pam
    (from rev 242335, sudo/trunk/sudo.pam)
  sudo/repos/testing-x86_64/PKGBUILD
    (from rev 242335, sudo/trunk/PKGBUILD)
  sudo/repos/testing-x86_64/sudo.install
    (from rev 242335, sudo/trunk/sudo.install)
  sudo/repos/testing-x86_64/sudo.pam
    (from rev 242335, sudo/trunk/sudo.pam)
Deleted:
  sudo/repos/testing-i686/PKGBUILD
  sudo/repos/testing-i686/fix-typo-in-sudo_sss_attrcpy.patch
  sudo/repos/testing-i686/sudo.install
  sudo/repos/testing-i686/sudo.pam
  sudo/repos/testing-x86_64/PKGBUILD
  sudo/repos/testing-x86_64/fix-typo-in-sudo_sss_attrcpy.patch
  sudo/repos/testing-x86_64/sudo.install
  sudo/repos/testing-x86_64/sudo.pam

---------------------------------------------------+
 /PKGBUILD                                         |  128 ++++++++++++++++++++
 /sudo.install                                     |   38 +++++
 /sudo.pam                                         |    8 +
 testing-i686/PKGBUILD                             |   73 -----------
 testing-i686/fix-typo-in-sudo_sss_attrcpy.patch   |   29 ----
 testing-i686/sudo.install                         |   19 --
 testing-i686/sudo.pam                             |    4 
 testing-x86_64/PKGBUILD                           |   73 -----------
 testing-x86_64/fix-typo-in-sudo_sss_attrcpy.patch |   29 ----
 testing-x86_64/sudo.install                       |   19 --
 testing-x86_64/sudo.pam                           |    4 
 11 files changed, 174 insertions(+), 250 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-i686/PKGBUILD	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=sudo
-_sudover=1.8.14
-pkgver=${_sudover/p/.p}
-pkgrel=2
-pkgdesc="Give certain users the ability to run some commands as root"
-arch=('i686' 'x86_64')
-url="http://www.sudo.ws/sudo/"
-license=('custom')
-groups=('base-devel')
-depends=('glibc' 'pam' 'libldap')
-backup=('etc/sudoers' 'etc/pam.d/sudo')
-install=$pkgname.install
-source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
-        fix-typo-in-sudo_sss_attrcpy.patch
-        sudo.pam)
-sha256sums=('74308f7bf242f6f997d4c8145849581f06fb6fbe47032b6e87ac664c14b9f6d3'
-            'SKIP'
-            '2ab1ad3174b852ad82601e670ba3b42efa06bc34d85d20918d69bb239e1f0c0e'
-            'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
-validpgpkeys=('CCB24BE9E9481B15D34159535A89DFA27EE470C4')
-
-prepare() {
-  cd "$srcdir/$pkgname-$_sudover"
-
-  # http://bugzilla.sudo.ws/show_bug.cgi?id=703
-  patch -Np1 -i ../fix-typo-in-sudo_sss_attrcpy.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-$_sudover"
-
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --libexecdir=/usr/lib \
-    --with-rundir=/run/sudo \
-    --with-vardir=/var/db/sudo \
-    --with-logfac=auth \
-    --enable-tmpfiles.d \
-    --with-pam \
-    --with-sssd \
-    --with-ldap \
-    --with-ldap-conf-file=/etc/openldap/ldap.conf \
-    --with-env-editor \
-    --with-passprompt="[sudo] password for %p: " \
-    --with-all-insults
-  make
-}
-
-check() {
-  cd "$srcdir/$pkgname-$_sudover"
-  make check
-}
-
-package() {
-  cd "$srcdir/$pkgname-$_sudover"
-  make DESTDIR="$pkgdir" install
-
-  # Remove /run/sudo directory from the package; we create it using tmpfiles.d
-  rmdir "$pkgdir/run/sudo"
-  rmdir "$pkgdir/run"
-
-  install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
-
-  install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-i686/PKGBUILD (from rev 242335, sudo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=sudo
+_sudover=1.8.14p1
+pkgver=${_sudover/p/.p}
+pkgrel=1
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=('i686' 'x86_64')
+url="http://www.sudo.ws/sudo/"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'pam' 'libldap')
+backup=('etc/sudoers' 'etc/pam.d/sudo')
+install=$pkgname.install
+source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
+        sudo.pam)
+sha256sums=('b12ccdf1c0b6a2a494afb6616d16d90310206f4d8e68023cf27345396d9f06a0'
+            'SKIP'
+            'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
+validpgpkeys=('CCB24BE9E9481B15D34159535A89DFA27EE470C4')
+
+build() {
+  cd "$srcdir/$pkgname-$_sudover"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --with-rundir=/run/sudo \
+    --with-vardir=/var/db/sudo \
+    --with-logfac=auth \
+    --enable-tmpfiles.d \
+    --with-pam \
+    --with-sssd \
+    --with-ldap \
+    --with-ldap-conf-file=/etc/openldap/ldap.conf \
+    --with-env-editor \
+    --with-passprompt="[sudo] password for %p: " \
+    --with-all-insults
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make DESTDIR="$pkgdir" install
+
+  # Remove /run/sudo directory from the package; we create it using tmpfiles.d
+  rmdir "$pkgdir/run/sudo"
+  rmdir "$pkgdir/run"
+
+  install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
+
+  install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-i686/fix-typo-in-sudo_sss_attrcpy.patch
===================================================================
--- testing-i686/fix-typo-in-sudo_sss_attrcpy.patch	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-i686/fix-typo-in-sudo_sss_attrcpy.patch	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,29 +0,0 @@
-
-# HG changeset patch
-# User Todd C. Miller <Todd.Miller at courtesan.com>
-# Date 1437163106 21600
-# Node ID 0fa324a7bb5665aec9d39cdf011eaed32db36685
-# Parent  e4c7cda464759b555e46ad0de229f302ac22b112
-Fix typo in sudo_sss_attrcpy() that caused a memory allocation error.
-
-diff -r e4c7cda46475 -r 0fa324a7bb56 plugins/sudoers/sssd.c
---- a/plugins/sudoers/sssd.c	Wed Jul 15 12:36:02 2015 -0600
-+++ b/plugins/sudoers/sssd.c	Fri Jul 17 13:58:26 2015 -0600
-@@ -142,7 +142,7 @@
-     sudo_debug_printf(SUDO_DEBUG_INFO, "malloc: cnt=%d", src->num_values);
- 
-     dst->name = strdup(src->name);
--    dst->values = reallocarray(NULL, dst->num_values, sizeof(char *));
-+    dst->values = reallocarray(NULL, src->num_values, sizeof(char *));
-     if (dst->name == NULL || dst->values == NULL)
- 	goto oom;
-     dst->num_values = src->num_values;
-@@ -195,7 +195,6 @@
- 
-     for (i = 0; i < src->num_attrs; ++i) {
- 	if (!sudo_sss_attrcpy(dst->attrs + i, src->attrs + i)) {
--	    sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory"));
- 	    dst->num_attrs = i;
- 	    sudo_sss_rulefree(dst);
- 	    debug_return_bool(false);
-

Deleted: testing-i686/sudo.install
===================================================================
--- testing-i686/sudo.install	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-i686/sudo.install	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,19 +0,0 @@
-post_install() {
-  if type -P systemd-tmpfiles >/dev/null; then
-    systemd-tmpfiles --create sudo.conf
-  fi
-}
-
-pre_upgrade() {
-  # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
-  # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
-  if (($(vercmp $2 1.8.10-1) < 0)); then
-    chmod 0711 var/db/sudo
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-i686/sudo.install (from rev 242335, sudo/trunk/sudo.install)
===================================================================
--- testing-i686/sudo.install	                        (rev 0)
+++ testing-i686/sudo.install	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,19 @@
+post_install() {
+  if type -P systemd-tmpfiles >/dev/null; then
+    systemd-tmpfiles --create sudo.conf
+  fi
+}
+
+pre_upgrade() {
+  # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
+  # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
+  if (($(vercmp $2 1.8.10-1) < 0)); then
+    chmod 0711 var/db/sudo
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-i686/sudo.pam
===================================================================
--- testing-i686/sudo.pam	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-i686/sudo.pam	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,4 +0,0 @@
-#%PAM-1.0
-auth		include		system-auth
-account		include		system-auth
-session		include		system-auth

Copied: sudo/repos/testing-i686/sudo.pam (from rev 242335, sudo/trunk/sudo.pam)
===================================================================
--- testing-i686/sudo.pam	                        (rev 0)
+++ testing-i686/sudo.pam	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth		include		system-auth
+account		include		system-auth
+session		include		system-auth

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-x86_64/PKGBUILD	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=sudo
-_sudover=1.8.14
-pkgver=${_sudover/p/.p}
-pkgrel=2
-pkgdesc="Give certain users the ability to run some commands as root"
-arch=('i686' 'x86_64')
-url="http://www.sudo.ws/sudo/"
-license=('custom')
-groups=('base-devel')
-depends=('glibc' 'pam' 'libldap')
-backup=('etc/sudoers' 'etc/pam.d/sudo')
-install=$pkgname.install
-source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
-        fix-typo-in-sudo_sss_attrcpy.patch
-        sudo.pam)
-sha256sums=('74308f7bf242f6f997d4c8145849581f06fb6fbe47032b6e87ac664c14b9f6d3'
-            'SKIP'
-            '2ab1ad3174b852ad82601e670ba3b42efa06bc34d85d20918d69bb239e1f0c0e'
-            'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
-validpgpkeys=('CCB24BE9E9481B15D34159535A89DFA27EE470C4')
-
-prepare() {
-  cd "$srcdir/$pkgname-$_sudover"
-
-  # http://bugzilla.sudo.ws/show_bug.cgi?id=703
-  patch -Np1 -i ../fix-typo-in-sudo_sss_attrcpy.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-$_sudover"
-
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --libexecdir=/usr/lib \
-    --with-rundir=/run/sudo \
-    --with-vardir=/var/db/sudo \
-    --with-logfac=auth \
-    --enable-tmpfiles.d \
-    --with-pam \
-    --with-sssd \
-    --with-ldap \
-    --with-ldap-conf-file=/etc/openldap/ldap.conf \
-    --with-env-editor \
-    --with-passprompt="[sudo] password for %p: " \
-    --with-all-insults
-  make
-}
-
-check() {
-  cd "$srcdir/$pkgname-$_sudover"
-  make check
-}
-
-package() {
-  cd "$srcdir/$pkgname-$_sudover"
-  make DESTDIR="$pkgdir" install
-
-  # Remove /run/sudo directory from the package; we create it using tmpfiles.d
-  rmdir "$pkgdir/run/sudo"
-  rmdir "$pkgdir/run"
-
-  install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
-
-  install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-x86_64/PKGBUILD (from rev 242335, sudo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=sudo
+_sudover=1.8.14p1
+pkgver=${_sudover/p/.p}
+pkgrel=1
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=('i686' 'x86_64')
+url="http://www.sudo.ws/sudo/"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'pam' 'libldap')
+backup=('etc/sudoers' 'etc/pam.d/sudo')
+install=$pkgname.install
+source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
+        sudo.pam)
+sha256sums=('b12ccdf1c0b6a2a494afb6616d16d90310206f4d8e68023cf27345396d9f06a0'
+            'SKIP'
+            'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
+validpgpkeys=('CCB24BE9E9481B15D34159535A89DFA27EE470C4')
+
+build() {
+  cd "$srcdir/$pkgname-$_sudover"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --with-rundir=/run/sudo \
+    --with-vardir=/var/db/sudo \
+    --with-logfac=auth \
+    --enable-tmpfiles.d \
+    --with-pam \
+    --with-sssd \
+    --with-ldap \
+    --with-ldap-conf-file=/etc/openldap/ldap.conf \
+    --with-env-editor \
+    --with-passprompt="[sudo] password for %p: " \
+    --with-all-insults
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$_sudover"
+  make DESTDIR="$pkgdir" install
+
+  # Remove /run/sudo directory from the package; we create it using tmpfiles.d
+  rmdir "$pkgdir/run/sudo"
+  rmdir "$pkgdir/run"
+
+  install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
+
+  install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-x86_64/fix-typo-in-sudo_sss_attrcpy.patch
===================================================================
--- testing-x86_64/fix-typo-in-sudo_sss_attrcpy.patch	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-x86_64/fix-typo-in-sudo_sss_attrcpy.patch	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,29 +0,0 @@
-
-# HG changeset patch
-# User Todd C. Miller <Todd.Miller at courtesan.com>
-# Date 1437163106 21600
-# Node ID 0fa324a7bb5665aec9d39cdf011eaed32db36685
-# Parent  e4c7cda464759b555e46ad0de229f302ac22b112
-Fix typo in sudo_sss_attrcpy() that caused a memory allocation error.
-
-diff -r e4c7cda46475 -r 0fa324a7bb56 plugins/sudoers/sssd.c
---- a/plugins/sudoers/sssd.c	Wed Jul 15 12:36:02 2015 -0600
-+++ b/plugins/sudoers/sssd.c	Fri Jul 17 13:58:26 2015 -0600
-@@ -142,7 +142,7 @@
-     sudo_debug_printf(SUDO_DEBUG_INFO, "malloc: cnt=%d", src->num_values);
- 
-     dst->name = strdup(src->name);
--    dst->values = reallocarray(NULL, dst->num_values, sizeof(char *));
-+    dst->values = reallocarray(NULL, src->num_values, sizeof(char *));
-     if (dst->name == NULL || dst->values == NULL)
- 	goto oom;
-     dst->num_values = src->num_values;
-@@ -195,7 +195,6 @@
- 
-     for (i = 0; i < src->num_attrs; ++i) {
- 	if (!sudo_sss_attrcpy(dst->attrs + i, src->attrs + i)) {
--	    sudo_warnx(U_("%s: %s"), __func__, U_("unable to allocate memory"));
- 	    dst->num_attrs = i;
- 	    sudo_sss_rulefree(dst);
- 	    debug_return_bool(false);
-

Deleted: testing-x86_64/sudo.install
===================================================================
--- testing-x86_64/sudo.install	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-x86_64/sudo.install	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,19 +0,0 @@
-post_install() {
-  if type -P systemd-tmpfiles >/dev/null; then
-    systemd-tmpfiles --create sudo.conf
-  fi
-}
-
-pre_upgrade() {
-  # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
-  # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
-  if (($(vercmp $2 1.8.10-1) < 0)); then
-    chmod 0711 var/db/sudo
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: sudo/repos/testing-x86_64/sudo.install (from rev 242335, sudo/trunk/sudo.install)
===================================================================
--- testing-x86_64/sudo.install	                        (rev 0)
+++ testing-x86_64/sudo.install	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,19 @@
+post_install() {
+  if type -P systemd-tmpfiles >/dev/null; then
+    systemd-tmpfiles --create sudo.conf
+  fi
+}
+
+pre_upgrade() {
+  # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
+  # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
+  if (($(vercmp $2 1.8.10-1) < 0)); then
+    chmod 0711 var/db/sudo
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: testing-x86_64/sudo.pam
===================================================================
--- testing-x86_64/sudo.pam	2015-07-18 06:43:22 UTC (rev 242335)
+++ testing-x86_64/sudo.pam	2015-07-18 06:43:35 UTC (rev 242336)
@@ -1,4 +0,0 @@
-#%PAM-1.0
-auth		include		system-auth
-account		include		system-auth
-session		include		system-auth

Copied: sudo/repos/testing-x86_64/sudo.pam (from rev 242335, sudo/trunk/sudo.pam)
===================================================================
--- testing-x86_64/sudo.pam	                        (rev 0)
+++ testing-x86_64/sudo.pam	2015-07-18 06:43:35 UTC (rev 242336)
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth		include		system-auth
+account		include		system-auth
+session		include		system-auth



More information about the arch-commits mailing list