aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-maint
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-04-23 12:40:06 +0800
committercy <cy@FreeBSD.org>2014-04-23 12:40:06 +0800
commit14edf4e1b3447e3bdeb0c856cbe461ddabcf165f (patch)
treea43672d4a0e111949984d19cdae0c1e0b36b90aa /security/krb5-maint
parentd1e85f5116c8f6faa80944cef3cb3aac2387536d (diff)
downloadfreebsd-ports-gnome-14edf4e1b3447e3bdeb0c856cbe461ddabcf165f.tar.gz
freebsd-ports-gnome-14edf4e1b3447e3bdeb0c856cbe461ddabcf165f.tar.zst
freebsd-ports-gnome-14edf4e1b3447e3bdeb0c856cbe461ddabcf165f.zip
Stagify.
Diffstat (limited to 'security/krb5-maint')
-rw-r--r--security/krb5-maint/Makefile29
-rw-r--r--security/krb5-maint/pkg-plist30
2 files changed, 40 insertions, 19 deletions
diff --git a/security/krb5-maint/Makefile b/security/krb5-maint/Makefile
index 8d1d5f67178f..762112838131 100644
--- a/security/krb5-maint/Makefile
+++ b/security/krb5-maint/Makefile
@@ -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 "
diff --git a/security/krb5-maint/pkg-plist b/security/krb5-maint/pkg-plist
index b3f381b6c699..1d5cf1e05e4c 100644
--- a/security/krb5-maint/pkg-plist
+++ b/security/krb5-maint/pkg-plist
@@ -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