- Don't install the included flash plugin, which is very old and may suffer

from a buffer overflow.
- Pick up any plugins in lib/ns-plugins by default.

Issue pointed out by David Krause <openbsd@davidkrause.com>.
Principal changes ok kevlo@

Users are advised to install the www/flashplugin port for Flash support.
This commit is contained in:
naddy 2002-08-27 13:23:53 +00:00
parent bebf55ceb2
commit 08fdc819d0
7 changed files with 14 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.16 2002/06/10 03:14:35 wilfried Exp $
# $OpenBSD: Makefile.inc,v 1.17 2002/08/27 13:23:53 naddy Exp $
#
# Relevant URLs: http://www.bsdi.com/netscape/
# http://www.fortify.net/
@ -32,7 +32,6 @@ SUPPORTED?= unsupported
CATEGORIES= www
NEED_VERSION= 1.489
MASTER_SITES= \
ftp://ftp.netscape.com/pub/$S/ \
ftp://uiarchive.uiuc.edu/pub/www/netscape/$S/ \
@ -112,5 +111,6 @@ post-install:
| src/cmdline/fortify >/dev/null ${PREFIX}/netscape/netscape_nis
.endif
@sed -e 's#@netscape_home@#${TRUEPREFIX}/netscape#' \
-e 's#@prefix@#${TRUEPREFIX}#' \
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin

View File

@ -1,15 +1,13 @@
# $OpenBSD: Makefile,v 1.4 2002/03/21 21:25:54 espie Exp $
# $OpenBSD: Makefile,v 1.5 2002/08/27 13:23:54 naddy Exp $
COMMENT= "Netscape Communicator (linux)"
NEED_VERSION= 1.515
PROGRAM_V= 4.79
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= linux
DISTNAME= communicator-v${V2}-us.x86-unknown-linux2.2
PKGNAME= communicator-linux-${PROGRAM_V}
PKGNAME= communicator-linux-${PROGRAM_V}p1
LOCATION= linux22/complete_install
DIRNAME= communicator-v${V2}.x86-unknown-linux2.2

View File

@ -1,8 +1,9 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2001/08/24 15:03:27 espie Exp $
# $OpenBSD: netscape.i386,v 1.2 2002/08/27 13:23:54 naddy Exp $
#
# Wrapper for Netscape Communicator.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
: ${NPX_PLUGIN_PATH=@prefix@/lib/ns-plugins:$MOZILLA_HOME/plugins}
export MOZILLA_HOME NPX_PLUGIN_PATH
exec $MOZILLA_HOME/netscape "$@"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/24 15:03:27 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2002/08/27 13:23:54 naddy Exp $
@pkgcfl communicator-*
@pkgcfl navigator-*
bin/netscape
@ -176,9 +176,7 @@ 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

View File

@ -1,17 +1,15 @@
# $OpenBSD: Makefile,v 1.4 2002/03/21 21:25:54 espie Exp $
# $OpenBSD: Makefile,v 1.5 2002/08/27 13:23:54 naddy Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "Netscape Navigator (linux)"
NEED_VERSION= 1.515
PROGRAM_V= 4.79
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= linux
DISTNAME= navigator-v${V2}-us.x86-unknown-linux2.2
PKGNAME= navigator-linux-${PROGRAM_V}
PKGNAME= navigator-linux-${PROGRAM_V}p1
LOCATION= linux22/navigator_standalone
DIRNAME= navigator-v${V2}.x86-unknown-linux2.2

View File

@ -1,8 +1,9 @@
#!/bin/sh
# $OpenBSD: netscape.i386,v 1.1.1.1 2001/08/24 15:02:56 espie Exp $
# $OpenBSD: netscape.i386,v 1.2 2002/08/27 13:23:54 naddy Exp $
#
# Wrapper for Netscape Communicator.
MOZILLA_HOME=@netscape_home@
export MOZILLA_HOME
: ${NPX_PLUGIN_PATH=@prefix@/lib/ns-plugins:$MOZILLA_HOME/plugins}
export MOZILLA_HOME NPX_PLUGIN_PATH
exec $MOZILLA_HOME/netscape "$@"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/24 15:02:56 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2002/08/27 13:23:54 naddy Exp $
@pkgcfl communicator-*
@pkgcfl navigator-*
bin/netscape
@ -136,9 +136,7 @@ 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