diff options
Diffstat (limited to 'core/util-linux/PKGBUILD')
-rw-r--r-- | core/util-linux/PKGBUILD | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD index 3894784c6..77b94f1a8 100644 --- a/core/util-linux/PKGBUILD +++ b/core/util-linux/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 184217 2013-05-03 23:40:29Z dreisner $ +# $Id: PKGBUILD 185607 2013-05-15 22:53:31Z tomegun $ # Maintainer: Tom Gundersen <teg@jklm.no> # Contributor: judd <jvinet@zeroflux.org> pkgname=util-linux pkgver=2.23 -pkgrel=1 +pkgrel=2 pkgdesc="Miscellaneous system utilities for Linux" url="http://www.kernel.org/pub/linux/utils/util-linux/" arch=('i686' 'x86_64') @@ -13,10 +13,12 @@ depends=('pam' 'shadow' 'coreutils' 'glibc') makedepends=('systemd') # checkdepends=('bc') conflicts=('util-linux-ng' 'eject') -provides=("util-linux-ng=${pkgver}" 'eject') +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 +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 uuidd.tmpfiles pam-login pam-common @@ -27,9 +29,23 @@ backup=(etc/pam.d/chfn etc/pam.d/su etc/pam.d/su-l) install=util-linux.install +md5sums=('cf5e9bb402371beaaffc3a5f276d5783' + 'fdb627fbb3d6a42e0b36978649b4c064' + 'de0ba450945a60f27c5df86e64523d57' + '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 +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" ./configure --prefix=/usr \ --libdir=/usr/lib \ @@ -76,8 +92,3 @@ package() { # TODO(dreisner): offer this upstream? install -Dm644 "$srcdir/uuidd.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/uuidd.conf" } -md5sums=('cf5e9bb402371beaaffc3a5f276d5783' - 'a39554bfd65cccfd8254bb46922f4a67' - '4368b3f98abd8a32662e094c54e7f9b1' - 'a31374fef2cba0ca34dfc7078e2969e4' - 'fa85e5cce5d723275b14365ba71a8aad') |