summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'sudo/Pkgfile')
-rw-r--r--sudo/Pkgfile21
1 files changed, 21 insertions, 0 deletions
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
+}