summaryrefslogtreecommitdiff
path: root/core/util-linux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/util-linux/PKGBUILD')
-rw-r--r--core/util-linux/PKGBUILD28
1 files changed, 6 insertions, 22 deletions
diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD
index c5bacea39..78e90224d 100644
--- a/core/util-linux/PKGBUILD
+++ b/core/util-linux/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186531 2013-05-28 12:25:50Z dreisner $
+# $Id: PKGBUILD 186677 2013-05-30 12:45:22Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=util-linux
-pkgver=2.23
-pkgrel=3
+pkgver=2.23.1
+pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux"
url="http://www.kernel.org/pub/linux/utils/util-linux/"
arch=('i686' 'x86_64')
@@ -17,9 +17,6 @@ provides=("util-linux-ng=$pkgver" 'eject')
license=('GPL2')
options=('!libtool')
source=("ftp://ftp.kernel.org/pub/linux/utils/$pkgname/v2.23/$pkgname-$pkgver.tar.xz"
- 0001-lib-loopdev-fix-loopcxt_check_size-to-work-with-blkd.patch
- 0001-losetup-use-warn_size-for-regular-files-only.patch
- 0001-libfdisk-do-not-use-va_list-in-the-Ask-API.patch
uuidd.tmpfiles
pam-login
pam-common
@@ -30,25 +27,14 @@ backup=(etc/pam.d/chfn
etc/pam.d/su
etc/pam.d/su-l)
install=util-linux.install
-md5sums=('cf5e9bb402371beaaffc3a5f276d5783'
- 'fdb627fbb3d6a42e0b36978649b4c064'
- 'de0ba450945a60f27c5df86e64523d57'
- 'df949d15dbff01fe9fcda5d999a35b15'
+md5sums=('33ba55ce82f8e3b8d7a38fac0f62779a'
'a39554bfd65cccfd8254bb46922f4a67'
'4368b3f98abd8a32662e094c54e7f9b1'
'a31374fef2cba0ca34dfc7078e2969e4'
'fa85e5cce5d723275b14365ba71a8aad')
-prepare() {
- cd "$pkgname-$pkgver"
-
- patch -Np1 <"$srcdir"/0001-lib-loopdev-fix-loopcxt_check_size-to-work-with-blkd.patch
- patch -Np1 <"$srcdir"/0001-losetup-use-warn_size-for-regular-files-only.patch
- patch -Np1 <"$srcdir"/0001-libfdisk-do-not-use-va_list-in-the-Ask-API.patch
-}
-
build() {
- cd "${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--libdir=/usr/lib \
@@ -75,12 +61,10 @@ build() {
#}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
- cd "${pkgdir}"
-
# setuid chfn and chsh
chmod 4755 "$pkgdir"/usr/bin/{newgrp,ch{sh,fn}}