1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
Pav Lucistnik
c08cae5337 - Fix desktop entry, there's no FF_SUFX anymore 2005-11-30 15:59:55 +00:00
Michael Johnson
36353c589f - Update firefox to 1.5
- Add Makefile.common
  o A new build/install system for gecko ports, Makefile.common
    includes many generic routines and common tasks.
  o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
    thus removing the need to have a startup script for ports that
    depend on gecko. [2]
  o Use system libm, nss, nspr in all gecko ports

- Add bsd.gecko.mk
  o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
    with a more robust way of detecting a gecko a end user wishs to
    use.
  o bsd.gecko.mk abstracts the selection of gecko-based backends. It
    allows users and porters to support any available gecko backend
    without needing to build many conditional tests. ${USE_GECKO} is the
    list of backends that your port can handle, and ${GECKO} is set by
    bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
    list of gecko backends they want on their system.

  Port Makefile example:

  USE_GECKO=firefox mozilla seamonkey thunderbird
  .include <bsd.port.pre.mk>
  .include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"

  End user example:
  WITH_GECKO=seamonkey firefox

  We highly recommend moving away from using WITH_MOZILLA and switching to
  USE/WITH_GECKO.

PR:		89052 [2]
Submitted by:	vs [2]
Obtained from:	www/firefox
Thanks to:	adamw, marcus, and mezz for ideas, bug squashing, and more
		sajd from irc.freenode.org/#FreeBSD-Gnome for
		 pointing out many bugs
2005-11-29 21:12:28 +00:00
Michael Johnson
28125871e3 - Add support for new lib/browser_linux_plugins 2005-11-14 19:11:43 +00:00
Joe Marcus Clarke
de89e69ea6 Partially revert the previous commit. Firefox can only build with specific
extensions (in particular typeaheadfind breaks Find [go figure]).  It is
safer to use a specific list of extensions with Firefox 1.0.x.  It looks
like they've made this better in 1.5, and set a reasonable default list of
extensions.

Basically, we're back to the previous 1.0.7_1,1 set of extensions with the
addition of negotiateauth.

Reported by:	many
2005-10-10 07:29:35 +00:00
Joe Marcus Clarke
27d7526f55 * Add support of ports-installed Kerberos [1]
* Enable all default extensions [2]

PR:		86961 [2]
Submitted by:	David W. Hankins <David_Hankins@isc.org> [1]
2005-10-09 19:44:02 +00:00
Joe Marcus Clarke
44036f0330 Update to 1.0.7. See
http://www.mozilla.org/products/firefox/releases/1.0.7.html#new for the list
of fixes in this release.

Security:	Fixes http://vuxml.FreeBSD.org/2e28cefb-2aee-11da-a263-0001020eed82.html among other things
2005-09-21 23:49:19 +00:00
Pav Lucistnik
cfffa5699c - Patch a security vulnerability (DoS, remote execution) in IDN
(internationalized domain names) subsystem, also known as "hyphen domain
  name bug"

Submitted by:	Marcus Grando
Obtained from:	Mozilla Project CVS,
		https://bugzilla.mozilla.org/show_bug.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&id=307259
Security:	CAN-2005-2871
		http://secunia.com/advisories/16764/
2005-09-10 17:24:31 +00:00
Jeremy Messenger
0083ef4403 - Make portlint happier.
- Add Java 5 plugins support. [1]
- Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do
  not extract those. Better explain, use external dependencies. [1]
- Teach firefox-config and *.pc files for nspr that will making other
  third apps to buildable like epiphany, vlc-devel's mozilla plugins
  and etc. Have been tested with full GNOME 2.11.x build too.
- Add four patches: [1]

	patch-bugzilla243151:
		https://bugzilla.mozilla.org/show_bug.cgi?id=243151

	patch-jsosdep:
		Fix the FreeBSD define

	patch-oji-threads:
		64-bit wide pthread_t

	patch-xptcinvoke_x86_64_linux:
		Setting a possibly uninitialized variable (value).

- Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing
  windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2]
- Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION
  varibles that are arleady exist and lesser complicate.
- Change all hardcore of 'firefox' to PORTNAME.
- Change a manual loop for patch all.js to find(1), so we can sleep
  on it.

Submitted by:	mi [1], marcus [2]
Reviewed by:	my team, FreeBSD GNOME Team.
Tested by:	many
2005-08-28 07:59:05 +00:00
Michael Johnson
d2266928a8 - Remove mng support, it doesn't work 2005-04-14 03:09:30 +00:00
Joe Marcus Clarke
ce7f695e6d * Update to 1.0.2 to fix security issues (see
http://www.vuxml.org/freebsd/7d2aac52-9c6b-11d9-99a7-000a95bc6fae.html and
  http://www.vuxml.org/freebsd/741f8841-9c6b-11d9-9dbe-000a95bc6fae.html for
  more details)
