summaryrefslogtreecommitdiffstats
path: root/abs/core/util-linux-ng/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/util-linux-ng/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/util-linux-ng/PKGBUILD')
-rw-r--r--abs/core/util-linux-ng/PKGBUILD43
1 files changed, 22 insertions, 21 deletions
diff --git a/abs/core/util-linux-ng/PKGBUILD b/abs/core/util-linux-ng/PKGBUILD
index 35207fd..3d72cbc 100644
--- a/abs/core/util-linux-ng/PKGBUILD
+++ b/abs/core/util-linux-ng/PKGBUILD
@@ -1,38 +1,39 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 29509 2009-03-09 17:25:09Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=util-linux-ng
-pkgver=2.14
-pkgrel=10
+pkgver=2.14.2
+_loop_date=20090214
+pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux"
+url="http://userweb.kernel.org/~kzak/util-linux-ng/"
arch=('i686' 'x86_64')
groups=('base')
-depends=('bash' 'ncurses' 'zlib' 'e2fsprogs')
+depends=('bash' 'ncurses>=5.7' 'zlib' 'e2fsprogs')
replaces=('linux32' 'util-linux')
conflicts=('linux32' 'util-linux')
provides=('linux32' 'util-linux')
-license=('GPL')
+license=('GPL2')
source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.14/${pkgname}-${pkgver}.tar.bz2
- util-linux-ng-2.14-20080624.diff)
-md5sums=('23f227da49df36f33fe47e917e332cd8'
- 'acb7bf692d239eb9872b0f00de437b7e')
-
-# The cryptoloop-support.patch comes from the boys at Rock Linux
-# (http://www.rocklinux.net/packages/util-linux.html)
-
-# Newer crypt support is here:
-# http://loop-aes.sourceforge.net/updates/util-linux-${_realver}.diff.bz2
+ http://loop-aes.sourceforge.net/updates/${pkgname}-${pkgver}-${_loop_date}.diff.bz2)
+install=util-linux-ng.install
+md5sums=('b9d0053a22cfcbf0b9c0aa6d6eccfbc8'
+ '72c5b3e961efc1bda2750dbad019e414')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./autogen.sh
+ cd ${srcdir}/${pkgname}-${pkgver}
+
# cryptoloop support
- patch -Np1 -i ${startdir}/src/util-linux-ng-2.14-20080624.diff || return 1
+ patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}-${_loop_date}.diff || return 1
+ # hardware clock
sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i hwclock/hwclock.c
mkdir -p ${startdir}/pkg/var/lib/hwclock
./configure --enable-arch --enable-write --enable-raw --disable-wall --enable-rdev
make HAVE_SLN=yes ADD_RAW=yes || return 1
- make HAVE_SLN=yes ADD_RAW=yes DESTDIR=${startdir}/pkg install
- rm -f ${startdir}/pkg/bin/kill
- rm -f ${startdir}/pkg/usr/share/man/man1/kill.1
- rm -f ${startdir}/pkg/usr/share/man/man5/nfs.5
+ make HAVE_SLN=yes ADD_RAW=yes DESTDIR=${startdir}/pkg install || return 1
+ # remove files
+ rm -f ${pkgdir}/bin/kill
+ rm -f ${pkgdir}/usr/share/man/man1/kill.1
+ rm -f ${pkgdir}/usr/share/man/man5/nfs.5
+ rm -f ${pkgdir}/usr/share/info/dir
}
+