Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 04:40:07 +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: r351912 - head/security/krb5-maint
Message-ID:  <201404230440.s3N4e7on020425@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Apr 23 04:40:06 2014
New Revision: 351912
URL: http://svnweb.freebsd.org/changeset/ports/351912
QAT: https://qat.redports.org/buildarchive/r351912/

Log:
  Stagify.

Modified:
  head/security/krb5-maint/Makefile
  head/security/krb5-maint/pkg-plist

Modified: head/security/krb5-maint/Makefile
==============================================================================
--- head/security/krb5-maint/Makefile	Wed Apr 23 03:25:08 2014	(r351911)
+++ head/security/krb5-maint/Makefile	Wed Apr 23 04:40:06 2014	(r351912)
@@ -40,15 +40,15 @@ LDAP=			Enable LDAP support
 
 .if defined(KRB5_HOME)
 PREFIX=			${KRB5_HOME}
-CFLAGS+=		-rpath=${KRB5_HOME}/lib
-LDFLAGS+=		-rpath=${KRB5_HOME}/lib
+CFLAGS+=		-Wl,-rpath=${KRB5_HOME}/lib
+LDFLAGS+=		-Wl,-rpath=${KRB5_HOME}/lib
+BROKEN=			LIB_DEPENDS when using KRB5_HOME is broken
 .endif
 LDFLAGS+=		-L${LOCALBASE}/lib
 CFLAGS+=		-I${LOCALBASE}/include
 
 USE_OPENSSL=		yes
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MDNS_FOR_REALM}
@@ -65,15 +65,6 @@ PLIST_SUB+=		LDAP="@comment "
 
 .include "${PORTSDIR}/Mk/bsd.openssl.mk"
 
-MAN1=			k5srvutil.1 kadmin.1 krb5-config.1 krb5-send-pr.1 \
-			kpasswd.1 klist.1 kinit.1 kdestroy.1 kswitch.1 ksu.1 \
-			ktutil.1 \
-			sclient.1 kvno.1 compile_et.1
-MAN5=			kadm5.acl.5 kdc.conf.5 krb5.conf.5 .k5identity.5 \
-			.k5login.5 k5identity.5 k5login.5
-MAN8=			krb5kdc.8 kadmin.local.8 kdb5_ldap_util.8 kdb5_util.8 \
-			kadmind.8 kprop.8 kpropd.8 kproplog.8 sserver.8
-
 .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != ""
 CONFIGURE_ARGS+=	--program-transform-name="${PROGRAM_TRANSFORM_NAME}"
 .endif
@@ -96,16 +87,16 @@ post-extract:
 .endif
 
 post-install:
-	@${MKDIR} ${PREFIX}/share/doc/krb5
+	@${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} ${PREFIX}/share/doc/krb5/$${i}; \
+		${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \
 	done; \
 	for i in $${pdf_files}; do \
-		${INSTALL_MAN} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \
+		${INSTALL_MAN} $${pdf} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \
 		${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \
 	done
 .endif
@@ -113,10 +104,10 @@ post-install:
 	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}; \
+		${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \
 	done; \
 	for i in $${html_files}; do \
-		${INSTALL_MAN} $${i} ${PREFIX}/share/doc/krb5/$${i}; \
+		${INSTALL_MAN} $${i} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \
 		${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \
 	done
 .endif
@@ -131,8 +122,8 @@ post-install:
 	done | ${TAIL} -r >> ${TMPPLIST}
 .endif
 	${ECHO_CMD} @dirrm share/doc/krb5 >> ${TMPPLIST}
-	@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${PREFIX}/share/doc/krb5/README.FreeBSD
-	@${CHMOD} 444 ${PREFIX}/share/doc/krb5/README.FreeBSD
+	@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
+	@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 	@${ECHO} "------------------------------------------------------"
 	@${ECHO} "This port of MIT Kerberos 5 includes remote login     "
 	@${ECHO} "daemons (telnetd and klogind).  These daemons default "

Modified: head/security/krb5-maint/pkg-plist
==============================================================================
--- head/security/krb5-maint/pkg-plist	Wed Apr 23 03:25:08 2014	(r351911)
+++ head/security/krb5-maint/pkg-plist	Wed Apr 23 04:40:06 2014	(r351912)
@@ -79,6 +79,36 @@ lib/krb5/plugins/preauth/pkinit.so
 %%LDAP%%lib/libkdb_ldap.so.1
 lib/libverto.so.0
 lib/libverto.so
+man/man1/k5srvutil.1.gz
+man/man1/kadmin.1.gz
+man/man1/krb5-config.1.gz
+man/man1/krb5-send-pr.1.gz
+man/man1/kpasswd.1.gz
+man/man1/klist.1.gz
+man/man1/kinit.1.gz
+man/man1/kdestroy.1.gz
+man/man1/kswitch.1.gz
+man/man1/ksu.1.gz
+man/man1/ktutil.1.gz
+man/man1/sclient.1.gz
+man/man1/kvno.1.gz
+man/man1/compile_et.1.gz
+man/man5/kadm5.acl.5.gz
+man/man5/kdc.conf.5.gz
+man/man5/krb5.conf.5.gz
+man/man5/.k5identity.5.gz
+man/man5/.k5login.5.gz
+man/man5/k5identity.5.gz
+man/man5/k5login.5.gz
+man/man8/krb5kdc.8.gz
+man/man8/kadmin.local.8.gz
+man/man8/kdb5_ldap_util.8.gz
+man/man8/kdb5_util.8.gz
+man/man8/kadmind.8.gz
+man/man8/kprop.8.gz
+man/man8/kpropd.8.gz
+man/man8/kproplog.8.gz
+man/man8/sserver.8.gz
 sbin/gss-server
 sbin/kadmin.local
 sbin/kadmind



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