Commit graph

323 commits

Author SHA1 Message Date
wiz
2ab9feaa66 Get rid of some more stuff that was to be removed after 2005Q3. 2005-10-03 21:36:58 +00:00
taya
f6aec38de5 Update mozilla & mozilla-gtk2 to 1.7.12
This is a bug fix release.
Fixed bugs are follows:

* Fix for a potential buffer overflow vulnerability when loading
  a hostname with all soft-hyphens
* Fix to prevent URLs passed from external programs from being
  parsed by the shell (Linux only)
* Fix to prevent a crash when loading a Proxy Auto-Config (PAC)
  script that uses an "eval" statement
* Fix to restore InstallTrigger.getVersion() for Extension authors
* Fix a crash in mail when stopping a search and then searching again
* Other stability and security fixes
	MFSA 2005-59 Command-line handling on Linux allows shell execution
	MFSA 2005-58 Firefox 1.0.7 / Mozilla Suite 1.7.12 Vulnerability Fixes
	MFSA 2005-57 IDN heap overrun using soft-hyphens
2005-10-01 04:42:09 +00:00
rillig
dba5ecbb70 Added RCS Id tags. Removed trailing empty line from patch-sg. 2005-09-28 12:04:29 +00:00
jlam
3b7c9b7a13 For the native firefox and mozilla packages, move the module/extension
registration out of the installation step and into the INSTALL script.
Also, remove the registration commands from the PLIST as well.  Putting
them into the INSTALL script allows for the same commands to be run
in the same way, so that there are fewer differences between installing
from source and installing from a binary package.  Also, this makes
these packages pass CHECK_FILES=yes.  Bump the PKGREVISION of firefox,
firefox-gtk1, mozilla, and mozilla-gtk2.

Also, include bsd.pkg.mk from the package Makefiles, not from within
Makefile.common.  This is a style issue and allows for appending to
variables originally defined in Makefile.common from the package
Makefile.
2005-09-17 02:35:19 +00:00
abs
d6893ebb28 Update patches for mozilla applications to handle the fact that on
NetBSD the thread safe resolver is only available on __NetBSD_Version__
>= 299000900.  Fixes runtime usage on NetBSD 2.1. New Versions:
    - firefox-1.0.6nb2
    - firefox-gtk1-1.0.6nb2
    - mozilla-1.7.11nb1
    - mozilla-gtk2-1.7.11nb1
    - thunderbird-1.0.6nb1
    - thunderbird-gtk1-1.0.6nb1
2005-09-08 22:03:45 +00:00
taya
d05c8adca8 set DIST_SUBDIR to avoid conflict with old source tarball. 2005-08-21 00:39:16 +00:00
taya
4227bf290c source tarball was update to include libart_lgpl.
update distinfo & remove our original libart source tarball from DISTFILES.
2005-08-16 00:33:44 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
taya
e963640431 update mozilla & mozilla-gtk2 to 1.7.11
this release fixed two issues

Changelog for Mozilla 1.7.11
300749	Switching folders doesn't work on 1st try/Click to mail folder displays
	messages not always [JS error in msgMail3PaneWindow.js::ClearMessagePane]
301917	Cursor keys disabled/Caret not moving with keyboard in message compose window
2005-08-03 14:30:50 +00:00
adam
5d3923b69e Use pkgsrc optimisation (CFLAGS, CXXFLAGS) = faster binary, less memory usage 2005-07-25 15:46:02 +00:00
taya
faeab80f12 Update mozilla & mozilla-gtk2 to 1.7.10.
This is a security fix release.

Fixed in Mozilla 1.7.9/1.7.10
MFSA 2005-56 Code execution through shared function objects
MFSA 2005-55 XHTML node spoofing
MFSA 2005-54 Javascript prompt origin spoofing
MFSA 2005-52 Same origin violation: frame calling top.focus()
MFSA 2005-51 The return of frame-injection spoofing
MFSA 2005-50 Possibly exploitable crash in InstallVersion.compareTo()
MFSA 2005-48 Same-origin violation with InstallTrigger callback
MFSA 2005-46 XBL scripts ran even when Javascript disabled
MFSA 2005-45 Content-generated event vulnerabilities
2005-07-24 06:59:31 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
dillo
426c6f2957 Replace GECKO_PROVIDER with option group. New options are firefox
and mozilla.  Backwards compatibilty is provided.

