Remove the netscape7 port due to multiple security bugs.

Netscape 8.0 is available only for Windows.
This commit is contained in:
Trevor Johnson 2005-06-10 09:08:32 +00:00
parent 69da78cb33
commit e81c2cc67d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137171
9 changed files with 2 additions and 229 deletions

3
LEGAL
View File

@ -428,9 +428,6 @@ mysqlman.tar.gz databases/mysqlman Not redistributable, license
ncftpd-* ftp/ncftpd 30 day evaluation license
netbeans-* java/netbeans Restrictive copyright
netscape-*-us-* www/netscape* Crypto; export-controlled
netscape7/* www/netscape7 No redistribution
{french|german|japanese|portuguese}/netscape7
Redistribution is not allowed
netshow_linux.gz multimedia/netshow Commercial software
nfbtr758.zip textproc/nfbtrans Unclear copyright status
nntpcache-* news/nntpcache Commercial or government use

View File

@ -1,7 +1,7 @@
#!/bin/sh
# add your favorite browser in the top of the list
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera netscape7-english
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera
do
type $browser > /dev/null 2>&1 && exec $browser "$@"
done

View File

@ -1,7 +1,7 @@
#!/bin/sh
# add your favorite browser in the top of the list
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera netscape7-english
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera
do
type $browser > /dev/null 2>&1 && exec $browser "$@"
done

View File

@ -363,7 +363,6 @@
SUBDIR += netrik
SUBDIR += netscape-remote
SUBDIR += netscape-wrapper
SUBDIR += netscape7
SUBDIR += nginx
SUBDIR += notftp
SUBDIR += npc

View File

@ -1,120 +0,0 @@
# New ports collection makefile for: netscape7
# Date created: 2002-05-22
# Whom: trevor
# based on the www/linux-netscape6 port by sada and others
#
# $FreeBSD$
#
PORTNAME= netscape7
PORTVERSION?= 7.2
PORTREVISION?= 1
CATEGORIES?= www linux
MASTER_SITES= ${MASTER_SITE_NETSCAPE}
DIST_SUBDIR= ${MAJ}/${NETSCAPE_LANG}/${VER}
MASTER_SITE_SUBDIR?=${DIST_SUBDIR}/unix/linux/bfkprv
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= trevor
PATCHFILES= ${PKGNAMEPREFIX}${MAJ}-${VER}-generated-files.tar.bz2
MAINTAINER?= trevor@FreeBSD.org
COMMENT= Linux Netscape suite
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
BROKEN= Incomplete distinfo file
LATEST_LINK= linux-${MAJ}
MAJ?= netscape7
NETSCAPE_LANG?=english
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
ONLY_FOR_ARCHS= i386
RESTRICTED= "no redistribution"
NO_CDROM= ${RESTRICTED}
PREFIX?= ${X11BASE}
USE_ZIP= yes
VER?= ${PORTVERSION}
WRKSRC= ${WRKDIR}/netscape-installer/xpi
INSTALL_DIR= lib/linux-${MAJ}-${NETSCAPE_LANG}
PLIST= ${WRKDIR}/pkg-plist
STARTUP_CMD= ${WRKDIR}/${MAJ}${NETSCAPE_LANG}
.if !defined(BATCH)
IS_INTERACTIVE= yes
.endif
.include <bsd.port.pre.mk>
pre-everything::
${MKDIR} ${WRKSRC}/bin/plugins ${WRKSRC}/bin/chrome \
${WRKSRC}/plugins
.if !exists(${WRKDIRPREFIX}${.CURDIR}/work/netscape-installer/xpi/components.conf)
.if !defined(BATCH)
${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
.endif
.endif
DISTFILES?= browser.xpi \
deflenus.xpi \
flash.xpi \
inspector.xpi \
langenus.xpi \
mail.xpi \
psm.xpi \
regus.xpi \
spellchecker.xpi \
talkback.xpi \
venkman.xpi \
xpcom.xpi
.if exists(${WRKDIRPREFIX}${.CURDIR}/work/netscape-installer/xpi/components.conf)
DISTFILES!=${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/netscape-installer/xpi/components.conf
.endif
do-extract:
.for ii in ${DISTFILES}
unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${ii} -d ${WRKSRC}
${CHMOD} -R go-w ${WRKDIR}
.endfor
do-patch:
${BZIP2_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/${PATCHFILES} | \
${TAR} -C ${WRKSRC}/bin -xf -
do-configure:
# - kldload linux
# ${SETENV} $DISPLAY="NONE" ${WRKSRC}/bin/netscape file:///dev/null
# @${ECHO} \"Factory not found\" and \"cannot open display\" errors here are normal.
${ECHO_CMD} "#!/bin/sh" > ${STARTUP_CMD}
${ECHO_CMD} -n "cd " >> ${STARTUP_CMD}
${ECHO_CMD} ${PREFIX}/${INSTALL_DIR} >> ${STARTUP_CMD}
${ECHO_CMD} 'exec ./netscape $$*' >> ${STARTUP_CMD}
pre-install:
${ECHO_CMD} bin/${MAJ}${NETSCAPE_LANG} > ${PLIST}
cd ${WRKSRC}/bin; for ii in `${FIND} * \! -type d | ${SORT}`; do \
${ECHO_CMD} ${INSTALL_DIR}/$${ii} >> ${PLIST}; \
done
cd ${WRKSRC}/plugins; for ii in `${FIND} * \! -type d | ${SORT}`; do \
${ECHO_CMD} ${INSTALL_DIR}/plugins/$${ii} >> ${PLIST}; \
done
cd ${WRKSRC}/bin; \
for ii in `${FIND} -d * -type d`; do \
${ECHO_CMD} @dirrm ${INSTALL_DIR}/$${ii} >> ${PLIST}; \
done
${ECHO_CMD} @dirrm ${INSTALL_DIR} >> ${PLIST}
pre-package:
@${ECHO_MSG} "*** WARNING ***"
@${ECHO_MSG} "* Do not distribute packages outside your organization."
@${ECHO_MSG} "* It is prohibited by the licensing."
do-install:
${MKDIR} ${PREFIX}/${INSTALL_DIR}
${CP} -Rp ${WRKSRC}/bin/* ${WRKSRC}/plugins ${PREFIX}/${INSTALL_DIR}
${INSTALL_SCRIPT} ${STARTUP_CMD} ${PREFIX}/bin
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,28 +0,0 @@
MD5 (netscape7/english/7.2/browser.xpi) = 1befd7398d96e6f3d38074c0da0ce1e0
SIZE (netscape7/english/7.2/browser.xpi) = 8783714
MD5 (netscape7/english/7.2/psm.xpi) = 3f326301f6d0fece8ef17e1e8605536f
SIZE (netscape7/english/7.2/psm.xpi) = 820088
MD5 (netscape7/english/7.2/xpcom.xpi) = 7dfee021be121751b6c5678ee4b305d9
SIZE (netscape7/english/7.2/xpcom.xpi) = 850271
MD5 (netscape7/english/7.2/AIM.xpi) = a590b8c2f414718e282b755623de232b
SIZE (netscape7/english/7.2/AIM.xpi) = 1516709
MD5 (netscape7/english/7.2/chatzilla.xpi) = 93d7b285c2691f501bbdb82a53c963a1
SIZE (netscape7/english/7.2/chatzilla.xpi) = 163226
MD5 (netscape7/english/7.2/deflenus.xpi) = f807ba1364916815ec7b4b387799119a
SIZE (netscape7/english/7.2/deflenus.xpi) = 28076
MD5 (netscape7/english/7.2/flash.xpi) = 8f7439bfa134b55738af6934e0fa005a
SIZE (netscape7/english/7.2/flash.xpi) = 778136
MD5 (netscape7/english/7.2/langenus.xpi) = f84cb9185e7f871377796128120f3445
SIZE (netscape7/english/7.2/langenus.xpi) = 730946
MD5 (netscape7/english/7.2/mail.xpi) = c1211129400ef32b24d89b1dd6ba41e7
SIZE (netscape7/english/7.2/mail.xpi) = 2316771
MD5 (netscape7/english/7.2/regus.xpi) = bf94ddbafc6df520e950972810db6d25
SIZE (netscape7/english/7.2/regus.xpi) = 29023
MD5 (netscape7/english/7.2/spellchecker.xpi) = 56fff2314e2e2e005d68b4019cfd14d8
SIZE (netscape7/english/7.2/spellchecker.xpi) = 535711
MD5 (netscape7/english/7.2/inspector.xpi) = 3c9bee016046ca0c4b052082e79063f4
SIZE (netscape7/english/7.2/inspector.xpi) = 125140
MD5 (netscape7/english/7.2/venkman.xpi) = d82d00abce0e0392dbcaecfbd284a1df
SIZE (netscape7/english/7.2/venkman.xpi) = 211935
MD5 (netscape7/english/7.2/netscape7-7.2-generated-files.tar.bz2) = 01ed49a75899743da44a2080382a618e
SIZE (netscape7/english/7.2/netscape7-7.2-generated-files.tar.bz2) = 33101

View File

@ -1,8 +0,0 @@
This is a Linux version of the Netscape suite (Web browser, HTML editor, mail
user agent and news reader). Using the Linux version on FreeBSD is necessary if
you want to use Linux versions of plugins. Many plugins are distributed only
as Linux binaries. The Macromedia Flash plugin is available, as are the
Canadian and United States region packs, spell-checker, and talkback. AOL
Instant Messenger is omitted (see ports/net/aim).
WWW: http://channels.netscape.com/ns/browsers/default.jsp/

View File

@ -1,7 +0,0 @@
* WARNINGS *******************************************************************
* Using the same profile for Netscape 7 and Mozilla is strongly discouraged. *
* See <URL:http://wp.netscape.com/eng/mozilla/ns7/relnotes/7.html#prefs>. *
* When working with sensitive information, visit only the site you trust *
* with that information, not other sites (or turn off Javascript). See *
* <URL:http://secunia.com/advisories/12712/>. *
******************************************************************************

View File

@ -1,60 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
echo ${WRKSRC}/components.conf
if [ -f ${WRKSRC}/components.conf ]; then
exit
fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ -z "${BATCH}" ]; then
/usr/bin/dialog --title "Netscape 7 component selection" --clear \
--checklist "\n\
Choose components of Netscape 7 to download and install. \n\
Press the space bar to toggle selections." -1 -1 12 \
"browser" "Web browser (10288 kB)" ON \
"AIM" "AOL instant messenger (1504 kB)" ON \
"chatzilla" "Chatzilla IRC client (160 kB)" ON \
"deflenus" "American English profile defaults (28 kB)" ON \
"flash" "Flash plugin (784 kB)" ON \
"langenus" "American English language pack (736 kB)" ON \
"mail" "e-mail and news--requires browser (2288 kB)" ON \
"regus" "regional settings for the USA (30 kB)" ON \
"spellchecker" "spell-checker (544 kB)" ON \
"inspector" "DOM inspector (124 kB)" ON \
"venkman" "JavaScript debugger (224 kB)" ON \
2> /tmp/checklist.tmp.$$
retval=$?
choice=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
case $retval in
0) if [ -z "$choice" ]; then
echo "Nothing selected"
exit 1;
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
echo "$choice" \
| sed -e "s/\"//g" \
| sed -e "s/mail/mail browser/g" \
| sed -e "s/browser/browser psm xpcom/g" \
| sort -u \
| sed -e "s/ /.xpi /g" \
| sed -e "s/$/.xpi/g" \
| perl -pi -e "s/ /\n/g" \
> ${WRKSRC}/components.conf
fi
echo "* Your choices are saved. You must run the \"make\" command again to"
echo "* complete the build. Ignore the \"Error code 1\" below."
exit 1