1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Sync port with bind98. Fix(?) gssapi_krb5 detection.

This commit is contained in:
Timur I. Bakeyev 2013-10-18 21:14:20 +00:00
parent 8e073d1e4c
commit 04cef0e0b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330773
3 changed files with 28 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nsupdate
PORTVERSION= 9.8.4.1
PORTVERSION= 9.8.6
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
@ -14,10 +14,11 @@ COMMENT= An nsupdate utility with GSS-TSIG support
LICENSE= ISCL
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
ISCVERSION= 9.8.4-P1
ISCVERSION= 9.8.6
MAKE_JOBS_UNSAFE= yes
USE_AUTOTOOLS= autoconf autoheader
USE_OPENSSL= yes
GNU_CONFIGURE= yes
@ -35,7 +36,8 @@ CONFIGURE_ARGS+= \
--without-idn \
--with-randomdev=/dev/random
NO_STAGE= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>

View File

@ -1,2 +1,2 @@
SHA256 (bind-9.8.4-P1.tar.gz) = 60c979575bf6288570cb4e3e9ab9d99bb93a55d2a4946ce277f6e6e642dda21f
SIZE (bind-9.8.4-P1.tar.gz) = 7129321
SHA256 (bind-9.8.6.tar.gz) = 01cc3a0105b47833b99e61b69acd824be4eeefd6557fffa26eced8e03f1249cd
SIZE (bind-9.8.6.tar.gz) = 7275769

View File

@ -0,0 +1,21 @@
--- configure.in.orig 2013-09-05 05:19:53.000000000 +0000
+++ configure.in 2013-10-18 14:30:21.711727438 +0000
@@ -1013,7 +1013,8 @@
"-lgssapi" \
"-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \
"-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \
- "-lgss -lkrb5"
+ "-lgss -lkrb5" \
+ "-lgssapi_krb5 -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt"
do
# Note that this does not include $saved_libs, because
# on FreeBSD machines this configure script has added
@@ -1027,7 +1028,7 @@
LIBS="-L$use_gssapi/lib $TRY_LIBS"
fi
AC_MSG_CHECKING(linking as $TRY_LIBS)
- AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context()],
+ AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context();gsskrb5_register_acceptor_identity("krb5");],
gssapi_linked=yes, gssapi_linked=no)
case $gssapi_linked in
yes) AC_MSG_RESULT(yes); break ;;