Initial import of Netscape Communicator and Navigator 4.77

for Linux version.
This commit is contained in:
kevlo 2001-06-22 01:37:36 +00:00
parent 3dea5200dc
commit a7d6df2660
14 changed files with 996 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
SUBDIR+= navigator
SUBDIR+= communicator
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile.inc,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
#
# Subdirectory MUST define DIRNAME, LOCATION and PROGRAM_V.
CATEGORIES= www
NEED_VERSION= 1.414
HOMEPAGE= http://www.netscape.com/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
MASTER_SITES= \
ftp://ftp.netscape.com/pub/%SUBDIR%/ \
ftp://uiarchive.uiuc.edu/pub/www/netscape/%SUBDIR%/ \
ftp://netscape.Mirror.McGill.CA/pub/mirrors/ftp.netscape.com/pub/%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://nic.funet.fi/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/
MASTER_SITE_SUBDIR= communicator/english/${PROGRAM_V}/unix/supported/${LOCATION}
DIST_SUBDIR= linux-netscape
RUN_DEPENDS= /emul/linux/lib/ld.so::emulators/redhat_base
WRKDIST= ${WRKDIR}
do-install:
@cd ${WRKDIR}/${DIRNAME} && ${MAKE_ENV} ./ns-install
post-install:
@sed -e 's#@netscape_home@#${TRUEPREFIX}/netscape#' \
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "Linux Netscape Communicator suite"
NEED_VERSION= 1.414
PROGRAM_V= 4.77
V2:= ${PROGRAM_V:S/.//}
DISTNAME= communicator-v${V2}-us.x86-unknown-linux2.2
PKGNAME= linux-communicator-${PROGRAM_V}p1
LOCATION= linux22/complete_install
DIRNAME= communicator-v${V2}.x86-unknown-linux2.2
NO_BUILD= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (linux-netscape/communicator-v477-us.x86-unknown-linux2.2.tar.gz) = d38bbc5593c07b1328d542f1f1141ff0
RMD160 (linux-netscape/communicator-v477-us.x86-unknown-linux2.2.tar.gz) = 0b5f9fba012fd46f4df478e4dc30363b52e9cff9
SHA1 (linux-netscape/communicator-v477-us.x86-unknown-linux2.2.tar.gz) = 17a687c1a4cfb5ee8784943bdfd624313eccc515

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
#
# Wrapper for Netscape Communicator.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- communicator-v477.x86-unknown-linux2.2/ns-install.orig Thu Jun 21 10:52:00 2001
+++ communicator-v477.x86-unknown-linux2.2/ns-install Thu Jun 21 11:01:52 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 Communicator 4.77
--------------------------
This is the Linux version of Netscape Communicator.
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,205 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
@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/lib/libjsd.so
netscape/libjsd.so
netscape/libnullplugin-dynMotif.so
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/netscape-dynMotif
netscape/plugins/ShockwaveFlash.class
netscape/plugins/cpPack1.jar
netscape/plugins/libflashplayer.so
netscape/plugins/libnullplugin.so
netscape/registry
netscape/spell/netscape.dic
netscape/spell/pen4s324.dat
netscape/vreg
@dirrm netscape/spell
@dirrm netscape/plugins
@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/lib
@dirrm netscape/java/classes/irix
@dirrm netscape/java/classes/hpux
@dirrm netscape/java/classes/aix
@dirrm netscape/java/classes
@dirrm netscape/java
@dirrm netscape

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "Linux Netscape Navigator WWW browser"
NEED_VERSION= 1.414
PROGRAM_V= 4.77
V2:= ${PROGRAM_V:S/.//}
DISTNAME= navigator-v${V2}-us.x86-unknown-linux2.2
PKGNAME= linux-navigator-${PROGRAM_V}p1
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 (linux-netscape/navigator-v477-us.x86-unknown-linux2.2.tar.gz) = 694b3fc127737e8ac8b1d800b68d0282
RMD160 (linux-netscape/navigator-v477-us.x86-unknown-linux2.2.tar.gz) = 5112f4b4bbc551b49c3de2adfc430657ff1cfa1a
SHA1 (linux-netscape/navigator-v477-us.x86-unknown-linux2.2.tar.gz) = 9b41439f89d7ec539c42eb31c855c43c94ad48ab

View File

@ -0,0 +1,8 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
#
# Wrapper for Netscape Communicator.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
exec $MOZILLA_HOME/netscape "$@"

View File

@ -0,0 +1,253 @@
--- navigator-v477.x86-unknown-linux2.2/ns-install.orig Thu Jun 21 10:52:00 2001
+++ navigator-v477.x86-unknown-linux2.2/ns-install Thu Jun 21 11:01:52 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,155 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/22 01:37:36 kevlo Exp $
@pkgcfl communicator-*
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