Date: Saturday, February 18, 2012 @ 05:12:02 Author: allan Revision: 150497
archrelease: copy trunk to testing-i686, testing-x86_64 Added: sudo/repos/testing-i686/ sudo/repos/testing-i686/PKGBUILD (from rev 150496, sudo/trunk/PKGBUILD) sudo/repos/testing-i686/sudo.pam (from rev 150496, sudo/trunk/sudo.pam) sudo/repos/testing-x86_64/ sudo/repos/testing-x86_64/PKGBUILD (from rev 150496, sudo/trunk/PKGBUILD) sudo/repos/testing-x86_64/sudo.pam (from rev 150496, sudo/trunk/sudo.pam) -------------------------+ testing-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ testing-i686/sudo.pam | 3 +++ testing-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/sudo.pam | 3 +++ 4 files changed, 90 insertions(+) Copied: sudo/repos/testing-i686/PKGBUILD (from rev 150496, sudo/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-02-18 10:12:02 UTC (rev 150497) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae <al...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=sudo +_ver=1.8.4 +pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} +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' '!makeflags') +source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz{,.sig} + sudo.pam) +md5sums=('5a54dde137618bbc1dd46bb0ef725d7d' + '5edb139753431bf0ccb5bd79bfae870e' + '4e7ad4ec8f2fe6a40e12bcb2c0b256e3') + +build() { + cd "$srcdir/$pkgname-$_ver" + + ./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \ + --with-env-editor --with-all-insults --with-logfac=auth + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$_ver" + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo" + + install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE" +} Copied: sudo/repos/testing-i686/sudo.pam (from rev 150496, sudo/trunk/sudo.pam) =================================================================== --- testing-i686/sudo.pam (rev 0) +++ testing-i686/sudo.pam 2012-02-18 10:12:02 UTC (rev 150497) @@ -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 150496, sudo/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-02-18 10:12:02 UTC (rev 150497) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae <al...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=sudo +_ver=1.8.4 +pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} +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' '!makeflags') +source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz{,.sig} + sudo.pam) +md5sums=('5a54dde137618bbc1dd46bb0ef725d7d' + '5edb139753431bf0ccb5bd79bfae870e' + '4e7ad4ec8f2fe6a40e12bcb2c0b256e3') + +build() { + cd "$srcdir/$pkgname-$_ver" + + ./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \ + --with-env-editor --with-all-insults --with-logfac=auth + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$_ver" + make DESTDIR="$pkgdir" install + + install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo" + + install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE" +} Copied: sudo/repos/testing-x86_64/sudo.pam (from rev 150496, sudo/trunk/sudo.pam) =================================================================== --- testing-x86_64/sudo.pam (rev 0) +++ testing-x86_64/sudo.pam 2012-02-18 10:12:02 UTC (rev 150497) @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix.so +auth required pam_nologin.so