From: Victor Martinez Date: Mon, 21 Dec 2009 16:13:15 +0000 (+0000) Subject: sudo: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1b3144bd8b34baaf5579b8d5e0160176dd298254;p=attic%2Fports%2Fopt-cross.git sudo: initial import (verified compilation) --- diff --git a/sudo/.footprint b/sudo/.footprint new file mode 100644 index 0000000..8378bd2 --- /dev/null +++ b/sudo/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root etc/ +-r--r----- root/root etc/sudoers +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 +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/sudo_noexec.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 +lrwxrwxrwx root/root usr/man/man8/sudoedit.8.gz -> sudo.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 diff --git a/sudo/.md5sum b/sudo/.md5sum new file mode 100644 index 0000000..a6d039d --- /dev/null +++ b/sudo/.md5sum @@ -0,0 +1 @@ +2a19cf1ab4afc94fe19d0d0899d4cd45 sudo-1.7.2p2.tar.gz diff --git a/sudo/Pkgfile b/sudo/Pkgfile new file mode 100644 index 0000000..f74ebc4 --- /dev/null +++ b/sudo/Pkgfile @@ -0,0 +1,27 @@ +# 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 +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org + +name=sudo +version=1.7.2p2 +release=1 +source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz) + +build() { + cd $name-$version + sudo_cv_uid_t_len=10 ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/man \ + --without-pam + sed -i "s|unsetenv(var)|_unsetenv(var)|g" env.c + 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 + ln -sf sudo $PKG/usr/bin/sudoedit + ln -sf sudo.8.gz $PKG/usr/man/man8/sudoedit.8 +}