Commit graph

53 commits

Author SHA1 Message Date
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Trevor Johnson
5726fbd01f Security update to 1.7.8. 2005-06-11 19:40:37 +00:00
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
Trevor Johnson
a95d33ced3 more specific home page 2005-01-13 05:46:15 +00:00
Trevor Johnson
9db1d2a987 update to 1.7.5 to avoid NNTP security bug:
<URL:http://www.isec.pl/vulnerabilities/isec-0020-mozilla.txt>
<URL:https://bugzilla.mozilla.org/show_bug.cgi?id=264388>
2005-01-13 05:45:22 +00:00
Alexander Leidinger
64cf27c85d Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@,
   my color would be "linuxolator@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@, x11@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
2004-12-31 18:24:10 +00:00
Trevor Johnson
872f0752b7 I removed talkback.xpi from the list of distfiles for the interactive
build (because I doubt the error reports would be valuable) but
forgot to do so for batch builds, causing an error.

Reported by:	pointyhat log forwarded by kris, and sf
2004-12-10 02:12:08 +00:00
Trevor Johnson
45fc2a595c In order to fix the permissions on the extracted files as soon as
possible, run chmod right after unzipping each distfile, as before.

Approved by:  sf (carte blanche)
2004-12-10 02:06:12 +00:00
FUJISHIMA Satsuki
a7dcde9735 don't assume superuser privilege at do-extract. 2004-11-30 06:50:56 +00:00
Trevor Johnson
7575493e86 cosmetics: use UNZIP_CMD, alphabetize distfiles, use WRKSRC for
permissions
2004-11-29 00:22:37 +00:00
Trevor Johnson
6a46124fe3 Fix ownership and permissions on extracted files. 2004-11-29 00:06:11 +00:00
Trevor Johnson
903a91163e I removed this file by mistake. 2004-11-28 23:38:43 +00:00
Trevor Johnson
092109a2bc Update to 1.7.3. Make deflenus and psm components mandatory. Add
choices for Chatzilla and the spell-checker.
2004-11-28 23:31:07 +00:00
Jacques Vidrine
ca5d43e15c Mark FORBIDDEN due to unpatched security vulnerability documented for
over a month at
http://vuxml.freebsd.org/c1d97a8b-05ed-11d9-b45d-000c41e2cdad.html
2004-10-21 21:18:19 +00:00
Trevor Johnson
33fdc4cde2 SIZEify. 2004-03-17 18:29:46 +00:00
Trevor Johnson
fbd1108f49 Use the SORT macro from bsd.port.mk. 2004-01-22 11:06:02 +00:00
Trevor Johnson
0761b45da2 Remove checksum target, which is no longer needed and causes "make
index" to generate a warning message (requested by kris).
2004-01-22 09:02:09 +00:00
Trevor Johnson
7d33c88109 Update to 1.5. 2003-11-19 00:04:50 +00:00
Trevor Johnson
f725dc8ef5 Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 12:54:57 +00:00
Trevor Johnson
aa869c7b70 Support the Blackdown Java plugin (with some cosmetic changes). 2003-09-28 09:02:03 +00:00
Trevor Johnson
35a9e2ac9c Update to 1.4.
Change the configuration process, so that extraneous files are not
downloaded.
2003-07-04 18:21:45 +00:00
Trevor Johnson
2e14b54f18 Support the www/linux-flashplugin6 port. 2003-06-01 07:36:06 +00:00
Trevor Johnson
27942c317a Update to 1.3.1.
Use bzip2 compression for the generated files (I reused the ones
from 1.2b).
2003-05-22 12:44:49 +00:00
Trevor Johnson
23c3564413 Correct the dependency on unzip: it was being ignored, probably
because it was listed as a BUILD_DEPENDS but the ports are marked
NO_BUILD.
2003-05-22 12:37:15 +00:00
Trevor Johnson
5e37fb828f Retire comment file. 2003-03-01 14:34:33 +00:00
Trevor Johnson
5b1ebbb3ce Update to 1.2b. This fixes bug 145579 in Bugzilla, the "forward
referrer" security bug.

Scavenge plugins from linux-beonex (untested).
2002-10-21 00:48:54 +00:00
Trevor Johnson
c0fb3392fb note removal of Chatzilla 2002-10-21 00:48:26 +00:00
Trevor Johnson
7fcb0438d6 Note removal of Chatzilla. Mention mail/news. 2002-10-21 00:47:36 +00:00
Trevor Johnson
7a7366f977 Rewrite warning about using the same preferences with other browsers,
using information I learned from the Netscape 7 release notes.

