aboutsummaryrefslogtreecommitdiff
path: root/security/krb5
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-08-13 18:32:02 +0000
committerCy Schubert <cy@FreeBSD.org>2014-08-13 18:32:02 +0000
commit5b227e8cf8eeb8c96ea5b323cd973a14679eaf62 (patch)
treeb58ffaaf4557d2e2243b76c5038382aafb9f8153 /security/krb5
parenta6b7c72ea409c597f8f26604cb3e3c2010f3d0df (diff)
downloadports-5b227e8cf8eeb8c96ea5b323cd973a14679eaf62.tar.gz
ports-5b227e8cf8eeb8c96ea5b323cd973a14679eaf62.zip
Notes
Diffstat (limited to 'security/krb5')
-rw-r--r--security/krb5/Makefile14
-rw-r--r--security/krb5/distinfo4
-rw-r--r--security/krb5/files/patch-lib-apputils-net-server.c17
3 files changed, 13 insertions, 22 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index f449d1cf639b..28cf6403c062 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= krb5
-PORTVERSION= 1.12.1
-PORTREVISION= 4
+PORTVERSION= 1.12.2
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
@@ -26,13 +25,13 @@ KERBEROSV_URL= http://web.mit.edu/kerberos/
USE_PERL5= build
USE_LDCONFIG= yes
USE_CSTD= gnu99
-USE_AUTOTOOLS= libtool
-USES= gettext gmake perl5
+GNU_CONFIGURE= yes
+USES= gettext gmake perl5 libtool:build
CONFIGURE_ARGS?= --enable-shared --without-system-verto
CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}"
MAKE_ARGS= INSTALL="${INSTALL}"
-OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP
+OPTIONS_DEFINE= KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP READLINE
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML
KRB5_PDF_DESC= Install krb5 PDF documentation
KRB5_HTML_DESC= Install krb5 HTML documentation
@@ -68,6 +67,11 @@ PLIST_SUB+= LDAP=""
PLIST_SUB+= LDAP="@comment "
.endif
+.if ${PORT_OPTIONS:MREADLINE}
+USES+= readline:port
+CONFIGURE_ARGS+= --with-readline
+.endif
+
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
.if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != ""
diff --git a/security/krb5/distinfo b/security/krb5/distinfo
index 036a04da0a44..964947a9eaf8 100644
--- a/security/krb5/distinfo
+++ b/security/krb5/distinfo
@@ -1,2 +1,2 @@
-SHA256 (krb5-1.12.1-signed.tar) = 72f1b6c166cb42c0b03814ab7ea10f91926d8a665a5ba1cee430a3f31e62c580
-SIZE (krb5-1.12.1-signed.tar) = 11950080
+SHA256 (krb5-1.12.2-signed.tar) = 09bd180107b5c2b3b7378c57c023fb02a103d4cac39d6f2dd600275d7a4f3744
+SIZE (krb5-1.12.2-signed.tar) = 11991040
diff --git a/security/krb5/files/patch-lib-apputils-net-server.c b/security/krb5/files/patch-lib-apputils-net-server.c
index 01d029809636..b4fbf4a5655c 100644
--- a/security/krb5/files/patch-lib-apputils-net-server.c
+++ b/security/krb5/files/patch-lib-apputils-net-server.c
@@ -1,5 +1,5 @@
---- ./lib/apputils/net-server.c.orig 2014-04-17 08:07:05.144912855 +0000
-+++ ./lib/apputils/net-server.c 2014-04-17 08:07:59.603908167 +0000
+--- lib/apputils/net-server.c.orig 2014-08-11 15:46:27.000000000 -0700
++++ lib/apputils/net-server.c 2014-08-13 05:33:48.913580280 -0700
@@ -992,8 +992,12 @@
case RTM_NEWADDR: return "RTM_NEWADDR";
case RTM_DELADDR: return "RTM_DELADDR";
@@ -13,16 +13,3 @@
case RTM_RESOLVE: return "RTM_RESOLVE";
#ifdef RTM_NEWMADDR
case RTM_NEWMADDR: return "RTM_NEWMADDR";
-@@ -1026,8 +1030,12 @@
- case RTM_NEWADDR:
- case RTM_DELADDR:
- case RTM_IFINFO:
-+#ifdef RTM_OLDADD
- case RTM_OLDADD:
-+#endif
-+#ifdef RTM_OLDDEL
- case RTM_OLDDEL:
-+#endif
- /*
- * Some flags indicate routing table updates that don't
- * indicate local address changes. They may come from