diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-06-01 10:28:14 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-06-01 10:28:14 +0200 |
commit | 6142d9bb383134a876709765fed704815922db18 (patch) | |
tree | 9bbbb78a5ce1f8473dbae502634253f80a994331 /core/keyutils/PKGBUILD | |
parent | 0dc1411695376442c13f473499a876f085074d75 (diff) | |
parent | f8a7f10fa1675bee536e1fdb4672c3d84e779d1c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/aircrack-ng/PKGBUILD
community/fortune-mod/PKGBUILD
community/hping/PKGBUILD
community/iftop/PKGBUILD
community/uml_utilities/PKGBUILD
community/unhide/PKGBUILD
extra/kismet/PKGBUILD
extra/liblo/PKGBUILD
extra/libxinerama/PKGBUILD
extra/libxp/PKGBUILD
extra/libxres/PKGBUILD
extra/libxt/PKGBUILD
extra/libxtst/PKGBUILD
extra/libxxf86vm/PKGBUILD
extra/mtr/PKGBUILD
extra/transmission/PKGBUILD
Diffstat (limited to 'core/keyutils/PKGBUILD')
-rw-r--r-- | core/keyutils/PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/core/keyutils/PKGBUILD b/core/keyutils/PKGBUILD index abb73476e..3bfd63f4b 100644 --- a/core/keyutils/PKGBUILD +++ b/core/keyutils/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 185695 2013-05-17 11:13:15Z stephane $ +# $Id: PKGBUILD 186780 2013-05-31 07:19:13Z tpowa $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=keyutils pkgver=1.5.5 -pkgrel=4 +pkgrel=5 pkgdesc="Linux Key Management Utilities" arch=(i686 x86_64 'mips64el') url="http://www.kernel.org" license=('GPL2' 'LGPL2.1') depends=('glibc' 'sh') backup=(etc/request-key.conf) -source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('d759680b2f23c99af95938f5026f25fb') +source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2 +request-key.conf.patch) +md5sums=('d759680b2f23c99af95938f5026f25fb' + '89a819a7e4e90936b210c9d5020d296d') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # fix paths of binaries in /etc/request-key.conf + patch -Np0 -i ../request-key.conf.patch +} build() { cd "${srcdir}/${pkgname}-${pkgver}" - make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' BINDIR='/usr/bin' } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" SBINDIR='/usr/bin' BINDIR='/usr/bin' LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install - # add nfsidmap to config file #30396 - echo "# NFS idmap resolver" >> $pkgdir/etc/request-key.conf - echo "create id_resolver * * /usr/sbin/nfsidmap %k %d" \ - >> $pkgdir/etc/request-key.conf } |