Reviewed by wiz.
2005-07-21 13:11:42 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
martin
1494ceef47 Re-instantiate the NAN/INFINITY fixes, this time in a way that works on
older C environments as well.
2005-06-22 22:05:34 +00:00
kristerw
46cd9fed1d Back out the two last changes to the floating point code, since it
broke the package for NetBSD 1.6.
2005-06-20 06:51:34 +00:00
martin
f02316689a Redo the previous "double alignemnet" fix more completely. The previous
state was completely broken.
2005-06-16 21:38:09 +00:00
wiz
d566516723 MOZILLA_USE_GTK2 is a pkgsrc-internal variable -- prefix it with
an underscore.
2005-06-03 14:41:19 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
martin
79084c0d28 Replace the homegrown floating point binary access patterns in class Double
by macros from math.h to avoid alignement problems described in
PR pkg/30106.
2005-05-31 09:21:51 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
taya
9f597b31e8 Update mozilla & mozilla-gtk2 to 1.7.8
This is a security fix release.
Fixed vulnerabilities are follows:

MFSA 2005-44  Privilege escalation via non-DOM property overrides
MFSA 2005-43 "Wrapped" javascript: urls bypass security checks
MFSA 2005-42 Code execution via javascript: IconURL
2005-05-15 02:58:05 +00:00
taya
25013bab63 set CONFIG_GUESS_OVERRIDE, CONFIG_SUB_OVERRIDE, and CONFIG_STATUS_OVERRIDE
explicitly, because it fails to detect them with default setting.
suggested by Todd Willey.
2005-04-24 14:05:06 +00:00
taya
cc3bb588e0 Update mozilla & mozilla-gtk2 to 1.7.7
This is a security fix release.
Fixed vulnerabilities are follows:

MFSA 2005-33  Javascript "lambda" replace exposes memory contents
MFSA 2005-35 Showing blocked javascript: popup uses wrong privilege context
MFSA 2005-36 Cross-site scripting through global scope pollution
MFSA 2005-37 Code execution through javascript: favicons
MFSA 2005-38 Search plugin cross-site scripting
MFSA 2005-40 Missing Install object instance checks
MFSA 2005-41 Privilege escalation via DOM property overrides
2005-04-19 15:15:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
taya
8d8ccb572d Add security fix to mozilla & mozilla-gtk2.
fixes "Mozilla Firefox JavaScript Engine Information Disclosure Vulnerability"
See following pages for detail.

http://secunia.com/advisories/14820/
https://bugzilla.mozilla.org/show_bug.cgi?id=288688

Bump PKGREVISION.
2005-04-07 23:48:36 +00:00
abs
15cef35050 MOZILLA_USE_GTK2 needs --disable-gnomevfs, so make this so in
mozilla/Makefile.common, rather than adding it into each Makefile
(also fixes thunderbird-gtk2).
2005-04-02 14:38:14 +00:00
abs
1697a2becb cut trailing whitespace 2005-04-02 09:46:41 +00:00
taya
94ecb35c2d ABI did not change, add BUILDLINK_RECOMMENDED instead of updating BUILDLINK_DEPENDS. 2005-03-26 13:49:31 +00:00
taya
ddd3807e98 Update mozilla & mozilla-gtk2 to 1.7.6
This is a security fix release.
Fixed bugs are follows.

MFSA 2005-32  Drag and drop loading of privileged XUL
MFSA 2005-30 GIF heap overflow parsing Netscape extension 2
MFSA 2005-29 Internationalized Domain Name (IDN) homograph spoofing
MFSA 2005-28 Unsafe /tmp/plugtmp directory exploitable to erase user's files
MFSA 2005-27 Plugins can be used to load privileged content
MFSA 2005-26 Cross-site scripting by dropping javascript: link on tab
MFSA 2005-25 Image drag and drop executable spoofing
MFSA 2005-24 HTTP auth prompt tab spoofing
MFSA 2005-23 Download dialog source spoofing
MFSA 2005-21 Overwrite arbitrary files downloading .lnk twice
MFSA 2005-20 XSLT can include stylesheets from arbitrary hosts
MFSA 2005-18 Memory overwrite in string library
MFSA 2005-17 Install source spoofing with user:pass@host
MFSA 2005-16 Spoofing download and security dialogs with overlapping windows
MFSA 2005-15 Heap overflow possible in UTF8 to Unicode conversion
MFSA 2005-14 SSL "secure site" indicator spoofing
MFSA 2005-13 Window Injection Spoofing

