aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox35')
-rw-r--r--www/firefox35/Makefile25
-rw-r--r--www/firefox35/distinfo6
-rw-r--r--www/firefox35/files/firefox.desktop.in4
-rw-r--r--www/firefox35/files/patch-config-rules.mk11
-rw-r--r--www/firefox35/files/patch-configure25
-rw-r--r--www/firefox35/files/patch-libm16
-rw-r--r--www/firefox35/files/patch-nothreads-sqlite312
-rw-r--r--www/firefox35/files/patch-security-coreconf-FreeBSD.mk14
-rw-r--r--www/firefox35/files/patch-sysnss10
-rw-r--r--www/firefox35/pkg-message2
10 files changed, 60 insertions, 65 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index 30d41a094cf2..7aba8c75f6db 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/Makefile
@@ -3,22 +3,21 @@
# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/firefox-devel/Makefile,v 1.26 2006/03/29 18:31:20 ahze Exp $
-#
+# $MCom: ports/www/firefox-devel/Makefile,v 1.30 2006/10/08 22:01:05 ahze Exp $
PORTNAME= firefox
-DISTVERSION= 2.0a3
-PORTREVISION= 1
+DISTVERSION= 2.0rc2
PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= MOZILLA_EXTENDED
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases/bonecho/alpha3/source
-#DISTNAME= ${PORTNAME}-${DISTVERSION}-source
-DISTNAME= bonecho-alpha3-source
+MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source
+DISTNAME= ${PORTNAME}-${DISTVERSION}-source
MAINTAINER= gnome@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla
+BUILD_DEPENDS= nss>=3.11.2:${PORTSDIR}/security/nss
+
LATEST_LINK= firefox2
MOZILLA= ${PORTNAME}${MOZILLA_SUFX}
MOZILLA_NAME= Firefox${MOZILLA_SUFX}
@@ -29,11 +28,12 @@ USE_X_PREFIX= yes
WANT_GNOME= yes
ALL_TARGET= default
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
+EXTRA_CFLAGS= -O2
HAS_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GCC= 3.4+
-
+LIBS= -Wl,-Bsymbolic -lc
GECKO_PLIST_PRE_FILES= lib/${MOZILLA}/chrome/icons/default/default.xpm
GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/chrome/icons/default lib/${MOZILLA}/chrome/icons
@@ -109,10 +109,5 @@ post-install:
${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default.xpm
${LN} -sf ${FIREFOX_ICON_SRC} ${PREFIX}/share/pixmaps/${FIREFOX_ICON}
-.include "${.CURDIR}/../mozilla/Makefile.common"
-test:
- @${REINPLACE_CMD} -e 's|${MOZILLA}-bin|${MOZILLA:S/${MOZILLA_SUFX}//}|; \
- s|progbase=`basename "$progname"`|${MOZILLA:S/${MOZILLA_SUFX}//}|' \
- ${FAKEDIR}/bin/${MOZILLA} \
- ${FAKEDIR}/bin/${MOZILLA}-config
+.include "${PORTSDIR}/www/mozilla/Makefile.common"
.include <bsd.port.post.mk>
diff --git a/www/firefox35/distinfo b/www/firefox35/distinfo
index 060adecf4909..dd95c332df23 100644
--- a/www/firefox35/distinfo
+++ b/www/firefox35/distinfo
@@ -1,3 +1,3 @@
-MD5 (bonecho-alpha3-source.tar.bz2) = 50fc7a086d7911d5d1341df7bffe8d56
-SHA256 (bonecho-alpha3-source.tar.bz2) = 3328e8a072404d31dd77dc95caeb830bf3a7b6f65a1aa2a03bcedde234c9613e
-SIZE (bonecho-alpha3-source.tar.bz2) = 36073138
+MD5 (firefox-2.0rc2-source.tar.bz2) = b2cbe4bef6971bb7342970ce24514c28
+SHA256 (firefox-2.0rc2-source.tar.bz2) = 21ae0d20cae31922bad2677b737da3989089ee836c19b846fea17cea7108e966
+SIZE (firefox-2.0rc2-source.tar.bz2) = 36945630
diff --git a/www/firefox35/files/firefox.desktop.in b/www/firefox35/files/firefox.desktop.in
index 2a0a3cdca71d..d72090e1aabf 100644
--- a/www/firefox35/files/firefox.desktop.in
+++ b/www/firefox35/files/firefox.desktop.in
@@ -182,10 +182,10 @@ Comment[vi]=Duyệt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]=浏览 Web
Comment[zh_TW]=瀏覽網頁
-Exec=@MOZILLA@ %U
+Exec=@MOZILLA@ %u
Icon=@FIREFOX_ICON@
StartupNotify=false
Terminal=false
Type=Application
Categories=Application;Network;
-MimeType=text/html;text/xml;application/xhtml+xml;
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
diff --git a/www/firefox35/files/patch-config-rules.mk b/www/firefox35/files/patch-config-rules.mk
index ecc3c8194dcc..7377726fdc66 100644
--- a/www/firefox35/files/patch-config-rules.mk
+++ b/www/firefox35/files/patch-config-rules.mk
@@ -1,14 +1,11 @@
---- config/rules.mk.orig Tue Aug 26 13:28:47 2003
-+++ config/rules.mk Sun Feb 1 15:11:41 2004
-@@ -444,7 +444,11 @@
+--- config/rules.mk.orig Fri Jul 7 00:13:36 2006
++++ config/rules.mk Sun Sep 3 00:04:03 2006
+@@ -443,7 +443,7 @@
ifeq ($(OS_ARCH),FreeBSD)
ifdef IS_COMPONENT
-+ifneq (,$(filter alpha ia64,$(OS_TEST)))
+-EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic -lc
-+else
- EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
-+endif
endif
endif
diff --git a/www/firefox35/files/patch-configure b/www/firefox35/files/patch-configure
index 923cf5065f18..ee6087d2d948 100644
--- a/www/firefox35/files/patch-configure
+++ b/www/firefox35/files/patch-configure
@@ -1,15 +1,24 @@
---- configure.orig Tue Oct 4 02:01:48 2005
-+++ configure Wed Nov 23 11:07:17 2005
-@@ -10016,7 +10016,7 @@
+--- configure.orig Tue Aug 8 13:59:01 2006
++++ configure Tue Sep 19 07:52:08 2006
+@@ -1047,7 +1047,7 @@
+
+ MOZJPEG=62
+ MOZPNG=10207
+-MOZZLIB=1.2.3
++MOZZLIB=1.2.2
+ NSPR_VERSION=4
+ NSS_VERSION=3
+
+@@ -10267,7 +10267,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 10022 "configure"
+ #line 10273 "configure"
#include "confdefs.h"
-@@ -10047,7 +10047,7 @@
+@@ -10298,7 +10298,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@@ -18,16 +27,16 @@
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
-@@ -10057,7 +10057,7 @@
+@@ -10308,7 +10308,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 10063 "configure"
+ #line 10314 "configure"
#include "confdefs.h"
-@@ -10088,7 +10088,7 @@
+@@ -10339,7 +10339,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
diff --git a/www/firefox35/files/patch-libm b/www/firefox35/files/patch-libm
index 7de64b2a5068..d9295c9068d4 100644
--- a/www/firefox35/files/patch-libm
+++ b/www/firefox35/files/patch-libm
@@ -1,19 +1,3 @@
---- js/src/Makefile.in Thu Aug 4 22:26:52 2005
-+++ js/src/Makefile.in Thu Aug 4 23:02:32 2005
-@@ -148,5 +148,4 @@
- endif
-
--FDLIBM_LIBRARY = fdlibm/$(LIB_PREFIX)fdm.$(LIB_SUFFIX)
- JSMATH_PRELINK = jsmathtemp.o
- JS_SAFE_ARENA = 1
-@@ -320,7 +319,4 @@
- endif
- @$(RM) -f $(JSMATH_PRELINK)
--else
--# Create dependency so we build fdlibm
--jsmath.o: $(FDLIBM_LIBRARY) Makefile.in
- endif
-
--- js/Makefile.in Sun Mar 23 14:36:00 2003
+++ js/Makefile.in Thu Aug 4 23:08:06 2005
@@ -46,5 +46,5 @@
diff --git a/www/firefox35/files/patch-nothreads-sqlite3 b/www/firefox35/files/patch-nothreads-sqlite3
new file mode 100644
index 000000000000..1b1bbbcbda15
--- /dev/null
+++ b/www/firefox35/files/patch-nothreads-sqlite3
@@ -0,0 +1,12 @@
+--- db/sqlite3/src/Makefile.in.orig Mon Sep 25 18:38:04 2006
++++ db/sqlite3/src/Makefile.in Mon Sep 25 18:38:14 2006
+@@ -99,7 +99,8 @@
+ # REFEF_IO allows us to override IO functions, which is used in the AsyncIO
+ # -DSQLITE_SECURE_DELETE=1 will cause SQLITE to 0-fill delete data so we
+ # don't have to vacuum to make sure the data is not visible in the file.
+-DEFINES = -DSQLITE_ENABLE_REDEF_IO -DSQLITE_SECURE_DELETE=1 -DTHREADSAFE=1
++DEFINES = -DSQLITE_ENABLE_REDEF_IO -DSQLITE_SECURE_DELETE=1
++# -DTHREADSAFE=1
+
+ ifdef ENABLE_TESTS
+ ##LIBS = $(DIST)/lib/$(LIB_PREFIX)sqlite3_s.$(LIB_SUFFIX)
diff --git a/www/firefox35/files/patch-security-coreconf-FreeBSD.mk b/www/firefox35/files/patch-security-coreconf-FreeBSD.mk
index 3e0e14acaaf2..0f7a04a0279f 100644
--- a/www/firefox35/files/patch-security-coreconf-FreeBSD.mk
+++ b/www/firefox35/files/patch-security-coreconf-FreeBSD.mk
@@ -1,6 +1,6 @@
---- security/coreconf/FreeBSD.mk.orig Wed Mar 26 20:17:25 2003
-+++ security/coreconf/FreeBSD.mk Sun Nov 21 22:59:49 2004
-@@ -43,8 +43,12 @@
+--- security/coreconf/FreeBSD.mk.orig Mon Sep 25 18:26:23 2006
++++ security/coreconf/FreeBSD.mk Mon Sep 25 18:27:03 2006
+@@ -45,8 +45,12 @@
ifeq ($(OS_TEST),alpha)
CPU_ARCH = alpha
else
@@ -13,16 +13,12 @@
OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
-@@ -71,7 +75,11 @@
+@@ -73,7 +77,7 @@
DLL_SUFFIX = so.1.0
endif
-MKSHLIB = $(CC) $(DSO_LDOPTS)
-+ifneq (,$(filter alpha ia64,$(OS_TEST)))
+MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
-+else
-+MKSHLIB = $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS) -o $@
-+endif
ifdef MAPFILE
- # Add LD options to restrict exported symbols to those in the map file
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
diff --git a/www/firefox35/files/patch-sysnss b/www/firefox35/files/patch-sysnss
index f92ef73b10da..d69df4045ea9 100644
--- a/www/firefox35/files/patch-sysnss
+++ b/www/firefox35/files/patch-sysnss
@@ -148,14 +148,16 @@
endif
echo-requires-recursive::
---- security/manager/ssl/src/Makefile.in.orig Tue Jan 31 07:24:14 2006
-+++ security/manager/ssl/src/Makefile.in Tue Mar 28 15:30:44 2006
-@@ -119,17 +119,16 @@
+--- security/manager/ssl/src/Makefile.in.orig Mon Aug 14 19:22:52 2006
++++ security/manager/ssl/src/Makefile.in Thu Aug 31 15:17:20 2006
+@@ -124,19 +124,19 @@
pipboot \
$(NULL)
-EXTRA_DEPS = $(NSS_DEP_LIBS)
--
+
+ DEFINES += -DNSS_ENABLE_ECC
+
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's
-LOCAL_INCLUDES += $(NSS_CFLAGS)
diff --git a/www/firefox35/pkg-message b/www/firefox35/pkg-message
index a62c15f0282e..5c9d24b32e4e 100644
--- a/www/firefox35/pkg-message
+++ b/www/firefox35/pkg-message
@@ -16,7 +16,7 @@ The SSH sever on remote_host must allow pub key authentication.
Any bug reports should be addressed to the maintainers at:
gnome@FreeBSD.org
-You may also Cc: freebsd-ports@freebsd.org. Please do not send
+You may also Cc: freebsd-ports@FreeBSD.org. Please do not send
bug reports to any other addresses.
Please include the following information with any bug report: