summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 04:28:48 +0100
committerLukc <lukc@upyum.com>2010-12-12 04:28:48 +0100
commita02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6 (patch)
tree46a332a49de15d99d0cfd15a5b6e9064e5355f5e /sudo/Pkgfile
parent26bc8316f9a9ccb4bf2bff1a5b72b6d5f6a4b0f1 (diff)
downloadopt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.gz
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.bz2
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.xz
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.zip
Recette de sudo ajout?e.
Diffstat (limited to 'sudo/Pkgfile')
-rw-r--r--sudo/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/sudo/Pkgfile b/sudo/Pkgfile
new file mode 100644
index 0000000..22289b1
--- /dev/null
+++ b/sudo/Pkgfile
@@ -0,0 +1,26 @@
+description="Sudo (superuser do)."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.sudo.ws/sudo/"
+depends=()
+
+name=sudo
+version=1.7.4p4
+release=1
+source=(http://www.sudo.ws/sudo/dist/$name-$version.tar.gz)
+build ()
+{
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$libdir \
+ --mandir=$mandir \
+ --with-logfac=auth \
+ --with-timedir=/var/lib/sudo \
+ --without-pam;
+ make;
+ make DESTDIR=$PKG install;
+ chmod 0755 $PKG/{var,var/lib};
+ ln -sf sudo $PKG$bindir/sudoedit;
+ ln -sf sudo.8.gz $PKG$mandir/man8/sudoedit.8
+}