summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:48:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:48:28 (GMT)
commitc43aac0b2af335f544f3d6846fcc2a084fccdb5b (patch)
tree0c498f7077e9a3e1eb5cc656c63c9d8495bcbd95 /abs
parent0f53f7c72b782ce0660af661110dca4eac813548 (diff)
downloadlinhes_pkgbuild-c43aac0b2af335f544f3d6846fcc2a084fccdb5b.zip
linhes_pkgbuild-c43aac0b2af335f544f3d6846fcc2a084fccdb5b.tar.gz
linhes_pkgbuild-c43aac0b2af335f544f3d6846fcc2a084fccdb5b.tar.bz2
keyutils 1.5.5
new
Diffstat (limited to 'abs')
-rw-r--r--abs/core/keyutils/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/keyutils/PKGBUILD b/abs/core/keyutils/PKGBUILD
new file mode 100644
index 0000000..463df40
--- /dev/null
+++ b/abs/core/keyutils/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 162664 2012-06-27 18:33:40Z tpowa $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=keyutils
+pkgver=1.5.5
+pkgrel=3
+pkgdesc="Linux Key Management Utilities"
+arch=(i686 x86_64)
+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')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" 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
+}