* Fix some minor cosmetic issues with the startup script

Submitted by:	Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es>
Approved by:	portmgr (implicit)
2005-03-25 05:55:27 +00:00
Joe Marcus Clarke
08545d0dfd Update freetype2 to 2.1.9, and patch Mozilla and friends accordingly.
Note: since 2.1.9 is ABI compatible with 2.1.7, no recompilation is
necessary.

PR:		78385
Submitted by:	lesi
2005-03-10 00:43:23 +00:00
Joe Marcus Clarke
0a4ef7cc05 Fix the startup script so that arguments are passed correctly to the browser
binary.

PR:		78175 (firefox)
		78217 (mozilla-devel)
Submitted by:	Jose M Rodriguez <josemi@freebsd.jazztel.es>
2005-03-02 06:50:13 +00:00
Joe Marcus Clarke
c6e3e04ca1 Re-add support for specifying a profile using the -P option.
Submitted by:	Jeremy Prior <jez@netcraft.com>
2005-02-28 02:28:49 +00:00
Joe Marcus Clarke
52b0c60b5a Add a Mozilla Mozilla Plugable Init Script (PIS) to handle automatically
sanitizing each users' home directory when starting Firefox.  This should
make upgrades much more painless.

PR:		75816
Submitted by:	Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es>
2005-02-26 09:32:01 +00:00
Joe Marcus Clarke
c3a55025a2 * Update to 1.0.1 (see http://www.mozilla.org/products/firefox/releases/ for
the release notes)
* Add a new Firefox launch script [1]
* Merge URI helper patch from www/mozilla
* Add option to make URLs open in new tabs instead of new windows [1]
* Sanitize CFLAGS [1]
* Update the GNOME .desktop file with i18n translations and MIME types [1]

PR:		75816 [1]
Submitted by:	Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es> [1]
2005-02-25 07:51:58 +00:00
Michael Johnson
5cffd563b1 - Update pkg-descr to better reflect firefox
- Fix expr usage for 4.x since expr on 4.x
  is not POSIX compliant. [1]

Submitted by:	girgen [1]
2004-12-29 03:25:23 +00:00
Michael Johnson
b18bfe2076 - Remove WITH_NEW_ICON knob
- Mozilla license team has approved the FreeBSD Gnome team to
  use official branding for firefox and thunderbird [1]
  o Add  --enable-official-branding to mozconfig
  o Install official thunderbird/firefox icon as default.xpm icon
- Fix error when running firefox/thunderbird -v [2]
- Bump PORTREVISION

References:
	http://www.mozilla.org/foundation/licensing.html [1]
	http://people.freebsd.org/~ahze/firefox_thunderbird-approved.txt [1]
PR:		ports/75262 [2]
Submitted by:	girgen [2]
2004-12-28 00:51:58 +00:00
Joe Marcus Clarke
6a6b9d7881 * Fix build with upcoming X.Org 6.8.1 [1]
* Temporarily disable CUPS support to fix a crash do to a symbol conflict
  between OpenSSL and NSS [2]

PR:		75045 [2]
Submitted by:	lesi [1]
2004-12-15 06:03:30 +00:00
Michael Johnson
894f4f9282 Add Encoding type to desktop file to validate via desktop-file-validate 2004-12-13 00:04:25 +00:00
Joe Marcus Clarke
43baba8dc1 Use -Bsymbolic when linking nss to avoid symbol conflicts with libraries
that include OpenSSL (e.g. CUPS).  This may help alleviate the problem with
Firefox crashing when trying to print when using CUPS.
2004-11-22 04:04:52 +00:00
Jeremy Messenger
4f42263329 Fix a patch.
PR:		ports/74155
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2004-11-20 20:24:36 +00:00
Michael Johnson
56ed3684e4 Change the Firefox installation directory to be more manageable. Now,
Firefox is installed similar to Mozilla in that its main installation
directory no longer has a Firefox version number in its name.  This will
help maintainers of ports that depend on Firefox stay in sync more
easily.

Add i18n Support [1]

PR:		ports/73837 [1]
Submitted by:	Jose M Rodriguez <josemi@freebsd.jazztel.es> [1]
Approved by:	marcus (co mentor)
2004-11-13 08:23:09 +00:00
Joe Marcus Clarke
a2f636b22c * Update to 1.0
* Install a firefox desktop entry for the GNOME desktop [1]
* Fix the post-install plug-in repository generation when root is using
  a non-default shell [2]

