nss: update to 3.51.1 11893/head
authorLucian Cristian <lucian.cristian@gmail.com>
Sun, 19 Apr 2020 13:59:00 +0000 (16:59 +0300)
committerLucian Cristian <lucian.cristian@gmail.com>
Sun, 19 Apr 2020 13:59:00 +0000 (16:59 +0300)
also refresh patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
libs/nss/Makefile
libs/nss/patches/001-nss_standalone.patch
libs/nss/patches/003-openwrt_fix.patch

index c4293e572d18af142417affad3b889f277332feb..a38c5cf9733b128244d7e46e7bfb7422805fc8fd 100644 (file)
@@ -7,14 +7,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nss
-PKG_VERSION:=3.51
+PKG_VERSION:=3.51.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= \
     https://download.cdn.mozilla.net/pub/security/$(PKG_NAME)/releases/NSS_$(subst .,_,$(PKG_VERSION))_RTM/src \
     https://archive.mozilla.org/pub/security/$(PKG_NAME)/releases/NSS_$(subst .,_,$(PKG_VERSION))_RTM/src
-PKG_HASH:=75348b3b3229362486c57a880db917da1f96ef4eb639dc9cc2ff17d72268459c
+PKG_HASH:=085c5eaceef040eddea639e2e068e70f0e368f840327a678ef74ae3d6c15ca78
 
 PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
 PKG_LICENCE:=MPL-2.0
index a2b2196aa3932fff267652ffa4a9fef9f45bb9fa..26bf89743fb9b8f23738f85312f8dd75aef07669 100644 (file)
@@ -6,6 +6,9 @@ Origin:                  Self, rediffed for nss-3.28.
 Description:             Adds auto-generated nss.pc and nss-config script, and
                          allows building without nspr in the source tree.
                          For 3.40.1, Requires: updated to nspr >= 4.20.
+                         For 3.46.1, Requires: updated to nspr >= 4.21.
+                         For 3.48, Requires: updated to nspr >= 4.24.
+                         For 3.51.1, Requires: updated to nspr >= 4.25.
 
 diff -Naurp nss-3.28-orig/nss/Makefile nss-3.28/nss/Makefile
 --- nss-3.28-orig/nss/Makefile 2016-12-21 05:56:27.000000000 -0600
@@ -232,7 +235,7 @@ diff -Naurp nss-3.28-orig/nss/config/nss.pc.in nss-3.28/nss/config/nss.pc.in
 +Name: NSS
 +Description: Network Security Services
 +Version: @NSS_MAJOR_VERSION@.@NSS_MINOR_VERSION@.@NSS_PATCH_VERSION@
-+Requires: nspr >= 4.20
++Requires: nspr >= 4.25
 +Libs: -L@libdir@ -lnss@NSS_MAJOR_VERSION@ -lnssutil@NSS_MAJOR_VERSION@ -lsmime@NSS_MAJOR_VERSION@ -lssl@NSS_MAJOR_VERSION@ -lsoftokn@NSS_MAJOR_VERSION@
 +Cflags: -I${includedir}
 +
index c765521f4da7880642e69d6111e40eb87df7bcfb..747860f520ee7d147a15bc21275305c183bf9568 100644 (file)
  ifeq (,$(filter-out WIN%,$(OS_TARGET)))
 --- a/nss/coreconf/Linux.mk    2019-04-01 10:08:59.129269177 +0300
 +++ b/nss/coreconf/Linux.mk    2019-04-01 10:09:15.557782574 +0300
-@@ -143,6 +143,7 @@
+@@ -144,7 +144,8 @@
        DEFINES         += -D_REENTRANT
  endif
  
 +ifndef USE_NATIVE
- DSO_CFLAGS            = -fPIC
+-DSO_CFLAGS            = -fPIC
++DSO_CFLAGS            = $(fpic)
  DSO_LDOPTS            = -shared $(ARCHFLAG) -Wl,--gc-sections
  # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
-@@ -153,6 +154,7 @@
+ # incorrectly reports undefined references in the libraries we link with, so
+@@ -154,6 +155,7 @@
  ZDEFS_FLAG            = -Wl,-z,defs
  DSO_LDOPTS            += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
  LDFLAGS                       += $(ARCHFLAG) -z noexecstack
  
  # On Maemo, we need to use the -rpath-link flag for even the standard system
  # library directories.
---- a/nss/coreconf/Linux.mk    2019-04-01 23:10:19.091912203 +0300
-+++ b/nss/coreconf/Linux.mk    2019-04-06 14:07:13.499169075 +0300
-@@ -144,7 +144,7 @@
- endif
- ifndef USE_NATIVE
--DSO_CFLAGS            = -fPIC
-+DSO_CFLAGS            = $(fpic)
- DSO_LDOPTS            = -shared $(ARCHFLAG) -Wl,--gc-sections
- # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
- # incorrectly reports undefined references in the libraries we link with, so
 --- a/nss/coreconf/Linux.mk    2019-04-06 20:25:36.431663894 +0300
 +++ b/nss/coreconf/Linux.mk    2019-04-06 20:26:23.397129525 +0300
-@@ -107,11 +107,6 @@
+@@ -108,11 +108,6 @@
  endif
  
  ifdef BUILD_OPT