keyutils: update to 1.5.11.
This commit is contained in:
parent
46b90d5df9
commit
6dad083917
1 changed files with 9 additions and 5 deletions
|
@ -1,25 +1,28 @@
|
||||||
# Template file for 'keyutils'
|
# Template file for 'keyutils'
|
||||||
pkgname=keyutils
|
pkgname=keyutils
|
||||||
version=1.5.10
|
version=1.5.11
|
||||||
revision=1
|
revision=1
|
||||||
conf_files="/etc/request-key.conf"
|
makedepends="mit-krb5-devel"
|
||||||
short_desc="Linux Key Management Utilities"
|
short_desc="Linux Key Management Utilities"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.kernel.org"
|
homepage="http://www.kernel.org"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
distfiles="http://people.redhat.com/~dhowells/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c93afb6
|
checksum=11584488206edc30736263eb855bf7793f16e661987241d333d3cb5ea479b1b5
|
||||||
|
conf_files="/etc/request-key.conf"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Fix musl build - doesn't hurt glibc either
|
# Fix musl build - doesn't hurt glibc either
|
||||||
sed -e "/#include <stdlib.h>/a #include <limits.h>" \
|
sed -e "/#include <stdlib.h>/a #include <limits.h>" \
|
||||||
-i key.dns_resolver.c
|
-i key.dns_resolver.c
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' \
|
make CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' \
|
||||||
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' \
|
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' \
|
||||||
BINDIR='/usr/bin' ${makejobs}
|
BINDIR='/usr/bin' ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" \
|
make DESTDIR=${DESTDIR} CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" \
|
||||||
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' SBINDIR='/usr/bin' \
|
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' SBINDIR='/usr/bin' \
|
||||||
|
@ -32,6 +35,7 @@ libkeyutils_package() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
keyutils-devel_package() {
|
keyutils-devel_package() {
|
||||||
depends="libkeyutils>=${version}_${revision}"
|
depends="libkeyutils>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue