Date: Saturday, July 18, 2015 @ 08:43:22 Author: foutrelis Revision: 242335
upgpkg: sudo 1.8.14.p1-1 New upstream release. Modified: sudo/trunk/PKGBUILD Deleted: sudo/trunk/fix-typo-in-sudo_sss_attrcpy.patch ------------------------------------+ PKGBUILD | 15 +++------------ fix-typo-in-sudo_sss_attrcpy.patch | 29 ----------------------------- 2 files changed, 3 insertions(+), 41 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-07-17 20:29:14 UTC (rev 242334) +++ PKGBUILD 2015-07-18 06:43:22 UTC (rev 242335) @@ -4,9 +4,9 @@ # Contributor: Tom Newsom <[email protected]> pkgname=sudo -_sudover=1.8.14 +_sudover=1.8.14p1 pkgver=${_sudover/p/.p} -pkgrel=2 +pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" arch=('i686' 'x86_64') url="http://www.sudo.ws/sudo/" @@ -16,21 +16,12 @@ 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' +sha256sums=('b12ccdf1c0b6a2a494afb6616d16d90310206f4d8e68023cf27345396d9f06a0' '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" Deleted: fix-typo-in-sudo_sss_attrcpy.patch =================================================================== --- fix-typo-in-sudo_sss_attrcpy.patch 2015-07-17 20:29:14 UTC (rev 242334) +++ fix-typo-in-sudo_sss_attrcpy.patch 2015-07-18 06:43:22 UTC (rev 242335) @@ -1,29 +0,0 @@ - -# HG changeset patch -# User Todd C. Miller <[email protected]> -# 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); -
