[arch-commits] Commit in keyutils/repos (6 files)

Tobias Powalowski tpowa at nymeria.archlinux.org
Tue May 28 09:45:42 EDT 2013


    Date: Tuesday, May 28, 2013 @ 15:45:42
  Author: tpowa
Revision: 186538

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  keyutils/repos/testing-i686/
  keyutils/repos/testing-i686/PKGBUILD
    (from rev 186537, keyutils/trunk/PKGBUILD)
  keyutils/repos/testing-i686/request-key.conf.patch
    (from rev 186537, keyutils/trunk/request-key.conf.patch)
  keyutils/repos/testing-x86_64/
  keyutils/repos/testing-x86_64/PKGBUILD
    (from rev 186537, keyutils/trunk/PKGBUILD)
  keyutils/repos/testing-x86_64/request-key.conf.patch
    (from rev 186537, keyutils/trunk/request-key.conf.patch)

---------------------------------------+
 testing-i686/PKGBUILD                 |   32 ++++++++++++++++++++++++++++++++
 testing-i686/request-key.conf.patch   |   21 +++++++++++++++++++++
 testing-x86_64/PKGBUILD               |   32 ++++++++++++++++++++++++++++++++
 testing-x86_64/request-key.conf.patch |   21 +++++++++++++++++++++
 4 files changed, 106 insertions(+)

Copied: keyutils/repos/testing-i686/PKGBUILD (from rev 186537, keyutils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-28 13:45:42 UTC (rev 186538)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=keyutils
+pkgver=1.5.5
+pkgrel=5
+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
+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}" 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
+}

Copied: keyutils/repos/testing-i686/request-key.conf.patch (from rev 186537, keyutils/trunk/request-key.conf.patch)
===================================================================
--- testing-i686/request-key.conf.patch	                        (rev 0)
+++ testing-i686/request-key.conf.patch	2013-05-28 13:45:42 UTC (rev 186538)
@@ -0,0 +1,21 @@
+--- request-key.conf.old	2013-05-28 15:34:10.966001242 +0200
++++ request-key.conf	2013-05-28 15:35:34.857969598 +0200
+@@ -31,11 +31,11 @@
+ 
+ #OP	TYPE	DESCRIPTION	CALLOUT INFO	PROGRAM ARG1 ARG2 ARG3 ...
+ #======	=======	===============	===============	===============================
+-create  dns_resolver *		*               /sbin/key.dns_resolver %k
+-create	user	debug:*		negate		/bin/keyctl negate %k 30 %S
+-create  user    debug:*         rejected        /bin/keyctl reject %k 30 %c %S
+-create  user    debug:*         expired         /bin/keyctl reject %k 30 %c %S
+-create  user    debug:*         revoked         /bin/keyctl reject %k 30 %c %S
+-create	user	debug:loop:*	*		|/bin/cat
++create  dns_resolver *		*               /usr/bin/key.dns_resolver %k
++create	user	debug:*		negate		/usr/bin/keyctl negate %k 30 %S
++create  user    debug:*         rejected        /usr/bin/keyctl reject %k 30 %c %S
++create  user    debug:*         expired         /usr/bin/keyctl reject %k 30 %c %S
++create  user    debug:*         revoked         /usr/bin/keyctl reject %k 30 %c %S
++create	user	debug:loop:*	*		|/usr/bin/cat
+ create	user	debug:*		*		/usr/share/keyutils/request-key-debug.sh %k %d %c %S
+-negate	*	*		*		/bin/keyctl negate %k 30 %S
++negate	*	*		*		/usr/bin/keyctl negate %k 30 %S

Copied: keyutils/repos/testing-x86_64/PKGBUILD (from rev 186537, keyutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-28 13:45:42 UTC (rev 186538)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+pkgname=keyutils
+pkgver=1.5.5
+pkgrel=5
+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
+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}" 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
+}

Copied: keyutils/repos/testing-x86_64/request-key.conf.patch (from rev 186537, keyutils/trunk/request-key.conf.patch)
===================================================================
--- testing-x86_64/request-key.conf.patch	                        (rev 0)
+++ testing-x86_64/request-key.conf.patch	2013-05-28 13:45:42 UTC (rev 186538)
@@ -0,0 +1,21 @@
+--- request-key.conf.old	2013-05-28 15:34:10.966001242 +0200
++++ request-key.conf	2013-05-28 15:35:34.857969598 +0200
+@@ -31,11 +31,11 @@
+ 
+ #OP	TYPE	DESCRIPTION	CALLOUT INFO	PROGRAM ARG1 ARG2 ARG3 ...
+ #======	=======	===============	===============	===============================
+-create  dns_resolver *		*               /sbin/key.dns_resolver %k
+-create	user	debug:*		negate		/bin/keyctl negate %k 30 %S
+-create  user    debug:*         rejected        /bin/keyctl reject %k 30 %c %S
+-create  user    debug:*         expired         /bin/keyctl reject %k 30 %c %S
+-create  user    debug:*         revoked         /bin/keyctl reject %k 30 %c %S
+-create	user	debug:loop:*	*		|/bin/cat
++create  dns_resolver *		*               /usr/bin/key.dns_resolver %k
++create	user	debug:*		negate		/usr/bin/keyctl negate %k 30 %S
++create  user    debug:*         rejected        /usr/bin/keyctl reject %k 30 %c %S
++create  user    debug:*         expired         /usr/bin/keyctl reject %k 30 %c %S
++create  user    debug:*         revoked         /usr/bin/keyctl reject %k 30 %c %S
++create	user	debug:loop:*	*		|/usr/bin/cat
+ create	user	debug:*		*		/usr/share/keyutils/request-key-debug.sh %k %d %c %S
+-negate	*	*		*		/bin/keyctl negate %k 30 %S
++negate	*	*		*		/usr/bin/keyctl negate %k 30 %S



More information about the arch-commits mailing list