Submitted by:	ahze [1]
		Clemens Fischer <ino-qc@spotteswoode.de.eu.org> [2]
2004-11-10 00:58:53 +00:00
Joe Marcus Clarke
b12831f94a Update to 1.0.r (aka 1.0 Release Candidate 1). So far, the release notes have
not been published, but see
http://www.squarefree.com/burningedge/releases/1.0.html for a list of changes.
2004-10-28 21:37:53 +00:00
Peter Wemm
82d9838262 Essentially a NOP commit. The xpcom reflect patches for amd64 support
are now present in the firefox source tree, but with one bug fix compared
to the old version we provided.  Use their version.
2004-10-24 06:34:13 +00:00
Joe Marcus Clarke
e3a98cbb2d * Remove some patches that are no longer needed
* Workaround a crash that can be triggered by JavaScript pop-up windows [1]
* Use Xvfb to initialize the Firefox extensions datastore as root

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=264557
2004-10-17 21:29:31 +00:00
Joe Marcus Clarke
66cb23faa1 Add a patch that was forgotten in the 1.0.1.p update. 2004-10-13 20:28:12 +00:00
Joe Marcus Clarke
91fe33beee Fix build with Perl 5.00503.
PR:		72632
2004-10-13 20:25:48 +00:00
Joe Marcus Clarke
2d0cba2617 * Update to 1.0.1.p (aka 0.10.1, aka 1.0PR)
* Add support for installing the new Firefox brand icon by defining
  WITH_NEW_ICON [1]

For all that's new, check out http://www.mozilla.org/products/firefox/releases/

PR:		71781 [1]
Submitted by:	Radek Kozlowski <radek@raadradd.com> [1]
2004-10-12 00:04:40 +00:00
Joe Marcus Clarke
9117080c8c Patch the various recently reported security vulnerabilities in Mozilla.
This is being done instead of the update to 1.0 PR 1 since we're in a ports
freeze, and too many big changes is not a good idea.

This update covers the following Mozilla bugs:

250862
255067
256316

Thanks to nectar for scraping all of these patches together.

Obtained from:	Mozilla CVS
Approved by:	portmgr (implicit)
2004-09-28 03:24:41 +00:00
Joe Marcus Clarke
9e94e6497f Fix global extension and theme installation by making sure the path to the
XPI file does no contain a leading "file://" when passed to the extension
manager.

See http://bugzilla.mozilla.org/show_bug.cgi?id=250847 for more details.

Reported by:	ale
2004-07-27 20:51:02 +00:00
Joe Marcus Clarke
08576a11f4 Fix DEBUG builds by checking for all error states from pthread_mutex_trylock().
See http://bugzilla.mozilla.org/show_bug.cgi?id=253080 for more details.

