From 70cdc7f831b17c708721c54c246d986c53e0f6c7a0778fef64134828e8c7e962 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 17 Jan 2008 22:51:26 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox?expand=0&rev=29 --- MozillaFirefox.changes | 5 + MozillaFirefox.spec | 434 ++++++++++++++++++++------------------- mozilla-maxpathlen.patch | 175 ++++++++++++++++ 3 files changed, 399 insertions(+), 215 deletions(-) create mode 100644 mozilla-maxpathlen.patch diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 54cfa3c0..f5c2a37c 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 17 17:52:47 CET 2008 - maw@suse.de + +- Add mozilla-maxpathlen.patch (#354150 and bmo #412610). + ------------------------------------------------------------------- Tue Nov 27 18:25:25 CET 2007 - maw@suse.de diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 1cd5c2b6..9e6d8337 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -1,7 +1,7 @@ # # spec file for package MozillaFirefox (Version 2.0.0.10) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -29,7 +29,7 @@ Obsoletes: MozillaFirebird <= 1.0.7 Obsoletes: mozilla %endif Version: 2.0.0.10 -Release: 1 +Release: 16 Summary: Mozilla Firefox Web Browser Url: http://www.mozilla.org/ Group: Productivity/Networking/Web/Browsers @@ -95,6 +95,7 @@ Patch36: greasemonkey.patch Patch37: mozilla-canvas-1.8.1.10.patch Patch38: tango-maxversion.patch Patch39: x11-session.patch +Patch40: mozilla-maxpathlen.patch # gconf.patch dbus.patch startup.patch Patch100: configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -223,6 +224,7 @@ pushd $RPM_BUILD_DIR %patch38 popd %patch39 -p1 +%patch40 -p1 %patch100 %if %has_system_nss #%patch101 @@ -559,7 +561,9 @@ exit 0 %endif %changelog -* Tue Nov 27 2007 - maw@suse.de +* Thu Jan 17 2008 maw@suse.de +- Add mozilla-maxpathlen.patch (#354150 and bmo #412610). +* Tue Nov 27 2007 maw@suse.de - Security update to version 2.0.0.10 (#341905, #341591): + MFSA 2007-39 Referer-spoofing via window.location race condition + MFSA 2007-38 Memory corruption vulnerabilities (rv:1.8.1.10) @@ -568,11 +572,11 @@ exit 0 + Updated dbus.patch, startup.patch, misc.dif, and configure.patch - Add mozilla-gcc4.3-fixes.patch - Add mozilla-canvas-1.8.1.10.patch (#341591#c10). -* Mon Nov 26 2007 - maw@suse.de +* Mon Nov 26 2007 maw@suse.de - Build with -ftree-vrp -fwrapv, per advice in #342603#c17. -* Tue Nov 13 2007 - maw@suse.de +* Tue Nov 13 2007 maw@suse.de - Add firefox-gcc4.3-fixes.patch. -* Fri Oct 19 2007 - maw@suse.de +* Fri Oct 19 2007 maw@suse.de - Security update to version 2.0.0.8 (#332512) (thanks, Wolfgang) * MFSA 2007-29 Crashes with evidence of memory corruption * MFSA 2007-30 onUnload Tailgating @@ -583,28 +587,28 @@ exit 0 * MFSA 2007-35 XPCNativeWraper pollution using Script object complete advisories on http://www.mozilla.org/projects/security/known-vulnerabilities.html -* Sun Sep 23 2007 - maw@suse.de +* Sun Sep 23 2007 maw@suse.de - Don't explicitly require libaoss.so (#326751). -* Fri Sep 14 2007 - maw@suse.de +* Fri Sep 14 2007 maw@suse.de - Update the Novell Support search plugin in search-addons.tar.bz2 (#297261) - Set the browser.tabs.loadFolderAndReplace preference to false by default (#230759). -* Wed Sep 12 2007 - dmueller@suse.de +* Wed Sep 12 2007 dmueller@suse.de - fix hardlinks accross partitions -* Thu Sep 06 2007 - maw@suse.de +* Thu Sep 06 2007 maw@suse.de - Add http://software.opensuse.org/search?baseproject=openSUSE:10.3 to the default bookmarks (#308223). -* Mon Sep 03 2007 - ro@suse.de +* Mon Sep 03 2007 ro@suse.de - move last change a bit further in specfile -* Fri Aug 31 2007 - maw@suse.de +* Fri Aug 31 2007 maw@suse.de - Mark a .png file as nonexecutable. -* Tue Aug 28 2007 - maw@suse.de +* Tue Aug 28 2007 maw@suse.de - Minor .spec update (#305193) + Remove two obsolete patches + Correct releasedate + Include only the officially supported locales. -* Wed Aug 22 2007 - maw@suse.de +* Wed Aug 22 2007 maw@suse.de - Merge changes from the build service (thanks, Wolfgang): + Provide locale dependency information (#302288) + Add x11-session.patch, supporting X11 session management @@ -615,16 +619,16 @@ exit 0 * MFSA 2007-27 Unescaped URIs passed to external programs (only relevant on Windows) - Use %%fdupes. -* Tue Aug 21 2007 - aj@suse.de +* Tue Aug 21 2007 aj@suse.de - Adjust bookmarks: Add news.opensuse.org, use new software.o.o page. -* Thu Aug 16 2007 - mauro@suse.de +* Thu Aug 16 2007 mauro@suse.de - Revert previous change. -* Tue Aug 14 2007 - mauro@suse.de +* Tue Aug 14 2007 mauro@suse.de - Added support for ymp in the mimetypes.rdf - Added OneClickInstallUrlHandler for handing the actual call from firefox. - Fixes bnc #295677 -* Mon Jul 23 2007 - maw@suse.de +* Mon Jul 23 2007 maw@suse.de - Security update to version 2.0.0.5 (#288115) which has fixes for: MFSA 2007-18 CVE-2007-3734 - Browser flaws @@ -643,25 +647,25 @@ exit 0 CVE-2007-3656 MFSA 2007-25 CVE-2007-3738 -* Thu Jun 21 2007 - adrian@suse.de +* Thu Jun 21 2007 adrian@suse.de - fix changelog entry order -* Mon Jun 18 2007 - maw@suse.de +* Mon Jun 18 2007 maw@suse.de - Use mozilla.sh.in from the build service (#230681). -* Tue Jun 05 2007 - sbrabec@suse.cz +* Tue Jun 05 2007 sbrabec@suse.cz - Removed invalid desktop category "Application" (#254654). -* Mon Jun 04 2007 - maw@suse.de +* Mon Jun 04 2007 maw@suse.de - Security update to version 2.0.0.4 - Refresh configure.patch, startup.patch, and visibility.patch - Now use l10n-%%{version}.tar.bz2 instead of l10n.tar.bz2. -* Mon Apr 30 2007 - ro@suse.de +* Mon Apr 30 2007 ro@suse.de - added unzip to BuildRequires -* Wed Apr 18 2007 - mfabian@suse.de +* Wed Apr 18 2007 mfabian@suse.de - add Japanese to the languages which get PANGO enabled in the start script to support the Japanese combining characters U+3099 U+309A (see bugzilla #262718 comment #29). -* Mon Mar 12 2007 - maw@suse.de +* Mon Mar 12 2007 maw@suse.de - Package gconf stuff. -* Wed Feb 21 2007 - maw@suse.de +* Wed Feb 21 2007 maw@suse.de - Security update to 2.0.0.2 (#244923), which covers: + mfsa2007-01 * CVE-2007-0775 - layout engine crashes @@ -689,36 +693,36 @@ exit 0 - Updates the man page (#243037) - Properly propagates exit codes (#241492) - Adds em-356370.patch (#217374) -* Thu Jan 25 2007 - maw@suse.de +* Thu Jan 25 2007 maw@suse.de - Fixup the Gnome paths, keeping in closer sync with the buildservice. -* Thu Jan 18 2007 - maw@suse.de +* Thu Jan 18 2007 maw@suse.de - Gnome is now in /usr, so remove references to /opt/gnome - Install firefox.png with the executable bit not set. -* Wed Jan 10 2007 - meissner@suse.de +* Wed Jan 10 2007 meissner@suse.de - readd MozillaFirebird provides (was incorrect in removing it). -* Mon Jan 08 2007 - meissner@suse.de +* Mon Jan 08 2007 meissner@suse.de - Do not provide MozillaFirebird, just obsolete it. -* Fri Dec 01 2006 - maw@suse.de +* Fri Dec 01 2006 maw@suse.de - Update gecko-lockdown.patch (#220616). -* Thu Nov 30 2006 - maw@suse.de +* Thu Nov 30 2006 maw@suse.de - Update firefox-suse-default-prefs.js, adding 'pref("browser.backspace_action", 2);' (#217374) -* Thu Nov 30 2006 - aj@suse.de +* Thu Nov 30 2006 aj@suse.de - Fix last change (#224431). -* Wed Nov 29 2006 - aj@suse.de +* Wed Nov 29 2006 aj@suse.de - Change download bookmark (#224431). - Rename bookmark folder to openSUSE. -* Tue Nov 28 2006 - aj@suse.de +* Tue Nov 28 2006 aj@suse.de - Sync from Buildservice with following critical fixes (thanks Wolfgang Rosenauer!): * fixed system-proxies.patch to actually work (#223881). * Rearrange Bookmarks to pass trademark review. -* Mon Nov 27 2006 - aj@suse.de +* Mon Nov 27 2006 aj@suse.de - Fix tango theme (#223796). -* Mon Nov 27 2006 - aj@suse.de +* Mon Nov 27 2006 aj@suse.de - Use www.opensuse.org as home page. -* Sun Nov 12 2006 - aj@suse.de +* Sun Nov 12 2006 aj@suse.de - Set novell.com as home page. - Update from BuildService (thanks Wolfgang!): - fixed crash in htmlparser (#217257, bmo #358797) @@ -729,23 +733,23 @@ exit 0 - Removed obsolete xul-picker.patch and system-nspr.patch - Fixed building on 10.1 and 10.0 (dbus) - Removed obsolete throbber preference -* Thu Nov 09 2006 - jhargadon@suse.de +* Thu Nov 09 2006 jhargadon@suse.de - updated tango theme -* Sun Oct 29 2006 - aj@suse.de +* Sun Oct 29 2006 aj@suse.de - Another fix for 214125, patch by Wolfgang Rosenauer. -* Thu Oct 26 2006 - aj@suse.de +* Thu Oct 26 2006 aj@suse.de - Fix gcc warnings about undefined operations, patch by Robert O'Callahan. - Update system-proxies.patch to fix error box (214125), patch by Robert O'Callahan. -* Mon Oct 23 2006 - aj@suse.de +* Mon Oct 23 2006 aj@suse.de - Update to current CVS version of 2.0. - Use www.opensuse.org as default home page for now (#203547). -* Sat Oct 21 2006 - aj@suse.de +* Sat Oct 21 2006 aj@suse.de - Disable non-working plasticfox and tango themes. -* Fri Oct 20 2006 - aj@suse.de +* Fri Oct 20 2006 aj@suse.de - Fix building of locales. -* Fri Oct 20 2006 - mkoenig@suse.de +* Fri Oct 20 2006 mkoenig@suse.de - update to version 2.0rc3: * New features: Visual Refresh, Built-in phishing protection, Enhanced search capabilities, Improved tabbed browsing, @@ -754,48 +758,48 @@ exit 0 Improved Add-ons manager, JavaScript 1.7, Extended search plugin format, Updates to the extension system, Client-side session and persistent storage, SVG text -* Tue Oct 17 2006 - meissner@suse.de +* Tue Oct 17 2006 meissner@suse.de - disabled debugging. -* Tue Sep 12 2006 - stark@suse.de +* Tue Sep 12 2006 stark@suse.de - security update to version 1.5.0.7 -* Mon Aug 21 2006 - stark@suse.de +* Mon Aug 21 2006 stark@suse.de - added greasemonkey helper change (#199920) - fixed packager.mk for new make version -* Fri Aug 11 2006 - stark@suse.de +* Fri Aug 11 2006 stark@suse.de - fixed crash in dbus component (patch by thoenig #197928) - use external adresses for PAC configuration (#196506) -* Mon Aug 07 2006 - stark@suse.de +* Mon Aug 07 2006 stark@suse.de - added symlink for Firefox 1.0.x compatibility -* Sat Jul 29 2006 - stark@suse.de +* Sat Jul 29 2006 stark@suse.de - update to regression release 1.5.0.6 (#195043) -* Thu Jul 27 2006 - stark@suse.de +* Thu Jul 27 2006 stark@suse.de - security update to version 1.5.0.5 (#195043) * observer-lock.patch integrated now - fixed leak in JS' liveconnect (#186066) - fixed desktop file for old distributions (StartupNotify=false) -* Thu Jun 29 2006 - stark@suse.de +* Thu Jun 29 2006 stark@suse.de - fixed printing crash if the last used printer is not available anymore (#187013) -* Fri Jun 16 2006 - stark@suse.de +* Fri Jun 16 2006 stark@suse.de - added 48x48 icon (#185777) -* Mon Jun 12 2006 - stark@suse.de +* Mon Jun 12 2006 stark@suse.de - fix overwrite confirmation for GTK filesaver (#179531) - get network.negotiate-auth.trusted-uris and network.negotiate-auth.delegation-uris from gconf if system-settings are enabled (#184489) -* Thu Jun 01 2006 - stark@suse.de +* Thu Jun 01 2006 stark@suse.de - update to security/stability release 1.5.0.4 (#179011) - moved locale-global prefs to browserconfig.properties (#177881) -* Tue May 23 2006 - stark@suse.de +* Tue May 23 2006 stark@suse.de - complete implementation of startup-notification (#115417) (including autoconf and remote support) - different home-pages for SLE10 and SL (#177881) -* Tue May 16 2006 - stark@suse.de +* Tue May 16 2006 stark@suse.de - fixed potential deadlock in nsObserverList::RemoveObserver (#173986, bmo #338069) - base startup notification on libstartup-notification (#115417) -* Thu May 11 2006 - stark@suse.de +* Thu May 11 2006 stark@suse.de - save printer settings properly (#174082, bmo #324072) - added startup notification support for showing load activity in Gnome and to avoid focus stealing prevention (#115417) @@ -803,17 +807,17 @@ exit 0 - provide legacy symlink for NLD9 update compatibility (#173138) - fixed system-proxies patch to avoid unwanted wpad requests (#171743, #167613) -* Mon May 08 2006 - stark@suse.de +* Mon May 08 2006 stark@suse.de - preconfigure the theme according to the used desktop (#151163) -* Thu Apr 27 2006 - stark@suse.de +* Thu Apr 27 2006 stark@suse.de - last minute change for 1.5.0.3 -* Wed Apr 26 2006 - stark@suse.de +* Wed Apr 26 2006 stark@suse.de - security update to 1.5.0.3 - fix for typo in postscript.patch -* Tue Apr 25 2006 - stark@suse.de +* Tue Apr 25 2006 stark@suse.de - fixed iframe crash (#169039, bmo #334515) - fixed img tag misuse (#168710, bmo #334341) -* Mon Apr 24 2006 - stark@suse.de +* Mon Apr 24 2006 stark@suse.de - improved postscript output (bmo #334485) - changed defaults for printer properties (#6534) - overwrite gnome-vfs' file protocol by providing "desktop-launch" @@ -821,58 +825,58 @@ exit 0 - get available paper sizes from CUPS (#65482) - replaced/removed complicated gconfd reload in %%post (#167989) - fixed memory leak in clipboard caching (bmo #289897) -* Tue Apr 11 2006 - stark@suse.de +* Tue Apr 11 2006 stark@suse.de - added (optional) plastikfox theme (#151163) - get some more security related patches (#148876) - finally fixed the default proxy configuration by adding a new UI option (#132398) -* Mon Apr 03 2006 - stark@suse.de +* Mon Apr 03 2006 stark@suse.de - fixed keyword fixup patch (#162532) -* Tue Mar 28 2006 - stark@suse.de +* Tue Mar 28 2006 stark@suse.de - don't use keyword fixup for pasted text (#160034, bmo #331522) -* Mon Mar 20 2006 - stark@suse.de +* Mon Mar 20 2006 stark@suse.de - added Tango theme - fixed reading proxies from gconf (#132398) -* Sun Mar 12 2006 - stark@suse.de +* Sun Mar 12 2006 stark@suse.de - tweaked bookmarks (fixed URLs) - added Khmer (km-*) to pango locales (#157397) -* Sat Mar 04 2006 - stark@suse.de +* Sat Mar 04 2006 stark@suse.de - fixed crash with multipart JPEGs (bmo #328684) (#140416) - got latest security fixes from upstream (#148876) -* Wed Feb 22 2006 - stark@suse.de +* Wed Feb 22 2006 stark@suse.de - fixed plugin loading when launched from Thunderbird (#151614) - merged dbus reconnection patch (#150042) - default to autodetect proxy (network.proxy.type=4) (#151811) - added GTK category to desktop file -* Tue Feb 14 2006 - stark@suse.de +* Tue Feb 14 2006 stark@suse.de - modified lockdown patches (#67281, #67282) - applied set of security patches (#148876) bmo bugs: 282105, 307989, 315625, 320459, 323634, 325403, 325947 -* Tue Feb 07 2006 - stark@suse.de +* Tue Feb 07 2006 stark@suse.de - fixed disabling of Pango (#148788) -* Thu Feb 02 2006 - stark@suse.de +* Thu Feb 02 2006 stark@suse.de - define gssapi lib explicitely (#147670) - use only official Firefox-Icon - changed home-download patch -* Sun Jan 29 2006 - stark@suse.de +* Sun Jan 29 2006 stark@suse.de - throbber URL is default again - removed firefox-showpass patch - removed additional CA certs from builtin NSS -* Fri Jan 27 2006 - stark@suse.de +* Fri Jan 27 2006 stark@suse.de - got some l10n changes from 1.8.0 branch -* Fri Jan 27 2006 - stark@suse.de +* Fri Jan 27 2006 stark@suse.de - final 1.5.0.1 version - make it possible to choose $HOME as download directory (#144894, bmo #300856) -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Sun Jan 22 2006 - stark@suse.de +* Sun Jan 22 2006 stark@suse.de - disable Pango if MOZ_ENABLE_PANGO is not set and no typical language which needs Pango is used (#143428) -* Wed Jan 18 2006 - stark@suse.de +* Wed Jan 18 2006 stark@suse.de - fixed DumpStackToFile() for glibc 2.4 - added default (font) settings -* Thu Jan 12 2006 - stark@suse.de +* Thu Jan 12 2006 stark@suse.de - update to 1.5.0.1pre (20060111) - updated man-page - fixed hovered tab close button @@ -881,12 +885,12 @@ exit 0 - use system NSS from CODE10 on - use -fstack-protector where available - changed unixproxy component to work on older distributions -* Mon Jan 02 2006 - stark@suse.de +* Mon Jan 02 2006 stark@suse.de - added unixproxy component written by Robert O'Callahan (#132398) (bmo #66057) - added official translations - preload libaoss for plugin sound (#117079) -* Wed Dec 28 2005 - stark@suse.de +* Wed Dec 28 2005 stark@suse.de - get some patches from 1.8.0 branch - readded modification to gconf-backend (bmo #321315) - readded lockdown stuff @@ -894,28 +898,28 @@ exit 0 (/usr/lib/browser-extensions/firefox) - added patch to make the XUL filechooser optional (MOZ_XUL_PICKER) -* Wed Dec 14 2005 - stark@suse.de +* Wed Dec 14 2005 stark@suse.de - fixed patch for parsing -remote parameter - removed default-plugin patch (not needed anymore) -* Fri Dec 09 2005 - stark@suse.de +* Fri Dec 09 2005 stark@suse.de - fix to ignore X composite extension (#135373) - fixed parsing of -remote parameters (#134396) - activated locales as released -* Tue Nov 29 2005 - stark@suse.de +* Tue Nov 29 2005 stark@suse.de - update to 1.5 (20051128) - don't override startup URL when changing Gecko versions (#135314) - added patch for GTK2 handling (#134831) - readded add-plugins stuff for compatibility -* Fri Nov 18 2005 - stark@suse.de +* Fri Nov 18 2005 stark@suse.de - update to 1.5rc3 (20051117) -* Mon Oct 31 2005 - stark@suse.de +* Mon Oct 31 2005 stark@suse.de - updated l10n archive (20051030) - fixed postinstall script to copy plugin links instead of files -* Fri Oct 28 2005 - stark@suse.de +* Fri Oct 28 2005 stark@suse.de - update to 1.5rc1 (20051027) - fixed profile locking on FAT partitions (bmo #313360) - introduced an rpath again -* Wed Oct 19 2005 - stark@suse.de +* Wed Oct 19 2005 stark@suse.de - update to snapshot 1.5 (20051019) - moved installation to /usr/%%{_lib}/firefox - added dbus component to be able to get network status from @@ -924,16 +928,16 @@ exit 0 - removed diable-gconf (no registration at build time anymore) - removed rebuild-databases.sh (no system registration anymore) - open links in new windows (#128087) -* Thu Oct 06 2005 - stark@suse.de +* Thu Oct 06 2005 stark@suse.de - update to Firefox 1.5b2 (20051005) - added supported translations -* Sat Oct 01 2005 - stark@suse.de +* Sat Oct 01 2005 stark@suse.de - update to Firefox 1.5b1 (20050930) RPM version 1.4.1 - removed rebuild-databases.sh calls - removed add-plugins.sh calls and corresponding triggers - enabled SVG and Canvas support - fixed gconf urlhandler registration -* Tue Sep 20 2005 - stark@suse.de +* Tue Sep 20 2005 stark@suse.de - security update to 1.0.7 (#117619) * MFSA 2005-57: IDN heap overrun using soft-hyphens (bmo #307259) (enabled IDN pref again) @@ -947,20 +951,20 @@ exit 0 CAN-2005-2707 Chrome window spoofing Regression fixes - register beagle extension if it gets installed (#116787) -* Tue Sep 13 2005 - aj@suse.de +* Tue Sep 13 2005 aj@suse.de - Change SUSE bookmarks. -* Sun Sep 11 2005 - stark@suse.de +* Sun Sep 11 2005 stark@suse.de - disable IDN per default (#116070) - unlocalize bookmarks (#114279) -* Thu Sep 08 2005 - stark@suse.de +* Thu Sep 08 2005 stark@suse.de - fixed some filemodes (#114849) -* Sun Sep 04 2005 - stark@suse.de +* Sun Sep 04 2005 stark@suse.de - fixed gconf-backend patch to be able to use system prefs (#114054) -* Thu Sep 01 2005 - stark@suse.de +* Thu Sep 01 2005 stark@suse.de - changed default font to sans-serif (#114464) - removed de-de parts of the bookmark-links (#114279) -* Mon Aug 22 2005 - stark@suse.de +* Mon Aug 22 2005 stark@suse.de - install gconf schema for lockdown also on non-NLD - added backports (firefox-backports.patch) * gtk_im_context_set_cursor_location() is not used (bmo #281339) @@ -970,7 +974,7 @@ exit 0 (broken by gtk 2.8 update) (#105764) - remove extensions on deinstallation - include dragonegg (kparts) plugin (#105468) -* Thu Aug 18 2005 - stark@suse.de +* Thu Aug 18 2005 stark@suse.de - fixed regression in profile locking change (bmo #303633) - added rtsp handler to global config (#104434) - don't blacklist help: protocol (bmo #304833) @@ -980,100 +984,100 @@ exit 0 - update industrial theme to 1.0.11 (#104564) - included lockdownV2 (removed obsolete gconf.diff) - linked firefox-bin with rpath to progdir -* Fri Aug 05 2005 - stark@suse.de +* Fri Aug 05 2005 stark@suse.de - fixed profile locking (bmo #151188) - install beagle extension globally -* Fri Jul 29 2005 - stark@suse.de +* Fri Jul 29 2005 stark@suse.de - don't require and provide NSS libs (#98002) - fixed printing error 'You cannot print while in print preview' (#96991, bmo #302445) -* Wed Jul 27 2005 - stark@suse.de +* Wed Jul 27 2005 stark@suse.de - fixed Firefox on ppc (stack-direction.patch) (#97359) - removed open-pref from startscript as it is done automatically now (#73042) - updated Novell searchplugins -* Mon Jul 25 2005 - stark@suse.de +* Mon Jul 25 2005 stark@suse.de - GTK filechooser is now modal (#8533) - backed out patch to add tooltips to print-preview because it breaks localization -* Fri Jul 22 2005 - stark@suse.de +* Fri Jul 22 2005 stark@suse.de - fixed another problem in printing patch -* Tue Jul 19 2005 - stark@suse.de +* Tue Jul 19 2005 stark@suse.de - fixed error in ft-xft-ps2.patch - disabled stripping in spec instead of patch - added NSPR to PreReq -* Mon Jul 18 2005 - stark@suse.de +* Mon Jul 18 2005 stark@suse.de - fixed some more regressions with final 1.0.6 - fixed width calculation in Postscript module (bmo #290292) - fixed plugin event starvation (bnc #94749, #94751, bmo #301161) -* Fri Jul 15 2005 - stark@suse.de +* Fri Jul 15 2005 stark@suse.de - searchplugins can now be installed per profile (#8176) -* Fri Jul 15 2005 - stark@suse.de +* Fri Jul 15 2005 stark@suse.de - update to 1.0.6 which restores API compatibility -* Tue Jul 12 2005 - stark@suse.de +* Tue Jul 12 2005 stark@suse.de - update to 1.0.5 final (#88509) - don't strip explicitely - don't ship beagle.xpi -* Wed Jul 06 2005 - stark@suse.de +* Wed Jul 06 2005 stark@suse.de - update to 1.0.5-pre (20050705) - use RPM_OPT_FLAGS for NSS component - fixed implicit declarations and uninitialized used variables - added patch for bmo #87969 -* Tue Jul 05 2005 - stark@suse.de +* Tue Jul 05 2005 stark@suse.de - fixed regression from security update (#95069, bmo #298478) -* Mon Jun 27 2005 - stark@suse.de +* Mon Jun 27 2005 stark@suse.de - don't use system-prefs by default on NLD - removed basic lockdown stuff for SUSE Linux (it's not needed and caused problems: bnc #75418) - fixed NLD lockdown patch (bnc #75418) - don't write prefs back to gconf for now -* Wed Jun 22 2005 - stark@suse.de +* Wed Jun 22 2005 stark@suse.de - new NLD lockdown patch which is syncing user prefs to gconf - update to 1.0.5pre security-release -* Thu Jun 09 2005 - stark@suse.de +* Thu Jun 09 2005 stark@suse.de - new revision of NLD lockdown patch - fixed remote usage behaviour in start script (bnc #41903) - got more bugfixes from the branch -* Thu Jun 02 2005 - stark@suse.de +* Thu Jun 02 2005 stark@suse.de - fixed neededforbuild -* Wed Jun 01 2005 - stark@suse.de +* Wed Jun 01 2005 stark@suse.de - fixed IDN for 64bit platforms (bmo #236425, bnc #46268) -* Fri May 20 2005 - stark@suse.de +* Fri May 20 2005 stark@suse.de - fixed keybinding for KP separator (bnc #84147) - pulled security related patch from upstream branch - update plastikfox theme to version 1.6 -* Thu May 12 2005 - stark@suse.de +* Thu May 12 2005 stark@suse.de - update to final 1.0.4 release -* Tue May 10 2005 - stark@suse.de +* Tue May 10 2005 stark@suse.de - update to 1.0.4 security release - removed s390(x) patches (upstream) - made two more files %%verify (81692) - updated NLD lockdown patch (81304) -* Thu Apr 28 2005 - stark@suse.de +* Thu Apr 28 2005 stark@suse.de - use static NSPR libs from new location -* Sat Apr 23 2005 - stark@suse.de +* Sat Apr 23 2005 stark@suse.de - activate usage of system NSPR for distributions after 9.3 - add patch to be able to use systen NSPR at all -* Fri Apr 22 2005 - ro@suse.de +* Fri Apr 22 2005 ro@suse.de - use mozilla-gcc4.patch -* Thu Apr 21 2005 - stark@suse.de +* Thu Apr 21 2005 stark@suse.de - don't execute gconf magic within build environment -* Sat Apr 16 2005 - stark@suse.de +* Sat Apr 16 2005 stark@suse.de - update to final 1.0.3 release -* Fri Apr 15 2005 - ro@suse.de +* Fri Apr 15 2005 ro@suse.de - fix problem in postinstall script -* Thu Apr 14 2005 - stark@suse.de +* Thu Apr 14 2005 stark@suse.de - included fixed lockdown patch for NLD - linked proxies within Firefox with gnome settings (NLD) - added gconfd restart procedure to install script (only needed if gconf changes are done) (#76852) -* Sat Apr 02 2005 - stark@suse.de +* Sat Apr 02 2005 stark@suse.de - update to security pre-release 1.0.3 (#75692) * Manual plug-in install, javascript vulnerability (bmo #288556) * Access memory vulnerability (bmo #288688) -* Fri Apr 01 2005 - stark@suse.de +* Fri Apr 01 2005 stark@suse.de - added advanced lockdown features for ZLM integration (NLD-only) -* Tue Mar 22 2005 - stark@suse.de +* Tue Mar 22 2005 stark@suse.de - update to final 1.0.2 - use new theme handling on NLD - added default-plugin-less-annoying from mozilla @@ -1085,110 +1089,110 @@ exit 0 - use GTK system colors - modify useragent string and add vendor id - activate smooth-scrolling by default (#74310) -* Tue Mar 22 2005 - stark@suse.de +* Tue Mar 22 2005 stark@suse.de - don't register beagle automatically (#74062) - added default bookmarks for SUSE LINUX -* Mon Mar 21 2005 - max@suse.de +* Mon Mar 21 2005 max@suse.de - Fixed a typo in the shell code that handles inclusion of the Acrobat Reader plugin (#70861). -* Thu Mar 17 2005 - stark@suse.de +* Thu Mar 17 2005 stark@suse.de - updates from upcoming 1.0.2 - added again logic to use Adobe Reader 7 (#70861) - fixed crash in ICO decoding (#67142, bmo #245631) - preinstall beagle extension (#72920) - bugfixes in trigger scripts - fixed industrial theming for Gnome (#72918) -* Sat Mar 12 2005 - stark@suse.de +* Sat Mar 12 2005 stark@suse.de - fixed more security related bugs (bmo #284551, #284627, #285595) -* Wed Mar 09 2005 - stark@suse.de +* Wed Mar 09 2005 stark@suse.de - update also GNOME desktop file (#71810) - added firefox-gnome.png to filelist - use correct Firefox icon -* Mon Mar 07 2005 - stark@suse.de +* Mon Mar 07 2005 stark@suse.de - disable inclusion of acrobat plugin again (#70861) - don't use gconfd in registration phase (#66381) -* Mon Mar 07 2005 - adrian@suse.de +* Mon Mar 07 2005 adrian@suse.de - use standard icon again for the default desktop file and add a Gnome-only desktop file for the Gnome icon - add plastikfox chrome theme to fix button order within KDE - add patch for automatic theme selection for KDE and Gnome - do register extensions in rebuild-databases.sh instead of %%install, to fix needed timestamps -* Fri Mar 04 2005 - stark@suse.de +* Fri Mar 04 2005 stark@suse.de - extend add-plugins to recognize Java 1.5 (#66909) - changed comment in desktop-file (#66867) -* Tue Feb 22 2005 - stark@suse.de +* Tue Feb 22 2005 stark@suse.de - make --display parameter working in all cases (bnc #66043) - revised postscript patch - final 1.0.1 codebase -* Mon Feb 21 2005 - stark@suse.de +* Mon Feb 21 2005 stark@suse.de - added patch to create Postscript level 2 (instead of 3) (special thanks to Jungshik Shin) - disabled freetype explicitly to be able to use the above patch (freetype wasn't used anymore since some time anyway) -* Fri Feb 18 2005 - stark@suse.de +* Fri Feb 18 2005 stark@suse.de - got more patches from branch to get another IDN fix and to fix bug #51019 - enabled IDN again -* Wed Feb 16 2005 - stark@suse.de +* Wed Feb 16 2005 stark@suse.de - bumped version number to 1.0.1 -* Tue Feb 15 2005 - stark@suse.de +* Tue Feb 15 2005 stark@suse.de - got updates from 1.0.1 branch -* Thu Feb 10 2005 - stark@suse.de +* Thu Feb 10 2005 stark@suse.de - additional fireflashing fix (#50635, bmo #280664) - some more security related fixes (bmo #268483, #273498, #277322) - fire up GTK2 filepicker if GNOME is running -* Tue Feb 08 2005 - stark@suse.de +* Tue Feb 08 2005 stark@suse.de - some prefs are ignored (bmo #261934) - disabled default IDN (#50566) - fixed some more bugzilla.mozilla.org bugs: [#276482], #280056, #280603 -* Sun Feb 06 2005 - stark@suse.de +* Sun Feb 06 2005 stark@suse.de - use same desktop categories for Professional and NLD - added some lockdown stuff for printing and page saving (bmo #280488) -* Wed Feb 02 2005 - stark@suse.de +* Wed Feb 02 2005 stark@suse.de - modified gconf.diff to honor ignore_hosts (bmo #280742) - added a JS crasher fix (bmo #268535) - added more fixes (bmo #255441, #273024, #275405, #275634) -* Fri Jan 28 2005 - stark@suse.de +* Fri Jan 28 2005 stark@suse.de - added gplflash inclusion - improved JRE inclusion - reactivated usage of Acrobat Reader plugin (ready for acroread 7) -* Sat Jan 22 2005 - stark@suse.de +* Sat Jan 22 2005 stark@suse.de - added some backported bugfixes -* Sat Dec 18 2004 - stark@suse.de +* Sat Dec 18 2004 stark@suse.de - updated industrial theme to 1.0.9 - use slightly changed icon for menu-entry (bnc #275) - use original desktop file for NLD again -* Thu Dec 16 2004 - stark@suse.de +* Thu Dec 16 2004 stark@suse.de - newer patch for GNOME associations (bnc #362) - fix overwriting of files with GTK picker (Ximian #65068) - readded the industrial default theme patch for NLD -* Wed Dec 15 2004 - stark@suse.de +* Wed Dec 15 2004 stark@suse.de - activate GTK filepicker for NLD again - fix for GNOME helper applications with parameters - make GNOME associations the default on NLD -* Sat Dec 04 2004 - stark@suse.de +* Sat Dec 04 2004 stark@suse.de - fixed build on s390/s390x - added patch to be able to install-global without running X (bmo #265859) -* Thu Nov 18 2004 - stark@suse.de +* Thu Nov 18 2004 stark@suse.de - update industrial theme to 1.0.8 (still not activated) - added patch to make home-directory the default download dir (on NLD is still used Desktop) -* Thu Nov 11 2004 - stark@suse.de +* Thu Nov 11 2004 stark@suse.de - made initial window height smaller again -* Tue Nov 09 2004 - stark@suse.de +* Tue Nov 09 2004 stark@suse.de - update to final 1.0 release (20041109) -* Thu Nov 04 2004 - stark@suse.de +* Thu Nov 04 2004 stark@suse.de - update to 1.0rc2 -* Sat Oct 30 2004 - stark@suse.de +* Sat Oct 30 2004 stark@suse.de - added missing s390(x) patch -* Wed Oct 27 2004 - stark@suse.de +* Wed Oct 27 2004 stark@suse.de - update to 1.0rc1 codebase - printing via XFT/fontconfig - freetype changes to avoid API conflicts with newer freetype2 @@ -1202,41 +1206,41 @@ exit 0 - use make -C browser/installer now to prepare installation - don't check for default browser at startup (#47587) - updated industrial.jar (0.99.13) (disabled) -* Fri Oct 15 2004 - stark@suse.de +* Fri Oct 15 2004 stark@suse.de - inherit locale from system - fixed chrome registration -* Wed Oct 06 2004 - joeshaw@suse.de +* Wed Oct 06 2004 joeshaw@suse.de - disable gconf settings as default (Ximian #67718) -* Wed Oct 06 2004 - stark@suse.de +* Wed Oct 06 2004 stark@suse.de - fixed inclusion of RealPlayer plugin again -* Tue Oct 05 2004 - stark@suse.de +* Tue Oct 05 2004 stark@suse.de - small important fix in firefox-download.patch (Ximian #65472) -* Sun Oct 03 2004 - stark@suse.de +* Sun Oct 03 2004 stark@suse.de - added security-fix from 0.10.1 (mozilla.org #259708) (#46687) -* Fri Oct 01 2004 - stark@suse.de +* Fri Oct 01 2004 stark@suse.de - final fix for downloading to Desktop folder (Ximian #65756) - remove Postscript from printer names (Ximian #65560) -* Thu Sep 30 2004 - shprasad@suse.de +* Thu Sep 30 2004 shprasad@suse.de - Modified the MozillaFirefox.desktop file. Changed the name 'Firefox' to 'Firefox Web Browser'. Also changed it for all languages. -* Wed Sep 29 2004 - stark@suse.de +* Wed Sep 29 2004 stark@suse.de - fix inclusion of RealPlayer plugin (Ximian #65711) -* Mon Sep 27 2004 - joeshaw@suse.de +* Mon Sep 27 2004 joeshaw@suse.de - Update the industrial default patch, for some reason it didn't take before. -* Fri Sep 24 2004 - stark@suse.de +* Fri Sep 24 2004 stark@suse.de - fix for Ximian #65176 (mozilla.org #240068) - revised patch for update function (Ximian #65615) -* Thu Sep 23 2004 - joeshaw@suse.de +* Thu Sep 23 2004 joeshaw@suse.de - Uncomment the patch which tells the UI that industrial is the default. -* Thu Sep 23 2004 - stark@suse.de +* Thu Sep 23 2004 stark@suse.de - open Nautilus on NLD for 'Show folder' in download settings (Ximian #65472) by sragavan@novell.com - save to Desktop folder if selected (Ximian #65756) by sragavan@novell.com -* Wed Sep 22 2004 - stark@suse.de +* Wed Sep 22 2004 stark@suse.de - synced NLD package with 9.2 version - GTK2 filepicker does now ask for confirmation when overwriting files (Ximian #65068) by sagarwala@novell.com @@ -1244,136 +1248,136 @@ exit 0 - throbber linked to Novell (Ximian #66283) by rganesan@novell.com - make industrial the default theme for NLD (Ximian #65542) by joeshaw@suse.de -* Mon Sep 20 2004 - joeshaw@suse.de +* Mon Sep 20 2004 joeshaw@suse.de - Add default bookmarks. Ximian #65546. - Add the industrial theme, but it's not the default yet. - Remove acroread from add-plugins because it's badly behaved. Ximian #65499. -* Mon Sep 20 2004 - federico@ximian.com +* Mon Sep 20 2004 federico@ximian.com - Added MozillaFirefox-toplevel-window-height.diff for http://bugzilla.ximian.com/show_bug.cgi?id=65543 -* Sun Sep 19 2004 - stark@suse.de +* Sun Sep 19 2004 stark@suse.de - use GNOME system prefs only for NLD by default (fixes bug #45575) -* Fri Sep 17 2004 - stark@suse.de +* Fri Sep 17 2004 stark@suse.de - joeshaw@suse.de: Update GConf patch so that proxy settings work correctly (Ximian #64461) - don't search Java on every path (Ximian #65383) - added some missing fixes for official release - added new java package name for triggers (#45257) -* Sat Sep 11 2004 - stark@suse.de +* Sat Sep 11 2004 stark@suse.de - update to official 1.0PR (0.10) - adopted gnome-filepicker patch - removed obsolete CUPS hack from start-script (Ximian #65635, #65560) -* Thu Sep 09 2004 - stark@suse.de +* Thu Sep 09 2004 stark@suse.de - fixed endianess on AMD64 in JS component (#34743) -* Mon Sep 06 2004 - stark@suse.de +* Mon Sep 06 2004 stark@suse.de - fixed filelist -* Mon Sep 06 2004 - stark@suse.de +* Mon Sep 06 2004 stark@suse.de - update to 1.0PR (aka 0.10) -* Fri Sep 03 2004 - stark@suse.de +* Fri Sep 03 2004 stark@suse.de - added ppc64 patch -* Thu Sep 02 2004 - dave@suse.de +* Thu Sep 02 2004 dave@suse.de - Fixed up the .desktop installation on nld -* Wed Sep 01 2004 - shprasad@suse.de +* Wed Sep 01 2004 shprasad@suse.de - Doesn't ask to set Firefox as default web-browser. -* Tue Aug 31 2004 - stark@suse.de +* Tue Aug 31 2004 stark@suse.de - next new version for filepicker stuff - deactivated native filepicker for NLD - update to snapshot (20040831) -* Tue Aug 24 2004 - stark@suse.de +* Tue Aug 24 2004 stark@suse.de - new version of gnome-filepicker patch - added patch for config -* Fri Aug 20 2004 - stark@suse.de +* Fri Aug 20 2004 stark@suse.de - update to snapshot (20040820) -* Thu Aug 19 2004 - stark@suse.de +* Thu Aug 19 2004 stark@suse.de - added workaround for mozilla bug #246313 (Firefox does not start: getting "cannot open display" error) -* Wed Aug 18 2004 - stark@suse.de +* Wed Aug 18 2004 stark@suse.de - added some patches from Ximian - use GNOME filepicker - use more gconf settings - set startup homepage to Novell -* Tue Aug 17 2004 - stark@suse.de +* Tue Aug 17 2004 stark@suse.de - update to pre-1.0.0 (20040817) -* Thu Aug 05 2004 - stark@suse.de +* Thu Aug 05 2004 stark@suse.de - security update to 0.9.3 (including #43312 and others) - handle RealPlayer 9 plugin -* Mon Aug 02 2004 - ro@suse.de +* Mon Aug 02 2004 ro@suse.de - recode desktop file to utf-8 -* Wed Jul 28 2004 - stark@suse.de +* Wed Jul 28 2004 stark@suse.de - added fix against certificate spoofing (#43312) -* Fri Jul 23 2004 - stark@suse.de +* Fri Jul 23 2004 stark@suse.de - update to 0.9.2 - added workaround for extension registry - removed old (incompatible) mozex extension -* Tue Jun 29 2004 - stark@suse.de +* Tue Jun 29 2004 stark@suse.de - update to 0.9.1 - added hint to run as root first -* Tue Jun 15 2004 - stark@suse.de +* Tue Jun 15 2004 stark@suse.de - update to 0.9 - added patch for newer freetype -* Fri Apr 02 2004 - stark@suse.de +* Fri Apr 02 2004 stark@suse.de - removing relocation of TEMP directory (#34391) -* Mon Mar 29 2004 - stark@suse.de +* Mon Mar 29 2004 stark@suse.de - update to 0.8.0+ (20040503) - removed firefox logos and activate official branding for milestone builds - changed profile-dir to .firefox - added some needed files - enabled gnomevfs extension -* Fri Mar 26 2004 - uli@suse.de +* Fri Mar 26 2004 uli@suse.de - fixed hang during build on s390* (bug #35440) -* Wed Mar 03 2004 - stark@suse.de +* Wed Mar 03 2004 stark@suse.de - removed unused patches for GTK2 build - more fixes for (#35179) -* Mon Mar 01 2004 - stark@suse.de +* Mon Mar 01 2004 stark@suse.de - improved start-script to interact with thunderbird (#35179) -* Thu Feb 26 2004 - stark@suse.de +* Thu Feb 26 2004 stark@suse.de - use official releasedate - added official (trademarked) artwork - added firefox icon to /usr/share/pixmaps - cleaned up spec-file (there will be no GTK1 version) -* Tue Feb 24 2004 - stark@suse.de +* Tue Feb 24 2004 stark@suse.de - fixed optimization for non-x86 archs -* Tue Feb 24 2004 - stark@suse.de +* Tue Feb 24 2004 stark@suse.de - adopted file-list and build options to original distribution - added prdtoa fix (#32963) - added hook for static firefox build to rebuild-databases.sh - added compiler flags for security/ (nss-opt.patch) - included mozex (mozex.mozdev.org) - added -Os as optimization flag -* Mon Feb 09 2004 - stark@suse.de +* Mon Feb 09 2004 stark@suse.de - renamed to MozillaFirefox - update to final version 0.8 -* Fri Feb 06 2004 - stark@suse.de +* Fri Feb 06 2004 stark@suse.de - update to Firebird 0.8 (20040205) - added mips build fix - set PS printer list in MozillaFirebird.sh - use lib64 again for biarch platforms -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - build as user -* Fri Aug 22 2003 - stark@suse.de +* Fri Aug 22 2003 stark@suse.de - upstream sync for 0.6.1post -* Sun Aug 10 2003 - stark@suse.de +* Sun Aug 10 2003 stark@suse.de - removed dmoz from searchplugins-filelist -* Fri Aug 08 2003 - stark@suse.de +* Fri Aug 08 2003 stark@suse.de - update to 0.6.1post (TRUNK) - use -fno-strict-aliasing -* Thu Jul 31 2003 - stark@suse.de +* Thu Jul 31 2003 stark@suse.de - update to 0.6.1 (MOZILLA_1_4_BRANCH) - synchronized with mozilla-source - created file-list -* Thu Jul 10 2003 - stark@suse.de +* Thu Jul 10 2003 stark@suse.de - update to snapshot 20030709 - fixed generation of symlink MozillaFirebird-xremote-client -* Fri Jun 20 2003 - stark@suse.de +* Fri Jun 20 2003 stark@suse.de - update to snapshot 20030622 (0.7pre) -* Mon May 19 2003 - stark@suse.de +* Mon May 19 2003 stark@suse.de - update to snapshot 20030518 (0.6) -* Wed May 07 2003 - stark@suse.de +* Wed May 07 2003 stark@suse.de - update to snapshot 20030507 -* Wed Apr 30 2003 - stark@suse.de +* Wed Apr 30 2003 stark@suse.de - initial SuSE package diff --git a/mozilla-maxpathlen.patch b/mozilla-maxpathlen.patch new file mode 100644 index 00000000..d425a6e8 --- /dev/null +++ b/mozilla-maxpathlen.patch @@ -0,0 +1,175 @@ +--- mozilla/toolkit/xre/nsAppRunner.h.old 2007-09-25 18:01:56.000000000 +0200 ++++ mozilla/toolkit/xre/nsAppRunner.h 2007-09-25 18:02:23.000000000 +0200 +@@ -48,7 +48,8 @@ + #elif defined(CCHMAXPATH) + #define MAXPATHLEN CCHMAXPATH + #else +-#define MAXPATHLEN 1024 ++#include ++#define MAXPATHLEN PATH_MAX + #endif + #endif + +diff -up mozilla/toolkit/mozapps/update/src/updater/updater.cpp.old mozilla/toolkit/mozapps/update/src/updater/updater.cpp +--- mozilla/toolkit/mozapps/update/src/updater/updater.cpp.old 2007-09-25 18:00:26.000000000 +0200 ++++ mozilla/toolkit/mozapps/update/src/updater/updater.cpp 2007-09-25 18:00:53.000000000 +0200 +@@ -107,7 +107,8 @@ void LaunchChild(int argc, char **argv); + # elif defined(CCHMAXPATH) + # define MAXPATHLEN CCHMAXPATH + # else +-# define MAXPATHLEN 1024 ++# include ++# define MAXPATHLEN PATH_MAX + # endif + #endif + +diff -up mozilla/xpcom/io/SpecialSystemDirectory.cpp.old mozilla/xpcom/io/SpecialSystemDirectory.cpp +--- mozilla/xpcom/io/SpecialSystemDirectory.cpp.old 2007-09-25 18:04:25.000000000 +0200 ++++ mozilla/xpcom/io/SpecialSystemDirectory.cpp 2007-09-25 18:04:48.000000000 +0200 +@@ -109,7 +109,8 @@ + #elif defined(CCHMAXPATH) + #define MAXPATHLEN CCHMAXPATH + #else +-#define MAXPATHLEN 1024 ++#include ++#define MAXPATHLEN PATH_MAX + #endif + #endif + +diff -up mozilla/xpcom/obsolete/nsFileSpecUnix.cpp.old mozilla/xpcom/obsolete/nsFileSpecUnix.cpp +--- mozilla/xpcom/obsolete/nsFileSpecUnix.cpp.old 2006-11-28 01:18:37.000000000 +0100 ++++ mozilla/xpcom/obsolete/nsFileSpecUnix.cpp 2007-09-25 18:05:49.000000000 +0200 +@@ -79,7 +79,8 @@ + #endif + + #ifndef MAXPATHLEN +-#define MAXPATHLEN 1024 /* Guessing this is okay. Works for SCO. */ ++#include ++#define MAXPATHLEN PATH_MAX /* Guessing this is okay. Works for SCO. */ + #endif + + #if defined(__QNX__) +diff -up mozilla/xpcom/build/nsXPCOMPrivate.h.old mozilla/xpcom/build/nsXPCOMPrivate.h +--- mozilla/xpcom/build/nsXPCOMPrivate.h.old 2007-09-25 18:02:58.000000000 +0200 ++++ mozilla/xpcom/build/nsXPCOMPrivate.h 2007-09-25 18:03:15.000000000 +0200 +@@ -252,7 +252,8 @@ NS_GetFrozenFunctions(XPCOMFunctions *en + #elif defined(CCHMAXPATH) + #define MAXPATHLEN CCHMAXPATH + #else +-#define MAXPATHLEN 1024 ++#include ++#define MAXPATHLEN PATH_MAX + #endif + #endif + +diff -up mozilla/dbm/include/mcom_db.h.old mozilla/dbm/include/mcom_db.h +--- mozilla/dbm/include/mcom_db.h.old 2007-09-25 17:57:09.000000000 +0200 ++++ mozilla/dbm/include/mcom_db.h 2007-09-25 17:57:49.000000000 +0200 +@@ -214,7 +214,8 @@ + #endif /* __DBINTERFACE_PRIVATE */ + + #ifdef SCO +-#define MAXPATHLEN 1024 ++#include ++#define MAXPATHLEN PATH_MAX + #endif + + #include +diff -up mozilla/js/src/jsfile.c.old mozilla/js/src/jsfile.c +--- mozilla/js/src/jsfile.c.old 2006-07-26 20:55:08.000000000 +0200 ++++ mozilla/js/src/jsfile.c 2007-09-25 18:22:52.000000000 +0200 +@@ -105,7 +105,8 @@ + #define utfstring "binary" + #define unicodestring "unicode" + +-#define MAX_PATH_LENGTH 1024 ++#include ++#define MAX_PATH_LENGTH PATH_MAX + #define MODE_SIZE 256 + #define NUMBER_SIZE 32 + #define MAX_LINE_LENGTH 256 +diff -up mozilla/xpcom/typelib/xpidl/xpidl_java.c.old mozilla/xpcom/typelib/xpidl/xpidl_java.c +--- mozilla/xpcom/typelib/xpidl/xpidl_java.c.old 2007-09-25 18:38:52.000000000 +0200 ++++ mozilla/xpcom/typelib/xpidl/xpidl_java.c 2007-09-25 18:39:17.000000000 +0200 +@@ -44,6 +44,7 @@ + #include "xpidl.h" + #include + #include ++#include + + #ifdef XP_WIN + #include +diff -up mozilla/widget/src/xremoteclient/XRemoteClient.cpp.old mozilla/widget/src/xremoteclient/XRemoteClient.cpp +--- mozilla/widget/src/xremoteclient/XRemoteClient.cpp.old 2007-09-25 18:14:08.000000000 +0200 ++++ mozilla/widget/src/xremoteclient/XRemoteClient.cpp 2007-09-25 18:36:55.000000000 +0200 +@@ -76,7 +76,8 @@ + #endif + + #ifndef MAX_PATH +-#define MAX_PATH 1024 ++#include ++#define MAX_PATH PATH_MAX + #endif + + #define ARRAY_LENGTH(array_) (sizeof(array_)/sizeof(array_[0])) +diff -up mozilla/modules/libreg/src/reg.c.old mozilla/modules/libreg/src/reg.c +--- mozilla/modules/libreg/src/reg.c.old 2007-09-25 18:25:02.000000000 +0200 ++++ mozilla/modules/libreg/src/reg.c 2007-09-25 18:27:46.000000000 +0200 +@@ -96,7 +96,8 @@ + #define MAX_PATH PATH_MAX + #elif defined(XP_UNIX) + #ifndef MAX_PATH +-#define MAX_PATH 1024 ++#include ++#define MAX_PATH PATH_MAX + #endif + #elif defined(XP_OS2) + #ifndef MAX_PATH +diff -up mozilla/config/pathsub.h.old mozilla/config/pathsub.h +--- mozilla/config/pathsub.h.old 2004-04-18 16:17:25.000000000 +0200 ++++ mozilla/config/pathsub.h 2007-09-25 18:48:13.000000000 +0200 +@@ -46,7 +46,7 @@ + #include + + #ifndef PATH_MAX +-#define PATH_MAX 1024 ++#error "PATH_MAX is not defined!" + #endif + + /* +diff -up mozilla/modules/libjar/nsZipArchive.cpp.old mozilla/modules/libjar/nsZipArchive.cpp +--- mozilla/modules/libjar/nsZipArchive.cpp.old 2006-09-13 20:32:37.000000000 +0200 ++++ mozilla/modules/libjar/nsZipArchive.cpp 2007-09-25 18:51:00.000000000 +0200 +@@ -121,7 +121,7 @@ char * strdup(const char *src) + # define S_IFLNK 0120000 + # endif + # ifndef PATH_MAX +-# define PATH_MAX 1024 ++# include + # endif + #endif /* XP_UNIX */ + +diff -up mozilla/nsprpub/config/pathsub.h.old mozilla/nsprpub/config/pathsub.h +--- mozilla/nsprpub/config/pathsub.h.old 2004-04-25 17:00:34.000000000 +0200 ++++ mozilla/nsprpub/config/pathsub.h 2007-09-25 18:57:51.000000000 +0200 +@@ -50,7 +50,7 @@ + #endif + + #ifndef PATH_MAX +-#define PATH_MAX 1024 ++#error "PATH_MAX is not defined!" + #endif + + /* +diff -up mozilla/security/coreconf/nsinstall/pathsub.h.old mozilla/security/coreconf/nsinstall/pathsub.h +--- mozilla/security/coreconf/nsinstall/pathsub.h.old 2004-04-25 17:02:18.000000000 +0200 ++++ mozilla/security/coreconf/nsinstall/pathsub.h 2007-09-25 19:00:35.000000000 +0200 +@@ -49,7 +49,7 @@ + #endif + + #ifndef PATH_MAX +-#define PATH_MAX 1024 ++#error "PATH_MAX is not defined!" + #endif + + /*