diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:42:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:42:26 +0000 |
commit | 4cd7843a01a90f065f820b31aae45cb13c244858 (patch) | |
tree | 8eec8cd39cdf6ebd36a555d922fac116eb488314 /debian/patches/80_security_tools.patch | |
parent | Adding upstream version 2:3.99. (diff) | |
download | nss-4cd7843a01a90f065f820b31aae45cb13c244858.tar.xz nss-4cd7843a01a90f065f820b31aae45cb13c244858.zip |
Adding debian version 2:3.99-1.debian/2%3.99-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/80_security_tools.patch')
-rw-r--r-- | debian/patches/80_security_tools.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/80_security_tools.patch b/debian/patches/80_security_tools.patch new file mode 100644 index 0000000..50f994f --- /dev/null +++ b/debian/patches/80_security_tools.patch @@ -0,0 +1,26 @@ +## 80_security_tools.patch by Mike Hommey <glandium@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Enable building of some NSS tools. +## DP: Disable rpath. + +Index: nss/nss/cmd/platlibs.mk +=================================================================== +--- nss.orig/nss/cmd/platlibs.mk ++++ nss/nss/cmd/platlibs.mk +@@ -8,6 +8,7 @@ ifeq ($(BUILD_SUN_PKG), 1) + # set RPATH-type linker instructions here so they can be used in the shared + # version and in the mixed (static nss libs/shared NSPR libs) version. + ++ifdef ENABLE_RPATH + ifeq ($(OS_ARCH), SunOS) + ifeq ($(USE_64), 1) + EXTRA_SHARED_LIBS += -R '$$ORIGIN/../lib:/usr/lib/mps/secv1/64:/usr/lib/mps/64' +@@ -31,6 +32,7 @@ DBMLIB = $(NULL) + else + DBMLIB = $(DIST)/lib/$(LIB_PREFIX)dbm.$(LIB_SUFFIX) + endif ++endif + + ifeq ($(NSS_BUILD_UTIL_ONLY),1) + SECTOOL_LIB = $(NULL) |