Reformatted netscape ports, to allow easier sharing of configuration

between navigator and communicator, plus distinct versions depending on
the architecture.

Fix a few problems while I'm doing it:
- remove uncaught bison build dependency,
- sort PLIST,
- mark navigator and communicator as conflicting.

Not linked in www yet, waiting for sparc tests.
This commit is contained in:
espie 2000-04-09 15:50:14 +00:00
parent fd5775bd31
commit d0fe3f536b
30 changed files with 1814 additions and 0 deletions

9
www/netscape/Makefile Normal file
View File

@ -0,0 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/04/09 15:50:14 espie Exp $
SUBDIR=navigator-old
SUBDIR+=communicator-old
SUBDIR+=navigator
SUBDIR+=communicator
.include <bsd.port.subdir.mk>

101
www/netscape/Makefile.inc Normal file
View File

@ -0,0 +1,101 @@
# $OpenBSD: Makefile.inc,v 1.1.1.1 2000/04/09 15:50:14 espie Exp $
#
# Relevant URLs: http://www.bsdi.com/netscape/
# http://www.fortify.net/
CATEGORIES= www
NEED_VERSION= 1.258
DIST_SUBDIR= netscape
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
# Subdirectory MUST define PROGRAM_V, EMUL_OS and DISTRIBUTION
MASTER_SITES= \
http://wuarchive.wustl.edu/packages/www/Netscape/%SUBDIR%/ \
ftp://netscape.Mirror.McGill.CA/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/ \
ftp://ftp.netscape.com/pub/%SUBDIR%/ \
ftp://uiarchive.uiuc.edu/pub/www/netscape/%SUBDIR%/ \
ftp://ftp.the.net/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/ \
ftp://sunsite.doc.ic.ac.uk/packages/netscape/pub/%SUBDIR%/ \
ftp://ftp-de.netscape.com/pub/%SUBDIR%/ \
ftp://ftp.heanet.ie/pub/netscape/%SUBDIR%/ \
ftp://nic.funet.fi/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/ \
ftp://sunsite.tut.fi/pub/Mirror/mirrorsite.netscape.com/pub/%SUBDIR%/
MASTER_SITES0= ftp://ftp.fortify.net/pub/Fortify/ \
ftp://ftp.sunet.se/pub/security/tools/net/Fortify/ \
ftp://ftp.funet.fi/pub/crypt/mirrors/fortify/ \
ftp://ftp.replay.com/pub/crypto/apache/Fortify/ \
ftp://ftp.it.net.au/mirrors/Fortify/
FORTIFY= Fortify-1.4.6-unix-src
DISTFILES= ${DISTNAME}.tar.gz \
${FORTIFY}.tar.gz:0
MASTER_SITE_SUBDIR=communicator/english/${PROGRAM_V}/unix/unsupported/${LOCATION}
OBJMACHINE= "yes"
NO_CDROM= "NOFEE: see http://www.fortify.net/copyright.txt"
NO_CONFIGURE= "No configure scripts"
WRKDIST= ${WRKDIR}
FAKE= Yes
MAINTAINER= brad@openbsd.org
pre-fetch:
.if !defined(NO_WARNINGS)
.if ${MACHINE_ARCH} == "i386"
@echo ""
@echo " WARNING: This application requires a kernel compiled with"
@echo " 'option COMPAT_BSDOS' for proper operation. The"
@echo " GENERIC kernel contains this option."
@echo ""
.endif
.if ${MACHINE_ARCH} == "sparc"
@echo ""
@echo " WARNING: This application requires a kernel compiled with"
@echo " 'option COMPAT_SUNOS' and SunOS shared librarys"
@echo " for proper operation, see compat_sunos(8) for"
@echo " further details. The GENERIC kernel contains"
@echo " this option."
@echo ""
.endif
.endif
MAKE_FLAGS=YACC=yacc
do-build:
@cd ${WRKDIR}/${FORTIFY}/src/common && \
env ${MAKE_ENV} make ${MAKE_FLAGS} ${MAKEFILE} all && \
cd ${WRKDIR}/${FORTIFY}/src/cmdline && \
env ${MAKE_ENV} make ${MAKE_FLAGS} ${MAKEFILE} fortify
do-install:
@cd ${WRKDIR}/${DIRNAME} && ${MAKE_ENV} ./ns-install
post-install:
.if ${MACHINE_ARCH} == "sparc"
@cp ${PREFIX}/netscape/netscape ${PREFIX}/netscape/netscape_nis
@cp ${PREFIX}/netscape/netscape_dns ${PREFIX}/netscape/netscape
@rm -f ${PREFIX}/netscape/netscape_dns
.endif
@cd ${WRKDIR}/${FORTIFY} && \
ln -sf languages/English Messages && \
{ echo yes ; echo no ; echo no; } \
| src/cmdline/fortify >/dev/null ${PREFIX}/netscape/netscape
.if ${MACHINE_ARCH} == "sparc"
@cd ${WRKDIR}/${FORTIFY} && \
{ echo yes ; echo no ; echo no; } \
| src/cmdline/fortify >/dev/null ${PREFIX}/netscape/netscape_nis
.endif
@sed -e 's#@netscape_home@#${TRUEPREFIX}/netscape#' \
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
@if [ -f ${PREFIX}/bin/netscape ]; then \
mv ${PREFIX}/bin/netscape ${PREFIX}/bin/netscape.old; \
fi
${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin

View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/04/09 15:50:15 espie Exp $
ONLY_FOR_ARCHS= sparc
NEED_VERSION= 1.121
PROGRAM_V= 4.61
V2:=${PROGRAM_V:S/.//}
DISTNAME= communicator-v${V2}-export.sparc-sun-sunos4.1.3_U1
LOCATION= sunos413/complete_install
DIRNAME= communicator-v${V2}.sparc-sun-sunos4.1.3_U1
PKGNAME= communicator-${PROGRAM_V}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (netscape/Fortify-1.4.6-unix-src.tar.gz) = 129ab43043a62e7494b991ab5182c1f8
MD5 (netscape/communicator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = 26d2944a58d6fa8c73ff5a4a2f3d7258
RMD160 (netscape/Fortify-1.4.6-unix-src.tar.gz) = ac85a7993c100c7584c35e61be4e8ae0a72d1949
RMD160 (netscape/communicator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = 09c948f655c62ee04c1dce885917cfc93e856f53
SHA1 (netscape/Fortify-1.4.6-unix-src.tar.gz) = a1debcb3c7d2d5dbb9f638b7713bc2544dcea3cd
SHA1 (netscape/communicator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = a0d44122101972df47b4f6605c3c7fbca5e71270

View File

@ -0,0 +1,10 @@
#!/bin/sh
# $OpenBSD: netscape.sparc,v 1.1.1.1 2000/04/09 15:50:16 espie Exp $
#
# Wrapper for the fortified Netscape navigator program.
XKEYSYMDB=@netscape_home@
XNLSPATH=@netscape_home@/nls
MOZILLA_HOME=@netscape_home@
export XKEYSYMDB XNLSPATH MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- communicator-v461.sparc-sun-sunos4.1.3_U1/ns-install.orig Wed May 5 14:18:29 1999
+++ communicator-v461.sparc-sun-sunos4.1.3_U1/ns-install Thu May 20 16:27:26 1999
@@ -84,22 +84,10 @@
exit 1
fi
#
+# We use OpenBSD's ports environment instead.
#
-# If MOZILLA_HOME is set, assume that is the place to install.
-# Otherwise, make an educated guess at the "right" default
-# directory.
-#
-if test ! -z "${MOZILLA_HOME}"
-then
- INSTALL_DIR="${MOZILLA_HOME}"
-else
- if test -d /opt
- then
- INSTALL_DIR="/opt/netscape"
- else
- INSTALL_DIR="/usr/local/netscape"
- fi
-fi
+INSTALL_DIR="${PREFIX}/netscape"
+
#
#
# See if we have to use the lame SYS-V echo command flags.
@@ -137,63 +125,22 @@
fi
done
#
-echo ""
-echo "Please specify the directory path under which the software will be"
-echo "installed. The default directory is ${INSTALL_DIR}, but you may"
-echo "install anywhere you wish (if you have permission to do so)."
-echo ""
flag=1
while test ${flag} -eq 1
do
- ${ECHO} "Location for ${PRODUCT} software [${INSTALL_DIR}]: ${ENDER}"
- read TARGET
- if test -z "${TARGET}"
- then
- TARGET="${INSTALL_DIR}"
- fi
- if test ! -z "`echo ${TARGET} | grep '~'`"
- then
- TARGET=`echo ${TARGET} | sed "s:~:${HOME}:"`
- fi
-#
+ TARGET="${INSTALL_DIR}"
+
flag=0
if test ! -d ${TARGET}
then
- echo ""
- ${ECHO} "${TARGET}: No such directory. Do you wish to create it? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
- then
- flag=1
- else
- #
- # The -p flag may cause an error on some HP-UX systems.
- # Removing the -p will work for 'basename TARGET' as long
- # as 'dirname TARGET' exists.
- #
- mkdir -p ${TARGET}
- if test $? -ne 0
- then
- echo "ERROR: Problem creating ${TARGET}"
- exit 2
- fi
- fi
- else
- echo ""
- echo "Existing '${TARGET}' directory found."
- echo ""
- echo "The existing contents may be modified or replaced if you install in"
- echo "this directory. If you choose not to install in '${TARGET}',"
- echo "you will be prompted for a different directory."
- echo ""
- ${ECHO} "Do you wish to install in '${TARGET}'? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
+ mkdir -p ${TARGET}
+ if test $? -ne 0
then
- flag=1
+ echo "ERROR: Problem creating ${TARGET}"
+ exit 2
fi
fi
-#
+
if test ${flag} -eq 0
then
(echo "Write test." 2>/dev/null > ${TARGET}/${TESTFILE}) 2>/dev/null
@@ -217,13 +164,6 @@
echo ""
echo "Installing ${PRODUCT} files..."
#
-#
-# Make a list of the files in this package, so we can check for
-# existing files with the same names and save them.
-#
-FILELIST="`${GZIP} -dc ${PACKAGE} | tar -tvf - | awk '{print $NF}'`"
-#
-#
# Keep a log of this installation for reference.
#
LOGFILE="ns-install.log-$$"
@@ -231,30 +171,6 @@
echo "Files installed:" >> ${LOGFILE}
echo "================" >> ${LOGFILE}
#
-#
-# Check for existing files and move them out of the way.
-#
-if test -d ${TARGET}/java/classes
-then
- echo " ==> moving existing '${TARGET}/java/classes' to '${TARGET}/java/classes.old'"; \
- /bin/rm -rf ${TARGET}/java/classes.old
- mv ${TARGET}/java/classes ${TARGET}/java/classes.old
-fi
-for i in ${FILELIST}
-do
- echo "${i}" >> ${LOGFILE}
- if test ! -d ${TARGET}/${i}
- then
- (cd ${TARGET}; \
- /bin/rm -f ${i}.old; \
- if test -f ${i}; then \
- echo " ==> moving existing '${TARGET}/${i}' to '${TARGET}/${i}.old'"; \
- mv ${i} ${i}.old; \
- fi)
- fi
-done
-#
-#
# Actually install the package in TARGET.
#
${GZIP} -dc ${PACKAGE} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
@@ -269,33 +185,28 @@
then
echo ""
echo "Installing ${PRODUCT} Java files..."
+ /bin/rm -rf ${TARGET}/java
if test ! -d ${TARGET}/java/classes
then
(cd ${TARGET}; mkdir -p java/classes)
fi
for i in *.jar
do
- if test -f ${TARGET}/java/classes/${i}
- then
- echo " ==> moving existing '${TARGET}/java/classes/${i}' to '${TARGET}/java/classes/${i}.old'"
- /bin/rm -f ${TARGET}/java/classes/${i}.old
- mv ${TARGET}/java/classes/${i} ${TARGET}/java/classes/${i}.old
- fi
tar -cf - ${i} | (cd ${TARGET}/java/classes; tar -xf -)
echo "${i}" >> ${LOGFILE}
- /bin/rm -f ${TARGET}/${i} ./${i}
+ /bin/rm -f ${TARGET}/${i}
echo "${i},${BLDVERS},${TARGET}/java/classes" >> ${REG_INFILE}
done
-#
+
#
# Try to properly deal with the font.properties files, to hopefully
# avoid users having to set MOZILLA_JAVA_FONT_PROPERTY_PATH, or
# just assuming Java font-handling is broken.
#
- if test ! -z "`ls /bin/uname`"
+ if test ! -z "`ls /usr/bin/uname`"
then
MOVE_FONTS="TRUE"
- case `/bin/uname` in
+ case `/usr/bin/uname` in
AIX)
PLATFORM="aix"
;;
@@ -317,19 +228,6 @@
mv ${TARGET}/java/classes/${PLATFORM}/* ${TARGET}/java/classes/.
fi
fi
-#
- #
- # 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
- chmod 644 ${HOME}/.netscape/bookmarks.html
- echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
- fi
fi
#
echo ""
@@ -356,7 +254,6 @@
esac
${GZIP} -dc ${pkg} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
echo "${pkg},${BLDVERS},${TARGET}" >> ${REG_INFILE}
- /bin/rm -f ${pkg}
done
#
#
@@ -374,20 +271,7 @@
#
# Install the vreg binary in the TARGET directory.
#
-if test -f ${TARGET}/vreg
-then
- /bin/rm -f ${TARGET}/vreg.old
- mv ${TARGET}/vreg ${TARGET}/vreg.old
- # Handle the case where TARGET == . (meaning we just moved the file we just installed).
- if test ! -f ./vreg
- then
- mv ${TARGET}/vreg.old ${TARGET}/vreg
- else
- mv ./vreg ${TARGET}/vreg
- fi
-else
- mv ./vreg ${TARGET}/vreg
-fi
+cp ./vreg ${TARGET}/vreg
#
#
# Register the product so Automatic Software Download can work.
@@ -413,7 +297,6 @@
awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
echo " ${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
echo ""
- /bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
exit 3
fi
#
@@ -422,11 +305,6 @@
echo "The Netscape ${PRODUCT} software installation is complete."
echo ""
echo ""
-#
-#
-# Get rid of the trash.
-#
-/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE}
#
echo ""
exit 0

View File

@ -0,0 +1 @@
Netscape Communicator WWW browser with 128-bit encryption

View File

@ -0,0 +1,19 @@
Netscape Communicator 4.61, fortified
----------------------------------------------
Release notes for this version of Netscape are available on-line. After
starting the program, select "Release Notes" from the "Help" menu. This
will take you to the URL
http://home.netscape.com/eng/mozilla/4.61/relnotes/unix-4.61.html
which lists new features and known problems of this release.
This version of Netscape has been modified for OpenBSD using Fortify,
a program that provides world-wide, unconditional, full strength
128-bit cryptography to export-crippled Netscape browsers.
SPARC NOTICE
------------
Use of this port requires a kernel compiled with 'option COMPAT_SUNOS'

View File

@ -0,0 +1,148 @@
@pkgcfl navigator-*
netscape/README
netscape/LICENSE
netscape/netscape
netscape/netscape_nis
netscape/Netscape.ad
netscape/XKeysymDB
netscape/bookmark.htm
netscape/libjsd.so.1.0
netscape/movemail
netscape/dynfonts/libTrueDoc.so
netscape/nls/C
netscape/nls/nls.dir
netscape/java/classes/resource.jar
netscape/java/classes/ifc11.jar
netscape/java/classes/iiop10.jar
netscape/java/classes/jae40.jar
netscape/java/classes/java40.jar
netscape/java/classes/jio40.jar
netscape/java/classes/jsd10.jar
netscape/java/classes/ldap30.jar
netscape/java/classes/scd10.jar
netscape/movemail-src/COPYING
netscape/movemail-src/README
netscape/movemail-src/movemail.c
netscape/nethelp/Back_dep.gif
netscape/nethelp/Topic.js
netscape/nethelp/System.js
netscape/nethelp/Stack.js
netscape/nethelp/Local-1.js
netscape/nethelp/IdxData.js
netscape/nethelp/Header.js
netscape/nethelp/CntTool.js
netscape/nethelp/CntData.js
netscape/nethelp/Button.js
netscape/nethelp/ToolUI.htm
netscape/nethelp/System.htm
netscape/nethelp/Status.htm
netscape/nethelp/NoJSerr.htm
netscape/nethelp/NavUI.htm
netscape/nethelp/NSHIfrm.htm
netscape/nethelp/IdxTopic.htm
netscape/nethelp/IdxTool.htm
netscape/nethelp/IdxKey.htm
netscape/nethelp/IdxFill.htm
netscape/nethelp/CntTool.htm
netscape/nethelp/Blank.htm
netscape/nethelp/Wait.gif
netscape/nethelp/Tool_up.gif
netscape/nethelp/Tool_sel.gif
netscape/nethelp/Tool_dep.gif
netscape/nethelp/Prnt_up.gif
netscape/nethelp/Prnt_sel.gif
netscape/nethelp/Prnt_dep.gif
netscape/nethelp/Forw_up.gif
netscape/nethelp/Forw_sel.gif
netscape/nethelp/Forw_dis.gif
netscape/nethelp/Forw_dep.gif
netscape/nethelp/Exit_up.gif
netscape/nethelp/Exit_sel.gif
netscape/nethelp/Exit_dep.gif
netscape/nethelp/Back_up.gif
netscape/nethelp/Back_sel.gif
netscape/nethelp/Back_dis.gif
netscape/nethelp/Utility.js
netscape/nethelp/netwatch.gif
netscape/nethelp/picsfail.htm
netscape/nethelp/picsfail.jar
netscape/nethelp/netscape/collabra/collabra.gif
netscape/nethelp/netscape/collabra/discgrps.gif
netscape/nethelp/netscape/collabra/mailbox2.gif
netscape/nethelp/netscape/collabra/coll.htm
netscape/nethelp/netscape/collabra/collHdr.htm
netscape/nethelp/netscape/collabra/help.hpf
netscape/nethelp/netscape/composer/composer.gif
netscape/nethelp/netscape/composer/comtlbr2.gif
netscape/nethelp/netscape/composer/fmtlbr3.gif
netscape/nethelp/netscape/composer/tagicon2.gif
netscape/nethelp/netscape/composer/comp.htm
netscape/nethelp/netscape/composer/compHdr.htm
netscape/nethelp/netscape/composer/help.hpf
netscape/nethelp/netscape/home/home.gif
netscape/nethelp/netscape/home/home.htm
netscape/nethelp/netscape/home/homeHdr.htm
netscape/nethelp/netscape/home/help.hpf
netscape/nethelp/netscape/messengr/abook.gif
netscape/nethelp/netscape/messengr/compbar.gif
netscape/nethelp/netscape/messengr/mailbox.gif
netscape/nethelp/netscape/messengr/mailbox2.gif
netscape/nethelp/netscape/messengr/messengr.gif
netscape/nethelp/netscape/messengr/mpctrl.gif
netscape/nethelp/netscape/messengr/newsgrp.gif
netscape/nethelp/netscape/messengr/tabs.gif
netscape/nethelp/netscape/messengr/mess.htm
netscape/nethelp/netscape/messengr/messHdr.htm
netscape/nethelp/netscape/messengr/help.hpf
netscape/nethelp/netscape/navigatr/navigatr.gif
netscape/nethelp/netscape/navigatr/nav.htm
netscape/nethelp/netscape/navigatr/navHdr.htm
netscape/nethelp/netscape/navigatr/help.hpf
netscape/nethelp/netscape/news/abook.gif
netscape/nethelp/netscape/news/collabra.gif
netscape/nethelp/netscape/news/compbar.gif
netscape/nethelp/netscape/news/discgrps.gif
netscape/nethelp/netscape/news/mailbox2.gif
netscape/nethelp/netscape/news/newsgrp.gif
netscape/nethelp/netscape/news/news.htm
netscape/nethelp/netscape/news/help.hpf
netscape/nethelp/netscape/shared/collIcon.gif
netscape/nethelp/netscape/shared/commIcon.gif
netscape/nethelp/netscape/shared/navIcon.gif
netscape/nethelp/netscape/shared/netIcon.gif
netscape/nethelp/netscape/shared/NetHelpm.css
netscape/nethelp/netscape/shared/NetHelpu.css
netscape/nethelp/netscape/shared/NetHelpw.css
netscape/nethelp/netscape/shared/calIcon.gif
netscape/nethelp/netscape/shared/admnIcon.gif
netscape/nethelp/netscape/shared/compIcon.gif
netscape/nethelp/netscape/shared/confIcon.gif
netscape/nethelp/netscape/shared/ibmIcon.gif
netscape/nethelp/netscape/shared/messIcon.gif
netscape/nethelp/netscape/trouble/trouble.htm
netscape/nethelp/netscape/trouble/help.hpf
netscape/plugins/cpPack1.jar
netscape/plugins/libnullplugin.so
netscape/spell/netscape.dic
netscape/spell/pen4s324.dat
netscape/vreg
netscape/registry
bin/netscape
@dirrm netscape/dynfonts
@dirrm netscape/spell
@dirrm netscape/plugins
@dirrm netscape/movemail-src
@dirrm netscape/nethelp/netscape/composer
@dirrm netscape/nethelp/netscape/messengr
@dirrm netscape/nethelp/netscape/collabra
@dirrm netscape/nethelp/netscape/news
@dirrm netscape/nethelp/netscape/trouble
@dirrm netscape/nethelp/netscape/shared
@dirrm netscape/nethelp/netscape/navigatr
@dirrm netscape/nethelp/netscape/home
@dirrm netscape/nethelp/netscape
@dirrm netscape/nethelp
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape/nls
@dirrm netscape

View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/04/09 15:50:14 espie Exp $
ONLY_FOR_ARCHS= i386
NEED_VERSION= 1.121
PROGRAM_V= 4.7
V2:=${PROGRAM_V:S/.//}
DISTNAME= communicator-v${V2}-export.x86-bsdi-bsd2
LOCATION= bsdi21/complete_install
DIRNAME= communicator-v${V2}.x86-bsdi-bsd2
PKGNAME= communicator-${PROGRAM_V}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (netscape/Fortify-1.4.6-unix-src.tar.gz) = 129ab43043a62e7494b991ab5182c1f8
MD5 (netscape/communicator-v47-export.x86-bsdi-bsd2.tar.gz) = 3d96e672ce3942bb56d72c03c542307a
RMD160 (netscape/Fortify-1.4.6-unix-src.tar.gz) = ac85a7993c100c7584c35e61be4e8ae0a72d1949
RMD160 (netscape/communicator-v47-export.x86-bsdi-bsd2.tar.gz) = ac52ebf28a716cb0d19d18b8c71da9e53e0fdfd3
SHA1 (netscape/Fortify-1.4.6-unix-src.tar.gz) = a1debcb3c7d2d5dbb9f638b7713bc2544dcea3cd
SHA1 (netscape/communicator-v47-export.x86-bsdi-bsd2.tar.gz) = dccd1e50a5160316aa2e9afcc1c7dd775ac84410

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2000/04/09 15:50:15 espie Exp $
#
# Wrapper for the fortified Netscape navigator program.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- communicator-v47.x86-bsdi-bsd2/ns-install.orig Thu Sep 16 19:59:00 1999
+++ communicator-v47.x86-bsdi-bsd2/ns-install Sun Apr 9 17:32:07 2000
@@ -84,22 +84,10 @@ then
exit 1
fi
#
+# We use OpenBSD's ports environment instead.
#
-# If MOZILLA_HOME is set, assume that is the place to install.
-# Otherwise, make an educated guess at the "right" default
-# directory.
-#
-if test ! -z "${MOZILLA_HOME}"
-then
- INSTALL_DIR="${MOZILLA_HOME}"
-else
- if test -d /opt
- then
- INSTALL_DIR="/opt/netscape"
- else
- INSTALL_DIR="/usr/local/netscape"
- fi
-fi
+INSTALL_DIR="${PREFIX}/netscape"
+
#
#
# See if we have to use the lame SYS-V echo command flags.
@@ -137,63 +125,22 @@ do
fi
done
#
-echo ""
-echo "Please specify the directory path under which the software will be"
-echo "installed. The default directory is ${INSTALL_DIR}, but you may"
-echo "install anywhere you wish (if you have permission to do so)."
-echo ""
flag=1
while test ${flag} -eq 1
do
- ${ECHO} "Location for ${PRODUCT} software [${INSTALL_DIR}]: ${ENDER}"
- read TARGET
- if test -z "${TARGET}"
- then
- TARGET="${INSTALL_DIR}"
- fi
- if test ! -z "`echo ${TARGET} | grep '~'`"
- then
- TARGET=`echo ${TARGET} | sed "s:~:${HOME}:"`
- fi
-#
+ TARGET="${INSTALL_DIR}"
+
flag=0
if test ! -d ${TARGET}
then
- echo ""
- ${ECHO} "${TARGET}: No such directory. Do you wish to create it? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
- then
- flag=1
- else
- #
- # The -p flag may cause an error on some HP-UX systems.
- # Removing the -p will work for 'basename TARGET' as long
- # as 'dirname TARGET' exists.
- #
- mkdir -p ${TARGET}
- if test $? -ne 0
- then
- echo "ERROR: Problem creating ${TARGET}"
- exit 2
- fi
- fi
- else
- echo ""
- echo "Existing '${TARGET}' directory found."
- echo ""
- echo "The existing contents may be modified or replaced if you install in"
- echo "this directory. If you choose not to install in '${TARGET}',"
- echo "you will be prompted for a different directory."
- echo ""
- ${ECHO} "Do you wish to install in '${TARGET}'? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
+ mkdir -p ${TARGET}
+ if test $? -ne 0
then
- flag=1
+ echo "ERROR: Problem creating ${TARGET}"
+ exit 2
fi
fi
-#
+
if test ${flag} -eq 0
then
(echo "Write test." 2>/dev/null > ${TARGET}/${TESTFILE}) 2>/dev/null
@@ -217,13 +164,6 @@ echo ""
echo ""
echo "Installing ${PRODUCT} files..."
#
-#
-# Make a list of the files in this package, so we can check for
-# existing files with the same names and save them.
-#
-FILELIST="`${GZIP} -dc ${PACKAGE} | tar -tvf - | awk '{print $NF}'`"
-#
-#
# Keep a log of this installation for reference.
#
LOGFILE="ns-install.log-$$"
@@ -231,30 +171,6 @@ date > ${LOGFILE}
echo "Files installed:" >> ${LOGFILE}
echo "================" >> ${LOGFILE}
#
-#
-# Check for existing files and move them out of the way.
-#
-if test -d ${TARGET}/java/classes
-then
- echo " ==> moving existing '${TARGET}/java/classes' to '${TARGET}/java/classes.old'"; \
- /bin/rm -rf ${TARGET}/java/classes.old
- mv ${TARGET}/java/classes ${TARGET}/java/classes.old
-fi
-for i in ${FILELIST}
-do
- echo "${i}" >> ${LOGFILE}
- if test ! -d ${TARGET}/${i}
- then
- (cd ${TARGET}; \
- /bin/rm -f ${i}.old; \
- if test -f ${i}; then \
- echo " ==> moving existing '${TARGET}/${i}' to '${TARGET}/${i}.old'"; \
- mv ${i} ${i}.old; \
- fi)
- fi
-done
-#
-#
# Actually install the package in TARGET.
#
${GZIP} -dc ${PACKAGE} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
@@ -269,33 +185,28 @@ if test "${PRODUCT}" = "Communicator" -o
then
echo ""
echo "Installing ${PRODUCT} Java files..."
+ /bin/rm -rf ${TARGET}/java
if test ! -d ${TARGET}/java/classes
then
(cd ${TARGET}; mkdir -p java/classes)
fi
for i in *.jar
do
- if test -f ${TARGET}/java/classes/${i}
- then
- echo " ==> moving existing '${TARGET}/java/classes/${i}' to '${TARGET}/java/classes/${i}.old'"
- /bin/rm -f ${TARGET}/java/classes/${i}.old
- mv ${TARGET}/java/classes/${i} ${TARGET}/java/classes/${i}.old
- fi
tar -cf - ${i} | (cd ${TARGET}/java/classes; tar -xf -)
echo "${i}" >> ${LOGFILE}
- /bin/rm -f ${TARGET}/${i} ./${i}
+ /bin/rm -f ${TARGET}/${i}
echo "${i},${BLDVERS},${TARGET}/java/classes" >> ${REG_INFILE}
done
-#
+
#
# Try to properly deal with the font.properties files, to hopefully
# avoid users having to set MOZILLA_JAVA_FONT_PROPERTY_PATH, or
# just assuming Java font-handling is broken.
#
- if test ! -z "`ls /bin/uname`"
+ if test ! -z "`ls /usr/bin/uname`"
then
MOVE_FONTS="TRUE"
- case `/bin/uname` in
+ case `/usr/bin/uname` in
AIX)
PLATFORM="aix"
;;
@@ -317,19 +228,6 @@ then
mv ${TARGET}/java/classes/${PLATFORM}/* ${TARGET}/java/classes/.
fi
fi
-#
- #
- # 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
- chmod 644 ${HOME}/.netscape/bookmarks.html
- echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
- fi
fi
#
echo ""
@@ -356,7 +254,6 @@ do
esac
${GZIP} -dc ${pkg} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
echo "${pkg},${BLDVERS},${TARGET}" >> ${REG_INFILE}
- /bin/rm -f ${pkg}
done
#
#
@@ -374,20 +271,7 @@ fi
#
# Install the vreg binary in the TARGET directory.
#
-if test -f ${TARGET}/vreg
-then
- /bin/rm -f ${TARGET}/vreg.old
- mv ${TARGET}/vreg ${TARGET}/vreg.old
- # Handle the case where TARGET == . (meaning we just moved the file we just installed).
- if test ! -f ./vreg
- then
- mv ${TARGET}/vreg.old ${TARGET}/vreg
- else
- mv ./vreg ${TARGET}/vreg
- fi
-else
- mv ./vreg ${TARGET}/vreg
-fi
+cp ./vreg ${TARGET}/vreg
#
#
# Register the product so Automatic Software Download can work.
@@ -413,7 +297,6 @@ then
awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
echo " ${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
echo ""
- /bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
exit 3
fi
#
@@ -422,11 +305,6 @@ echo ""
echo "The Netscape ${PRODUCT} software installation is complete."
echo ""
echo ""
-#
-#
-# Get rid of the trash.
-#
-/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE}
#
echo ""
exit 0

View File

@ -0,0 +1 @@
Netscape Communicator WWW browser with 128-bit encryption

View File

@ -0,0 +1,19 @@
Netscape Communicator 4.7, fortified
----------------------------------------------
Release notes for this version of Netscape are available on-line. After
starting the program, select "Release Notes" from the "Help" menu. This
will take you to the URL
http://home.netscape.com/eng/mozilla/4.7/relnotes/unix-4.7.html
which lists new features and known problems of this release.
This version of Netscape has been modified for OpenBSD using Fortify,
a program that provides world-wide, unconditional, full strength
128-bit cryptography to export-crippled Netscape browsers.
i386 NOTICE
-----------
Use of this port requires a kernel compiled with 'option COMPAT_BSDOS'

View File

@ -0,0 +1,144 @@
@pkgcfl navigator-*
bin/netscape
netscape/LICENSE
netscape/Netscape.ad
netscape/README
netscape/XKeysymDB
netscape/bookmark.htm
netscape/java/classes/ifc11.jar
netscape/java/classes/iiop10.jar
netscape/java/classes/jae40.jar
netscape/java/classes/java40.jar
netscape/java/classes/jio40.jar
netscape/java/classes/joptio40.jar
netscape/java/classes/jsd10.jar
netscape/java/classes/ldap30.jar
netscape/java/classes/resource.jar
netscape/java/classes/scd10.jar
netscape/movemail
netscape/movemail-src/COPYING
netscape/movemail-src/README
netscape/movemail-src/movemail.c
netscape/nethelp/Back_dep.gif
netscape/nethelp/Back_dis.gif
netscape/nethelp/Back_sel.gif
netscape/nethelp/Back_up.gif
netscape/nethelp/Blank.htm
netscape/nethelp/Button.js
netscape/nethelp/CntData.js
netscape/nethelp/CntTool.htm
netscape/nethelp/CntTool.js
netscape/nethelp/Exit_dep.gif
netscape/nethelp/Exit_sel.gif
netscape/nethelp/Exit_up.gif
netscape/nethelp/Forw_dep.gif
netscape/nethelp/Forw_dis.gif
netscape/nethelp/Forw_sel.gif
netscape/nethelp/Forw_up.gif
netscape/nethelp/Header.js
netscape/nethelp/IdxData.js
netscape/nethelp/IdxFill.htm
netscape/nethelp/IdxKey.htm
netscape/nethelp/IdxTool.htm
netscape/nethelp/IdxTopic.htm
netscape/nethelp/Local-1.js
netscape/nethelp/NSHIfrm.htm
netscape/nethelp/NavUI.htm
netscape/nethelp/NoJSerr.htm
netscape/nethelp/Prnt_dep.gif
netscape/nethelp/Prnt_sel.gif
netscape/nethelp/Prnt_up.gif
netscape/nethelp/Stack.js
netscape/nethelp/Status.htm
netscape/nethelp/System.htm
netscape/nethelp/System.js
netscape/nethelp/ToolUI.htm
netscape/nethelp/Tool_dep.gif
netscape/nethelp/Tool_sel.gif
netscape/nethelp/Tool_up.gif
netscape/nethelp/Topic.js
netscape/nethelp/Utility.js
netscape/nethelp/Wait.gif
netscape/nethelp/netscape/collabra/coll.htm
netscape/nethelp/netscape/collabra/collHdr.htm
netscape/nethelp/netscape/collabra/collabra.gif
netscape/nethelp/netscape/collabra/discgrps.gif
netscape/nethelp/netscape/collabra/help.hpf
netscape/nethelp/netscape/collabra/mailbox2.gif
netscape/nethelp/netscape/composer/comp.htm
netscape/nethelp/netscape/composer/compHdr.htm
netscape/nethelp/netscape/composer/composer.gif
netscape/nethelp/netscape/composer/comtlbr2.gif
netscape/nethelp/netscape/composer/fmtlbr3.gif
netscape/nethelp/netscape/composer/help.hpf
netscape/nethelp/netscape/composer/tagicon2.gif
netscape/nethelp/netscape/home/help.hpf
netscape/nethelp/netscape/home/home.gif
netscape/nethelp/netscape/home/home.htm
netscape/nethelp/netscape/home/homeHdr.htm
netscape/nethelp/netscape/messengr/abook.gif
netscape/nethelp/netscape/messengr/compbar.gif
netscape/nethelp/netscape/messengr/help.hpf
netscape/nethelp/netscape/messengr/mailbox.gif
netscape/nethelp/netscape/messengr/mailbox2.gif
netscape/nethelp/netscape/messengr/mess.htm
netscape/nethelp/netscape/messengr/messHdr.htm
netscape/nethelp/netscape/messengr/messengr.gif
netscape/nethelp/netscape/messengr/mpctrl.gif
netscape/nethelp/netscape/messengr/newsgrp.gif
netscape/nethelp/netscape/messengr/tabs.gif
netscape/nethelp/netscape/navigatr/help.hpf
netscape/nethelp/netscape/navigatr/nav.htm
netscape/nethelp/netscape/navigatr/navHdr.htm
netscape/nethelp/netscape/navigatr/navigatr.gif
netscape/nethelp/netscape/news/abook.gif
netscape/nethelp/netscape/news/collabra.gif
netscape/nethelp/netscape/news/compbar.gif
netscape/nethelp/netscape/news/discgrps.gif
netscape/nethelp/netscape/news/help.hpf
netscape/nethelp/netscape/news/mailbox2.gif
netscape/nethelp/netscape/news/news.htm
netscape/nethelp/netscape/news/newsgrp.gif
netscape/nethelp/netscape/shared/NetHelpm.css
netscape/nethelp/netscape/shared/NetHelpu.css
netscape/nethelp/netscape/shared/NetHelpw.css
netscape/nethelp/netscape/shared/admnIcon.gif
netscape/nethelp/netscape/shared/calIcon.gif
netscape/nethelp/netscape/shared/collIcon.gif
netscape/nethelp/netscape/shared/commIcon.gif
netscape/nethelp/netscape/shared/compIcon.gif
netscape/nethelp/netscape/shared/confIcon.gif
netscape/nethelp/netscape/shared/ibmIcon.gif
netscape/nethelp/netscape/shared/messIcon.gif
netscape/nethelp/netscape/shared/navIcon.gif
netscape/nethelp/netscape/shared/netIcon.gif
netscape/nethelp/netscape/trouble/help.hpf
netscape/nethelp/netscape/trouble/trouble.htm
netscape/nethelp/netwatch.gif
netscape/nethelp/picsfail.htm
netscape/nethelp/picsfail.jar
netscape/netscape
netscape/nls/C
netscape/nls/nls.dir
netscape/plugins/cpPack1.jar
netscape/registry
netscape/spell/netscape.dic
netscape/spell/pen4s324.dat
netscape/vreg
@dirrm netscape/spell
@dirrm netscape/plugins
@dirrm netscape/nls
@dirrm netscape/nethelp/netscape/trouble
@dirrm netscape/nethelp/netscape/shared
@dirrm netscape/nethelp/netscape/news
@dirrm netscape/nethelp/netscape/navigatr
@dirrm netscape/nethelp/netscape/messengr
@dirrm netscape/nethelp/netscape/home
@dirrm netscape/nethelp/netscape/composer
@dirrm netscape/nethelp/netscape/collabra
@dirrm netscape/nethelp/netscape
@dirrm netscape/nethelp
@dirrm netscape/movemail-src
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/04/09 15:50:16 espie Exp $
ONLY_FOR_ARCHS=sparc
PROGRAM_V= 4.61
V2:=${PROGRAM_V:S/.//}
DISTNAME= navigator-v${V2}-export.sparc-sun-sunos4.1.3_U1
LOCATION= sunos413/navigator_standalone
DIRNAME= navigator-v${V2}.sparc-sun-sunos4.1.3_U1
PKGNAME= navigator-${PROGRAM_V}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (netscape/Fortify-1.4.6-unix-src.tar.gz) = 129ab43043a62e7494b991ab5182c1f8
MD5 (netscape/navigator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = a1bc10d5dfce9f36ddae55930d683b6d
RMD160 (netscape/Fortify-1.4.6-unix-src.tar.gz) = ac85a7993c100c7584c35e61be4e8ae0a72d1949
RMD160 (netscape/navigator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = e1c7d65f8b173db6332e18c01954b1873c2f478f
SHA1 (netscape/Fortify-1.4.6-unix-src.tar.gz) = a1debcb3c7d2d5dbb9f638b7713bc2544dcea3cd
SHA1 (netscape/navigator-v461-export.sparc-sun-sunos4.1.3_U1.tar.gz) = e3264c6611c43395a0b8aa32df586116d0b2edcc

View File

@ -0,0 +1,10 @@
#!/bin/sh
# $OpenBSD: netscape.sparc,v 1.1.1.1 2000/04/09 15:50:16 espie Exp $
#
# Wrapper for the fortified Netscape navigator program.
XKEYSYMDB=@netscape_home@
XNLSPATH=@netscape_home@/nls
MOZILLA_HOME=@netscape_home@
export XKEYSYMDB XNLSPATH MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- navigator-v461.sparc-sun-sunos4.1.3_U1/ns-install.orig Wed May 5 14:31:44 1999
+++ navigator-v461.sparc-sun-sunos4.1.3_U1/ns-install Thu May 20 12:03:01 1999
@@ -84,22 +84,10 @@
exit 1
fi
#
+# We use OpenBSD's ports environment instead.
#
-# If MOZILLA_HOME is set, assume that is the place to install.
-# Otherwise, make an educated guess at the "right" default
-# directory.
-#
-if test ! -z "${MOZILLA_HOME}"
-then
- INSTALL_DIR="${MOZILLA_HOME}"
-else
- if test -d /opt
- then
- INSTALL_DIR="/opt/netscape"
- else
- INSTALL_DIR="/usr/local/netscape"
- fi
-fi
+INSTALL_DIR="${PREFIX}/netscape"
+
#
#
# See if we have to use the lame SYS-V echo command flags.
@@ -137,63 +125,22 @@
fi
done
#
-echo ""
-echo "Please specify the directory path under which the software will be"
-echo "installed. The default directory is ${INSTALL_DIR}, but you may"
-echo "install anywhere you wish (if you have permission to do so)."
-echo ""
flag=1
while test ${flag} -eq 1
do
- ${ECHO} "Location for ${PRODUCT} software [${INSTALL_DIR}]: ${ENDER}"
- read TARGET
- if test -z "${TARGET}"
- then
- TARGET="${INSTALL_DIR}"
- fi
- if test ! -z "`echo ${TARGET} | grep '~'`"
- then
- TARGET=`echo ${TARGET} | sed "s:~:${HOME}:"`
- fi
-#
+ TARGET="${INSTALL_DIR}"
+
flag=0
if test ! -d ${TARGET}
then
- echo ""
- ${ECHO} "${TARGET}: No such directory. Do you wish to create it? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
- then
- flag=1
- else
- #
- # The -p flag may cause an error on some HP-UX systems.
- # Removing the -p will work for 'basename TARGET' as long
- # as 'dirname TARGET' exists.
- #
- mkdir -p ${TARGET}
- if test $? -ne 0
- then
- echo "ERROR: Problem creating ${TARGET}"
- exit 2
- fi
- fi
- else
- echo ""
- echo "Existing '${TARGET}' directory found."
- echo ""
- echo "The existing contents may be modified or replaced if you install in"
- echo "this directory. If you choose not to install in '${TARGET}',"
- echo "you will be prompted for a different directory."
- echo ""
- ${ECHO} "Do you wish to install in '${TARGET}'? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
+ mkdir -p ${TARGET}
+ if test $? -ne 0
then
- flag=1
+ echo "ERROR: Problem creating ${TARGET}"
+ exit 2
fi
fi
-#
+
if test ${flag} -eq 0
then
(echo "Write test." 2>/dev/null > ${TARGET}/${TESTFILE}) 2>/dev/null
@@ -217,13 +164,6 @@
echo ""
echo "Installing ${PRODUCT} files..."
#
-#
-# Make a list of the files in this package, so we can check for
-# existing files with the same names and save them.
-#
-FILELIST="`${GZIP} -dc ${PACKAGE} | tar -tvf - | awk '{print $NF}'`"
-#
-#
# Keep a log of this installation for reference.
#
LOGFILE="ns-install.log-$$"
@@ -231,30 +171,6 @@
echo "Files installed:" >> ${LOGFILE}
echo "================" >> ${LOGFILE}
#
-#
-# Check for existing files and move them out of the way.
-#
-if test -d ${TARGET}/java/classes
-then
- echo " ==> moving existing '${TARGET}/java/classes' to '${TARGET}/java/classes.old'"; \
- /bin/rm -rf ${TARGET}/java/classes.old
- mv ${TARGET}/java/classes ${TARGET}/java/classes.old
-fi
-for i in ${FILELIST}
-do
- echo "${i}" >> ${LOGFILE}
- if test ! -d ${TARGET}/${i}
- then
- (cd ${TARGET}; \
- /bin/rm -f ${i}.old; \
- if test -f ${i}; then \
- echo " ==> moving existing '${TARGET}/${i}' to '${TARGET}/${i}.old'"; \
- mv ${i} ${i}.old; \
- fi)
- fi
-done
-#
-#
# Actually install the package in TARGET.
#
${GZIP} -dc ${PACKAGE} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
@@ -269,33 +185,28 @@
then
echo ""
echo "Installing ${PRODUCT} Java files..."
+ /bin/rm -rf ${TARGET}/java
if test ! -d ${TARGET}/java/classes
then
(cd ${TARGET}; mkdir -p java/classes)
fi
for i in *.jar
do
- if test -f ${TARGET}/java/classes/${i}
- then
- echo " ==> moving existing '${TARGET}/java/classes/${i}' to '${TARGET}/java/classes/${i}.old'"
- /bin/rm -f ${TARGET}/java/classes/${i}.old
- mv ${TARGET}/java/classes/${i} ${TARGET}/java/classes/${i}.old
- fi
tar -cf - ${i} | (cd ${TARGET}/java/classes; tar -xf -)
echo "${i}" >> ${LOGFILE}
- /bin/rm -f ${TARGET}/${i} ./${i}
+ /bin/rm -f ${TARGET}/${i}
echo "${i},${BLDVERS},${TARGET}/java/classes" >> ${REG_INFILE}
done
-#
+
#
# Try to properly deal with the font.properties files, to hopefully
# avoid users having to set MOZILLA_JAVA_FONT_PROPERTY_PATH, or
# just assuming Java font-handling is broken.
#
- if test ! -z "`ls /bin/uname`"
+ if test ! -z "`ls /usr/bin/uname`"
then
MOVE_FONTS="TRUE"
- case `/bin/uname` in
+ case `/usr/bin/uname` in
AIX)
PLATFORM="aix"
;;
@@ -317,19 +228,6 @@
mv ${TARGET}/java/classes/${PLATFORM}/* ${TARGET}/java/classes/.
fi
fi
-#
- #
- # 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
- chmod 644 ${HOME}/.netscape/bookmarks.html
- echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
- fi
fi
#
echo ""
@@ -356,7 +254,6 @@
esac
${GZIP} -dc ${pkg} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
echo "${pkg},${BLDVERS},${TARGET}" >> ${REG_INFILE}
- /bin/rm -f ${pkg}
done
#
#
@@ -374,20 +271,7 @@
#
# Install the vreg binary in the TARGET directory.
#
-if test -f ${TARGET}/vreg
-then
- /bin/rm -f ${TARGET}/vreg.old
- mv ${TARGET}/vreg ${TARGET}/vreg.old
- # Handle the case where TARGET == . (meaning we just moved the file we just installed).
- if test ! -f ./vreg
- then
- mv ${TARGET}/vreg.old ${TARGET}/vreg
- else
- mv ./vreg ${TARGET}/vreg
- fi
-else
- mv ./vreg ${TARGET}/vreg
-fi
+cp ./vreg ${TARGET}/vreg
#
#
# Register the product so Automatic Software Download can work.
@@ -413,7 +297,6 @@
awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
echo " ${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
echo ""
- /bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
exit 3
fi
#
@@ -422,11 +305,6 @@
echo "The Netscape ${PRODUCT} software installation is complete."
echo ""
echo ""
-#
-#
-# Get rid of the trash.
-#
-/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE}
#
echo ""
exit 0

View File

@ -0,0 +1 @@
Netscape Navigator WWW browser with 128-bit encryption

View File

@ -0,0 +1,19 @@
Netscape stand-alone Navigator 4.61, fortified
----------------------------------------------
Release notes for this version of Netscape are available on-line. After
starting the program, select "Release Notes" from the "Help" menu. This
will take you to the URL
http://home.netscape.com/eng/mozilla/4.61/relnotes/unix-4.61.html
which lists new features and known problems of this release.
This version of Netscape has been modified for OpenBSD using Fortify,
a program that provides world-wide, unconditional, full strength
128-bit cryptography to export-crippled Netscape browsers.
SPARC NOTICE
------------
Use of this port requires a kernel compiled with 'option COMPAT_SUNOS'

View File

@ -0,0 +1,102 @@
@pkgcfl communicator-*
netscape/README
netscape/LICENSE
netscape/netscape
@unexec rm -f %D/netscape/netscape.sav
netscape/netscape_nis
@unexec rm -f %D/netscape/netscape_nis.sav
netscape/Netscape.ad
netscape/XKeysymDB
netscape/bookmark.htm
netscape/dynfonts/libTrueDoc.so
netscape/nls/C
netscape/nls/nls.dir
netscape/java/classes/resource.jar
netscape/java/classes/ifc11.jar
netscape/java/classes/iiop10.jar
netscape/java/classes/jae40.jar
netscape/java/classes/java40.jar
netscape/java/classes/jio40.jar
netscape/java/classes/jsd10.jar
netscape/java/classes/ldap30.jar
netscape/java/classes/scd10.jar
netscape/nethelp/Back_dep.gif
netscape/nethelp/Topic.js
netscape/nethelp/System.js
netscape/nethelp/Stack.js
netscape/nethelp/Local-1.js
netscape/nethelp/IdxData.js
netscape/nethelp/Header.js
netscape/nethelp/CntTool.js
netscape/nethelp/CntData.js
netscape/nethelp/Button.js
netscape/nethelp/ToolUI.htm
netscape/nethelp/System.htm
netscape/nethelp/Status.htm
netscape/nethelp/NoJSerr.htm
netscape/nethelp/NavUI.htm
netscape/nethelp/NSHIfrm.htm
netscape/nethelp/IdxTopic.htm
netscape/nethelp/IdxTool.htm
netscape/nethelp/IdxKey.htm
netscape/nethelp/IdxFill.htm
netscape/nethelp/CntTool.htm
netscape/nethelp/Blank.htm
netscape/nethelp/Wait.gif
netscape/nethelp/Tool_up.gif
netscape/nethelp/Tool_sel.gif
netscape/nethelp/Tool_dep.gif
netscape/nethelp/Prnt_up.gif
netscape/nethelp/Prnt_sel.gif
netscape/nethelp/Prnt_dep.gif
netscape/nethelp/Forw_up.gif
netscape/nethelp/Forw_sel.gif
netscape/nethelp/Forw_dis.gif
netscape/nethelp/Forw_dep.gif
netscape/nethelp/Exit_up.gif
netscape/nethelp/Exit_sel.gif
netscape/nethelp/Exit_dep.gif
netscape/nethelp/Back_up.gif
netscape/nethelp/Back_sel.gif
netscape/nethelp/Back_dis.gif
netscape/nethelp/Utility.js
netscape/nethelp/netwatch.gif
netscape/nethelp/picsfail.htm
netscape/nethelp/picsfail.jar
netscape/nethelp/netscape/home/home.gif
netscape/nethelp/netscape/home/home.htm
netscape/nethelp/netscape/home/homeHdr.htm
netscape/nethelp/netscape/home/help.hpf
netscape/nethelp/netscape/navigatr/navigatr.gif
netscape/nethelp/netscape/navigatr/nav.htm
netscape/nethelp/netscape/navigatr/navHdr.htm
netscape/nethelp/netscape/navigatr/help.hpf
netscape/nethelp/netscape/shared/collIcon.gif
netscape/nethelp/netscape/shared/commIcon.gif
netscape/nethelp/netscape/shared/navIcon.gif
netscape/nethelp/netscape/shared/netIcon.gif
netscape/nethelp/netscape/shared/NetHelpm.css
netscape/nethelp/netscape/shared/NetHelpu.css
netscape/nethelp/netscape/shared/NetHelpw.css
netscape/nethelp/netscape/shared/calIcon.gif
netscape/nethelp/netscape/shared/admnIcon.gif
netscape/nethelp/netscape/shared/compIcon.gif
netscape/nethelp/netscape/shared/confIcon.gif
netscape/nethelp/netscape/shared/ibmIcon.gif
netscape/nethelp/netscape/shared/messIcon.gif
netscape/plugins/cpPack1.jar
netscape/plugins/libnullplugin.so
netscape/vreg
netscape/registry
bin/netscape
@dirrm netscape/dynfonts
@dirrm netscape/plugins
@dirrm netscape/nethelp/netscape/shared
@dirrm netscape/nethelp/netscape/navigatr
@dirrm netscape/nethelp/netscape/home
@dirrm netscape/nethelp/netscape
@dirrm netscape/nethelp
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape/nls
@dirrm netscape

View File

@ -0,0 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/04/09 15:50:16 espie Exp $
ONLY_FOR_ARCHS= i386
PROGRAM_V= 4.7
V2:=${PROGRAM_V:S/.//}
DISTNAME= navigator-v${V2}-export.x86-bsdi-bsd2
LOCATION= bsdi21/navigator_standalone
DIRNAME= navigator-v${V2}.x86-bsdi-bsd2
PKGNAME= navigator-${PROGRAM_V}
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
MD5 (netscape/Fortify-1.4.6-unix-src.tar.gz) = 129ab43043a62e7494b991ab5182c1f8
MD5 (netscape/navigator-v47-export.x86-bsdi-bsd2.tar.gz) = bcdb23547b8501445a3862888ee6b297
RMD160 (netscape/Fortify-1.4.6-unix-src.tar.gz) = ac85a7993c100c7584c35e61be4e8ae0a72d1949
RMD160 (netscape/navigator-v47-export.x86-bsdi-bsd2.tar.gz) = ea5abf40f2ec709be9cee618c4d49069545516d3
SHA1 (netscape/Fortify-1.4.6-unix-src.tar.gz) = a1debcb3c7d2d5dbb9f638b7713bc2544dcea3cd
SHA1 (netscape/navigator-v47-export.x86-bsdi-bsd2.tar.gz) = 874a86f4fe930355fd450e1ee72b4f37d358b0a2

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2000/04/09 15:50:16 espie Exp $
#
# Wrapper for the fortified Netscape navigator program.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- navigator-v47.x86-bsdi-bsd2/ns-install.orig Thu Sep 16 20:03:59 1999
+++ navigator-v47.x86-bsdi-bsd2/ns-install Sun Apr 9 17:21:02 2000
@@ -84,22 +84,10 @@ then
exit 1
fi
#
+# We use OpenBSD's ports environment instead.
#
-# If MOZILLA_HOME is set, assume that is the place to install.
-# Otherwise, make an educated guess at the "right" default
-# directory.
-#
-if test ! -z "${MOZILLA_HOME}"
-then
- INSTALL_DIR="${MOZILLA_HOME}"
-else
- if test -d /opt
- then
- INSTALL_DIR="/opt/netscape"
- else
- INSTALL_DIR="/usr/local/netscape"
- fi
-fi
+INSTALL_DIR="${PREFIX}/netscape"
+
#
#
# See if we have to use the lame SYS-V echo command flags.
@@ -137,63 +125,22 @@ do
fi
done
#
-echo ""
-echo "Please specify the directory path under which the software will be"
-echo "installed. The default directory is ${INSTALL_DIR}, but you may"
-echo "install anywhere you wish (if you have permission to do so)."
-echo ""
flag=1
while test ${flag} -eq 1
do
- ${ECHO} "Location for ${PRODUCT} software [${INSTALL_DIR}]: ${ENDER}"
- read TARGET
- if test -z "${TARGET}"
- then
- TARGET="${INSTALL_DIR}"
- fi
- if test ! -z "`echo ${TARGET} | grep '~'`"
- then
- TARGET=`echo ${TARGET} | sed "s:~:${HOME}:"`
- fi
-#
+ TARGET="${INSTALL_DIR}"
+
flag=0
if test ! -d ${TARGET}
then
- echo ""
- ${ECHO} "${TARGET}: No such directory. Do you wish to create it? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
- then
- flag=1
- else
- #
- # The -p flag may cause an error on some HP-UX systems.
- # Removing the -p will work for 'basename TARGET' as long
- # as 'dirname TARGET' exists.
- #
- mkdir -p ${TARGET}
- if test $? -ne 0
- then
- echo "ERROR: Problem creating ${TARGET}"
- exit 2
- fi
- fi
- else
- echo ""
- echo "Existing '${TARGET}' directory found."
- echo ""
- echo "The existing contents may be modified or replaced if you install in"
- echo "this directory. If you choose not to install in '${TARGET}',"
- echo "you will be prompted for a different directory."
- echo ""
- ${ECHO} "Do you wish to install in '${TARGET}'? (y/n)[y] ${ENDER}"
- read check
- if test "${check}" = "n" -o "${check}" = "N"
+ mkdir -p ${TARGET}
+ if test $? -ne 0
then
- flag=1
+ echo "ERROR: Problem creating ${TARGET}"
+ exit 2
fi
fi
-#
+
if test ${flag} -eq 0
then
(echo "Write test." 2>/dev/null > ${TARGET}/${TESTFILE}) 2>/dev/null
@@ -217,13 +164,6 @@ echo ""
echo ""
echo "Installing ${PRODUCT} files..."
#
-#
-# Make a list of the files in this package, so we can check for
-# existing files with the same names and save them.
-#
-FILELIST="`${GZIP} -dc ${PACKAGE} | tar -tvf - | awk '{print $NF}'`"
-#
-#
# Keep a log of this installation for reference.
#
LOGFILE="ns-install.log-$$"
@@ -231,30 +171,6 @@ date > ${LOGFILE}
echo "Files installed:" >> ${LOGFILE}
echo "================" >> ${LOGFILE}
#
-#
-# Check for existing files and move them out of the way.
-#
-if test -d ${TARGET}/java/classes
-then
- echo " ==> moving existing '${TARGET}/java/classes' to '${TARGET}/java/classes.old'"; \
- /bin/rm -rf ${TARGET}/java/classes.old
- mv ${TARGET}/java/classes ${TARGET}/java/classes.old
-fi
-for i in ${FILELIST}
-do
- echo "${i}" >> ${LOGFILE}
- if test ! -d ${TARGET}/${i}
- then
- (cd ${TARGET}; \
- /bin/rm -f ${i}.old; \
- if test -f ${i}; then \
- echo " ==> moving existing '${TARGET}/${i}' to '${TARGET}/${i}.old'"; \
- mv ${i} ${i}.old; \
- fi)
- fi
-done
-#
-#
# Actually install the package in TARGET.
#
${GZIP} -dc ${PACKAGE} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
@@ -269,33 +185,28 @@ if test "${PRODUCT}" = "Communicator" -o
then
echo ""
echo "Installing ${PRODUCT} Java files..."
+ /bin/rm -rf ${TARGET}/java
if test ! -d ${TARGET}/java/classes
then
(cd ${TARGET}; mkdir -p java/classes)
fi
for i in *.jar
do
- if test -f ${TARGET}/java/classes/${i}
- then
- echo " ==> moving existing '${TARGET}/java/classes/${i}' to '${TARGET}/java/classes/${i}.old'"
- /bin/rm -f ${TARGET}/java/classes/${i}.old
- mv ${TARGET}/java/classes/${i} ${TARGET}/java/classes/${i}.old
- fi
tar -cf - ${i} | (cd ${TARGET}/java/classes; tar -xf -)
echo "${i}" >> ${LOGFILE}
- /bin/rm -f ${TARGET}/${i} ./${i}
+ /bin/rm -f ${TARGET}/${i}
echo "${i},${BLDVERS},${TARGET}/java/classes" >> ${REG_INFILE}
done
-#
+
#
# Try to properly deal with the font.properties files, to hopefully
# avoid users having to set MOZILLA_JAVA_FONT_PROPERTY_PATH, or
# just assuming Java font-handling is broken.
#
- if test ! -z "`ls /bin/uname`"
+ if test ! -z "`ls /usr/bin/uname`"
then
MOVE_FONTS="TRUE"
- case `/bin/uname` in
+ case `/usr/bin/uname` in
AIX)
PLATFORM="aix"
;;
@@ -317,19 +228,6 @@ then
mv ${TARGET}/java/classes/${PLATFORM}/* ${TARGET}/java/classes/.
fi
fi
-#
- #
- # 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
- chmod 644 ${HOME}/.netscape/bookmarks.html
- echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
- fi
fi
#
echo ""
@@ -356,7 +254,6 @@ do
esac
${GZIP} -dc ${pkg} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
echo "${pkg},${BLDVERS},${TARGET}" >> ${REG_INFILE}
- /bin/rm -f ${pkg}
done
#
#
@@ -374,20 +271,7 @@ fi
#
# Install the vreg binary in the TARGET directory.
#
-if test -f ${TARGET}/vreg
-then
- /bin/rm -f ${TARGET}/vreg.old
- mv ${TARGET}/vreg ${TARGET}/vreg.old
- # Handle the case where TARGET == . (meaning we just moved the file we just installed).
- if test ! -f ./vreg
- then
- mv ${TARGET}/vreg.old ${TARGET}/vreg
- else
- mv ./vreg ${TARGET}/vreg
- fi
-else
- mv ./vreg ${TARGET}/vreg
-fi
+cp ./vreg ${TARGET}/vreg
#
#
# Register the product so Automatic Software Download can work.
@@ -413,7 +297,6 @@ then
awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
echo " ${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
echo ""
- /bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
exit 3
fi
#
@@ -422,11 +305,6 @@ echo ""
echo "The Netscape ${PRODUCT} software installation is complete."
echo ""
echo ""
-#
-#
-# Get rid of the trash.
-#
-/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE}
#
echo ""
exit 0

View File

@ -0,0 +1 @@
Netscape Navigator WWW browser with 128-bit encryption

View File

@ -0,0 +1,19 @@
Netscape stand-alone Navigator 4.7, fortified
----------------------------------------------
Release notes for this version of Netscape are available on-line. After
starting the program, select "Release Notes" from the "Help" menu. This
will take you to the URL
http://home.netscape.com/eng/mozilla/4.7/relnotes/unix-4.7.html
which lists new features and known problems of this release.
This version of Netscape has been modified for OpenBSD using Fortify,
a program that provides world-wide, unconditional, full strength
128-bit cryptography to export-crippled Netscape browsers.
i386 NOTICE
-----------
Use of this port requires a kernel compiled with 'option COMPAT_BSDOS'

View File

@ -0,0 +1,98 @@
@pkgcfl communicator-*
@unexec rm -f %D/netscape/netscape.sav
bin/netscape
netscape/LICENSE
netscape/Netscape.ad
netscape/README
netscape/XKeysymDB
netscape/bookmark.htm
netscape/java/classes/ifc11.jar
netscape/java/classes/iiop10.jar
netscape/java/classes/jae40.jar
netscape/java/classes/java40.jar
netscape/java/classes/jio40.jar
netscape/java/classes/joptio40.jar
netscape/java/classes/jsd10.jar
netscape/java/classes/ldap30.jar
netscape/java/classes/resource.jar
netscape/java/classes/scd10.jar
netscape/nethelp/Back_dep.gif
netscape/nethelp/Back_dis.gif
netscape/nethelp/Back_sel.gif
netscape/nethelp/Back_up.gif
netscape/nethelp/Blank.htm
netscape/nethelp/Button.js
netscape/nethelp/CntData.js
netscape/nethelp/CntTool.htm
netscape/nethelp/CntTool.js
netscape/nethelp/Exit_dep.gif
netscape/nethelp/Exit_sel.gif
netscape/nethelp/Exit_up.gif
netscape/nethelp/Forw_dep.gif
netscape/nethelp/Forw_dis.gif
netscape/nethelp/Forw_sel.gif
netscape/nethelp/Forw_up.gif
netscape/nethelp/Header.js
netscape/nethelp/IdxData.js
netscape/nethelp/IdxFill.htm
netscape/nethelp/IdxKey.htm
netscape/nethelp/IdxTool.htm
netscape/nethelp/IdxTopic.htm
netscape/nethelp/Local-1.js
netscape/nethelp/NSHIfrm.htm
netscape/nethelp/NavUI.htm
netscape/nethelp/NoJSerr.htm
netscape/nethelp/Prnt_dep.gif
netscape/nethelp/Prnt_sel.gif
netscape/nethelp/Prnt_up.gif
netscape/nethelp/Stack.js
netscape/nethelp/Status.htm
netscape/nethelp/System.htm
netscape/nethelp/System.js
netscape/nethelp/ToolUI.htm
netscape/nethelp/Tool_dep.gif
netscape/nethelp/Tool_sel.gif
netscape/nethelp/Tool_up.gif
netscape/nethelp/Topic.js
netscape/nethelp/Utility.js
netscape/nethelp/Wait.gif
netscape/nethelp/netscape/home/help.hpf
netscape/nethelp/netscape/home/home.gif
netscape/nethelp/netscape/home/home.htm
netscape/nethelp/netscape/home/homeHdr.htm
netscape/nethelp/netscape/navigatr/help.hpf
netscape/nethelp/netscape/navigatr/nav.htm
netscape/nethelp/netscape/navigatr/navHdr.htm
netscape/nethelp/netscape/navigatr/navigatr.gif
netscape/nethelp/netscape/shared/NetHelpm.css
netscape/nethelp/netscape/shared/NetHelpu.css
netscape/nethelp/netscape/shared/NetHelpw.css
netscape/nethelp/netscape/shared/admnIcon.gif
netscape/nethelp/netscape/shared/calIcon.gif
netscape/nethelp/netscape/shared/collIcon.gif
netscape/nethelp/netscape/shared/commIcon.gif
netscape/nethelp/netscape/shared/compIcon.gif
netscape/nethelp/netscape/shared/confIcon.gif
netscape/nethelp/netscape/shared/ibmIcon.gif
netscape/nethelp/netscape/shared/messIcon.gif
netscape/nethelp/netscape/shared/navIcon.gif
netscape/nethelp/netscape/shared/netIcon.gif
netscape/nethelp/netwatch.gif
netscape/nethelp/picsfail.htm
netscape/nethelp/picsfail.jar
netscape/netscape
netscape/nls/C
netscape/nls/nls.dir
netscape/plugins/cpPack1.jar
netscape/registry
netscape/vreg
@dirrm netscape/plugins
@dirrm netscape/nls
@dirrm netscape/nethelp/netscape/shared
@dirrm netscape/nethelp/netscape/navigatr
@dirrm netscape/nethelp/netscape/home
@dirrm netscape/nethelp/netscape
@dirrm netscape/nethelp
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape