The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.

Things look quiet here. But I've been doing a lot of blogging at because I prefer WordPress now. Not all my posts there are FreeBSD related. I am in the midst of migrating The FreeBSD Diary over to WordPress (and you can read about that here). Once the migration is completed, I'll move the FreeBSD posts into the new FreeBSD Diary website.

Removing Firefox 2 19 October 2009
Need more help on this topic? Click here
This article has no comments
Show me similar articles

Firefox is a pretty popular browser.

It runs quickly.

It has a lot of plugsin. I use Web Developer and Firebug myself.

However. All software ages. Hah, even this website ages.

Firefox 2 has a number of unfixed (to my knowledge) bug.

Solution: use Firefox 3.

Sometimes it is just time to move on.

Case in point: have you seen this?

# portaudit
Affected package: firefox-,1
Type of problem: mozilla -- multiple vulnerabilities.
Reference: <>

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.

How to fix: upgrade. However, it's not that easy. There are a few dependants. I found the solution in the Internet. ;)

The failed attempt

Here is how I'd normally try fixing this:

# portupgrade firefox
** Port marked as IGNORE: www/firefox:
        is forbidden: too many security issues
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - www/firefox (marked as IGNORE)

I also tried other things, such as replaying firefox2 with firefox35. That failed.

The search results

I searched and found:

Which led me to:

The key point being:

  • A FreeBSD port of libxul-1.9 has been added as an alternative Gecko provider to Firefox 2. This can be used by setting WITH_GECKO=libxul in /etc/make.conf.

It is that new library which will be used instead of Firefox 2.

The fix

Here is what I did:

  1. I added the following to /etc/make.conf:
    # see
    # see
  2. Which ports depend upon Firefox 2?
    # pkg_info | grep firefox
    firefox-,1 Web browser based on the browser portion of Mozilla
    firefox-3.5.3,1     Web browser based on the browser portion of Mozilla
    # pkg_info -R firefox-,1
    Information for firefox-,1:
    Required by:
  3. I upgraded those three ports:
    # portupgrade -f gegl gimp-app librsvg2

    The -f is vital. Without it, only those ports which are not up-to-date will be compiled. The -f forces all specified ports to be 'upgraded' (i.e. recompiled and installed). Which is what we want here. Effectively, we are just recompiling these applications to replace the Firefox 2 dependencies and use libxul instead.

    Now to finish it all off:

    # pkg_delete firefox-,1

    Any comments?

Need more help on this topic? Click here
This article has no comments
Show me similar articles