Add a mention of linux-beonex port.
2002-10-21 00:46:18 +00:00
Trevor Johnson
36479c42b9 prettify after removal of Chatzilla 2002-10-21 00:43:59 +00:00
Trevor Johnson
eb11bf9a32 Scavenge plugins from Netscape 7 (new PORTREVISION). 2002-09-08 07:59:06 +00:00
Trevor Johnson
2d48a2346f Make GTK+ dependency less specific, so it will work with the GTK+
in linux_base-6.
2002-09-08 07:54:24 +00:00
Trevor Johnson
482737051f Synchronize with linux-gtk (forgotten by mita).
noticed by:	Warren Block
Submitted by:	alex
2002-08-28 12:20:06 +00:00
Trevor Johnson
bf7cc65e3f Update to 1.1, which no longer has the "huge fonts" security bug. 2002-08-28 02:16:50 +00:00
Trevor Johnson
1d0f987dd4 Forbid because of remote crash. I confirmed it with XFree86 4.2.0;
XFree86 3.3.6 has identical code so it is likely to be vulnerable
as well.  Mozilla 1.1a (20020610) still has the bug.
2002-07-08 12:53:02 +00:00
Trevor Johnson
b8b4a35ef8 Disable Chatzilla once again. My earlier testing was not thorough
enough, and I have found that the security bug reported by Thor
Larholm on Bugtraq is still present.

security officer ticket:  17
2002-06-11 23:57:21 +00:00
Trevor Johnson
c9a78a76fb This is no longer in beta. 2002-06-05 22:37:20 +00:00
Trevor Johnson
48eafdda70 __ ___ __
Update to /_ | / _ \    / /
           | || | | |  / /
           | || | | | / /
           | || |_| |/_/
           |_(_)___/(_)

Have linkfarm script look for plugins in the new language-specific
Netscape 6 directories.

Make venkman optional.

Enable Chatzilla.
Reviewed by:	http://jscript.dk/2002/4/moz1rc1tests/ircbufferoverrun.html
2002-06-05 22:24:14 +00:00
Trevor Johnson
ffaf47260d Update to a nightly build. Using the GreyMagic Mozilla Disk Explorer
and c't Browsercheck, I am no longer able to activate bug #141061
("XMLHttpRequest allows reading of local files").

In message <52D05AEFB0D95C4BAD179A054A54CDEB1BD37A@mailsrv1.jubii.dk>
on Bugtraq, Thor Larholm described a buffer overflow in Chatzilla.
I confirmed the bug with this version of Mozilla/Chatzilla.  Therefore
the chatzilla component is now omitted from batch builds and defaults
to being omitted from interactive ones too (XFree86 did crash
once--perhaps taken down by Mozilla--when I was viewing Thor's
demonstration page for the bug, but a second visit was uneventful).
I added a warning in capitals for interactive users.  I was unable
to reproduce the other bug reported by Thor in the same message.
2002-05-09 00:03:03 +00:00
Trevor Johnson
03bca66437 Mark forbidden because of security bug.
Reported by:  mbr
2002-05-01 19:21:40 +00:00
Trevor Johnson
1ba3a8858e Bump PORTREVISION for change to startup script.
Change a space to a tab.
2002-03-27 17:52:07 +00:00
Trevor Johnson
92d41c4a42 Make startup script pass arguments.
Submitted by:	Adrian Woizik <morrow@unfug.org>
2002-03-26 02:23:41 +00:00
Trevor Johnson
4e3b2ecb1c The distfiles were re-rolled. The BuildID changed from 2002031008
to 2002031312, and there were other, unknown changes.  Add new
checksums.

Reported by:    Ralf Schumacher <ralf_schumacher@gmx.net> and
		Matt Sykes <mattmsykes@yahoo.co.uk>
2002-03-16 13:51:28 +00:00
Trevor Johnson
e3661e21c0 Add checksums for optional components. 2002-03-12 10:38:48 +00:00
Trevor Johnson
2c107f931a Update to "two nines" version. This version has MathML, TrueType,
and SOAP.  Add inspector component.  Make venkman component optional.

new version noticed by:  Muhannad Asfour <muhannad07@cogeco.ca>
2002-03-12 10:04:32 +00:00
Trevor Johnson
23d74dd8a5 Add a selection dialog from which the user can disable the chatzilla,
deflenus, mail, psm and talkback components.  This is based on the
recent work on the www/linux-netscape6 port.  When psm is omitted,
Mozilla still shows the Privacy and Security menus, and complains
about not being able to load libpipboot.so.  When talkback is
omitted, Mozilla makes noise about the missing libqfaservices.so.
2002-03-09 08:37:37 +00:00
Trevor Johnson
47f8068628 Update to 0.9.8. 2002-02-05 14:12:44 +00:00
Akinori MUSHA
4adc5a8a71 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 12:08:37 +00:00
Trevor Johnson
94b8e0fa7f Install a new script, linkfarm, with linux-mozilla. This script
makes symlinks under PREFIX/lib/linux-mozilla/plugins/, pointing
to anything the script finds in the netscape-linux or linux-netscape6
plugin directories.  The script is run automatically on installation
of the port or the package and the user is advised to run it after
installing new Netscape plugins.  Unlike the former arrangement,
the symlinks are now removed upon de-installation of linux-mozilla.
Increment PORTREVISION.
2002-01-25 20:10:41 +00:00
Trevor Johnson
488af2351c Mention the ability of this port to use the plugins bundled with
Netscape 6.  Mention my personal problem with the Netscape 6 Java
plugin.  Change the description of the bug where text cannot be
entered.  Remove extraneous word "a."
2002-01-25 20:07:57 +00:00