pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nss Change default file type back to DBM from SQ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a960aee385b
branches:  trunk
changeset: 375892:2a960aee385b
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Feb 24 11:35:48 2018 +0000

description:
Change default file type back to DBM from SQL. Bump PKGREVISION

This back out fixes XML-based files open of misc/libreoffice.
The problem is reported by Mustafa Dogan via private e-mail.

diffstat:

 devel/nss/Makefile                               |   3 +-
 devel/nss/distinfo                               |   5 +++-
 devel/nss/patches/patch-nss_lib_util_utilpars.c  |  20 ++++++++++++++++++
 devel/nss/patches/patch-nss_tests_all.sh         |  26 ++++++++++++++++++++++++
 devel/nss/patches/patch-nss_tests_merge_merge.sh |  15 +++++++++++++
 5 files changed, 67 insertions(+), 2 deletions(-)

diffs (103 lines):

diff -r d4289ba7a17c -r 2a960aee385b devel/nss/Makefile
--- a/devel/nss/Makefile        Sat Feb 24 10:14:06 2018 +0000
+++ b/devel/nss/Makefile        Sat Feb 24 11:35:48 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.146 2018/01/24 16:23:52 ryoon Exp $
+# $NetBSD: Makefile,v 1.147 2018/02/24 11:35:48 ryoon Exp $
 
 DISTNAME=              nss-${NSS_RELEASE:S/.0$//}
 NSS_RELEASE=           3.35.0
+PKGREVISION=           1
 CATEGORIES=            security
 MASTER_SITES=          ${MASTER_SITE_MOZILLA_ALL:=security/nss/releases/NSS_${NSS_DIST_DIR_VERSION:S/_0$//}_RTM/src/}
 
diff -r d4289ba7a17c -r 2a960aee385b devel/nss/distinfo
--- a/devel/nss/distinfo        Sat Feb 24 10:14:06 2018 +0000
+++ b/devel/nss/distinfo        Sat Feb 24 11:35:48 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.81 2018/01/24 16:23:52 ryoon Exp $
+$NetBSD: distinfo,v 1.82 2018/02/24 11:35:48 ryoon Exp $
 
 SHA1 (nss-3.35.tar.gz) = 72fb5bd2fc56113fec0d8867a1030bb0dfa108ac
 RMD160 (nss-3.35.tar.gz) = fdd93a1d787f6223b91b4fcb339cf3cf1204a9ef
@@ -16,4 +16,7 @@
 SHA1 (patch-nss_cmd_platlibs.mk) = 7dadcb72acf15714c61ae74b21c5baf45bc51d4c
 SHA1 (patch-nss_coreconf_OpenBSD.mk) = fccc17845c28f5b1268c96eb4e952e32dd530d1d
 SHA1 (patch-nss_coreconf_command.mk) = 008f7670f164bf19555a7691f5a59fc8bf687078
+SHA1 (patch-nss_lib_util_utilpars.c) = 5d3000515b01037929730a752b7d7a0f46f06deb
+SHA1 (patch-nss_tests_all.sh) = f8d0fcfcd67dca757c9ce016660210b20b1e6e8f
+SHA1 (patch-nss_tests_merge_merge.sh) = 42a4866d226b1076740ba9a5e42c7604f2cb15a7
 SHA1 (patch-security_nss_cmd_shlibsign_sign.sh) = 7948b7b502a4c148ee185836dde8a84d3aa388af
diff -r d4289ba7a17c -r 2a960aee385b devel/nss/patches/patch-nss_lib_util_utilpars.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nss/patches/patch-nss_lib_util_utilpars.c   Sat Feb 24 11:35:48 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-nss_lib_util_utilpars.c,v 1.1 2018/02/24 11:35:48 ryoon Exp $
+
+Revert Bug 1377940 to fix misc/libreoffice
+
+--- nss/lib/util/utilpars.c.orig       2018-01-18 14:19:59.000000000 +0000
++++ nss/lib/util/utilpars.c
+@@ -1111,8 +1111,12 @@ _NSSUTIL_EvaluateConfigDir(const char *c
+     NSSDBType dbType;
+     PRBool checkEnvDefaultDB = PR_FALSE;
+     *appName = NULL;
+-    /* force the default */
++/* force the default */
++#ifdef NSS_DISABLE_DBM
+     dbType = NSS_DB_TYPE_SQL;
++#else
++    dbType = NSS_DB_TYPE_LEGACY;
++#endif
+     if (configdir == NULL) {
+         checkEnvDefaultDB = PR_TRUE;
+     } else if (PORT_Strncmp(configdir, MULTIACCESS, sizeof(MULTIACCESS) - 1) == 0) {
diff -r d4289ba7a17c -r 2a960aee385b devel/nss/patches/patch-nss_tests_all.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nss/patches/patch-nss_tests_all.sh  Sat Feb 24 11:35:48 2018 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-nss_tests_all.sh,v 1.1 2018/02/24 11:35:48 ryoon Exp $
+
+Revert Bug 1377940 to fix misc/libreoffice
+
+--- nss/tests/all.sh.orig      2018-01-18 14:19:59.000000000 +0000
++++ nss/tests/all.sh
+@@ -111,8 +111,6 @@ RUN_FIPS=""
+ ########################################################################
+ run_tests()
+ {
+-    echo "Running test cycle: ${TEST_MODE} ----------------------"
+-    echo "List of tests that will be executed: ${TESTS}"
+     for TEST in ${TESTS}
+     do
+         # NOTE: the spaces are important. If you don't include
+@@ -174,9 +172,8 @@ run_cycle_pkix()
+     NSS_SSL_TESTS=`echo "${NSS_SSL_TESTS}" | sed -e "s/normal//g" -e "s/fips//g" -e "s/_//g"`
+     export -n NSS_SSL_RUN
+ 
+-    # use the default format. (unset for the shell, export -n for binaries)
++    # use the default format
+     export -n NSS_DEFAULT_DB_TYPE
+-    unset NSS_DEFAULT_DB_TYPE
+ 
+     run_tests
+ }
diff -r d4289ba7a17c -r 2a960aee385b devel/nss/patches/patch-nss_tests_merge_merge.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nss/patches/patch-nss_tests_merge_merge.sh  Sat Feb 24 11:35:48 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-nss_tests_merge_merge.sh,v 1.1 2018/02/24 11:35:48 ryoon Exp $
+
+Revert Bug 1377940 to fix misc/libreoffice
+
+--- nss/tests/merge/merge.sh.orig      2018-01-18 14:19:59.000000000 +0000
++++ nss/tests/merge/merge.sh
+@@ -98,7 +98,7 @@ merge_init()
+   # are dbm databases.
+   if [ "${TEST_MODE}" = "UPGRADE_DB" ]; then
+       save=${NSS_DEFAULT_DB_TYPE}
+-      NSS_DEFAULT_DB_TYPE=dbm ; export NSS_DEFAULT_DB_TYPE
++      NSS_DEFAULT_DB_TYPE= ; export NSS_DEFAULT_DB_TYPE
+   fi
+ 
+   certutil -N -d ${CONFLICT1DIR} -f ${R_PWFILE}



Home | Main Index | Thread Index | Old Index