aboutsummaryrefslogtreecommitdiff
path: root/security/krb5
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
parentc5623e7c7f161fdb3c696cb58685f8c64e4de344 (diff)
downloadports-d845a8a153bb15788f9b08b049f926d34c41f4b6.tar.gz
ports-d845a8a153bb15788f9b08b049f926d34c41f4b6.zip
Notes
Diffstat (limited to 'security/krb5')
-rw-r--r--security/krb5/Makefile9
-rw-r--r--security/krb5/distinfo1
2 files changed, 9 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)
diff --git a/security/krb5/distinfo b/security/krb5/distinfo
index 6d34a4a1de87..7fb8cb4d4695 100644
--- a/security/krb5/distinfo
+++ b/security/krb5/distinfo
@@ -1 +1,2 @@
MD5 (krb5-1.2.5.tar) = c91d4fbbe616a28b1652be5eb0a9e5ae
+MD5 (krb5-1.2.5.tar.gz) = 980c7935b27281e65367c538366776ab