[arch-commits] Commit in sudo/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 4 05:55:16 UTC 2012


    Date: Tuesday, September 4, 2012 @ 01:55:15
  Author: foutrelis
Revision: 166016

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  sudo/repos/testing-i686/
  sudo/repos/testing-i686/PKGBUILD
    (from rev 166015, sudo/trunk/PKGBUILD)
  sudo/repos/testing-i686/sudo.pam
    (from rev 166015, sudo/trunk/sudo.pam)
  sudo/repos/testing-x86_64/
  sudo/repos/testing-x86_64/PKGBUILD
    (from rev 166015, sudo/trunk/PKGBUILD)
  sudo/repos/testing-x86_64/sudo.pam
    (from rev 166015, 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 166015, sudo/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-09-04 05:55:15 UTC (rev 166016)
@@ -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.6
+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=('93c4481ae5261ca0e988d069179fef40032729b94a110ceb2a3e92ca7842d2d3'
+            '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 166015, sudo/trunk/sudo.pam)
===================================================================
--- testing-i686/sudo.pam	                        (rev 0)
+++ testing-i686/sudo.pam	2012-09-04 05:55:15 UTC (rev 166016)
@@ -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 166015, sudo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-09-04 05:55:15 UTC (rev 166016)
@@ -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.6
+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=('93c4481ae5261ca0e988d069179fef40032729b94a110ceb2a3e92ca7842d2d3'
+            '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 166015, sudo/trunk/sudo.pam)
===================================================================
--- testing-x86_64/sudo.pam	                        (rev 0)
+++ testing-x86_64/sudo.pam	2012-09-04 05:55:15 UTC (rev 166016)
@@ -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