Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 1997 17:28:48 -0800 (PST)
From:      dburr@POBoxes.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4980: NEW PORT: netscape3-us (Netscape Nav with US encryption) [category www]
Message-ID:  <199711090128.RAA09634@DonaldBurr.dyn.ml.org>
Resent-Message-ID: <199711090130.RAA04976@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4980
>Category:       ports
>Synopsis:       NEW PORT: netscape3-us (Netscape Nav with US encryption) [category www]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov  8 17:30:00 PST 1997
>Last-Modified:
>Originator:     Donald Burr
>Organization:
Starfleet Command
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

should run on any modern version of FreeBSD

>Description:

This is a port of Netscape Navigator 3.04 (either standard or Gold
edition) which supports strong US_grade (128-bit) encryption.  This port
does not violate ITAR because it requires the user to actually go out and
fetch the Netscape tarball him/herself (by filling out a secure form at
Netscape web site).

>How-To-Repeat:
>Fix:
	
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.1.4).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1997-11-08 17:26 PST by <dburr@DonaldBurr.dyn.ml.org>.
# Source directory was `/usr/ports/www'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    871 -rw-r--r-- netscape3-us/files/Makefile
#   2457 -rw-r--r-- netscape3-us/files/mailcap
#    167 -rw-r--r-- netscape3-us/files/md5
#    281 -rw-r--r-- netscape3-us/files/netscape.sh
#     72 -rw-r--r-- netscape3-us/pkg/COMMENT
#    681 -rw-r--r-- netscape3-us/pkg/DESCR
#    236 -rw-r--r-- netscape3-us/pkg/PLIST
#    311 -rw-r--r-- netscape3-us/scripts/configure
#   1652 -rw-r--r-- netscape3-us/Makefile
#
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  echo 'WARNING: not restoring timestamps.  Consider getting and'
  echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
# ============= netscape3-us/files/Makefile ==============
if test ! -d 'netscape3-us'; then
  echo 'x - creating directory netscape3-us'
  mkdir 'netscape3-us'
fi
if test ! -d 'netscape3-us/files'; then
  echo 'x - creating directory netscape3-us/files'
  mkdir 'netscape3-us/files'
fi
if test -f 'netscape3-us/files/Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/files/Makefile (file already exists)'
else
  echo 'x - extracting netscape3-us/files/Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/files/Makefile' &&
# This directory is hard-coded into the netscape binary
LIBDIR=		/usr/local/lib/netscape
X
BINDIR=		${PREFIX}/bin
NLSDIR=		${X11BASE}/lib/X11/nls
X
FILES=          LICENSE README Netscape.ad java_301
X
all:
X	@true
X
install:
X	-test -d ${LIBDIR} || mkdir -p ${LIBDIR}
X	-test -d ${NLSDIR} || mkdir -p ${NLSDIR}
X	install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
X		netscape ${BINDIR}
X	install -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
X		movemail netscape.bin ${LIBDIR}
X	install -c -m 644 -o ${BINOWN} -g ${BINGRP} \
X		${FILES} ${LIBDIR}
X	if [ ! -f ${LIBDIR}/mailcap ] ; then \
X		install -c -m 644 -o ${BINOWN} -g ${BINGRP} mailcap ${LIBDIR}; \
X	fi
X	if [ ! -f ${NLSDIR}/C ] ; then \
X	    install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/C ${NLSDIR}; \
X	fi
X	if [ ! -f ${NLSDIR}/nls.dir ] ; then \
X	    install -c -m 644 -o ${BINOWN} -g ${BINGRP} nls/nls.dir ${NLSDIR}; \
X	fi
SHAR_EOF
  $shar_touch -am 1023235497 'netscape3-us/files/Makefile' &&
  chmod 0644 'netscape3-us/files/Makefile' ||
  echo 'restore of netscape3-us/files/Makefile failed'
  shar_count="`wc -c < 'netscape3-us/files/Makefile'`"
  test 871 -eq "$shar_count" ||
    echo "netscape3-us/files/Makefile: original size 871, current size $shar_count"
fi
# ============= netscape3-us/files/mailcap ==============
if test -f 'netscape3-us/files/mailcap' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/files/mailcap (file already exists)'
else
  echo 'x - extracting netscape3-us/files/mailcap (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/files/mailcap' &&