see changelog for detail.
http://www.mozilla.org/releases/mozilla1.7.6/changelog.html
2005-03-24 14:08:28 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
taya
145d039e80 - remove patch-bj that i forgot to remove at previous commit
- add $NetBSD$ to patch-ah

thanks to adrianp, wiz, kambe san.
2005-01-04 11:03:00 +00:00
taya
a7e71712ee Update mozilla, mozilla-gtk2, and mozilla-stable to 1.7.5
Changes from release notes
- NPRuntime support. NPRuntime is an extension to the Netscape Plugin API
  that was developed in cooperation with Apple, Opera, and a group of plugin
  vendors. http://www.mozilla.org/projects/plugins/npruntime.html

- Added undetectable document.all support, and support for exposing elements
  by their ID in the global scope for greater IE compatibility when viewing
  pages that don't request standards compliant behaviour.
  https://bugzilla.mozilla.org/show_bug.cgi?id=248549 and
  https://bugzilla.mozilla.org/show_bug.cgi?id=256932.
2004-12-25 15:39:42 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +00:00
wiz
aa37e4370a Update mozilla and mozilla-gtk2 to 1.7.3nb2 with a security fix
from mozilla CVS.
2004-11-12 02:11:22 +00:00
jmmv
53252bed5c Modify mozilla and mozilla-gtk2 to install several additional headers.
More specifically, this lets Mozilla NSS be used by other programs.

Also make the pkgconfig substitutions happen at post-build time, so that
the right rpaths are added to the mozilla-nspr.pc file (which is filled
in during the build).

Bump PKGREVISION to 1 for both packages.  Ok'ed by taya@, the maintainer.
2004-10-25 18:06:25 +00:00
sekiya
6ea45198bb Force gcc34 and use the right varargs macro for amd64. Mozilla (and its
derivatives) now appears to work properly on amd64.

Patches from Nicholas Joly.
2004-10-25 13:02:15 +00:00
grant
826e2e61ab bring across a patch in Firefox for using thread-safe resolver library
functions on NetBSD >=2.0F.
2004-10-04 11:52:09 +00:00
taya
348fa1e9b6 Update mozilla & mozilla-gtk2 to 1.7.3
Mozilla 1.7.3 is a security update to Mozilla 1.7 that fixes a several
security vulnerabilities.

#93	"Send page" heap overrun (258005)
#92	javascript clipboard access (257523)
#91	 Privilege request confusion (253942)
#90	Buffer overflow when displaying VCard (257314)
#89	BMP integer overflow (255067)
#88	javascript: link dragging (250862)
#87	non-ascii hostname heap overrun (256316)
#86	Malicious POP3 server III (245066, 226669)
#85	Wrong file permissions after installing on Linux (231083, 235781)
#84	Wrong file permissions in linux archive (254303)

See the page bellow for detail
http://www.mozilla.org/projects/security/known-vulnerabilities.html#mozilla1.7.3
2004-09-17 14:01:44 +00:00
danw
cbe9744cbb darwin fixes (tested against firefox-gtk2) 2004-08-31 02:37:57 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
he
ad274906b3 Remove patch for getting this to compile on netbsd-1-5.
It has (probably long since) been replaced by configuration checks
in mozilla's configure script.  The resulting source still compiles
and works on netbsd-1-5 / i386.
2004-08-22 12:29:38 +00:00
taya
e7d62f8a24 make mozilla work on NetBSD-current/alpha 2004-08-15 01:33:58 +00:00
taya
d3e11e710d Update mozilla & mozilla-gtk2 to 1.7.2
mozilla 1.7.2 is a security fix release.
Fixed bugs are:

