summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/sudo
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/sudo
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/sudo')
-rw-r--r--abs/core-testing/sudo/PKGBUILD33
-rw-r--r--abs/core-testing/sudo/sudo.pam3
2 files changed, 36 insertions, 0 deletions
diff --git a/abs/core-testing/sudo/PKGBUILD b/abs/core-testing/sudo/PKGBUILD
new file mode 100644
index 0000000..9c1f93d
--- /dev/null
+++ b/abs/core-testing/sudo/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 4889 2008-07-13 03:16:13Z eric $
+# Maintainer: Paul Mattal <paul@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+pkgname=sudo
+pkgver=1.6.9p17
+pkgrel=1
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=(i686 x86_64)
+url="http://www.sudo.ws/sudo/"
+# 2 separate licenses apply, custom and ISC, each covering part of the software
+license=('custom' 'ISC')
+depends=('glibc' 'pam')
+backup=('etc/sudoers' 'etc/pam.d/sudo')
+source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$pkgver.tar.gz sudo.pam)
+md5sums=('b0d01b0c3d55076a47f06f70811be083' '4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
+options=('!libtool' '!makeflags')
+md5sums=('60daf18f28e2c1eb7641c4408e244110'
+ '4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver || return 1
+
+ ./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
+ --with-env-editor --with-all-insults --with-logfac=auth || return 1
+ make || return 1
+ make DESTDIR=$startdir/pkg install || return 1
+ install -D -m644 $startdir/src/sudo.pam $startdir/pkg/etc/pam.d/sudo \
+ || return 1
+
+ #install the license
+ install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/sudo/LICENSE \
+ || return 1
+}
diff --git a/abs/core-testing/sudo/sudo.pam b/abs/core-testing/sudo/sudo.pam
new file mode 100644
index 0000000..4e586cd
--- /dev/null
+++ b/abs/core-testing/sudo/sudo.pam
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix.so
+auth required pam_nologin.so