Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2017 04:13:11 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445467 - in head/security: . krb5-devel
Message-ID:  <201707110413.v6B4DBSW066868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Jul 11 04:13:11 2017
New Revision: 445467
URL: https://svnweb.freebsd.org/changeset/ports/445467

Log:
  ntroducing the new krb5-devel port, tracking MIT KRB5 development
  on github.

Added:
  head/security/krb5-devel/
     - copied from r445081, head/security/krb5-115/
Modified:
  head/security/Makefile
  head/security/krb5-devel/Makefile
  head/security/krb5-devel/distinfo
  head/security/krb5-devel/pkg-plist

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Jul 11 03:10:19 2017	(r445466)
+++ head/security/Makefile	Tue Jul 11 04:13:11 2017	(r445467)
@@ -299,6 +299,7 @@
     SUBDIR += krb5-114
     SUBDIR += krb5-115
     SUBDIR += krb5-appl
+    SUBDIR += krb5-devel
     SUBDIR += kripp
     SUBDIR += kstart
     SUBDIR += kwalletmanager

Modified: head/security/krb5-devel/Makefile
==============================================================================
--- head/security/krb5-115/Makefile	Wed Jul  5 14:39:04 2017	(r445081)
+++ head/security/krb5-devel/Makefile	Tue Jul 11 04:13:11 2017	(r445467)
@@ -2,13 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=		krb5
-PORTVERSION=		1.15.1
-PORTREVISION=	5
+DISTVERSION=		1.16
+PORTVERSION=		${DISTVERSION}.${MIT_COMMIT_DATE}
 CATEGORIES=		security
-MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
-PKGNAMESUFFIX=		-115
+PKGNAMESUFFIX=		-devel
 .endif
+HASH=			83d47cd 
 
 PATCH_SITES=		http://web.mit.edu/kerberos/advisories/
 PATCH_DIST_STRIP=	-p2
@@ -18,6 +18,10 @@ COMMENT=		MIT implementation of RFC 4120 network authe
 
 LICENSE=		MIT
 
+USE_GITHUB=		yes
+GH_TAGNAME=		${HASH}
+MIT_COMMIT_DATE=	2017.06.20
+
 CONFLICTS=		heimdal-[0-9]* srp-[0-9]* krb5-11[34]-[0-9]* krb5-1.[0-9]*
 
 KERBEROSV_URL=		http://web.mit.edu/kerberos/
@@ -25,7 +29,7 @@ USE_PERL5=		build
 USE_LDCONFIG=		yes
 USE_CSTD=		gnu99
 GNU_CONFIGURE=		yes
-USES=			cpe gmake localbase perl5 libtool:build \
+USES=			autoreconf cpe gmake localbase perl5 libtool:build \
 			gssapi:bootstrap,mit pkgconfig:run ssl
 CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
 			--disable-rpath --localstatedir="${PREFIX}/var"
@@ -36,13 +40,11 @@ CPE_VENDOR=		mit
 CPE_VERSION=		5-${PORTVERSION}
 CPE_PRODUCT=		kerberos
 
-OPTIONS_DEFINE=		EXAMPLES NLS KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP
+OPTIONS_DEFINE=		EXAMPLES NLS DNS_FOR_REALM LDAP
 OPTIONS_DEFAULT=	KRB5_PDF KRB5_HTML READLINE
 OPTIONS_RADIO=		CMD_LINE_EDITING
 OPTIONS_RADIO_CMD_LINE_EDITING=	READLINE READLINE_PORT LIBEDIT
 CMD_LINE_EDITING_DESC=	Command line editing for kadmin and ktutil
-KRB5_PDF_DESC=		Install krb5 PDF documentation
-KRB5_HTML_DESC=		Install krb5 HTML documentation
 DNS_FOR_REALM_DESC=	Enable DNS lookups for Kerberos realm names
 DNS_FOR_REALM_CONFIGURE_ENABLE=	dns-for-realm
 LDAP=			Enable LDAP support
