krb: Add dependencies on libutil and openssl

lib/krb5/plugins/tls/k5tls.so links against libssl, and
lib/krb5/plugins/preauth/pkinit.so against libcrypto, so openssl
is needed.

bin/kprop and bin/kpropd links against libutil if available.

Also, add --without-system-verto to fix problem if building krb5
multiple times, with subsequent builds using the already installed
libverto without installing it.
This commit is contained in:
Fredrik Fornwall 2017-02-08 00:40:22 +01:00
parent e38a1e2b8d
commit 4746389986

View File

@ -1,12 +1,12 @@
TERMUX_PKG_HOMEPAGE='https://web.mit.edu/kerberos' TERMUX_PKG_HOMEPAGE='https://web.mit.edu/kerberos'
TERMUX_PKG_DESCRIPTION='The Kerberos network authentication system' TERMUX_PKG_DESCRIPTION='The Kerberos network authentication system'
TERMUX_PKG_VERSION='1.15' TERMUX_PKG_VERSION='1.15'
TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, readline, c-ares" TERMUX_PKG_DEPENDS="libandroid-support, libandroid-glob, readline, c-ares, openssl, libutil"
TERMUX_PKG_SRCURL="https://web.mit.edu/kerberos/dist/krb5/$TERMUX_PKG_VERSION/krb5-$TERMUX_PKG_VERSION.tar.gz" TERMUX_PKG_SRCURL="https://web.mit.edu/kerberos/dist/krb5/$TERMUX_PKG_VERSION/krb5-$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256='fd34752774c808ab4f6f864f935c49945f5a56b62240b1ad4ab1af7b4ded127c' TERMUX_PKG_SHA256='fd34752774c808ab4f6f864f935c49945f5a56b62240b1ad4ab1af7b4ded127c'
TERMUX_PKG_FOLDERNAME="krb5-$TERMUX_PKG_VERSION/src" TERMUX_PKG_FOLDERNAME="krb5-$TERMUX_PKG_VERSION/src"
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=' --with-readline --with-netlib=-lcares' TERMUX_PKG_EXTRA_CONFIGURE_ARGS=' --with-readline --with-netlib=-lcares --without-system-verto'
termux_step_pre_configure () { termux_step_pre_configure () {
# cannot test these when cross compiling # cannot test these when cross compiling