diff options
Diffstat (limited to 'sudo')
-rw-r--r-- | sudo/.footprint | 23 | ||||
-rw-r--r-- | sudo/.md5sum | 1 | ||||
-rw-r--r-- | sudo/Pkgfile | 21 | ||||
-rw-r--r-- | sudo/Pkgfile.old | 27 |
4 files changed, 72 insertions, 0 deletions
diff --git a/sudo/.footprint b/sudo/.footprint new file mode 100644 index 0000000..3a2838c --- /dev/null +++ b/sudo/.footprint @@ -0,0 +1,23 @@ +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/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/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 new file mode 100644 index 0000000..43f57cc --- /dev/null +++ b/sudo/.md5sum @@ -0,0 +1 @@ +55d9906535d70a1de347cd3d3550ee87 sudo-1.7.4p4.tar.gz diff --git a/sudo/Pkgfile b/sudo/Pkgfile new file mode 100644 index 0000000..67de5be --- /dev/null +++ b/sudo/Pkgfile @@ -0,0 +1,21 @@ +description="Sudo (superuser do)" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://www.sudo.ws/sudo/" +depends=() + +name=sudo +version=1.7.4p4 +release=1 +source=(http://www.sudo.ws/sudo/dist/sudo-1.7.4p4.tar.gz) +build () +{ + cd $name-$version; + ./configure --prefix=/usr --libexecdir=/usr/lib --mandir=/usr/man --with-logfac=auth --with-timedir=/var/lib/sudo --without-pam; + make; + 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 +} diff --git a/sudo/Pkgfile.old b/sudo/Pkgfile.old new file mode 100644 index 0000000..267db8a --- /dev/null +++ b/sudo/Pkgfile.old @@ -0,0 +1,27 @@ +# Description: Sudo (superuser do) +# URL: http://www.sudo.ws/sudo/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=sudo +version=1.7.4p4 +release=1 +source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz) + +build() { + cd $name-$version + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/man \ + --with-logfac=auth \ + --with-timedir=/var/lib/sudo \ + --without-pam + + make + 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 +} |