summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-11-03 16:20:24 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2002-11-03 16:20:24 +0000
commit191ecb38bede0973e9dfb2f31d4f2d926a3452cf (patch)
treec96b337bda690e9dac89c1968de802339f18bc32 /dns
parentAdd startup script. (diff)
Fix signal handling.
Notes
Notes: svn path=/head/; revision=69356
Diffstat (limited to 'dns')
-rw-r--r--dns/totd/Makefile2
-rw-r--r--dns/totd/files/patch-ev_signal.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile
index b48626ff2460..399c31d80220 100644
--- a/dns/totd/Makefile
+++ b/dns/totd/Makefile
@@ -6,7 +6,7 @@
PORTNAME= totd
PORTVERSION= 1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
diff --git a/dns/totd/files/patch-ev_signal.c b/dns/totd/files/patch-ev_signal.c
new file mode 100644
index 000000000000..d271603be93c
--- /dev/null
+++ b/dns/totd/files/patch-ev_signal.c
@@ -0,0 +1,13 @@
+Index: ev_signal.c
+diff -u ev_signal.c.orig ev_signal.c
+--- ev_signal.c.orig Thu Sep 7 05:28:36 2000
++++ ev_signal.c Sun Nov 18 08:58:10 2001
+@@ -94,7 +94,7 @@
+ SIGINT, ev_signal_initiator_generic, ev_handler_cleanup
+ },
+ {
+- SIGHUP, ev_signal_initiator_generic, ev_handler_cleanup
++ SIGHUP, SIG_IGN, NULL
+ },
+ {
+ SIGTERM, ev_signal_initiator_generic, ev_handler_cleanup