diff options
author | cy <cy@FreeBSD.org> | 2002-05-03 02:20:17 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2002-05-03 02:20:17 +0000 |
commit | de9a43d78864e70047756ddf93cb2b674c08607b (patch) | |
tree | 696c4c4b2d0321bf809a305c9f40d8119223d6ac /security/krb5-17 | |
parent | 9c7f3dd25ffe1d02d818697604ec17fb9556a911 (diff) | |
download | FreeBSD-ports-de9a43d78864e70047756ddf93cb2b674c08607b.zip FreeBSD-ports-de9a43d78864e70047756ddf93cb2b674c08607b.tar.gz |
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-17')
-rw-r--r-- | security/krb5-17/Makefile | 9 | ||||
-rw-r--r-- | security/krb5-17/distinfo | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index 8ca60e5..54cf283 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/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-17/distinfo b/security/krb5-17/distinfo index 6d34a4a..7fb8cb4 100644 --- a/security/krb5-17/distinfo +++ b/security/krb5-17/distinfo @@ -1 +1,2 @@ MD5 (krb5-1.2.5.tar) = c91d4fbbe616a28b1652be5eb0a9e5ae +MD5 (krb5-1.2.5.tar.gz) = 980c7935b27281e65367c538366776ab |