Submitted by:	green
2004-07-27 14:18:27 +00:00
Joe Marcus Clarke
a44095ee68 * Add optional support for gnome-vfs support (e.g. smb:// and sftp:// URLs) [1]
* Fix a problem with the pkg-config files referencing mozilla components
  and not firefox components

PR:		68221 [1]
Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org> [1]
2004-06-24 16:33:53 +00:00
Joe Marcus Clarke
bf3fff33fe Add a post-rendered Extensions.rdf so that the default theme and extension
shows up.

Tested by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
2004-06-20 06:55:07 +00:00
Joe Marcus Clarke
24a35882ac Add a patch to run g_thread_init() as soon as Firefox starts. This is said
to fix some threading issues in Firefox, but I have not personally encountered
them (at least not ones fixed by this patch).

See http://bugzilla.mozilla.org/show_bug.cgi?id=247204 for more details.

Submitted by:	green
2004-06-19 05:18:14 +00:00
Joe Marcus Clarke
02e06ac28c * Try a little harder to get firefox to work without first running as root
* Make sure optimized CFLAGS are actually respected [1]
* Frobnicate the mozconfig file a little bit to be more inline with typical
  Linux builds
* Try a safer hack to ensure the install completes okay

Reported by:	kris [1]
2004-06-19 00:51:17 +00:00
Joe Marcus Clarke
2b519d7ce5 Update to 0.9. For a complete list of what's new, plus an important
list of Known Issues, see:

http://www.mozilla.org/products/firefox/releases/0.9.html

This update also includes a new pkg-install script based on ports/65590
from Thierry Thomas <thierry@pompo.net>.  However...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
After installing Firefox, you must su - to root, and run ``firefox'' before
running it as any other user.  If you do not su - to root, you may lose some
of your user settings.  If you try to run Firefox as a normal user without
first running it as root, the browser will not show up.  This is a known issue
with Firefox, and they hope to address it in a future release.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2004-06-16 00:10:12 +00:00
Joe Marcus Clarke
dbe1712ce3 Fix build with freetype2-2.1.7. 2004-03-17 07:12:34 +00:00
Joe Marcus Clarke
2d6650ae38 If building with debugging, don't enable binary stripping. 2004-03-05 07:16:45 +00:00
Joe Marcus Clarke
d4ea8b97e8 Remove the ugly libnspr hack, and be a little more clever when adding
libiconv support.  While this approach adds an extra patch, it insures
that the built-in nspr will used without the need for additional messy
symlinks.
2004-02-13 07:30:21 +00:00
Trevor Johnson
ef2b8101d4 Fix the window ID in firefox.rb (new PORTREVISION).
PR:		62735
Submitted by:	obraun
2004-02-12 21:21:10 +00:00
Joe Marcus Clarke
15e0c52fd1 * Fix broken installation (grrr..this fake thing is more trouble than it's
worth)
* Fix up some path issues in the Makefile
* Minor fix to plug-in installation
* Restore Franz's fix for the LD_LIBRARY_PATH PREFIX problem
* Bump PORTREVISION
2004-02-11 19:30:49 +00:00
Joe Marcus Clarke
fb900956d3 Backuo the previous commit before anyone notices. I have a big patch coming
that will fix this and some other things.  No need to bump PORTREVISION
twice.
2004-02-11 19:21:02 +00:00
Trevor Johnson
86b505c335 Fix accidental change of %%PREFIX%% to %PREFIX%% in
patch-build_unix_run-mozilla.sh (new PORTREVISION).

Noticed by:	Franz Klammer of webonaut.com
Pointy hat to:	moi
2004-02-11 19:05:11 +00:00
Joe Marcus Clarke
6593022e89 Add Firefox after a repo copy from mozilla-firebird. Firefox is the next
release of the Firebird web browser with a new name to avoid conflicts with
the Firebird database.  This is version 0.8.

http://www.mozilla.org/products/firefox/releases/

* Update to 0.8 and change name to firefox [1]
* Make PLIST from a fake installation [1]
* Restore original credit and portname in Makefile [1]
* Optionally install headers and IDL files [2]
* Use PERL instead of REINPLACE_CMD in a few places [1]
* Use OPTIONS
* Enable the Inspector extension
* Fix another possible esound related problem
* Enable basic optimizations if WITH_DEBUG is not specified

PR:		62631 [2]
Submitted by:	trevor [1] [2]
2004-02-11 07:16:17 +00:00
Joe Marcus Clarke
61164983e3 * Fix a bug where Firebird would lock up after typing any text. This had to
do with esound being installed, but not being used (e.g. when not running
  under the GNOME Desktop).  What happens now is sound support is disabled by
  default.  If you wish to enable Type Ahead Find sound support, edit your
  prefs.js file, and add:

  user_pref("accessibility.typeaheadfind.enablesound", true);

* Make portlint happy by not including anything after bsd.port.post.mk
* Clean up the pkg-message a bit to reflect reality with respect to Perl

Thanks to casaveli on BSDForums for finding it was esound causing the lock up
as well as testing the patch mentioned above.
2004-02-08 19:37:12 +00:00
Marcel Moolenaar
fb325c73d6 Port ia64 support from www/mozilla. 2004-02-02 03:40:14 +00:00
Peter Wemm
7059589bd6 Port to amd64 (note: needs ld-elf.so.1 bugfix to actually work)
I've taken a chance and split the sparc64 and alpha mega-diffs up because
sparc64 patched the result of alpha's patches, and amd64 needed to do the
same again - but it was sorted lexically before alpha/sparc64.  I've
grouped the xptcall patches together since they are standalone and split
up and merged the other infrastructure jumbo-patches.

I also attempted to sync up the nspr vs firebird diffs for sparc64 and
alpha because they disagreed.  HOWEVER... While this port 'depends'
on the nspr port, it doesn't actually *use* it.  It should probably
be removed from the LIB_DEPENDS list.

Note that the amd64 xptcall code came from SuSE via the mozilla bugzilla
database.
2003-12-13 21:35:43 +00:00
Joe Marcus Clarke
cad4a555e6 Add a new patch-Double.cpp that fixes the recent core dumps during post-build
on Sparc64.

Submitted by:	tmm (bless that man)
2003-11-16 18:56:29 +00:00
Joe Marcus Clarke
8da2ffb9c0 * Update the extensions list with a modern mozconfig.in
* Add rich text editing (aka midas) support
2003-10-24 06:38:15 +00:00