Rename navigator-linux

This commit is contained in:
espie 2001-08-24 15:02:56 +00:00
parent 2c70f18cb7
commit fef3510763
6 changed files with 453 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/24 15:02:56 espie Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "Netscape Navigator (linux)"
NEED_VERSION= 1.414
PROGRAM_V= 4.78
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= linux
DISTNAME= navigator-v${V2}-us.x86-unknown-linux2.2
PKGNAME= navigator-linux-${PROGRAM_V}
LOCATION= linux22/navigator_standalone
DIRNAME= navigator-v${V2}.x86-unknown-linux2.2
NO_BUILD= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (netscape/navigator-v478-us.x86-unknown-linux2.2.tar.gz) = 149d5e8a83161b5b12f2faeb7da3c3b1
RMD160 (netscape/navigator-v478-us.x86-unknown-linux2.2.tar.gz) = e3e57b384ed799c729e741e26ffeb1a896a42ebe
SHA1 (netscape/navigator-v478-us.x86-unknown-linux2.2.tar.gz) = 075e7e473eae977bfe95e10be820388842e03006

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2001/08/24 15:02:56 espie Exp $
#
# Wrapper for Netscape Communicator.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- navigator-v478.x86-unknown-linux2.2/ns-install.orig Thu Jul 30 20:10:00 2001
+++ navigator-v478.x86-unknown-linux2.2/ns-install Thu Jul 30 20:21:32 2001
@@ -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 -)
@@ -275,27 +191,21 @@
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 +227,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,13 +253,12 @@
esac
${GZIP} -dc ${pkg} | (cd ${TARGET}; tar -x${TAR_OPTIONS}f -)
echo "${pkg},${BLDVERS},${TARGET}" >> ${REG_INFILE}
- /bin/rm -f ${pkg}
done
#
#
# Make sure libjsd.sl or libjsd.so can be found.
#
-case `/bin/uname` in
+case `/usr/bin/uname` in
HP-UX)
SUFFIX="sl"
;;
@@ -382,20 +278,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.
@@ -421,7 +304,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
#
@@ -430,11 +312,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,13 @@
Netscape stand-alone Navigator 4.77
-----------------------------------
This is the Linux version of Netscape Navigator.
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.75.html
which lists new features and known problems of this release.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,156 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/24 15:02:56 espie Exp $
@pkgcfl communicator-*
@pkgcfl navigator-*
bin/netscape
netscape/LICENSE
netscape/Netscape.ad
netscape/README
netscape/XKeysymDB
netscape/bookmark.htm
netscape/java/classes/aix/font.properties
netscape/java/classes/aix/font.properties.cs
netscape/java/classes/aix/font.properties.hu
netscape/java/classes/aix/font.properties.ja
netscape/java/classes/aix/font.properties.ko
netscape/java/classes/aix/font.properties.pl
netscape/java/classes/aix/font.properties.ru
netscape/java/classes/aix/font.properties.zh
netscape/java/classes/aix/font.properties.zh_TW
netscape/java/classes/awt.properties
netscape/java/classes/font.properties
netscape/java/classes/font.properties.cs
netscape/java/classes/font.properties.el
netscape/java/classes/font.properties.hu
netscape/java/classes/font.properties.ja
netscape/java/classes/font.properties.ko
netscape/java/classes/font.properties.lt
netscape/java/classes/font.properties.lv
netscape/java/classes/font.properties.pl
netscape/java/classes/font.properties.ru
netscape/java/classes/font.properties.tr
netscape/java/classes/font.properties.zh
netscape/java/classes/font.properties.zh_GB2312
netscape/java/classes/font.properties.zh_TW
netscape/java/classes/font.properties.zh_TW_Big5
netscape/java/classes/font.properties.zh_TW_CNS11643
netscape/java/classes/hpux/font.properties
netscape/java/classes/hpux/font.properties.bg
netscape/java/classes/hpux/font.properties.cs
netscape/java/classes/hpux/font.properties.el
netscape/java/classes/hpux/font.properties.hr
netscape/java/classes/hpux/font.properties.hu
netscape/java/classes/hpux/font.properties.ja
netscape/java/classes/hpux/font.properties.ko
netscape/java/classes/hpux/font.properties.pl
netscape/java/classes/hpux/font.properties.ro
netscape/java/classes/hpux/font.properties.ru
netscape/java/classes/hpux/font.properties.sk
netscape/java/classes/hpux/font.properties.sl
netscape/java/classes/hpux/font.properties.tr
netscape/java/classes/hpux/font.properties.zh_GB2312
netscape/java/classes/hpux/font.properties.zh_TW_Big5
netscape/java/classes/hpux/font.properties.zh_TW_CNS11643
netscape/java/classes/ifc11.jar
netscape/java/classes/iiop10.jar
netscape/java/classes/irix/font.properties
netscape/java/classes/irix/font.properties.cs
netscape/java/classes/irix/font.properties.el
netscape/java/classes/irix/font.properties.hu
netscape/java/classes/irix/font.properties.ja
netscape/java/classes/irix/font.properties.ko
netscape/java/classes/irix/font.properties.zh_GB2312
netscape/java/classes/irix/font.properties.zh_TW_Big5
netscape/java/classes/irix/font.properties.zh_TW_CNS11643
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/ldap40.jar
netscape/java/classes/resource.jar
netscape/java/classes/scd10.jar
netscape/libnullplugin-dynMotif.so
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/netscape-dynMotif
netscape/plugins/ShockwaveFlash.class
netscape/plugins/cpPack1.jar
netscape/plugins/libflashplayer.so
netscape/plugins/libnullplugin.so
netscape/registry
netscape/vreg
@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/irix
@dirrm netscape/java/classes/hpux
@dirrm netscape/java/classes/aix
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape