summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-06 11:01:54 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-06 11:01:54 -0300
commit113cea3115f41b82346029305d739d1513239929 (patch)
tree0065f209426cbf5584b3ac49f1173ba103a6db46 /core
parent090589ce217a61645ebcef0f1f3d52c543e47364 (diff)
parent33c22f43a52aae722ce4d9cbe47f8d2fff31f395 (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre-mips64el
Diffstat (limited to 'core')
-rw-r--r--core/bison/PKGBUILD10
-rw-r--r--core/bison/bison.install2
-rw-r--r--core/cryptsetup/PKGBUILD10
-rw-r--r--core/cryptsetup/encrypt_install1
-rw-r--r--core/dnsutils/PKGBUILD23
-rw-r--r--core/less/PKGBUILD12
-rw-r--r--core/lvm2/11-dm-initramfs.rules3
-rw-r--r--core/lvm2/PKGBUILD21
-rw-r--r--core/lvm2/lvm2_install1
-rw-r--r--core/make/PKGBUILD33
-rw-r--r--core/make/bug30612.patch66
-rw-r--r--core/make/bug30723.patch12
-rw-r--r--core/make/make-3.82-sort-blank.patch17
-rw-r--r--core/make/make.install2
-rw-r--r--core/module-init-tools/PKGBUILD8
-rw-r--r--core/pkg-config/PKGBUILD22
-rw-r--r--core/sudo/PKGBUILD20
17 files changed, 200 insertions, 63 deletions
diff --git a/core/bison/PKGBUILD b/core/bison/PKGBUILD
index b54299db9..9eaf6a155 100644
--- a/core/bison/PKGBUILD
+++ b/core/bison/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 87221 2010-08-11 03:29:16Z allan $
+# $Id: PKGBUILD 124065 2011-05-16 12:02:28Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=bison
-pkgver=2.4.3
+pkgver=2.5
pkgrel=1
pkgdesc="The GNU general-purpose parser generator"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,12 +13,16 @@ depends=('glibc' 'm4' 'sh')
groups=('base-devel')
install=bison.install
source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('c1d3ea81bc370dbd43b6f0b2cd21287e')
+md5sums=('9dba20116b13fc61a0846b0058fbe004')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --datadir=/usr/share
make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
diff --git a/core/bison/bison.install b/core/bison/bison.install
index 890eb0366..0081a194f 100644
--- a/core/bison/bison.install
+++ b/core/bison/bison.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
file=bison.info.gz
post_install() {
diff --git a/core/cryptsetup/PKGBUILD b/core/cryptsetup/PKGBUILD
index 9dc49b129..66812b834 100644
--- a/core/cryptsetup/PKGBUILD
+++ b/core/cryptsetup/PKGBUILD
@@ -1,22 +1,22 @@
-# $Id: PKGBUILD 123894 2011-05-14 09:00:27Z thomas $
+# $Id: PKGBUILD 125738 2011-05-28 17:14:11Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=cryptsetup
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=1
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://code.google.com/p/cryptsetup/"
groups=('base')
-depends=('device-mapper' 'libgcrypt' 'popt')
+depends=('device-mapper>=2.02.85-2' 'libgcrypt' 'popt')
conflicts=('mkinitcpio<0.5.99')
options=('!libtool' '!emptydirs')
source=(http://cryptsetup.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
encrypt_hook
encrypt_install)
-sha256sums=('c675059a25061851dcaf9732a2118d75585097c8fbb3985026526988e8d76394'
+sha256sums=('7ceb18a0c91fa1546077b41b93463dd2ec9d7f83e6fd93757fb84cc608206a6a'
'64601eae6fbf3e3afceccec5877557aa208a82497c33cc94ad0a686b4022b5dc'
- '8e4920bb4b5ce96508aa0c42b9b07326b70daf630519f1aa1d8082bca709c12a')
+ '07918fc349b3a7c4a73e8ad1cc3d97a2a79ebc7655090ab9ebb00b1e092c85aa')
build() {
cd $srcdir/$pkgname-${pkgver}
diff --git a/core/cryptsetup/encrypt_install b/core/cryptsetup/encrypt_install
index 9446e6864..25a2ae45c 100644
--- a/core/cryptsetup/encrypt_install
+++ b/core/cryptsetup/encrypt_install
@@ -16,6 +16,7 @@ install ()
add_file "/lib/udev/rules.d/10-dm.rules"
add_file "/lib/udev/rules.d/13-dm-disk.rules"
add_file "/lib/udev/rules.d/95-dm-notify.rules"
+ add_file "/lib/initcpio/udev/11-dm-initramfs.rules" "/lib/udev/rules.d/11-dm-initramfs.rules"
}
help ()
diff --git a/core/dnsutils/PKGBUILD b/core/dnsutils/PKGBUILD
index 59036132d..7bde7a420 100644
--- a/core/dnsutils/PKGBUILD
+++ b/core/dnsutils/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 122965 2011-05-07 14:46:05Z bisson $
+# $Id: PKGBUILD 125626 2011-05-27 10:41:33Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
# Contributor: mario <mario_vazq@hotmail.com>
@@ -6,8 +6,8 @@
pkgname=dnsutils
# Use a period and not a hyphen before the patch level for proper versioning.
-pkgver=9.8.0.P1
-_pkgver=9.8.0-P1
+pkgver=9.8.0.P2
+_pkgver=9.8.0-P2
pkgrel=1
pkgdesc='Various DNS utilities - dig host nslookup nsupdate'
@@ -19,21 +19,30 @@ replaces=('bind-tools' 'host')
options=('!makeflags')
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
'tools-only.patch')
-sha1sums=('aa8f308f218e437ac4bad616e0ae83a9b9c40c29'
+sha1sums=('b3492ad11cfbf2939d9b0fb62c52c204de58679b'
'ac88c89e25c26d73095a3dd85e1ca1070d184ded')
build() {
cd "${srcdir}/bind-${_pkgver}"
- patch -p1 < ../tools-only.patch
+
+ patch -p1 -i ../tools-only.patch
export STD_CDEFINES='-DDIG_SIGCHASE'
+
./configure \
- --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --with-openssl=yes --with-idn=yes --disable-linux-caps
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-openssl=yes \
+ --with-idn=yes \
+ --disable-linux-caps \
+
make
}
package() {
cd "${srcdir}/bind-${_pkgver}/bin"
+
make DESTDIR="${pkgdir}" install
+
install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
diff --git a/core/less/PKGBUILD b/core/less/PKGBUILD
index 785e64aa1..78d1a17d9 100644
--- a/core/less/PKGBUILD
+++ b/core/less/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 119700 2011-04-13 21:50:08Z allan $
+# $Id: PKGBUILD 125524 2011-05-26 14:15:10Z stephane $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=less
pkgver=443
-pkgrel=1
+pkgrel=2
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
arch=('i686' 'x86_64' 'mips64el')
@@ -17,14 +17,14 @@ md5sums=('47db098fb3cdaf847b3c4be05ee954fc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --with-regex=pcre
+ ./configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix=${pkgdir}/usr install
- install -dm755 ${pkgdir}/bin
- mv ${pkgdir}/usr/bin/${pkgname} ${pkgdir}/bin
+ make prefix="${pkgdir}"/usr install
+ install -dm755 "${pkgdir}"/bin
+ mv "${pkgdir}"/usr/bin/${pkgname} "${pkgdir}"/bin
}
diff --git a/core/lvm2/11-dm-initramfs.rules b/core/lvm2/11-dm-initramfs.rules
new file mode 100644
index 000000000..d2c167324
--- /dev/null
+++ b/core/lvm2/11-dm-initramfs.rules
@@ -0,0 +1,3 @@
+# needed with new udev/mkinitcpio and as implemented in dracut:
+# <http://git.kernel.org/?p=boot/dracut/dracut.git;a=commitdiff;h=12b9736228f2b34c15a9cb63be79cf7b6e865b54>
+SUBSYSTEM=="block", KERNEL=="dm-[0-9]*", ACTION=="add|change", OPTIONS="db_persist"
diff --git a/core/lvm2/PKGBUILD b/core/lvm2/PKGBUILD
index eeea19970..39e3b4561 100644
--- a/core/lvm2/PKGBUILD
+++ b/core/lvm2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 123786 2011-05-13 00:53:49Z eric $
+# $Id: PKGBUILD 125735 2011-05-28 17:12:36Z thomas $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Maintainer: Thomas Bächler <thomas@archlinux.org>
@@ -6,8 +6,8 @@ pkgbase=lvm2
pkgname=('lvm2' 'device-mapper')
pkgver=2.02.85
_pkgverlvm=${pkgver}
-pkgrel=1
-arch=('i686' 'x86_64' 'mips64el')
+pkgrel=2
+arch=('i686' 'x86_64')
url="http://sourceware.org/lvm2/"
license=('GPL2' 'LGPL2.1')
groups=('base')
@@ -15,15 +15,18 @@ conflicts=('mkinitcpio<0.5.99')
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.${_pkgverlvm}.tgz
lvm2_install
lvm2_hook
- Be-quiet-on-removing-cache-on-read-only-fs.diff)
+ Be-quiet-on-removing-cache-on-read-only-fs.diff
+ 11-dm-initramfs.rules)
md5sums=('91785ca438e5ce679dd3a386b183d552'
- 'e29bc80d636ed17b617d9b384a5f3aa0'
+ '9fbe01c6e3fca4634b4a38ecdc2f562f'
'cf05f2c7281e24269ea9dcc6b4e106ba'
- '6db89da27928d2415a8e26cd0a842712')
+ '6db89da27928d2415a8e26cd0a842712'
+ '69e40679cd8b3658bfc619e48baae125')
sha1sums=('43ba2a3be84b2e897ae6b47b0b0be7e212216be7'
- '662fc54ce291fd79bd09701e4c3e10854f325282'
+ '3f11db76189bcbc32d6b16a1b05ca3499e3e7b47'
'1cd20e8fbad6fd7d5c0f54e831fbf58ae564b440'
- '6d7dd04be291d7537235704c816a701fd5beacc0')
+ '6d7dd04be291d7537235704c816a701fd5beacc0'
+ 'f6a554eea9557c3c236df2943bb6e7e723945c41')
build() {
cd "${srcdir}/LVM2.${_pkgverlvm}"
@@ -44,6 +47,8 @@ package_device-mapper() {
cd "${srcdir}/LVM2.${_pkgverlvm}"
make DESTDIR="${pkgdir}" install_device-mapper
+ # extra udev rule for device-mapper in initramfs
+ install -D -m644 "${srcdir}/11-dm-initramfs.rules" "${pkgdir}/lib/initcpio/udev/11-dm-initramfs.rules"
}
package_lvm2() {
diff --git a/core/lvm2/lvm2_install b/core/lvm2/lvm2_install
index 0c01ce69c..0df69f81b 100644
--- a/core/lvm2/lvm2_install
+++ b/core/lvm2/lvm2_install
@@ -14,6 +14,7 @@ install ()
add_file "/lib/udev/rules.d/13-dm-disk.rules"
add_file "/lib/udev/rules.d/95-dm-notify.rules"
add_file "/lib/udev/rules.d/11-dm-lvm.rules"
+ add_file "/lib/initcpio/udev/11-dm-initramfs.rules" "/lib/udev/rules.d/11-dm-initramfs.rules"
}
help ()
diff --git a/core/make/PKGBUILD b/core/make/PKGBUILD
index 99a6f602c..832522a78 100644
--- a/core/make/PKGBUILD
+++ b/core/make/PKGBUILD
@@ -1,25 +1,42 @@
-# $Id: PKGBUILD 77792 2010-04-18 03:42:45Z allan $
+# $Id: PKGBUILD 110342 2011-02-18 22:21:30Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=make
-pkgver=3.81
-pkgrel=5
+pkgver=3.82
+pkgrel=3
pkgdesc="GNU make utility to maintain groups of programs"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/make"
-license=('GPL')
+license=('GPL3')
groups=('base-devel')
depends=('glibc' 'sh')
install=$pkgname.install
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('a4e9494ac6dc3f6b0c5ff75c5d52abba')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ bug30612.patch
+ bug30723.patch
+ make-3.82-sort-blank.patch)
+md5sums=('1a11100f3c63fcf5753818e59d63088f'
+ 'c8f496b22191f9fb9420ab14c1a19a47'
+ '662e6450e19a5acdaa5c9fcb8ad78dea'
+ '7d01a99f389d8f08dec93ed479071ee4')
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --mandir=/usr/share/man --infodir=/usr/share/info
+
+ # http://savannah.gnu.org/bugs/?30612
+ patch -Np1 -i $srcdir/bug30612.patch
+
+ # http://savannah.gnu.org/bugs/?30723
+ patch -Np1 -i $srcdir/bug30723.patch
+
+ # https://bugs.archlinux.org/task/22733 (fix from Fedora)
+ patch -Np1 -i $srcdir/make-3.82-sort-blank.patch
+
+ ./configure --prefix=/usr
make
+ make check
}
package() {
diff --git a/core/make/bug30612.patch b/core/make/bug30612.patch
new file mode 100644
index 000000000..fb843bcd9
--- /dev/null
+++ b/core/make/bug30612.patch
@@ -0,0 +1,66 @@
+diff -Naur make-3.82-orig/main.c make-3.82-fix30612//main.c
+--- make-3.82-orig/main.c 2010-07-19 17:10:53.000000000 +1000
++++ make-3.82-fix30612//main.c 2010-09-23 23:33:37.908855839 +1000
+@@ -1,3 +1,4 @@
++
+ /* Argument parsing and main program of GNU Make.
+ Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+@@ -1138,7 +1139,7 @@
+ a macro and some compilers (MSVC) don't like conditionals in macros. */
+ {
+ const char *features = "target-specific order-only second-expansion"
+- " else-if shortest-stem undefine"
++ " else-if shortest-stem undefine oneshell"
+ #ifndef NO_ARCHIVES
+ " archives"
+ #endif
+diff -Naur make-3.82-orig/read.c make-3.82-fix30612//read.c
+--- make-3.82-orig/read.c 2010-07-13 11:20:42.000000000 +1000
++++ make-3.82-fix30612//read.c 2010-09-23 23:30:58.018855839 +1000
+@@ -3028,7 +3028,7 @@
+ {
+ /* This looks like the first element in an open archive group.
+ A valid group MUST have ')' as the last character. */
+- const char *e = p + nlen;
++ const char *e = p;
+ do
+ {
+ e = next_token (e);
+@@ -3084,19 +3084,19 @@
+ Go to the next item in the string. */
+ if (flags & PARSEFS_NOGLOB)
+ {
+- NEWELT (concat (2, prefix, tp));
++ NEWELT (concat (2, prefix, tmpbuf));
+ continue;
+ }
+
+ /* If we get here we know we're doing glob expansion.
+ TP is a string in tmpbuf. NLEN is no longer used.
+ We may need to do more work: after this NAME will be set. */
+- name = tp;
++ name = tmpbuf;
+
+ /* Expand tilde if applicable. */
+- if (tp[0] == '~')
++ if (tmpbuf[0] == '~')
+ {
+- tildep = tilde_expand (tp);
++ tildep = tilde_expand (tmpbuf);
+ if (tildep != 0)
+ name = tildep;
+ }
+@@ -3152,7 +3152,11 @@
+ else
+ {
+ /* We got a chain of items. Attach them. */
+- (*newp)->next = found;
++ if (*newp)
++ (*newp)->next = found;
++ else
++ *newp = found;
++
+
+ /* Find and set the new end. Massage names if necessary. */
+ while (1)
diff --git a/core/make/bug30723.patch b/core/make/bug30723.patch
new file mode 100644
index 000000000..84e7ebe7a
--- /dev/null
+++ b/core/make/bug30723.patch
@@ -0,0 +1,12 @@
+diff -Naur make-3.82-orig/main.c make-3.82-fix30723//main.c
+--- make-3.82-orig/main.c 2010-07-19 17:10:53.000000000 +1000
++++ make-3.82-fix30723//main.c 2010-09-23 23:34:10.932188592 +1000
+@@ -2093,7 +2093,7 @@
+ const char *pv = define_makeflags (1, 1);
+ char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
+ sprintf (p, "MAKEFLAGS=%s", pv);
+- putenv (p);
++ putenv (allocated_variable_expand (p));
+ }
+
+ if (ISDB (DB_BASIC))
diff --git a/core/make/make-3.82-sort-blank.patch b/core/make/make-3.82-sort-blank.patch
new file mode 100644
index 000000000..2e73f5b7c
--- /dev/null
+++ b/core/make/make-3.82-sort-blank.patch
@@ -0,0 +1,17 @@
+diff -urp make-3.82/function.c make-3.82-pm/function.c
+--- make-3.82/function.c 2010-07-13 03:20:39.000000000 +0200
++++ make-3.82-pm/function.c 2010-10-27 01:43:27.000000000 +0200
+@@ -1138,12 +1138,12 @@ func_sort (char *o, char **argv, const c
+ {
+ char c = *(t++);
+
+- if (! isspace ((unsigned char)c))
++ if (! isblank ((unsigned char)c))
+ continue;
+
+ ++wordi;
+
+- while (isspace ((unsigned char)*t))
++ while (isblank ((unsigned char)*t))
+ ++t;
+ }
diff --git a/core/make/make.install b/core/make/make.install
index 0c2da13c3..6cf8b0dc4 100644
--- a/core/make/make.install
+++ b/core/make/make.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(make.info make.info-1 make.info-2)
post_install() {
diff --git a/core/module-init-tools/PKGBUILD b/core/module-init-tools/PKGBUILD
index 08d359214..0b1f4e14c 100644
--- a/core/module-init-tools/PKGBUILD
+++ b/core/module-init-tools/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 105077 2011-01-06 02:59:10Z allan $
+# $Id: PKGBUILD 126053 2011-06-01 05:32:56Z andyrtr $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=module-init-tools
-pkgver=3.12
-pkgrel=2
+pkgver=3.13
+pkgrel=1
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
arch=('i686' 'x86_64' 'mips64el')
url="http://kerneltools.org"
@@ -13,7 +13,7 @@ depends=('glibc')
backup=('etc/modprobe.d/modprobe.conf')
source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
modprobe.conf)
-md5sums=('8b2257ce9abef74c4a44d825d23140f3'
+md5sums=('dc575e7df00d9f745bf23b32f927b7a6'
'316f1bda4c21af02b30252eb014a0a55')
build() {
diff --git a/core/pkg-config/PKGBUILD b/core/pkg-config/PKGBUILD
index 3dbbf0b34..f1f0657a1 100644
--- a/core/pkg-config/PKGBUILD
+++ b/core/pkg-config/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 102636 2010-12-09 12:15:21Z stephane $
+# $Id: PKGBUILD 124806 2011-05-24 14:39:31Z stephane $
# Maintainer: Allan McRae <allan@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=pkg-config
-pkgver=0.25
-pkgrel=3
+pkgver=0.26
+pkgrel=1
pkgdesc="A system for managing library compile/link flags"
arch=('i686' 'x86_64' 'mips64el')
url="http://pkgconfig.freedesktop.org/wiki/"
@@ -14,20 +14,22 @@ depends=('glibc' 'popt' 'glib2')
provides=("pkgconfig=${pkgver}")
conflicts=('pkgconfig')
replaces=('pkgconfig')
-source=(http://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
- autoconf-2.66.patch)
-md5sums=('a3270bab3f4b69b7dc6dbdacbcae9745'
- '0fbfc1a5088f792bbeec7b5090e449f1')
+source=(http://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+md5sums=('47525c26a9ba7ba14bf85e01509a7234')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i $srcdir/autoconf-2.66.patch
- # Use system popt and glib
- ./configure --prefix=/usr --with-installed-glib --with-installed-popt
+ # Use system popt
+ ./configure --prefix=/usr --with-installed-popt
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD
index 06cc39661..fcb315b9e 100644
--- a/core/sudo/PKGBUILD
+++ b/core/sudo/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 120368 2011-04-22 22:01:28Z allan $
+# $Id: PKGBUILD 124889 2011-05-24 21:47:33Z eric $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sudo
-_ver=1.8.1p1
+_ver=1.8.1p2
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
@@ -12,14 +12,14 @@ 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
sudo.pam)
-options=('!libtool' '!makeflags')
-md5sums=('318337804d976c9419cf3004b707945c'
+md5sums=('e8330f0e63b0ecb2e12b5c76922818cc'
'4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
build() {
- cd $srcdir/$pkgname-$_ver
+ cd "$srcdir/$pkgname-$_ver"
./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
--with-env-editor --with-all-insults --with-logfac=auth
@@ -27,11 +27,11 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$_ver
- install -dm755 $pkgdir/var/lib
+ cd "$srcdir/$pkgname-$_ver"
+ install -dm755 "$pkgdir/var/lib"
- make DESTDIR=$pkgdir install
- install -Dm644 $srcdir/sudo.pam $pkgdir/etc/pam.d/sudo
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
- install -Dm644 doc/LICENSE $pkgdir/usr/share/licenses/sudo/LICENSE
+ install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
}