pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox Update to 58.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b6bbeae0882
branches:  trunk
changeset: 374918:7b6bbeae0882
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Jan 31 14:02:17 2018 +0000

description:
Update to 58.0.1

* Fix build under netbsd-7, PR pkg/52956

Changelog:
Fix Mozilla Foundation Security Advisory 2018-05:
Arbitrary code execution through unsanitized browser UI

When using certain non-default security policies on Windows (for
example with Windows Defender Exploit Protection or Webroot security
products), Firefox 58.0 would fail to load pages (bug 1433065).

diffstat:

 www/firefox/Makefile                               |   5 +-
 www/firefox/distinfo                               |  11 +++---
 www/firefox/patches/patch-xpcom_build_BinaryPath.h |  36 ++++++++++++++++++++++
 3 files changed, 44 insertions(+), 8 deletions(-)

diffs (84 lines):

diff -r 6c72d5b69745 -r 7b6bbeae0882 www/firefox/Makefile
--- a/www/firefox/Makefile      Wed Jan 31 13:43:33 2018 +0000
+++ b/www/firefox/Makefile      Wed Jan 31 14:02:17 2018 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.319 2018/01/28 20:11:07 wiz Exp $
+# $NetBSD: Makefile,v 1.320 2018/01/31 14:02:17 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            58.0
-MOZ_BRANCH_MINOR=      
+MOZ_BRANCH_MINOR=      .1
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       firefox-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//}
-PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/}
diff -r 6c72d5b69745 -r 7b6bbeae0882 www/firefox/distinfo
--- a/www/firefox/distinfo      Wed Jan 31 13:43:33 2018 +0000
+++ b/www/firefox/distinfo      Wed Jan 31 14:02:17 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.306 2018/01/24 16:52:08 ryoon Exp $
+$NetBSD: distinfo,v 1.307 2018/01/31 14:02:17 ryoon Exp $
 
-SHA1 (firefox-58.0.source.tar.xz) = 253d1bcd2256fa013eadac40f04b5ddacc2b5e74
-RMD160 (firefox-58.0.source.tar.xz) = 0d8c5018f7d6ef90f480068555635547290c1430
-SHA512 (firefox-58.0.source.tar.xz) = 17a2c520973c68c5dd130bcb27407b1c20b03f74c97aeb486e86d422ab5c012e549787ae53275d6840b9d324f261ae282b98f61764ee5e0a6df1cc3e3c9e2632
-Size (firefox-58.0.source.tar.xz) = 247185892 bytes
+SHA1 (firefox-58.0.1.source.tar.xz) = 33dde117cef998eadb8fe53e2d045ae8dd27c8bf
+RMD160 (firefox-58.0.1.source.tar.xz) = d5ace7da909ae48110ea96781ab3a93da8994702
+SHA512 (firefox-58.0.1.source.tar.xz) = 65a6a68f95dac93fc68c4e240742b172a6417e7fafca2671ab13f398329ba0ef3195bbaaecea2d9f8b2992217cfaa7912af6c0351a1efe4cf2d2bba838ecd711
+Size (firefox-58.0.1.source.tar.xz) = 248933088 bytes
 SHA1 (patch-aa) = b4a6359c2c22617fed31636250b3ff12a03aafa8
 SHA1 (patch-build_gyp.mozbuild) = bb3a2f8c1cad0e9cfdaefa721c5992cba2e2bf50
 SHA1 (patch-build_moz.configure_init.configure) = 5ec8da6b5aad7682a88b010a99e19f5d4403e6db
@@ -83,6 +83,7 @@
 SHA1 (patch-toolkit_xre_glxtest.cpp) = cf048491778610454b914400e53072afedd96e7b
 SHA1 (patch-toolkit_xre_nsEmbedFunctions.cpp) = 4a6ae13adfdfc63d50c1a53ee71aad1ee82e6131
 SHA1 (patch-xpcom_base_nscore.h) = d7c96eda884d7f370442749c43caba50da61bbe4
+SHA1 (patch-xpcom_build_BinaryPath.h) = 02989461bb7d2a17cf9f1c2b21652f3cf64fb386
 SHA1 (patch-xpcom_build_XPCOMInit.cpp) = 1e7cc3a7fd9515b10307fafa2b01ed689320bd54
 SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 528f7254966d883c18e33744e28780a93055d560
 SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__sparc64__netbsd.cpp) = 0792c2c626d906e71c5183994cb32bf8cdb3e239
diff -r 6c72d5b69745 -r 7b6bbeae0882 www/firefox/patches/patch-xpcom_build_BinaryPath.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-xpcom_build_BinaryPath.h        Wed Jan 31 14:02:17 2018 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-xpcom_build_BinaryPath.h,v 1.3 2018/01/31 14:02:18 ryoon Exp $
+
+* Fix build under netbsd-7, PR pkg/52956
+
+--- xpcom/build/BinaryPath.h.orig      2018-01-11 20:17:07.000000000 +0000
++++ xpcom/build/BinaryPath.h
+@@ -22,7 +22,8 @@
+     defined(__OpenBSD__)
+ #include <sys/sysctl.h>
+ #endif
+-#if defined(__OpenBSD__)
++#if defined(__OpenBSD__) || \
++    (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
+ #include <sys/stat.h>
+ #endif
+ #include "mozilla/UniquePtr.h"
+@@ -172,7 +173,8 @@ private:
+   }
+ 
+ #elif defined(__FreeBSD__) || defined(__DragonFly__) || \
+-      defined(__FreeBSD_kernel__) || defined(__NetBSD__)
++      defined(__FreeBSD_kernel__) || \
++      (defined(__NetBSD__) && defined(KERN_PROC_PATHNAME))
+   static nsresult Get(char aResult[MAXPATHLEN])
+   {
+     int mib[4];
+@@ -195,7 +197,8 @@ private:
+     return NS_OK;
+   }
+ 
+-#elif defined(__OpenBSD__)
++#elif defined(__OpenBSD__) || \
++      (defined(__NetBSD__) && !defined(KERN_PROC_PATHNAME))
+   static nsresult Get(char aResult[MAXPATHLEN])
+   {
+     int mib[4];



Home | Main Index | Thread Index | Old Index