From ac26dadb83bebcaca4ed265bb15d9e35a8200126 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 1 Sep 2011 08:49:29 +0000 Subject: [PATCH] keyutils: fixed build removing -m32 flag --- keyutils/.footprint | 53 +++++++++++++++++++++++++++++++++++++++++++++ keyutils/.md5sum | 1 + keyutils/Pkgfile | 18 +++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 keyutils/.footprint create mode 100644 keyutils/.md5sum create mode 100644 keyutils/Pkgfile diff --git a/keyutils/.footprint b/keyutils/.footprint new file mode 100644 index 0000000..2399ac1 --- /dev/null +++ b/keyutils/.footprint @@ -0,0 +1,53 @@ +drwxr-xr-x root/root bin/ +-rwxr-xr-x root/root bin/keyctl +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/request-key.conf +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libkeyutils.so.1 -> libkeyutils.so.1.4 +-rwxr-xr-x root/root lib/libkeyutils.so.1.4 +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/key.dns_resolver +-rwxr-xr-x root/root sbin/request-key +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/keyutils.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libkeyutils.a +lrwxrwxrwx root/root usr/lib/libkeyutils.so -> /lib/libkeyutils.so.1 +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/keyctl.1.gz +drwxr-xr-x root/root usr/man/man3/ +lrwxrwxrwx root/root usr/man/man3/keyctl_assume_authority.3.gz -> keyctl_instantiate.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_chown.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_clear.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_describe.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_describe_alloc.3.gz -> keyctl_describe.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_get_keyring_ID.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_get_security.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_get_security_alloc.3.gz -> keyctl_get_security.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_instantiate.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_instantiate_iov.3.gz -> keyctl_instantiate.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_join_session_keyring.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_link.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_negate.3.gz -> keyctl_instantiate.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_read.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_read_alloc.3.gz -> keyctl_read.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_reject.3.gz -> keyctl_instantiate.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_revoke.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_search.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_set_reqkey_keyring.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_set_timeout.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_setperm.3.gz +lrwxrwxrwx root/root usr/man/man3/keyctl_unlink.3.gz -> keyctl_link.3.gz +-rw-r--r-- root/root usr/man/man3/keyctl_update.3.gz +-rw-r--r-- root/root usr/man/man3/recursive_key_scan.3.gz +lrwxrwxrwx root/root usr/man/man3/recursive_session_key_scan.3.gz -> recursive_key_scan.3.gz +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/request-key.conf.5.gz +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/key.dns_resolver.8.gz +-rw-r--r-- root/root usr/man/man8/request-key.8.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/keyutils/ +-rwxr-xr-x root/root usr/share/keyutils/request-key-debug.sh diff --git a/keyutils/.md5sum b/keyutils/.md5sum new file mode 100644 index 0000000..7b46b78 --- /dev/null +++ b/keyutils/.md5sum @@ -0,0 +1 @@ +4c89b350eab1c361af8cb5343961056a keyutils-1.5.3.tar.bz2 diff --git a/keyutils/Pkgfile b/keyutils/Pkgfile new file mode 100644 index 0000000..f25d07e --- /dev/null +++ b/keyutils/Pkgfile @@ -0,0 +1,18 @@ +# Description: Tools to control the Linx key management system +# URL: http://www.kernel.org/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu + +name=keyutils +version=1.5.3 +release=1 +source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2) + +build () { + cd $name-$version + # We remove -m32 flag + sed "59d" -i Makefile + sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile + make -j1 + make DESTDIR=$PKG install +} -- 2.26.2