mit-krb5: update to 1.16.1.

Closes #14109.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-04 00:14:51 -03:00 committed by Enno Boland
parent b872c4c391
commit 33d5e2552f

View file

@ -1,24 +1,24 @@
# Template file for 'mit-krb5'
pkgname=mit-krb5
version=1.16
revision=4
version=1.16.1
revision=1
wrksrc="krb5-${version}"
build_style=gnu-configure
hostmakedepends="e2fsprogs-devel flex perl pkg-config"
makedepends="e2fsprogs-devel libldap-devel"
#depends="mit-krb5-client)=${version}_${revision}"
short_desc="MIT Kerberos 5 implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://web.mit.edu/kerberos"
distfiles="$homepage/dist/krb5/1.16/krb5-${version}.tar.gz"
checksum=faeb125f83b0fb4cdb2f99f088140631bb47d975982de0956d18c85842969e08
build_style=gnu-configure
wrksrc="krb5-${version}"
hostmakedepends="perl flex e2fsprogs-devel pkg-config"
makedepends="db-devel e2fsprogs-devel libressl-devel libldap-devel"
depends="mit-krb5-client>=${version}_${revision}"
distfiles="${homepage}/dist/krb5/1.16/krb5-${version}.tar.gz"
checksum=214ffe394e3ad0c730564074ec44f1da119159d94281bbec541dc29168d21117
post_extract() {
# Fix db plugin.
sed -i -e "s|<db.h>|<db_185.h>|" $wrksrc/src/plugins/kdb/db2/*.[ch]
}
do_configure() {
WARN_CFLAGS= ./src/configure ${configure_args} --sbindir=/usr/bin \
--disable-rpath --with-system-et --without-system-verto --with-ldap \
@ -27,6 +27,7 @@ do_configure() {
acx_pthread_ok=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes \
krb5_cv_attr_constructor_destructor=yes,yes
}
pre_build() {
sed -i "/LDFLAGS=/d" src/build-tools/krb5-config.in
}
@ -53,6 +54,7 @@ mit-krb5-client_package() {
done
}
}
mit-krb5-devel_package() {
depends="${makedepends} mit-krb5-libs>=${version}_${revision}"
short_desc+=" - development files"
@ -63,6 +65,7 @@ mit-krb5-devel_package() {
vmove "usr/lib/*.so"
}
}
mit-krb5-libs_package() {
short_desc+=" - runtime libraries"
pkg_install() {