Date: Tue, 09 Sep 2014 15:44:42 -0400 From: Lowell Gilbert <freebsd-ports-local@be-well.ilk.org> To: freebsd-ports@freebsd.org Cc: des@freebsd.org Subject: www/mod_dnssd broken for apache24 Message-ID: <44lhpsd1ed.fsf@lowell-desk.lan>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44lhpsd1ed.fsf>