[arch-commits] Commit in sudo/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Sep 18 20:41:58 UTC 2012
Date: Tuesday, September 18, 2012 @ 16:41:58
Author: foutrelis
Revision: 166772
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
sudo/repos/testing-i686/
sudo/repos/testing-i686/PKGBUILD
(from rev 166771, sudo/trunk/PKGBUILD)
sudo/repos/testing-i686/sudo.pam
(from rev 166771, sudo/trunk/sudo.pam)
sudo/repos/testing-x86_64/
sudo/repos/testing-x86_64/PKGBUILD
(from rev 166771, sudo/trunk/PKGBUILD)
sudo/repos/testing-x86_64/sudo.pam
(from rev 166771, sudo/trunk/sudo.pam)
-------------------------+
testing-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/sudo.pam | 3 ++
testing-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/sudo.pam | 3 ++
4 files changed, 106 insertions(+)
Copied: sudo/repos/testing-i686/PKGBUILD (from rev 166771, sudo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-18 20:41:58 UTC (rev 166772)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=sudo
+_sudover=1.8.6p3
+pkgver=${_sudover/p/.p}
+pkgrel=1
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=('i686' 'x86_64')
+url="http://www.sudo.ws/sudo/"
+license=('custom')
+depends=('glibc' 'pam')
+backup=('etc/sudoers' 'etc/pam.d/sudo')
+options=('!libtool')
+source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz
+ sudo.pam)
+sha256sums=('8130df04268f678880c3f423337c56e7d437a0f508a46b1dfefae16b0b20c92e'
+ 'e7de79d2c73f2b32b20a8e797e54777a2bf19788ec03e48decd6c15cd93718ae')
+
+build() {
+ cd "$srcdir/$pkgname-$_sudover"
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-logfac=auth \
+ --with-pam \
+ --with-env-editor \
+ --with-passprompt="[sudo] password for %p: " \
+ --with-all-insults
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$_sudover"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_sudover"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
+
+ install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: sudo/repos/testing-i686/sudo.pam (from rev 166771, sudo/trunk/sudo.pam)
===================================================================
--- testing-i686/sudo.pam (rev 0)
+++ testing-i686/sudo.pam 2012-09-18 20:41:58 UTC (rev 166772)
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix.so
+auth required pam_nologin.so
Copied: sudo/repos/testing-x86_64/PKGBUILD (from rev 166771, sudo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-18 20:41:58 UTC (rev 166772)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=sudo
+_sudover=1.8.6p3
+pkgver=${_sudover/p/.p}
+pkgrel=1
+pkgdesc="Give certain users the ability to run some commands as root"
+arch=('i686' 'x86_64')
+url="http://www.sudo.ws/sudo/"
+license=('custom')
+depends=('glibc' 'pam')
+backup=('etc/sudoers' 'etc/pam.d/sudo')
+options=('!libtool')
+source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz
+ sudo.pam)
+sha256sums=('8130df04268f678880c3f423337c56e7d437a0f508a46b1dfefae16b0b20c92e'
+ 'e7de79d2c73f2b32b20a8e797e54777a2bf19788ec03e48decd6c15cd93718ae')
+
+build() {
+ cd "$srcdir/$pkgname-$_sudover"
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --with-logfac=auth \
+ --with-pam \
+ --with-env-editor \
+ --with-passprompt="[sudo] password for %p: " \
+ --with-all-insults
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$_sudover"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_sudover"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
+
+ install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: sudo/repos/testing-x86_64/sudo.pam (from rev 166771, sudo/trunk/sudo.pam)
===================================================================
--- testing-x86_64/sudo.pam (rev 0)
+++ testing-x86_64/sudo.pam 2012-09-18 20:41:58 UTC (rev 166772)
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix.so
+auth required pam_nologin.so
More information about the arch-commits
mailing list