From: Victor Martinez Date: Mon, 6 Sep 2010 07:42:22 +0000 (+0000) Subject: sudo: initial import (verified compilation), moved from opt-cross X-Git-Url: http://gitweb/?a=commitdiff_plain;h=6cd1ef8b502a7af5d48f406660a74f116e8a734d;p=attic%2Fports%2Fcore-cross.git sudo: initial import (verified compilation), moved from opt-cross --- 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..828bd7f --- /dev/null +++ b/sudo/.md5sum @@ -0,0 +1 @@ +b4bb9a0ae896958b71e48ef91967cdcb sudo-1.7.2p3.tar.gz diff --git a/sudo/Pkgfile b/sudo/Pkgfile new file mode 100644 index 0000000..dd3c101 --- /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, devel at crux-arm dot nu + +name=sudo +version=1.7.2p3 +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 +}