summaryrefslogtreecommitdiff
path: root/security/krb5/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2002-05-03 02:20:17 +0000
committerCy Schubert <cy@FreeBSD.org>2002-05-03 02:20:17 +0000
commitd845a8a153bb15788f9b08b049f926d34c41f4b6 (patch)
tree4c615c84d068cdfe13dfa6778b5faeef67a891cf /security/krb5/Makefile
parentUpgrade to 3.0 beta 7 (diff)
Now that www.crypto-publish.org has put the latest version of MIT KRB5
up on their website again, reimplementation of the Makefile patch that fetched the the tarball from their site for users outside of the US (originally in Makefile rev 1.29). USA_RESIDENT=YES still supports manual fetching from web.mit.edu.
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r--security/krb5/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 8ca60e5b54b9..54cf283bec6b 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -8,14 +8,19 @@
PORTNAME= krb5
PORTVERSION= 1.2.5
CATEGORIES= security
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO"
+MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/
+EXTRACT_SUFX= .tar.gz
+.else
MASTER_SITES= # manual download
+EXTRACT_SUFX= .tar
+.endif
MAINTAINER= cy@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
-EXTRACT_SUFX= .tar
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@@ -56,6 +61,7 @@ HTML_DOCS= admin.html install_foot.html user-guide.html \
admin_toc.html krb425.html user-guide_toc.html \
install.html krb425_toc.html
+.if !defined(USA_RESIDENT) || ${USA_RESIDENT} == "YES"
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${ECHO} ""; \
@@ -76,6 +82,7 @@ post-extract:
@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
+.endif
pre-build:
.if !defined(KRB5_KRB4_COMPAT)