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

Christian Hesse eworm at archlinux.org
Fri Aug 2 19:08:21 UTC 2019


    Date: Friday, August 2, 2019 @ 19:08:21
  Author: eworm
Revision: 358896

archrelease: copy trunk to testing-x86_64

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

------------------------+
 PKGBUILD               |   34 ++++++++++++++++++++++++++++++++++
 request-key.conf.patch |   21 +++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: keyutils/repos/testing-x86_64/PKGBUILD (from rev 358895, keyutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-08-02 19:08:21 UTC (rev 358896)
@@ -0,0 +1,34 @@
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=keyutils
+pkgver=1.6.1
+pkgrel=1
+pkgdesc='Linux Key Management Utilities'
+arch=('x86_64')
+url='https://www.kernel.org/'
+license=('GPL2' 'LGPL2.1')
+depends=('glibc' 'sh')
+makedepends=('git')
+backup=('etc/request-key.conf')
+validpgpkeys=('A86E54B0D5E1B4E0AB7C640FFBB7576BA7CB0B6B') # David Howells <dhowells at redhat.com>
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git#tag=v${pkgver}?signed"
+        'request-key.conf.patch')
+sha256sums=('SKIP'
+            '203c602c61ed94ccd423a0a453d74143d678c641a9a4486367576ee8af2cb8d6')
+
+prepare() {
+  cd ${pkgname}
+  # fix paths of binaries in /etc/request-key.conf
+  patch -Np0 -i ../request-key.conf.patch
+}
+
+build() {
+  cd ${pkgname}
+  make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' BINDIR='/usr/bin'
+}
+
+package() {
+  cd ${pkgname}
+  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 358895, keyutils/trunk/request-key.conf.patch)
===================================================================
--- testing-x86_64/request-key.conf.patch	                        (rev 0)
+++ testing-x86_64/request-key.conf.patch	2019-08-02 19:08:21 UTC (rev 358896)
@@ -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