ports/183273: SYSLOG_SUPPORT doesn't work in www/nginx
Attila Nagy
bra at fsn.hu
Thu Oct 24 11:40:03 UTC 2013
>Number: 183273
>Category: ports
>Synopsis: SYSLOG_SUPPORT doesn't work in www/nginx
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 24 11:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Attila Nagy
>Release:
>Organization:
>Environment:
>Description:
The www/nginx has an option knob, named SYSLOG_SUPPORT, which patches the source to include syslog support, but only in the case of NGX_ENABLE_SYSLOG is defined.
Currently, it is not, so it's not possible to use this patch.
Attached is a patch to port's Makefile which adds
CFLAGS+=-DNGX_ENABLE_SYSLOG=1
so the patch will actually be compiled in.
>How-To-Repeat:
>Fix:
See the attached patch.
Patch attached with submission follows:
Index: nginx/Makefile
===================================================================
--- nginx/Makefile (revision 331473)
+++ nginx/Makefile (working copy)
@@ -758,6 +758,7 @@
.if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
NGINX_SYSLOG_SUPPORT_FACILITY?= LOG_DAEMON
CONFIGURE_ARGS+=--with-syslog --with-syslog-facility=${NGINX_SYSLOG_SUPPORT_FACILITY}
+CFLAGS+=-DNGX_ENABLE_SYSLOG=1
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-syslog_support
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list