[arch-commits] Commit in sudo/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Feb 10 16:50:51 UTC 2015


    Date: Tuesday, February 10, 2015 @ 17:50:50
  Author: foutrelis
Revision: 231223

upgpkg: sudo 1.8.12-1

New upstream release.

Modified:
  sudo/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-10 16:00:40 UTC (rev 231222)
+++ PKGBUILD	2015-02-10 16:50:50 UTC (rev 231223)
@@ -4,7 +4,7 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=sudo
-_sudover=1.8.11p2
+_sudover=1.8.12
 pkgver=${_sudover/p/.p}
 pkgrel=1
 pkgdesc="Give certain users the ability to run some commands as root"
@@ -18,12 +18,19 @@
 source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
         sudo.tmpfiles.conf
         sudo.pam)
-sha256sums=('8133849418fa18cf6b6bb6893d1855ff7afe21db8923234a00bf045c90fba1ad'
+sha256sums=('163b51841de8ad19276581a6782d61f5948f1f72a0a843371a1c167d3dc4f3b0'
             'SKIP'
             '080dd97111b3149f8d140ffac68c88acd63da9eacc81fbcc7c43591be13b42fe'
             'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
 validpgpkeys=('CCB24BE9E9481B15D34159535A89DFA27EE470C4')
 
+prepare() {
+  cd "$srcdir/$pkgname-$_sudover"
+
+  # http://bugzilla.sudo.ws/show_bug.cgi?id=682
+  sed -i 's|\(exampledir = \).*|\1 at docdir@/examples|' {examples/,}Makefile.in
+}
+
 build() {
   cd "$srcdir/$pkgname-$_sudover"
 



More information about the arch-commits mailing list