New package: keyutils-1.5.5.

This commit is contained in:
Juan RP 2012-04-05 12:24:01 +02:00
parent 761cbe9f58
commit 58af20e4d6
9 changed files with 60 additions and 0 deletions

View File

@ -964,3 +964,4 @@ libwx_gtk2u_ogl-2.8.so.0 wxGTK wxGTK-devel
libwx_gtk2u_plot-2.8.so.0 wxGTK wxGTK-devel
libwx_gtk2u_stc-2.8.so.0 wxGTK wxGTK-devel
libwx_gtk2u_svg-2.8.so.0 wxGTK wxGTK-devel
libkeyutils.so.1 libkeyutils keyutils-devel

1
srcpkgs/keyutils-devel Symbolic link
View File

@ -0,0 +1 @@
keyutils

2
srcpkgs/keyutils/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.5.5"
api_depends="${abi_depends}"

View File

@ -0,0 +1,14 @@
# Template file for 'keyutils-devel'.
#
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libkeyutils ">=${version}"
do_install() {
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/share/man/man3 usr/share/man
}

View File

@ -0,0 +1,3 @@
libc.so.6
libresolv.so.2
libkeyutils.so.1

View File

@ -0,0 +1 @@
libc.so.6

View File

@ -0,0 +1,10 @@
# Template file for 'libkeyutils'.
#
short_desc="${short_desc} -- runtime library"
long_desc="${long_desc}
This package contains the runtime shared library."
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

27
srcpkgs/keyutils/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'keyutils'
pkgname=keyutils
version=1.5.5
distfiles="http://people.redhat.com/~dhowells/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-makefile
short_desc="Linux Key Management Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org"
license="GPL-2, LGPL-2.1"
checksum=8fab781fb2d1450b2112a7fbfe6629522ae5a6b901f875a74a201012025a3fc5
long_desc="
These tools are used to control the key management system built into the
Linux kernel."
conf_files="/etc/request-key.conf"
subpackages="lib${pkgname} ${pkgname}-devel"
pre_build() {
sed -i "s|/lib64|/lib|g" Makefile
}
post_install() {
vmove "sbin/*" usr/sbin
vmove "bin/*" usr/bin
vmove "lib/*" usr/lib
cd ${DESTDIR}/usr/lib && ln -sf libkeyutils.so.1 libkeyutils.so
}

1
srcpkgs/libkeyutils Symbolic link
View File

@ -0,0 +1 @@
keyutils