summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-03-15 15:10:48 +0000
committerMark Murray <markm@FreeBSD.org>1998-03-15 15:10:48 +0000
commitf4ae91a3a33dd7d9d9ed2ff06205e229b353c907 (patch)
tree798a0cb6923c03ead2ed3bd86ea3a9c313b35f3c /www
parentremoved bogus ftp site (no anonymous ftp login anymore) (diff)
Using Fortify and setting USE_128BIT, this port can now do 128 bit
encryption legally.
Notes
Notes: svn path=/head/; revision=10144
Diffstat (limited to 'www')
-rw-r--r--www/netscape3/Makefile33
-rw-r--r--www/netscape3/distinfo2
2 files changed, 23 insertions, 12 deletions
diff --git a/www/netscape3/Makefile b/www/netscape3/Makefile
index 319c91ffc19f..fe62354906c7 100644
--- a/www/netscape3/Makefile
+++ b/www/netscape3/Makefile
@@ -3,32 +3,41 @@
# Date created: 21 August 1995
# Whom: asami
#
-# $Id: Makefile,v 1.18 1997/11/13 19:11:56 jkh Exp $
+# $Id: Makefile,v 1.19 1998/01/26 09:53:03 vanilla Exp $
#
DISTNAME= netscape-3.04
CATEGORIES= www
-.if defined(GOLD)
-MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_gold_complete/
-DIST_SUBDIR= gold
-PKGNAME= ${DISTNAME}-gold
-.else
MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_complete/
-.endif
DISTFILES= netscape-v304-export.x86-unknown-bsd.tar.gz
MAINTAINER= ports@FreeBSD.ORG
NO_WRKSUBDIR= yes
-pre-fetch:
-.if !defined(GOLD)
- @${ECHO_MSG} "Note you can make the \"gold\" version by typing \"make GOLD=yes\"."
-.else
- @${ECHO_MSG} "Making the \"gold\" version."
+.if defined(GOLD)
+MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_gold_complete/
+DIST_SUBDIR= gold
+PKGNAME= ${DISTNAME}-gold
+.endif
+
+.if defined(USE_128BIT) && ${USA_RESIDENT} == NO
+MASTER_SITES+= ftp://ftp.fortify.net/pub/Fortify/ \
+ ftp://ftp.za.freebsd.org/pub/Fortify/
+DISTFILES+= Fortify-1.2.1-unix.tar.gz
+RESTRICTED= "Contains strong cryptography"
+.endif
+
+.if !defined(USE_128BIT) && ${USA_RESIDENT} == NO
+pre-extract:
+ @${ECHO} "You can make Netscape use 128-bit encryption by defining USE_128BIT"
.endif
post-install:
+.if defined(USE_128BIT) && ${USA_RESIDENT} == NO
+ cd ${WRKSRC}/Fortify-1.2.1-unix && \
+ (${ECHO} yes ; ${ECHO} no) | ./Fortify.sh ${PREFIX}/lib/netscape/netscape.bin
+.endif
@${CAT} ${PKGDIR}/DESCR
.include <bsd.port.mk>
diff --git a/www/netscape3/distinfo b/www/netscape3/distinfo
index 4b926e648c8c..e69c20166f24 100644
--- a/www/netscape3/distinfo
+++ b/www/netscape3/distinfo
@@ -1,2 +1,4 @@
MD5 (netscape-v304-export.x86-unknown-bsd.tar.gz) = a08bc63c6f1a2e934045be0848c7bb09
+MD5 (Fortify-1.2.1-unix.tar.gz) = da2cede6270965853012d101d0594ca5
MD5 (gold/netscape-v304-export.x86-unknown-bsd.tar.gz) = d53200dcbd0bfb1afd2e202d5736f9e0
+MD5 (gold/Fortify-1.2.1-unix.tar.gz) = da2cede6270965853012d101d0594ca5