aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-appl
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-11-11 07:22:16 +0800
committercy <cy@FreeBSD.org>2003-11-11 07:22:16 +0800
commitabd0d843a2bb34579bdec2113193668b5651ebd1 (patch)
tree717fe0d2d2a6911a53ecfaecf041eba3e69f55e9 /security/krb5-appl
parent450497ca2b0d39353263f33511ad747735e8c71d (diff)
downloadfreebsd-ports-gnome-abd0d843a2bb34579bdec2113193668b5651ebd1.tar.gz
freebsd-ports-gnome-abd0d843a2bb34579bdec2113193668b5651ebd1.tar.zst
freebsd-ports-gnome-abd0d843a2bb34579bdec2113193668b5651ebd1.zip
MIT has removed the web form, downloads of MIT KRB5 can be automated.
Unfortunately MIT and crypto-publish.org distribute two distinctly different tarballs and the user must select the source/format they wish to fetch. MIT now becomes the default.
Diffstat (limited to 'security/krb5-appl')
-rw-r--r--security/krb5-appl/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index 99e0971dae71..de243ca730c6 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -9,16 +9,16 @@ PORTNAME= krb5
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= security
-# 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
+# USE_TARBALL tells the port that the user has fetched the source
+# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
+USE_KRB5_TARBALL?= MIT
-.if defined(USE_MIT_TARBALL) && ${USE_MIT_TARBALL} == "YES"
-MASTER_SITES= # manual download
-EXTRACT_SUFX= .tar
-.else
+.if defined(USE_KRB5_TARBALL) && ${USE_KRB5_TARBALL} == "CRYPTO-PUBLISH"
MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/
EXTRACT_SUFX= .tar.gz
+.else
+MASTER_SITES= http://web.mit.edu/kerberos/www/dist/krb5/${PORTVERSION:C/\.[0-9]*$//}
+EXTRACT_SUFX= .tar
.endif
MAINTAINER= cy@FreeBSD.org