@@ -63,6 +65,7 @@ LDFLAGS+=		-L${OPENSSLLIB}
 
 USE_RC_SUBR=		kpropd
 OPTIONS_SUB=		yes
+WRKSRC=			${WRKDIR}/${PORTNAME}-${HASH}
 WRKSRC_SUBDIR=		src
 PORTEXAMPLES=		kdc.conf krb5.conf services.append
 
@@ -96,47 +99,11 @@ CONFIGURE_ARGS+=	--without-readline
 CONFIGURE_ARGS+=	--program-transform-name="${PROGRAM_TRANSFORM_NAME}"
 .endif
 
-HTML_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html
-PDF_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
 
-
 .include <bsd.port.pre.mk>
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
-# html documentation
-.if ${PORT_OPTIONS:MKRB5_PDF}
-	pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
-	pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d`
-	for i in $${pdf_dirs}; do \
-		${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \
-	done; \
-	for i in $${pdf_files}; do \
-		${INSTALL_MAN} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \
-		${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \
-	done
-.endif
-.if ${PORT_OPTIONS:MKRB5_HTML}
-	html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources`
-	html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources`
-	for i in $${html_dirs}; do \
-		${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \
-	done; \
-	for i in $${html_files}; do \
-		${INSTALL_MAN} $${i} ${PREFIX}/share/doc/krb5/$${i}; \
-		${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \
-	done
-.endif
-.if ${PORT_OPTIONS:MKRB5_PDF}
-	for i in $${pdf_dirs}; do \
-		${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \
-	done | ${TAIL} -r >> ${TMPPLIST}
-.endif
-.if ${PORT_OPTIONS:MKRB5_HTML}
-	for i in $${html_dirs}; do \
-		${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \
-	done | ${TAIL} -r >> ${TMPPLIST}
-.endif
 	${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST}
 
 post-install-LDAP-on:

Modified: head/security/krb5-devel/distinfo
==============================================================================
--- head/security/krb5-115/distinfo	Wed Jul  5 14:39:04 2017	(r445081)
+++ head/security/krb5-devel/distinfo	Tue Jul 11 04:13:11 2017	(r445467)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488585680
-SHA256 (krb5-1.15.1.tar.gz) = 437c8831ddd5fde2a993fef425dedb48468109bb3d3261ef838295045a89eb45
-SIZE (krb5-1.15.1.tar.gz) = 9375538
+TIMESTAMP = 1499742599
+SHA256 (krb5-krb5-1.16-83d47cd_GH0.tar.gz) = e436492bfc9ca07c64188075a92817bb4c5a09f94d2f5e0b67fe55c93093c127
+SIZE (krb5-krb5-1.16-83d47cd_GH0.tar.gz) = 6094576

Modified: head/security/krb5-devel/pkg-plist
==============================================================================
--- head/security/krb5-115/pkg-plist	Wed Jul  5 14:39:04 2017	(r445081)
+++ head/security/krb5-devel/pkg-plist	Tue Jul 11 04:13:11 2017	(r445467)
@@ -46,6 +46,7 @@ include/gssrpc/xdr.h
 include/krad.h
 include/krb5.h
 include/krb5/ccselect_plugin.h
+include/krb5/certauth_plugin.h
 include/krb5/clpreauth_plugin.h
 include/krb5/hostrealm_plugin.h
 include/krb5/kadm5_hook_plugin.h
@@ -84,8 +85,8 @@ lib/libkadm5srv_mit.so
 lib/libkadm5srv_mit.so.11
 lib/libkadm5srv_mit.so.11.0
 lib/libkdb5.so
-lib/libkdb5.so.8
-lib/libkdb5.so.8.0
+lib/libkdb5.so.9
+lib/libkdb5.so.9.0
 lib/libkrb5.so
 lib/libkrb5.so.3
 lib/libkrb5.so.3.3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707110413.v6B4DBSW066868>