summaryrefslogtreecommitdiff
path: root/www/firefox/options.mk
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-26 11:32:12 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-26 11:32:12 +0000
commita40b55b87587408e4a78a48655b22caed2d693cd (patch)
treeded0d566db364a06dc2170d6b5f7be7de6938b17 /www/firefox/options.mk
parent28f9d1812d43f8b26a83b8a8a05ccdad6b54dd45 (diff)
downloadpkgsrc-a40b55b87587408e4a78a48655b22caed2d693cd.tar.gz
Update to 22.0
* On NetBSD WebRTC support is disabled, because libxul.so has some errors in link stage. WebRTC support should be tested on non-NetBSD platforms. * It seems that OSS sound support is not working properly on NetBSD. Changelog: NEW WebRTC is now enabled by default! NEW Windows: Firefox now follows display scaling options to render text larger on high-res displays NEW Mac OS X: Download progress in Dock application icon NEW HTML5 audio/video playback rate can now be changed NEW Social services management implemented in Add-ons Manager NEW asm.js optimizations (OdinMonkey) enabled for major performance improvements CHANGED Improved WebGL rendering performance through asynchronous canvas updates CHANGED Plain text files displayed within Firefox will now word-wrap CHANGED For user security, the |Components| object is no longer accessible from web content CHANGED Pointer Lock API can now be used outside of fullscreen DEVELOPER CSS3 Flexbox implemented and enabled by default DEVELOPER New Web Notifications API implemented DEVELOPER Added clipboardData API for JavaScript access to a user's clipboard DEVELOPER New built-in font inspector HTML5 New HTML5 <data> and <time> elements FIXED Various security fixes FIXED Scrolling using some high-resolution-scroll aware touchpads feels slow (829952) Fixed in Firefox 22 MFSA 2013-62 Inaccessible updater can lead to local privilege escalation MFSA 2013-61 Homograph domain spoofing in .com, .net and .name MFSA 2013-60 getUserMedia permission dialog incorrectly displays location MFSA 2013-59 XrayWrappers can be bypassed to run user defined methods in a privileged context MFSA 2013-58 X-Frame-Options ignored when using server push with multi-part responses MFSA 2013-57 Sandbox restrictions not applied to nested frame elements MFSA 2013-56 PreserveWrapper has inconsistent behavior MFSA 2013-55 SVG filters can lead to information disclosure MFSA 2013-54 Data in the body of XHR HEAD requests leads to CSRF attacks MFSA 2013-53 Execution of unmapped memory through onreadystatechange event MFSA 2013-52 Arbitrary code execution within Profiler MFSA 2013-51 Privileged content access and execution via XBL MFSA 2013-50 Memory corruption found using Address Sanitizer MFSA 2013-49 Miscellaneous memory safety hazards (rv:22.0 / rv:17.0.7)
Diffstat (limited to 'www/firefox/options.mk')
-rw-r--r--www/firefox/options.mk17
1 files changed, 15 insertions, 2 deletions
diff --git a/www/firefox/options.mk b/www/firefox/options.mk
index f8fb89f391d..41589693ec0 100644
--- a/www/firefox/options.mk
+++ b/www/firefox/options.mk
@@ -1,14 +1,19 @@
-# $NetBSD: options.mk,v 1.13 2013/05/23 13:12:13 ryoon Exp $
+# $NetBSD: options.mk,v 1.14 2013/06/26 11:32:12 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
-PKG_SUPPORTED_OPTIONS+= debug mozilla-jemalloc gnome pulseaudio
+PKG_SUPPORTED_OPTIONS+= debug mozilla-jemalloc gnome pulseaudio webrtc
PLIST_VARS+= gnome jemalloc debug
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
.endif
+# On NetBSD/amd64 6.99.21 libxul.so is invalid when --enable-webrtc is set.
+.if (${OPSYS} == "FreeBSD") || (${OPSYS} == "Linux") || (${OPSYS} == "OpenBSD")
+PKG_SUGGESTED_OPTIONS+= webrtc
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnome)
@@ -56,3 +61,11 @@ NO_BIN_ON_FTP= ${RESTRICTED}
.else
PLIST.nobranding= yes
.endif
+
+PLIST_VARS+= webrtc
+.if !empty(PKG_OPTIONS:Mwebrtc)
+.include "../../graphics/libv4l/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-webrtc
+.else
+CONFIGURE_ARGS+= --disable-webrtc
+.endif