pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/opendnssec
Module Name: pkgsrc
Committed By: he
Date: Sun Nov 27 14:25:41 UTC 2016
Modified Files:
pkgsrc/security/opendnssec: Makefile distinfo
Added Files:
pkgsrc/security/opendnssec/patches: patch-enforcer_utils_ksmutil.c
patch-signer_src_daemon_engine.c
Log Message:
Avoid in effect calling xmlCleanupThreads twice, xmlCleanupParser
has already internally called the former, and doing it twice causes
an abort internally in the pthread library in NetBSD 7.0.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/security/opendnssec/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/security/opendnssec/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/security/opendnssec/patches/patch-enforcer_utils_ksmutil.c \
pkgsrc/security/opendnssec/patches/patch-signer_src_daemon_engine.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/opendnssec/Makefile
diff -u pkgsrc/security/opendnssec/Makefile:1.59 pkgsrc/security/opendnssec/Makefile:1.60
--- pkgsrc/security/opendnssec/Makefile:1.59 Sun Nov 6 12:54:35 2016
+++ pkgsrc/security/opendnssec/Makefile Sun Nov 27 14:25:41 2016
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.59 2016/11/06 12:54:35 he Exp $
+# $NetBSD: Makefile,v 1.60 2016/11/27 14:25:41 he Exp $
#
DISTNAME= opendnssec-1.4.12
+PKGREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://www.opendnssec.org/files/source/
Index: pkgsrc/security/opendnssec/distinfo
diff -u pkgsrc/security/opendnssec/distinfo:1.35 pkgsrc/security/opendnssec/distinfo:1.36
--- pkgsrc/security/opendnssec/distinfo:1.35 Sun Nov 6 12:54:35 2016
+++ pkgsrc/security/opendnssec/distinfo Sun Nov 27 14:25:41 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2016/11/06 12:54:35 he Exp $
+$NetBSD: distinfo,v 1.36 2016/11/27 14:25:41 he Exp $
SHA1 (opendnssec-1.4.12.tar.gz) = feab78605d2c49a2788a4b65e7eb4416777e9610
RMD160 (opendnssec-1.4.12.tar.gz) = dc91f862691218ca99b3496a7340ef16f29e37aa
@@ -7,5 +7,7 @@ Size (opendnssec-1.4.12.tar.gz) = 103639
SHA1 (patch-aa) = 104e077af6c368cbb5fc3034d58b2f2249fcf991
SHA1 (patch-enforcer_utils_Makefile.am) = 80915dee723535e5854e62bc18f00ba2d5d7496c
SHA1 (patch-enforcer_utils_Makefile.in) = 6c1b4ad25956bfcc8b410a8ca22f2581e64198d1
+SHA1 (patch-enforcer_utils_ksmutil.c) = f9456e0339d45dcc2776375cf40f3f8d9221878f
+SHA1 (patch-signer_src_daemon_engine.c) = a95846ba4aa6fa42043541bb2bde0f95464f9ba4
SHA1 (patch-signer_src_signer_ixfr.c) = 74c2c320080e585a6126e146c453998f44c164f7
SHA1 (patch-signer_src_signer_zone.c) = 0330236f11ccab7ed83b73bc83d851f932124318
Added files:
Index: pkgsrc/security/opendnssec/patches/patch-enforcer_utils_ksmutil.c
diff -u /dev/null pkgsrc/security/opendnssec/patches/patch-enforcer_utils_ksmutil.c:1.1
--- /dev/null Sun Nov 27 14:25:41 2016
+++ pkgsrc/security/opendnssec/patches/patch-enforcer_utils_ksmutil.c Sun Nov 27 14:25:41 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-enforcer_utils_ksmutil.c,v 1.1 2016/11/27 14:25:41 he Exp $
+
+Avoid calling xmlCleanupThreads, xmlCleanupParser has called it
+already, and this leads to an abort / assert failure with NetBSD
+7.0 pthread.
+
+--- enforcer/utils/ksmutil.c.orig 2016-10-17 12:32:58.000000000 +0000
++++ enforcer/utils/ksmutil.c
+@@ -4440,7 +4440,6 @@ main (int argc, char *argv[])
+
+ xmlCleanupParser();
+ xmlCleanupGlobals();
+- xmlCleanupThreads();
+
+ exit(result);
+ }
Index: pkgsrc/security/opendnssec/patches/patch-signer_src_daemon_engine.c
diff -u /dev/null pkgsrc/security/opendnssec/patches/patch-signer_src_daemon_engine.c:1.1
--- /dev/null Sun Nov 27 14:25:41 2016
+++ pkgsrc/security/opendnssec/patches/patch-signer_src_daemon_engine.c Sun Nov 27 14:25:41 2016
@@ -0,0 +1,23 @@
+$NetBSD: patch-signer_src_daemon_engine.c,v 1.1 2016/11/27 14:25:41 he Exp $
+
+xmlCleanupThreads already done by xmlCleanupParser, and calling
+xmlCleanupThreads twice leads to abort with NetBSD 7.0 pthread.
+
+--- signer/src/daemon/engine.c.orig 2016-10-17 12:32:58.000000000 +0000
++++ signer/src/daemon/engine.c
+@@ -531,7 +531,6 @@ engine_setup(engine_type* engine)
+ engine = NULL;
+ xmlCleanupParser();
+ xmlCleanupGlobals();
+- xmlCleanupThreads();
+ exit(0);
+ }
+ if (setsid() == -1) {
+@@ -1085,7 +1084,6 @@ earlyexit:
+ ods_log_close();
+ xmlCleanupParser();
+ xmlCleanupGlobals();
+- xmlCleanupThreads();
+ }
+
+
Home |
Main Index |
Thread Index |
Old Index