diff --git a/mozilla-nss.changes b/mozilla-nss.changes index 637cd59..58ae69b 100644 --- a/mozilla-nss.changes +++ b/mozilla-nss.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Dec 14 07:56:26 CET 2009 - wr@rosenauer.org + +- updated builtin certs (version 1.77) + +------------------------------------------------------------------- +Mon Nov 23 17:19:43 CET 2009 - wr@rosenauer.org + +- rebased patches to apply w/o fuzz + ------------------------------------------------------------------- Fri Aug 14 08:51:00 CEST 2009 - wr@rosenauer.org diff --git a/mozilla-nss.spec b/mozilla-nss.spec index be6e217..6d4f6fd 100644 --- a/mozilla-nss.spec +++ b/mozilla-nss.spec @@ -27,9 +27,9 @@ BuildRequires: sqlite-devel %if %suse_version > 1030 BuildRequires: sqlite3-devel %endif -License: GPL v2 or later ; LGPL v2.1 or later ; MPL +License: GPLv2+ ; LGPLv2.1+ ; MPL Version: 3.12.4 -Release: 1 +Release: 2 # bug437293 %ifarch ppc64 Obsoletes: mozilla-nss-64bit @@ -48,6 +48,7 @@ Patch2: nss-sqlitename.patch Patch3: system-nspr.patch Patch4: char.patch Patch5: nss-no-rpath.patch +Patch6: nss-ckbi-1_77.patch.bz2 Patch9: malloc.patch # Remove remnant traces from the package split. Provides: libnss3 = %{version}-%{release} @@ -68,12 +69,8 @@ TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. -Authors: --------- - Mozilla Foundation - %package devel -License: GPL v2 or later ; LGPL v2.1 or later ; MPL +License: GPLv2+ ; LGPLv2.1+ ; MPL Summary: Network (Netscape) Security Services development files Group: Development/Libraries/Other Requires: mozilla-nspr-devel @@ -92,13 +89,8 @@ TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. - -Authors: --------- - Mozilla Foundation - %package tools -License: GPL v2 or later ; LGPL v2.1 or later ; MPL +License: GPLv2+ ; LGPLv2.1+ ; MPL Summary: Tools for developing, debugging, and managing applications that use NSS Group: System/Management PreReq: mozilla-nss >= %{version} @@ -108,13 +100,8 @@ The NSS Security Tools allow developers to test, debug, and manage applications that use NSS. - -Authors: --------- - Mozilla Foundation - %package -n libfreebl3 -License: GPL v2 or later ; LGPL v2.1 or later ; MPL +License: GPLv2+ ; LGPLv2.1+ ; MPL Summary: Freebl library for the Network Security Services Group: System/Libraries @@ -128,10 +115,6 @@ certificates, and other security standards. This package installs the freebl library from NSS. -Authors: --------- - Mozilla Foundation - %prep %setup -n nss-%{version} -q cd mozilla @@ -140,6 +123,7 @@ cd mozilla %patch3 %patch4 %patch5 +%patch6 -p1 %if %suse_version > 1110 %patch9 %endif diff --git a/nss-ckbi-1_77.patch.bz2 b/nss-ckbi-1_77.patch.bz2 new file mode 100644 index 0000000..071bb87 --- /dev/null +++ b/nss-ckbi-1_77.patch.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2efe4e5ce35b302beed328dc1a9c7996fc5bf620151125da7875ef58715df481 +size 26449 diff --git a/nss-sqlitename.patch b/nss-sqlitename.patch index a39b344..dd4ea27 100644 --- a/nss-sqlitename.patch +++ b/nss-sqlitename.patch @@ -1,38 +1,32 @@ -Index: security/nss/lib/sqlite/manifest.mn +Index: security/nss/cmd/platlibs.mk =================================================================== -RCS file: /cvsroot/mozilla/security/nss/lib/sqlite/manifest.mn,v -retrieving revision 1.3 -diff -u -p -6 -r1.3 manifest.mn ---- security/nss/lib/sqlite/manifest.mn 15 Aug 2007 15:30:05 -0000 1.3 -+++ security/nss/lib/sqlite/manifest.mn 23 Jan 2008 08:39:29 -0000 -@@ -35,15 +35,16 @@ - # - # ***** END LICENSE BLOCK ***** - CORE_DEPTH = ../../.. +RCS file: /cvsroot/mozilla/security/nss/cmd/platlibs.mk,v +retrieving revision 1.64 +diff -u -p -r1.64 platlibs.mk +--- security/nss/cmd/platlibs.mk 17 Jun 2009 23:01:48 -0000 1.64 ++++ security/nss/cmd/platlibs.mk 23 Nov 2009 16:08:54 -0000 +@@ -80,7 +80,11 @@ endif + endif + endif - MODULE = nss ++ifdef NSS_USE_SYSTEM_SQLITE + SQLITE=-lsqlite3 ++else ++SQLITE=-lnsssqlite3 ++endif --LIBRARY_NAME = sqlite -+LIBRARY_NAME = nsssqlite - LIBRARY_VERSION = 3 - MAPFILE = $(OBJDIR)/sqlite.def -+MAPFILE_SOURCE = sqlite.def - DEFINES += -DTHREADSAFE=1 - - EXPORTS = \ - $(NULL) - - PRIVATE_EXPORTS = \ + ifdef NSS_DISABLE_DBM + DBMLIB = $(NULL) Index: security/nss/lib/softoken/config.mk =================================================================== RCS file: /cvsroot/mozilla/security/nss/lib/softoken/config.mk,v -retrieving revision 1.23 -diff -u -p -r1.23 config.mk ---- security/nss/lib/softoken/config.mk 5 Feb 2008 05:33:37 -0000 1.23 -+++ security/nss/lib/softoken/config.mk 19 Feb 2008 11:50:02 -0000 -@@ -86,12 +86,16 @@ else - EXTRA_SHARED_LIBS += \ +retrieving revision 1.29 +diff -u -p -r1.29 config.mk +--- security/nss/lib/softoken/config.mk 11 Jun 2009 00:55:48 -0000 1.29 ++++ security/nss/lib/softoken/config.mk 23 Nov 2009 16:08:55 -0000 +@@ -83,12 +83,16 @@ EXTRA_SHARED_LIBS += \ -L$(DIST)/lib \ + -L$(NSSUTIL_LIB_DIR) \ -lnssutil3 \ - -lsqlite3 \ -L$(NSPR_LIB_DIR) \ @@ -48,28 +42,22 @@ diff -u -p -r1.23 config.mk endif ifeq ($(OS_TARGET),AIX) -Index: security/nss/cmd/platlibs.mk +Index: security/nss/lib/sqlite/manifest.mn =================================================================== -RCS file: /cvsroot/mozilla/security/nss/cmd/platlibs.mk,v -retrieving revision 1.59 -diff -u -p -6 -r1.59 platlibs.mk ---- security/nss/cmd/platlibs.mk 2 Dec 2008 23:24:46 -0000 1.59 -+++ security/nss/cmd/platlibs.mk 14 Apr 2009 11:07:52 -0000 -@@ -69,13 +69,17 @@ EXTRA_SHARED_LIBS += \ - else - EXTRA_SHARED_LIBS += -Wl,+b,'$$ORIGIN/../lib' - endif - endif - endif +RCS file: /cvsroot/mozilla/security/nss/lib/sqlite/manifest.mn,v +retrieving revision 1.3 +diff -u -p -r1.3 manifest.mn +--- security/nss/lib/sqlite/manifest.mn 15 Aug 2007 15:30:05 -0000 1.3 ++++ security/nss/lib/sqlite/manifest.mn 23 Nov 2009 16:08:55 -0000 +@@ -38,9 +38,10 @@ CORE_DEPTH = ../../.. -+ifdef NSS_USE_SYSTEM_SQLITE - SQLITE=-lsqlite3 -+else -+SQLITE=-lnsssqlite3 -+endif + MODULE = nss - ifdef NSS_DISABLE_DBM - DBMLIB = $(NULL) - else - DBMLIB = $(DIST)/lib/$(LIB_PREFIX)dbm.$(LIB_SUFFIX) - endif +-LIBRARY_NAME = sqlite ++LIBRARY_NAME = nsssqlite + LIBRARY_VERSION = 3 + MAPFILE = $(OBJDIR)/sqlite.def ++MAPFILE_SOURCE = sqlite.def + DEFINES += -DTHREADSAFE=1 + + EXPORTS = \ diff --git a/system-nspr.patch b/system-nspr.patch index 8526d2c..31474b5 100644 --- a/system-nspr.patch +++ b/system-nspr.patch @@ -1,11 +1,16 @@ ---- mozilla/security/nss/Makefile -+++ security/nss/Makefile -@@ -78,7 +78,7 @@ +Index: security/nss/Makefile +=================================================================== +RCS file: /cvsroot/mozilla/security/nss/Makefile,v +retrieving revision 1.36 +diff -u -p -r1.36 Makefile +--- security/nss/Makefile 2 Dec 2008 23:24:39 -0000 1.36 ++++ security/nss/Makefile 23 Nov 2009 16:19:04 -0000 +@@ -78,7 +78,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk # (7) Execute "local" rules. (OPTIONAL). # ####################################################################### -nss_build_all: build_coreconf build_nspr build_dbm all +nss_build_all: build_coreconf build_dbm all - build_coreconf: - cd $(CORE_DEPTH)/coreconf ; $(MAKE) + nss_clean_all: clobber_coreconf clobber_nspr clobber_dbm clobber +