# 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 "\"
X
# 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
X
# plays AIFC files
#audio/x-aifc; sfplay %s
X
# 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
X
# FreeBSD /dev/audio is sun compliant
audio/basic; cat %s > /dev/audio
X
# use this to play MPEG audio if you have maplay installed  
audio/x-mpeg; maplay -; stream-buffer-size=2000
X
# use this to play MPEG video files if you have mpeg_play installed
video/mpeg; mpeg_play -quiet %s
X
# All other anims go well with xanim (if installed)
video/*; xanim %s > /dev/null 2>&1
X
# use this to display postscript files
application/postscript; ghostview %s
X
# use this to display pdf files
application/pdf; xpdf %s 2>/dev/null
X
# this is the default for non GIF or JPEG images
image/*; xv %s
X
# 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
SHAR_EOF
  $shar_touch -am 1023235497 'netscape3-us/files/mailcap' &&
  chmod 0644 'netscape3-us/files/mailcap' ||
  echo 'restore of netscape3-us/files/mailcap failed'
  shar_count="`wc -c < 'netscape3-us/files/mailcap'`"
  test 2457 -eq "$shar_count" ||
    echo "netscape3-us/files/mailcap: original size 2457, current size $shar_count"
fi
# ============= netscape3-us/files/md5 ==============
if test -f 'netscape3-us/files/md5' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/files/md5 (file already exists)'
else
  echo 'x - extracting netscape3-us/files/md5 (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/files/md5' &&
MD5 (netscape-v304-us.x86-unknown-bsd.tar.gz) = 055dc638fd83ca6e398deae5e37d25b0
MD5 (gold/netscape-v304-us.x86-unknown-bsd.tar.gz) = 4209c445e3fcdd592662354d25af1a2d
SHAR_EOF
  $shar_touch -am 1108172397 'netscape3-us/files/md5' &&
  chmod 0644 'netscape3-us/files/md5' ||
  echo 'restore of netscape3-us/files/md5 failed'
  shar_count="`wc -c < 'netscape3-us/files/md5'`"
  test 167 -eq "$shar_count" ||
    echo "netscape3-us/files/md5: original size 167, current size $shar_count"
fi
# ============= netscape3-us/files/netscape.sh ==============
if test -f 'netscape3-us/files/netscape.sh' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/files/netscape.sh (file already exists)'
else
  echo 'x - extracting netscape3-us/files/netscape.sh (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/files/netscape.sh' &&
#!/bin/sh
export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
export XNLSPATH  ; XNLSPATH=@X11BASE@/lib/X11/nls
export XAPPLRESDIR ; XAPPLRESDIR=@X11BASE@/lib/X11/app-defaults
export CLASSPATH ; CLASSPATH=.:/usr/local/lib/netscape
exec /usr/local/lib/netscape/netscape.bin $*
SHAR_EOF
  $shar_touch -am 1023235497 'netscape3-us/files/netscape.sh' &&
  chmod 0644 'netscape3-us/files/netscape.sh' ||
  echo 'restore of netscape3-us/files/netscape.sh failed'
  shar_count="`wc -c < 'netscape3-us/files/netscape.sh'`"
  test 281 -eq "$shar_count" ||
    echo "netscape3-us/files/netscape.sh: original size 281, current size $shar_count"
fi
# ============= netscape3-us/pkg/COMMENT ==============
if test ! -d 'netscape3-us/pkg'; then
  echo 'x - creating directory netscape3-us/pkg'
  mkdir 'netscape3-us/pkg'
fi
if test -f 'netscape3-us/pkg/COMMENT' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/pkg/COMMENT (file already exists)'
else
  echo 'x - extracting netscape3-us/pkg/COMMENT (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/pkg/COMMENT' &&
netscape-3.03 web-surfboard (regular or gold) with strong US encryption
SHAR_EOF
  $shar_touch -am 1108171497 'netscape3-us/pkg/COMMENT' &&
  chmod 0644 'netscape3-us/pkg/COMMENT' ||
  echo 'restore of netscape3-us/pkg/COMMENT failed'
  shar_count="`wc -c < 'netscape3-us/pkg/COMMENT'`"
  test 72 -eq "$shar_count" ||
    echo "netscape3-us/pkg/COMMENT: original size 72, current size $shar_count"
fi
# ============= netscape3-us/pkg/DESCR ==============
if test -f 'netscape3-us/pkg/DESCR' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/pkg/DESCR (file already exists)'
else
  echo 'x - extracting netscape3-us/pkg/DESCR (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/pkg/DESCR' &&
This is the netscape web-surfboard.  Please read the file
"/usr/local/lib/netscape/LICENSE" for the licensing terms.
X
This version includes support for strong (US, 128-bit)
encryption, as well as the standard International-grade
(40-bit) encryption.  Note that due to ITAR regulations it
is illegal for you to use this port if you are not a lawful
resident of the USA.
X
Note: If Java applets fail to display.  Type this as root:
X		cd /usr/X11R6/lib/X11/fonts/misc
X		/usr/X11R6/bin/mkfontdir
X		chmod 444 fonts.dir
X      And then exit and restart your X server.
X
This port can install either the regular or "gold" version.
For the latter, add "GOLD=yes" to your "make" command line.
SHAR_EOF
  $shar_touch -am 1108171597 'netscape3-us/pkg/DESCR' &&
  chmod 0644 'netscape3-us/pkg/DESCR' ||
  echo 'restore of netscape3-us/pkg/DESCR failed'
  shar_count="`wc -c < 'netscape3-us/pkg/DESCR'`"
  test 681 -eq "$shar_count" ||
    echo "netscape3-us/pkg/DESCR: original size 681, current size $shar_count"
fi
# ============= netscape3-us/pkg/PLIST ==============
if test -f 'netscape3-us/pkg/PLIST' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/pkg/PLIST (file already exists)'
else
  echo 'x - extracting netscape3-us/pkg/PLIST (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/pkg/PLIST' &&
@cwd /usr/local
bin/netscape
lib/netscape/LICENSE
lib/netscape/README
lib/netscape/netscape.bin
lib/netscape/mailcap
lib/netscape/movemail
lib/netscape/java_301
lib/netscape/Netscape.ad
@cwd /usr/X11R6
lib/X11/nls/C
lib/X11/nls/nls.dir
SHAR_EOF
  $shar_touch -am 1023235497 'netscape3-us/pkg/PLIST' &&
  chmod 0644 'netscape3-us/pkg/PLIST' ||
  echo 'restore of netscape3-us/pkg/PLIST failed'
  shar_count="`wc -c < 'netscape3-us/pkg/PLIST'`"
  test 236 -eq "$shar_count" ||
    echo "netscape3-us/pkg/PLIST: original size 236, current size $shar_count"
fi
# ============= netscape3-us/scripts/configure ==============
if test ! -d 'netscape3-us/scripts'; then
  echo 'x - creating directory netscape3-us/scripts'
  mkdir 'netscape3-us/scripts'
fi
if test -f 'netscape3-us/scripts/configure' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/scripts/configure (file already exists)'
else
  echo 'x - extracting netscape3-us/scripts/configure (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/scripts/configure' &&
#!/bin/sh
X
if [ ! -f ${WRKSRC}/netscape.bin ] ; then
X    mv ${WRKSRC}/netscape ${WRKSRC}/netscape.bin
fi
X
sed -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
X	${FILESDIR}/netscape.sh >${WRKSRC}/netscape
chmod +x ${WRKSRC}/netscape
X
cp ${FILESDIR}/Makefile ${WRKSRC}
cp ${FILESDIR}/mailcap ${WRKSRC}
SHAR_EOF
  $shar_touch -am 1023235497 'netscape3-us/scripts/configure' &&
  chmod 0644 'netscape3-us/scripts/configure' ||
  echo 'restore of netscape3-us/scripts/configure failed'
  shar_count="`wc -c < 'netscape3-us/scripts/configure'`"
  test 311 -eq "$shar_count" ||
    echo "netscape3-us/scripts/configure: original size 311, current size $shar_count"
fi
# ============= netscape3-us/Makefile ==============
if test -f 'netscape3-us/Makefile' && test X"$1" != X"-c"; then
  echo 'x - skipping netscape3-us/Makefile (file already exists)'
else
  echo 'x - extracting netscape3-us/Makefile (text)'
  sed 's/^X//' << 'SHAR_EOF' > 'netscape3-us/Makefile' &&
# New ports collection makefile for:	netscape3-us
# Version required:     3.04
# Date created:		21 August 1995
# Whom:			Donald Burr <dburr@POBoxes.com>
#
# $Id$
#
X
DISTNAME=       netscape-3.04
PKGNAME=	netscape-3.04-us
CATEGORIES=	www
X.if defined(GOLD)
DIST_SUBDIR=    gold
X.else
X.endif
DISTFILES=      netscape-v304-us.x86-unknown-bsd.tar.gz
X
MAINTAINER=     dburr@POBoxes.com
X
RESTRICTED=	"Commercial software, uses strong US-grade encryption"
NO_WRKSUBDIR=	yes
X
pre-fetch:
X.if !defined(GOLD)
X	@${ECHO_MSG} "Note you can make the \"gold\" version by typing \"make GOLD=yes\"."
X.else
X	@${ECHO_MSG} "Making the \"gold\" version."
X.endif
X
do-fetch:
X	@if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ]; then \
X	  echo ""; \
X	  echo "You will need to get the strong (US-only) version of"; \
X	  echo "navigator by filling out the form at:"; \
X	  echo ""; \
X	  echo "https://wwwus.netscape.com/usdl-bin/download/index.html"; \
X	  echo ""; \
X	  echo "(You will need to have installed some other version of"; \
X	  echo "Netscape that supports at least International (40-bit)"; \
X	  echo "encryption to access this site, since it uses SSL.)"; \
X	  echo ""; \
X	  echo "Please download the BSD/386 version of whichever"; \
X	  echo "Navigator 3.04 product you want (standard or gold), and"; \
X	  echo "place the resulting file in the following location:"; \
X	  echo ""; \
X	  echo "${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}"; \
X	  echo ""; \
X	  exit 1;\
X	fi
X
post-build:
X	@echo ""
X	@echo "*** BE SURE TO \`pkg_delete' YOUR CURRENT NETSCAPE NAVIGATOR"
X	@echo "    BEFORE PROCEEDING WITH THE INSTALL!"
X
post-install:
X	@${CAT} ${PKGDIR}/DESCR
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 1108172197 'netscape3-us/Makefile' &&
  chmod 0644 'netscape3-us/Makefile' ||
  echo 'restore of netscape3-us/Makefile failed'
  shar_count="`wc -c < 'netscape3-us/Makefile'`"
  test 1652 -eq "$shar_count" ||
    echo "netscape3-us/Makefile: original size 1652, current size $shar_count"
fi
exit 0
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711090128.RAA09634>