aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-03-15 23:13:57 +0800
committermarkm <markm@FreeBSD.org>1998-03-15 23:13:57 +0800
commita7d491d9003e0f88ff5f207afd06746cb17faca9 (patch)
treedfc9daf9cf3e7f9ad8c75052848c49d63185af27 /www/mozilla
parenta0895a16975cbe522b6e623f8612683c59471374 (diff)
downloadfreebsd-ports-gnome-a7d491d9003e0f88ff5f207afd06746cb17faca9.tar.gz
freebsd-ports-gnome-a7d491d9003e0f88ff5f207afd06746cb17faca9.tar.zst
freebsd-ports-gnome-a7d491d9003e0f88ff5f207afd06746cb17faca9.zip
Using Fortify, and setting USE_128BIT, Communicator can now use 128 bit
crypto legally.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile18
-rw-r--r--www/mozilla/distinfo1
2 files changed, 18 insertions, 1 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 91de5a4abef2..4cc8c9906515 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -3,7 +3,7 @@
# Date created: 24 Feb 1997
# Whom: ache
#
-# $Id: Makefile,v 1.13 1997/11/20 15:48:15 asami Exp $
+# $Id: Makefile,v 1.14 1998/01/26 09:56:31 vanilla Exp $
#
DISTNAME= netscape-communicator-4.04
@@ -19,6 +19,18 @@ NO_BUILD= Yes
NDIR= ${PREFIX}/lib/netscape
BINDIR= ${PREFIX}/bin
+.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
+
do-install:
cd ${WRKSRC} && yes "" | \
LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
@@ -30,6 +42,10 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
fi
rm -rf ${NDIR}/movemail-src
+.if defined(USE_128BIT) && ${USA_RESIDENT} == NO
+ cd ${WRKSRC}/Fortify-1.2.1-unix && \
+ (${ECHO} yes ; ${ECHO} no) | ./Fortify.sh ${NDIR}/communicator-4.04.bin
+.endif
chown -R bin.bin ${NDIR}
post-install:
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo
index 8f15f547732e..12d5db5ca07a 100644
--- a/www/mozilla/distinfo
+++ b/www/mozilla/distinfo
@@ -1 +1,2 @@
MD5 (communicator-v404-export.x86-unknown-freebsd.tar.gz) = c54090fd4a5c06fba5a31f319e193497
+MD5 (Fortify-1.2.1-unix.tar.gz) = da2cede6270965853012d101d0594ca5