ports/180639: [PATCH] www/nginx: [Fix for syslog support]
Dave Duchscher
daved at tamu.edu
Thu Jul 18 16:10:01 UTC 2013
>Number: 180639
>Category: ports
>Synopsis: [PATCH] www/nginx: [Fix for syslog support]
>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 Jul 18 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Charlie Root
>Release: FreeBSD 8.3-RELEASE-p7 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-8-3-amd64-build.net.tamu.edu 8.3-RELEASE-p7 FreeBSD 8.3-RELEASE-p7 #0: Tue Apr 9 20:18:39 UTC
>Description:
The patch for adding syslog support sets the wrong define variable causing syslog support to not be built.
Port maintainer (osa at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- nginx-1.4.2_1,1.patch begins here ---
diff -ruN /usr/ports/www/nginx/Makefile ./Makefile
--- /usr/ports/www/nginx/Makefile 2013-07-17 10:04:40.000000000 -0500
+++ ./Makefile 2013-07-18 08:57:45.000000000 -0500
@@ -3,6 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.4.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
diff -ruN /usr/ports/www/nginx/files/extra-patch-syslog_support ./files/extra-patch-syslog_support
--- /usr/ports/www/nginx/files/extra-patch-syslog_support 2013-05-02 09:31:00.000000000 -0500
+++ ./files/extra-patch-syslog_support 2013-07-18 08:56:28.000000000 -0500
@@ -721,7 +721,7 @@
+ SYSLOG_FACILITY="LOG_DAEMON"
+fi
+if test "${USE_SYSLOG}" = "YES"; then
-+ CFLAGS="$CFLAGS -DUSE_SYSLOG -DSYSLOG_FACILITY=${SYSLOG_FACILITY}"
++ CFLAGS="$CFLAGS -DNGX_ENABLE_SYSLOG -DSYSLOG_FACILITY=${SYSLOG_FACILITY}"
+fi
cat << END > $NGX_MAKEFILE
--- nginx-1.4.2_1,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list