summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /sudo/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
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
+}