From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- sudo/.footprint | 23 +++++++++++++++++++++++ sudo/.md5sum | 1 + sudo/Pkgfile | 21 +++++++++++++++++++++ sudo/Pkgfile.old | 27 +++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 sudo/.footprint create mode 100644 sudo/.md5sum create mode 100644 sudo/Pkgfile create mode 100644 sudo/Pkgfile.old (limited to 'sudo') 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 +} -- cgit v1.2.3-70-g09d2