pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/Geomyidae



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Sep 21 17:10:57 UTC 2018

Modified Files:
        pkgsrc/net/Geomyidae: Makefile distinfo
Added Files:
        pkgsrc/net/Geomyidae/patches: patch-main.c

Log Message:
Geomyidae: Add a patch to not exit on SIGHUP

Now having `geomyidae=yes' in rc.conf correctly works.

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/Geomyidae/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/Geomyidae/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/Geomyidae/patches/patch-main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Geomyidae/Makefile
diff -u pkgsrc/net/Geomyidae/Makefile:1.10 pkgsrc/net/Geomyidae/Makefile:1.11
--- pkgsrc/net/Geomyidae/Makefile:1.10  Fri Aug 10 10:44:13 2018
+++ pkgsrc/net/Geomyidae/Makefile       Fri Sep 21 17:10:57 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2018/08/10 10:44:13 leot Exp $
+# $NetBSD: Makefile,v 1.11 2018/09/21 17:10:57 leot Exp $
 
 DISTNAME=      geomyidae-v0.32.2
 PKGNAME=       ${DISTNAME:S/-v/-/}
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ftp://bitreich.org/releases/geomyidae/
 EXTRACT_SUFX=  .tgz

Index: pkgsrc/net/Geomyidae/distinfo
diff -u pkgsrc/net/Geomyidae/distinfo:1.6 pkgsrc/net/Geomyidae/distinfo:1.7
--- pkgsrc/net/Geomyidae/distinfo:1.6   Fri Aug 10 10:41:20 2018
+++ pkgsrc/net/Geomyidae/distinfo       Fri Sep 21 17:10:57 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2018/08/10 10:41:20 leot Exp $
+$NetBSD: distinfo,v 1.7 2018/09/21 17:10:57 leot Exp $
 
 SHA1 (geomyidae-v0.32.2.tgz) = cf7e947cdbcc3aa050e474595e728c773733e23e
 RMD160 (geomyidae-v0.32.2.tgz) = 48c80bf1f1b2c4126c461a84674d58030ca0aba7
 SHA512 (geomyidae-v0.32.2.tgz) = 3b0927a16082df862b9efacc2f29fd1b1ca76f7d465426e179d5995a416bc27b518daba422512091304ed5479ff133e3d40f7bf66aedfbd8d99d13710809d519
 Size (geomyidae-v0.32.2.tgz) = 20897 bytes
+SHA1 (patch-main.c) = 2a1efaff4b894da05f609a638a9ad38af8ba59fe

Added files:

Index: pkgsrc/net/Geomyidae/patches/patch-main.c
diff -u /dev/null pkgsrc/net/Geomyidae/patches/patch-main.c:1.1
--- /dev/null   Fri Sep 21 17:10:57 2018
+++ pkgsrc/net/Geomyidae/patches/patch-main.c   Fri Sep 21 17:10:57 2018
@@ -0,0 +1,23 @@
+$NetBSD: patch-main.c,v 1.1 2018/09/21 17:10:57 leot Exp $
+
+don't exit on SIGHUP
+
+SIGHUP is normally often used in daemons to reload the config and/or reopen log
+files.
+
+This was noticed on OpenBSD not starting the geomyidae server on boot.  The
+init implementations on OpenBSD, NetBSD and possibly others send SIGHUP to
+processes in a boot transition period.
+
+Backport from upstream commit 8d9bad389a4ac22fc292f92d0128af8679e640fa.
+
+--- main.c.orig        2018-06-29 19:21:00.000000000 +0000
++++ main.c
+@@ -256,7 +256,6 @@ sighandler(int sig)
+       case SIGCHLD:
+               while (waitpid(-1, NULL, WNOHANG) > 0);
+               break;
+-      case SIGHUP:
+       case SIGINT:
+       case SIGQUIT:
+       case SIGABRT:



Home | Main Index | Thread Index | Old Index