summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-17 20:36:52 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-17 20:36:52 (GMT)
commitde0161dec5775de3e8929570ae2fd19d2359df11 (patch)
tree91d8e169d720feb63acfc68e589d90d12bce88ce /abs/core
parenta70ac378c70ce2ad383c07eb41615df9536ff32d (diff)
downloadlinhes_pkgbuild-de0161dec5775de3e8929570ae2fd19d2359df11.zip
linhes_pkgbuild-de0161dec5775de3e8929570ae2fd19d2359df11.tar.gz
linhes_pkgbuild-de0161dec5775de3e8929570ae2fd19d2359df11.tar.bz2
coreutils:Bumped to latest.
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/coreutils/PKGBUILD24
-rw-r--r--abs/core/coreutils/coreutils.install2
2 files changed, 14 insertions, 12 deletions
diff --git a/abs/core/coreutils/PKGBUILD b/abs/core/coreutils/PKGBUILD
index a9b20da..6d75f06 100644
--- a/abs/core/coreutils/PKGBUILD
+++ b/abs/core/coreutils/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 99303 2010-11-14 01:28:25Z allan $
+# $Id: PKGBUILD 127042 2011-06-10 00:56:53Z bisson $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=coreutils
-pkgver=8.7
-pkgrel=1
+pkgver=8.12
+pkgrel=3
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
arch=('i686' 'x86_64')
license=('GPL3')
@@ -19,7 +19,7 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
coreutils-uname.patch
coreutils-pam.patch
su.pam)
-md5sums=('6e21df02e7f5c5d86372de4c6d873275'
+md5sums=('0f7d43c2d2e24314b43a6c6267e25b90'
'c4fcca138b6abf6d443d48a6f0cd8833'
'aad79a2aa6d566c375d7bdd1b0767278'
'fa85e5cce5d723275b14365ba71a8aad')
@@ -27,7 +27,7 @@ md5sums=('6e21df02e7f5c5d86372de4c6d873275'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- # added su wheel group pam patch (from fedora cvs)
+ # added su wheel group pam patch (from fedora git)
patch -Np1 -i ${srcdir}/coreutils-pam.patch
# linux specific uname improvement (from gentoo portage)
@@ -37,9 +37,13 @@ build() {
./configure --prefix=/usr \
--enable-install-program=su \
--enable-no-install-program=groups,hostname,kill,uptime \
- --enable-pam ac_cv_func_openat=no
- make || return 1
- make check
+ --enable-pam
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make RUN_EXPENSIVE_TESTS=yes check
}
package() {
@@ -53,15 +57,13 @@ package() {
_fhs="cat chgrp chmod chown cp date dd df echo false ln ls \
mkdir mknod mv pwd rm rmdir stty su sync true uname"
mv ${_fhs} ${pkgdir}/bin
- ls -lha ${pkgdir}/bin/su
- chmod -v 4555 ${pkgdir}/bin/su
# binaries required by various Arch scripts
_bin="cut dir dircolors du install mkfifo readlink shred \
sleep touch tr vdir"
mv ${_bin} ${pkgdir}/bin
ln -sf /bin/sleep ${pkgdir}/usr/bin/sleep
-
+
mv chroot ${pkgdir}/usr/sbin
install -Dm644 ${srcdir}/su.pam ${pkgdir}/etc/pam.d/su
}
diff --git a/abs/core/coreutils/coreutils.install b/abs/core/coreutils/coreutils.install
index dff2dc5..8caae66 100644
--- a/abs/core/coreutils/coreutils.install
+++ b/abs/core/coreutils/coreutils.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(coreutils.info)
post_install() {