aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-23 20:03:29 +0800
committermiwi <miwi@FreeBSD.org>2009-09-23 20:03:29 +0800
commit8a920e30964f055d9b6b27e890bb0691e2de999a (patch)
tree9de8e52da77adac04d92cabe0c651754195c14f7 /dns
parent318c6762fa06a96edfee72eed29dc27686384c2f (diff)
downloadfreebsd-ports-gnome-8a920e30964f055d9b6b27e890bb0691e2de999a.tar.gz
freebsd-ports-gnome-8a920e30964f055d9b6b27e890bb0691e2de999a.tar.zst
freebsd-ports-gnome-8a920e30964f055d9b6b27e890bb0691e2de999a.zip
- Add missing patch from previous commit
- Fix build if NOPORT* enabled is Feature safe: yes
Diffstat (limited to 'dns')
-rw-r--r--dns/maradns/files/patch-tcp_zoneserver.c11
-rw-r--r--dns/maradns/pkg-plist1
2 files changed, 12 insertions, 0 deletions
diff --git a/dns/maradns/files/patch-tcp_zoneserver.c b/dns/maradns/files/patch-tcp_zoneserver.c
new file mode 100644
index 000000000000..e50223fa1ce6
--- /dev/null
+++ b/dns/maradns/files/patch-tcp_zoneserver.c
@@ -0,0 +1,11 @@
+--- tcp/zoneserver.c.orig 2009-09-23 02:00:29.000000000 +0200
++++ tcp/zoneserver.c 2009-09-23 02:03:05.000000000 +0200
+@@ -1014,7 +1014,7 @@
+ js_string *synth_soa_origin;
+
+ /* Kill children processes when we are signaled */
+- if(setpgrp()) {
++ if(setpgrp(0, 0)) {
+ printf(strerror(errno)); /* harderror() would kill the group which may not be correct yet */
+ return 3;
+ }
diff --git a/dns/maradns/pkg-plist b/dns/maradns/pkg-plist
index 21594eacf05c..bc5216cdb470 100644
--- a/dns/maradns/pkg-plist
+++ b/dns/maradns/pkg-plist
@@ -137,6 +137,7 @@ sbin/zoneserver
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_full_mararc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_full_mararc.orig
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_mararc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_recursive_mararc.txt
@exec mkdir -p %D/%%ETCDIR%%/logger
@dirrmtry %%ETCDIR%%/logger
@dirrmtry %%ETCDIR%%