From 5525d97b0136d751243ef611c57ce84e5e4f6e7f Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 15 Mar 2011 08:14:31 +0000 Subject: [PATCH] sudo: update to 1.8.0 --- sudo/.footprint | 11 +++++++++++ sudo/.md5sum | 2 +- sudo/Pkgfile | 13 ++++++++----- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/sudo/.footprint b/sudo/.footprint index 8378bd2..5c98061 100644 --- a/sudo/.footprint +++ b/sudo/.footprint @@ -1,17 +1,28 @@ drwxr-xr-x root/root etc/ -r--r----- root/root etc/sudoers +drwxr-x--- root/root etc/sudoers.d/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ ---s--x--x root/root usr/bin/sudo lrwxrwxrwx root/root usr/bin/sudoedit -> sudo +---x--x--x root/root usr/bin/sudoreplay +drwxr-xr-x root/root usr/include/ +-r--r--r-- root/root usr/include/sudo_plugin.h drwxr-xr-x root/root usr/lib/ -rwxr-xr-x root/root usr/lib/sudo_noexec.so +-rw-r--r-- root/root usr/lib/sudoers.la +-rwxr-xr-x root/root usr/lib/sudoers.so drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man5/ -r--r--r-- root/root usr/man/man5/sudoers.5.gz drwxr-xr-x root/root usr/man/man8/ -r--r--r-- root/root usr/man/man8/sudo.8.gz +-r--r--r-- root/root usr/man/man8/sudo_plugin.8.gz lrwxrwxrwx root/root usr/man/man8/sudoedit.8.gz -> sudo.8.gz +-r--r--r-- root/root usr/man/man8/sudoreplay.8.gz -r--r--r-- root/root usr/man/man8/visudo.8.gz drwxr-xr-x root/root usr/sbin/ ---x--x--x root/root usr/sbin/visudo +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwx------ root/root var/lib/sudo/ diff --git a/sudo/.md5sum b/sudo/.md5sum index 828bd7f..93dd039 100644 --- a/sudo/.md5sum +++ b/sudo/.md5sum @@ -1 +1 @@ -b4bb9a0ae896958b71e48ef91967cdcb sudo-1.7.2p3.tar.gz +fa0a35330691af14cb1869f64a65aebc sudo-1.8.0.tar.gz diff --git a/sudo/Pkgfile b/sudo/Pkgfile index dd3c101..3a772d5 100644 --- a/sudo/Pkgfile +++ b/sudo/Pkgfile @@ -1,11 +1,10 @@ # Description: Sudo (superuser do) # URL: http://www.sudo.ws/sudo/ -# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de -# Packager: Todd Miller, todd dot miller at courtesan dot com +# Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu name=sudo -version=1.7.2p3 +version=1.8.0 release=1 source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz) @@ -16,12 +15,16 @@ build() { --prefix=/usr \ --libexecdir=/usr/lib \ --mandir=/usr/man \ - --without-pam - sed -i "s|unsetenv(var)|_unsetenv(var)|g" env.c + --without-pam \ + --with-logfac=auth \ + --with-timedir=/var/lib/sudo make sed -i -e "s|STRIP=strip|STRIP=`echo $STRIP`|g" \ -e "s|STRIP=\${d}/strip|STRIP=`echo $STRIP`|g" install-sh make DESTDIR=$PKG install + + chmod 0755 $PKG/{var,var/lib} + rm -r $PKG/usr/share ln -sf sudo $PKG/usr/bin/sudoedit ln -sf sudo.8.gz $PKG/usr/man/man8/sudoedit.8 } -- 2.26.2