There are a couple of problems with the mod_dnssd port, but I'm not sure
what the best way to fix them would be. One is that an Apache internal
function used by the module was renamed in Apache 2.4, so the code needs
to depend on the Apache version in use. The following patch works for
me, but is inappropriate for Apache 2.2.

--- src/mod_dnssd.c~    2009-01-27 21:24:00.000000000 -0500
+++ src/mod_dnssd.c     2014-09-09 15:23:08.000000000 -0400
@@ -576,7 +576,7 @@
 
     ap_assert(d);
 
-    unixd_setup_child();
+    ap_unixd_setup_child();
 
     if (pipe(sigterm_pipe_fds) < 0) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: 
%s", strerror(errno));


The other problem is that the port rewrites the httpd.conf file (to
include the module), and the path is now wrong in the era of staging. 
I have a feeling that the "right" solution is to avoid writing into
/usr/local directly, but that would be considerably less convenient.

Any suggestions?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to