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/
# 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)
--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
}