- lock icon and certificate spoof with onunload document.write (Bugzilla#253121)
- Malicious certificates can permanently break HTTPS/SSL (Bugzilla#249004)

See the page below.
http://www.mozilla.org/projects/security/known-vulnerabilities.html#mozilla1.7.2
2004-08-09 14:19:20 +00:00
taya
dbbf1b50b0 - fix invoke_copy_to_stack() for PRBool
- Use socklen_t for 5th arg. of getsockopt() instead of size_t

Now mozilla runs on sparc64.
But It's not complete (e.g. can't connect to IPv6 site)
2004-07-26 23:36:01 +00:00
aymeric
b726a6a9dc . on PowerPC, update files so that Mozilla works properly when compiled with
gcc version 3+.
. generally reduce diffs to Linux version
. retain compatibility with older ABI (AIX-like) thanks to useful comments
  from Charles Hannum

Thanks to Matthew Green for the fruitful discussion. This should address
PR#23240 as far as mozilla is concerned.
2004-07-07 09:08:31 +00:00
taya
ca4377bbbd fix compilation problem on NetBSD-1.6.2
bump PKGREVISION
fix PR 26125
2004-07-05 14:22:42 +00:00
taya
fe5e736d45 Update mozilla to 1.7
New features and fixes
Browser
    * A new option to prevent sites from using JavaScript to block the
    browser's context menu.

    * Password Manager has a "show passwords" mode which will display
      saved passwords. You will need to enter your master password if
      you are using one.

    * The "Set As Wallpaper" feature now has a confirmation dialog.

    * Linux GTK2 builds have improved support for OS themes.

    * Cookie dialogs have been reworked to make them more usable.

    * Date handling, especially on OS X, has been improved.

    * It is now possible to fine-tune Mozilla's pop-up blocking using
      two preferences (dom.popup_maximum and dom.popup_allowed_events)
      but there's no UI for that yet. Even without a UI, users should
      notice a greater variety of pop-ups blocked (primarily mouseover
      pop-ups) and a limit of 20 or so open at one time - regardless
      of whether pop-up blocking is active. This will provide some
      protection from sites that open hundreds of windows in a loop.

    * Downloaded files are now moved to the target directory as soon
      as the user selects the desired location. This was the
      frequently reported bug 55690.

    * There is now user interface to activate Smooth Scrolling
      (Preferences -> Appearance).

    * Mozilla now supports basic FTP upload.

Mail
    * Many improvements to Palm Sync.

    * IMAP IDLE support has been added.

    * Support for "MSN Authentication" and Secure Password

    * Authentication using SSPI NTLM auth for SMTP and POP3.

    * A new preference to "always use the default character encoding
      for replies" rather than using the encoding of the message being
      replied to.

    * Improvements to performance of downloading, viewing, and saving
      mail messages.

    * Support for multiple identities on the same mail account. See
      the Multiple Identity Support documentation for more details.

    * Support for relative paths for mail folders in prefs.js. This
      makes it easier to copy profiles around without having to fix up
      prefs.js afterwards.

    * You can now edit address lists containing "Last, First" style
      names.

    * When composing mail, you can now use the up and down arrow keys
      to scroll through the To/Cc/Bcc list.

    * All Mozilla LDAP queries now default to using LDAPv3
      (previously, they used LDAPv2). Mozilla should gracefully fall
      back to v2 if v3 isn't found.


Chatzilla
    * Chatzilla now supports zooming of fonts with keyboard shortcuts
    (Ctrl + and Ctrl -), as well as with the View menu.

    * Improved date handling; using the date/time format for the
      locale.

    * Support for the /ignore command.

    * The ability to change the font family and size.

    * Working custom sounds on Windows and Linux.

    * Improvements to the preferences panel and the user interface for
      half-op mode.


Under the Hood
    * Size and performance have improved dramatically with this
    release. When compared to Mozilla 1.6, Mozilla 1.7 is 7% faster at
    startup, is 8% faster to open a window, has 9% faster page
    loading, and is 5% smaller in binary size.

    * A long-standing bug with CSS backgrounds on table elements has
      been fixed (standards mode only).

    * Support for Kerberos HTTP authentication using GSSAPI (benefits
      Unix-like platforms including Linux and OS X).

    * Support for smb:// URLs using the gnome-vfs library (only
      enabled in GTK2+XFT Linux builds).

    * Support for server push of XML documents using
      multipart/x-mixed-replace and XMLHttpRequest.

    * Liveconnect now works when a Java applet's codebase is in a
      different domain.

    * Support for the CSS3 opacity property.

    * Mozilla adds support for the onbeforeunload event. This lets web
      application developers add code that alerts the user about
      potential data-loss when closing a web application, or when
      leaving a HTML page with potentially sensitive information.

    * This release has a new SVG backend. The feature is not yet
      enabled in the mozilla.org releases but developers may wish to
      compile with this feature enabled.

    * Mozilla handles dynamic style changes much better (see bug 15608
      for details.)

    * Mozilla has upgraded the NSS libraries to version 3.9. NSS 3.9
      passes all the NISCC SSL/TLS and S/MIME tests (1.6 million test
      cases of invalid input data) without crashes or memory leaks.
2004-06-21 14:14:00 +00:00