summaryrefslogtreecommitdiff
path: root/www/netscape4-communicator.us
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-02-11 03:31:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-02-11 03:31:31 +0000
commit94d3db799163fc6288a766fb808517be656b6334 (patch)
treededfef3c59b37615d972e0a3449e74e3b12cd6ee /www/netscape4-communicator.us
parentUpgrade to 0.113 (diff)
Netscape Communicator with US strong encryption.
Notes
Notes: svn path=/head/; revision=9656
Diffstat (limited to 'www/netscape4-communicator.us')
-rw-r--r--www/netscape4-communicator.us/Makefile71
-rw-r--r--www/netscape4-communicator.us/distinfo1
-rw-r--r--www/netscape4-communicator.us/files/mailcap69
-rw-r--r--www/netscape4-communicator.us/files/netscape.sh5
-rw-r--r--www/netscape4-communicator.us/files/patch-aa41
-rw-r--r--www/netscape4-communicator.us/pkg-comment1
-rw-r--r--www/netscape4-communicator.us/pkg-descr10
-rw-r--r--www/netscape4-communicator.us/pkg-plist125
-rw-r--r--www/netscape4-communicator.us/scripts/configure6
9 files changed, 329 insertions, 0 deletions
diff --git a/www/netscape4-communicator.us/Makefile b/www/netscape4-communicator.us/Makefile
new file mode 100644
index 000000000000..60cd4a553e3f
--- /dev/null
+++ b/www/netscape4-communicator.us/Makefile
@@ -0,0 +1,71 @@
+# ex:ts=8
+# New ports collection makefile for: netscape (full communicator version)
+# Version required: 4.04
+# Date created: 24 Feb 1997
+# Whom: ache
+#
+# $Id: Makefile,v 1.14 1998/01/26 09:56:31 vanilla Exp $
+#
+
+DISTNAME= communicator-v404-us.x86-unknown-linux2.0
+#PKGNAME= linux-netscape4-us
+PKGNAME= netscape-communicator-4.04.us
+CATEGORIES= www
+
+MAINTAINER= obrien@FreeBSD.ORG
+
+RESTRICTED= "Commerial & USA ITAR export restrictions"
+
+NO_FETCH= yes
+NO_WRKSUBDIR= Yes
+NO_BUILD= Yes
+
+NDIR= ${PREFIX}/lib/netscape.us
+BINDIR= ${PREFIX}/bin
+
+# Need to define USA_RESIDENT to YES or NO
+.if !defined(USA_RESIDENT) || (${USA_RESIDENT} != YES && ${USA_RESIDENT} != yes && ${USA_RESIDENT} != NO && ${USA_RESIDENT} != no)
+pre-fetch:
+ @${ECHO}
+ @${ECHO} You must set variable USA_RESIDENT to YES, if you are USA or
+ @${ECHO} Canadian resident, in order to build this package.
+ @${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
+ @${ECHO}
+ @false
+#
+.elif defined(USA_RESIDENT)
+.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
+#
+pre-fetch:
+ @${ECHO} You must manually obtain ${DISTNAME}${EXTRACT_SUFX}
+ @${ECHO} distribution and placed it in ${DISTDIR}.
+.else
+pre-fetch:
+ @${ECHO}
+ @${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
+ @${ECHO}
+ @false
+.endif
+.endif
+
+##post-configure:
+## ${PATCH} -d ${WRKSRC} --forward --quiet -E ${PATCH_STRIP} \
+## < ${PATCHDIR}/secondary.patch-ab
+
+do-install:
+ cd ${WRKSRC} && yes "" | \
+ LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
+ mv -f ${NDIR}/netscape ${NDIR}/communicator-4.04.us.bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/communicator-4.04.us
+ ln -sf communicator-4.04 ${BINDIR}/communicator-4.us
+ ln -sf communicator-4 ${BINDIR}/netscape.us
+ if [ ! -f ${NDIR}/mailcap ] ; then \
+ ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
+ fi
+ rm -rf ${NDIR}/movemail-src
+ chown -R bin.bin ${NDIR}
+
+post-install:
+ @${CAT} ${PKGDIR}/DESCR
+
+.include <bsd.port.mk>
diff --git a/www/netscape4-communicator.us/distinfo b/www/netscape4-communicator.us/distinfo
new file mode 100644
index 000000000000..accf3bbf4f9b
--- /dev/null
+++ b/www/netscape4-communicator.us/distinfo
@@ -0,0 +1 @@
+MD5 (communicator-v404-us.x86-unknown-linux2.0.tar.gz) = e21c406a1ca71c6e39ba5b480f51eeb3
diff --git a/www/netscape4-communicator.us/files/mailcap b/www/netscape4-communicator.us/files/mailcap
new file mode 100644
index 000000000000..61daeb5db716
--- /dev/null
+++ b/www/netscape4-communicator.us/files/mailcap
@@ -0,0 +1,69 @@
+# Example .mailcap file for FreeBSD machines
+#
+# First a note about syntax:
+# The first token in a configuration line represents a mime type.
+# A mime type is of the form "SubGroup/Item" and either token
+# can be replaced by the wildcard character "*"
+#
+# the second token is the command that you would run
+# when the specified mime type is encountered. An example
+# would be "xv %s" where %s will be replaced by a filename
+#
+# remaining tokens represent name value pairs.
+#
+# the "test=<SOME TEST COMMAND>" pair invokes the test command
+# specified and checks the UNIX shell return code to see if the
+# test passed. If the test passes the mime mapping is made, otherwise
+# the mapping is not made.
+#
+# the "stream-buffer-size=<NUMBER>" pair tells the application
+# to use a popen command to invoke the program specified and to
+# pipe all data into the command. Only programs that can handle
+# piped input can use this method. When this method is used
+# a "%s" should not be included in the command. You should
+# make sure that the program you wish to use can accept piped
+# data by trying something like this before using it:
+# cat "YOUR_DATA_FILE_HERE" | COMMAND_TO_TEST
+#
+# You may continue lines by using the backslash character "\"
+
+# FreeBSD doesn't seem to support `sfplay' yet, but if a port comes
+# along then the following should be enabled.
+#
+# plays AIFF files
+#audio/x-aiff; sfplay %s
+
+# plays AIFC files
+#audio/x-aifc; sfplay %s
+
+# FreeBSD has no wavplay utility either, but if someone
+# would care to port one then this can also be used.
+# plays WAV files
+#audio/x-wav; wavplay %s > /dev/null 2>&1
+
+# FreeBSD /dev/audio is sun compliant
+audio/basic; cat %s > /dev/audio
+
+# use this to play MPEG audio if you have maplay installed
+audio/x-mpeg; maplay -; stream-buffer-size=2000
+
+# use this to play MPEG video files if you have mpeg_play installed
+video/mpeg; mpeg_play -quiet %s
+
+# All other anims go well with xanim (if installed)
+video/*; xanim %s > /dev/null 2>&1
+
+# use this to display postscript files
+application/postscript; ghostview %s
+
+# use this to display pdf files
+application/pdf; xpdf %s 2>/dev/null
+
+# this is the default for non GIF or JPEG images
+image/*; xv %s
+
+# if you would prefer an external viewer for GIF and JPEG images
+# uncomment the following lines for XV to act as your external viewer.
+#image/gif; xv %s
+#image/jpg; xv %s
+#image/jpeg; xv %s
diff --git a/www/netscape4-communicator.us/files/netscape.sh b/www/netscape4-communicator.us/files/netscape.sh
new file mode 100644
index 000000000000..ac2394f45bce
--- /dev/null
+++ b/www/netscape4-communicator.us/files/netscape.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+export MOZILLA_HOME; MOZILLA_HOME=${MOZILLA_HOME:=@PREFIX@/lib/netscape.us}
+export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME
+export XCMSDB; XCMSDB=/dev/null
+exec $MOZILLA_HOME/communicator-4.04.us.bin $*
diff --git a/www/netscape4-communicator.us/files/patch-aa b/www/netscape4-communicator.us/files/patch-aa
new file mode 100644
index 000000000000..97f879710421
--- /dev/null
+++ b/www/netscape4-communicator.us/files/patch-aa
@@ -0,0 +1,41 @@
+*** ns-install.orig Tue Jul 1 23:22:18 1997
+--- ns-install Wed Jul 2 22:55:02 1997
+***************
+*** 103,108 ****
+--- 103,109 ----
+ # Even though the user has already used gzip to extract the file (or
+ # we wouldn't be here), make sure we can find it.
+ #
++ unset GZIP
+ GZIP="gzip"
+ flag=1
+ while test ${flag} -eq 1
+***************
+*** 264,276 ****
+ # Is this a virgin install? If so, create the .netscape dir
+ # and put the default bookmark file in it.
+ #
+! if test ! -d ${HOME}/.netscape
+! then
+! # New install, or upgrade from 0.x or 1.x.
+! mkdir ${HOME}/.netscape
+! cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
+! echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
+! fi
+ fi
+
+ echo ""
+--- 265,277 ----
+ # Is this a virgin install? If so, create the .netscape dir
+ # and put the default bookmark file in it.
+ #
+! # if test ! -d ${HOME}/.netscape
+! # then
+! # # New install, or upgrade from 0.x or 1.x.
+! # mkdir ${HOME}/.netscape
+! # cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
+! # echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
+! # fi
+ fi
+
+ echo ""
diff --git a/www/netscape4-communicator.us/pkg-comment b/www/netscape4-communicator.us/pkg-comment
new file mode 100644
index 000000000000..8ff7bc2e7db5
--- /dev/null
+++ b/www/netscape4-communicator.us/pkg-comment
@@ -0,0 +1 @@
+netscape ver 4 communicator w/US strong encryption.
diff --git a/www/netscape4-communicator.us/pkg-descr b/www/netscape4-communicator.us/pkg-descr
new file mode 100644
index 000000000000..8357627e7f65
--- /dev/null
+++ b/www/netscape4-communicator.us/pkg-descr
@@ -0,0 +1,10 @@
+This is the Linux version of the netscape web-surfboard with strong
+encryption.
+Please read the file "/usr/local/lib/netscape.us/LICENSE" for the licensing
+terms.
+
+Note: If Java applets fail to display. Type this as root:
+ cd /usr/X11R6/lib/X11/fonts/misc
+ /usr/X11R6/bin/mkfontdir
+ chmod 444 fonts.dir
+ And then exit and restart your X server.
diff --git a/www/netscape4-communicator.us/pkg-plist b/www/netscape4-communicator.us/pkg-plist
new file mode 100644
index 000000000000..f1c70dec0292
--- /dev/null
+++ b/www/netscape4-communicator.us/pkg-plist
@@ -0,0 +1,125 @@
+bin/communicator-4.04
+@exec ln -sf %f %B/communicator-4
+@exec ln -sf communicator-4 %B/netscape
+@unexec rm -f %B/netscape
+lib/netscape/README
+lib/netscape/LICENSE
+lib/netscape/Netscape.ad
+lib/netscape/XKeysymDB
+lib/netscape/movemail
+lib/netscape/plugins/libnullplugin.so
+lib/netscape/libjsd.so.1.0
+lib/netscape/bookmark.htm
+lib/netscape/java/classes/ifc11.jar
+lib/netscape/java/classes/iiop10.jar
+lib/netscape/java/classes/jae40.jar
+lib/netscape/java/classes/java40.jar
+lib/netscape/java/classes/jio40.jar
+lib/netscape/java/classes/jsd10.jar
+lib/netscape/java/classes/ldap10.jar
+lib/netscape/java/classes/scd10.jar
+lib/netscape/nethelp/Back_dep.gif
+lib/netscape/nethelp/Topic.js
+lib/netscape/nethelp/System.js
+lib/netscape/nethelp/Stack.js
+lib/netscape/nethelp/Local-1.js
+lib/netscape/nethelp/IdxData.js
+lib/netscape/nethelp/Header.js
+lib/netscape/nethelp/CntTool.js
+lib/netscape/nethelp/CntData.js
+lib/netscape/nethelp/Button.js
+lib/netscape/nethelp/ToolUI.htm
+lib/netscape/nethelp/System.htm
+lib/netscape/nethelp/Status.htm
+lib/netscape/nethelp/NoJSerr.htm
+lib/netscape/nethelp/NavUI.htm
+lib/netscape/nethelp/NSHIfrm.htm
+lib/netscape/nethelp/IdxTopic.htm
+lib/netscape/nethelp/IdxTool.htm
+lib/netscape/nethelp/IdxKey.htm
+lib/netscape/nethelp/IdxFill.htm
+lib/netscape/nethelp/CntTool.htm
+lib/netscape/nethelp/Blank.htm
+lib/netscape/nethelp/Wait.gif
+lib/netscape/nethelp/Tool_up.gif
+lib/netscape/nethelp/Tool_sel.gif
+lib/netscape/nethelp/Tool_dep.gif
+lib/netscape/nethelp/Prnt_up.gif
+lib/netscape/nethelp/Prnt_sel.gif
+lib/netscape/nethelp/Prnt_dep.gif
+lib/netscape/nethelp/Forw_up.gif
+lib/netscape/nethelp/Forw_sel.gif
+lib/netscape/nethelp/Forw_dis.gif
+lib/netscape/nethelp/Forw_dep.gif
+lib/netscape/nethelp/Exit_up.gif
+lib/netscape/nethelp/Exit_sel.gif
+lib/netscape/nethelp/Exit_dep.gif
+lib/netscape/nethelp/Back_up.gif
+lib/netscape/nethelp/Back_sel.gif
+lib/netscape/nethelp/Back_dis.gif
+lib/netscape/nethelp/Utility.js
+lib/netscape/nethelp/netscape/collabra/collabra.gif
+lib/netscape/nethelp/netscape/collabra/discgrps.gif
+lib/netscape/nethelp/netscape/collabra/coll.htm
+lib/netscape/nethelp/netscape/collabra/collHdr.htm
+lib/netscape/nethelp/netscape/collabra/help.hpf
+lib/netscape/nethelp/netscape/composer/composer.gif
+lib/netscape/nethelp/netscape/composer/comtlbr2.gif
+lib/netscape/nethelp/netscape/composer/fmtlbr3.gif
+lib/netscape/nethelp/netscape/composer/tagicon2.gif
+lib/netscape/nethelp/netscape/composer/comp.htm
+lib/netscape/nethelp/netscape/composer/compHdr.htm
+lib/netscape/nethelp/netscape/composer/help.hpf
+lib/netscape/nethelp/netscape/confernc/brws2.gif
+lib/netscape/nethelp/netscape/confernc/chat2.gif
+lib/netscape/nethelp/netscape/confernc/circle2.gif
+lib/netscape/nethelp/netscape/confernc/confernc.gif
+lib/netscape/nethelp/netscape/confernc/eraser2.gif
+lib/netscape/nethelp/netscape/confernc/fhndtl2.gif
+lib/netscape/nethelp/netscape/confernc/filex2.gif
+lib/netscape/nethelp/netscape/confernc/horline2.gif
+lib/netscape/nethelp/netscape/confernc/line2.gif
+lib/netscape/nethelp/netscape/confernc/pointer2.gif
+lib/netscape/nethelp/netscape/confernc/rect2.gif
+lib/netscape/nethelp/netscape/confernc/txttool2.gif
+lib/netscape/nethelp/netscape/confernc/whtbd2.gif
+lib/netscape/nethelp/netscape/confernc/conf.htm
+lib/netscape/nethelp/netscape/confernc/confHdr.htm
+lib/netscape/nethelp/netscape/confernc/help.hpf
+lib/netscape/nethelp/netscape/home/home.gif
+lib/netscape/nethelp/netscape/home/home.htm
+lib/netscape/nethelp/netscape/home/homeHdr.htm
+lib/netscape/nethelp/netscape/home/help.hpf
+lib/netscape/nethelp/netscape/messengr/mailbox.gif
+lib/netscape/nethelp/netscape/messengr/messengr.gif
+lib/netscape/nethelp/netscape/messengr/mpctrl.gif
+lib/netscape/nethelp/netscape/messengr/mess.htm
+lib/netscape/nethelp/netscape/messengr/messHdr.htm
+lib/netscape/nethelp/netscape/messengr/help.hpf
+lib/netscape/nethelp/netscape/navigatr/navigatr.gif
+lib/netscape/nethelp/netscape/navigatr/nav.htm
+lib/netscape/nethelp/netscape/navigatr/navHdr.htm
+lib/netscape/nethelp/netscape/navigatr/help.hpf
+lib/netscape/nethelp/netscape/netcastr/netcastr.gif
+lib/netscape/nethelp/netscape/netcastr/net.htm
+lib/netscape/nethelp/netscape/netcastr/netHdr.htm
+lib/netscape/nethelp/netscape/netcastr/help.hpf
+lib/netscape/nethelp/netscape/shared/admnIcon.gif
+lib/netscape/nethelp/netscape/shared/calIcon.gif
+lib/netscape/nethelp/netscape/shared/collIcon.gif
+lib/netscape/nethelp/netscape/shared/commIcon.gif
+lib/netscape/nethelp/netscape/shared/compIcon.gif
+lib/netscape/nethelp/netscape/shared/confIcon.gif
+lib/netscape/nethelp/netscape/shared/ibmIcon.gif
+lib/netscape/nethelp/netscape/shared/messIcon.gif
+lib/netscape/nethelp/netscape/shared/navIcon.gif
+lib/netscape/nethelp/netscape/shared/netIcon.gif
+lib/netscape/nethelp/netscape/shared/Contents.htm
+lib/netscape/nethelp/netscape/shared/NetHelp1.css
+lib/netscape/nethelp/netscape/nscal/index.html
+lib/netscape/spell/pen4s324.dat
+lib/netscape/spell/netscape.dic
+lib/netscape/vreg
+lib/netscape/registry
+lib/netscape/communicator-4.04.bin
+lib/netscape/mailcap
diff --git a/www/netscape4-communicator.us/scripts/configure b/www/netscape4-communicator.us/scripts/configure
new file mode 100644
index 000000000000..8c5c89e4af0e
--- /dev/null
+++ b/www/netscape4-communicator.us/scripts/configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/netscape.sh >${WRKSRC}/netscape
+chmod +x ${WRKSRC}/netscape
+