diff options
author | cy <cy@FreeBSD.org> | 2003-05-07 04:09:39 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2003-05-07 04:09:39 +0000 |
commit | a76b7459935305984481f9fe7e3222ddf9dcd0b8 (patch) | |
tree | 3e31fa042cec810b1d7edad8e16f6660e6d88d65 /security/krb5-16 | |
parent | d42440db2b5d4d6cfe5d66e29233f4c7260642ae (diff) | |
download | FreeBSD-ports-a76b7459935305984481f9fe7e3222ddf9dcd0b8.zip FreeBSD-ports-a76b7459935305984481f9fe7e3222ddf9dcd0b8.tar.gz |
Default is to fetch from crypto-publish.org. USA_RESIDENT replaced
by USE_MIT_TARBALL. Users can still fetch manually from MIT by
setting USE_MIT_TARBALL=YES.
Suggested by: wollman
Diffstat (limited to 'security/krb5-16')
-rw-r--r-- | security/krb5-16/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index f20bf63..e0ccbdb0 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/Makefile @@ -8,12 +8,15 @@ PORTNAME= krb5 PORTVERSION= 1.2.8 CATEGORIES= security -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO" -MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ -EXTRACT_SUFX= .tar.gz -.else +# USE_MIT_TARBALL tells the port that the user has fetched the source +# directly from MIT rather than the default crypto-publish.org. +USE_MIT_TARBALL?= NO +.if defined(USE_MIT_TARBALL) && ${USE_MIT_TARBALL} == "YES" MASTER_SITES= # manual download EXTRACT_SUFX= .tar +.else +MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ +EXTRACT_SUFX= .tar.gz .endif MAINTAINER= cy@FreeBSD.org @@ -41,7 +44,7 @@ PLIST_SUB+= KRB4="" PREFIX= ${KRB5_HOME} .endif -# Set USA_RESIDENT appropriately in /etc/make.conf if you like +# Set USE_MIT_TARBALL appropriately in /etc/make.conf if you like INFO_FILES= krb425.info krb5-admin.info krb5-admin.info-1 \ krb5-admin.info-2 krb5-admin.info-3 krb5-install.info \ @@ -67,14 +70,16 @@ 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" +.if defined(USE_MIT_TARBALL) && ${USE_MIT_TARBALL} == "YES" do-fetch: @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO} ""; \ ${ECHO} ">> Kerberos V contains encryption software and is"; \ - ${ECHO} " export restricted. If you are not a USA resident,";\ - ${ECHO} " then you cannot obtain the Kerberos V sources from";\ - ${ECHO} " within the United States."; \ + ${ECHO} " export restricted. If you are not a USA or"; \ + ${ECHO} " Canadian resident, you cannot obtain Kerberos V"; \ + ${ECHO} " sources directly from MIT and must obtain the"; \ + ${ECHO} " source from crypto-publish.org by unsetting"; \ + ${ECHO} " USE_MIT_TARBALL or setting USE_MIT_TARBALL to NO."; \ ${ECHO} ""; \ ${ECHO} ">> The Kerberos V sources must be fetched manually."; \ ${ECHO} " Please visit ${KERBEROSV_URL}"; \ |