Date: Thu, 18 Jul 2013 10:52:26 -0500 (CDT) From: Dave Duchscher <daved@tamu.edu> To: FreeBSD-gnats-submit@freebsd.org Cc: osa@freebsd.org Subject: ports/180639: [PATCH] www/nginx: [Fix for syslog support] Message-ID: <201307181552.r6IFqQn7099899@freebsd-8-3-amd64-build.net.tamu.edu> Resent-Message-ID: <201307181610.r6IGA0am098759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307181552.r6IFqQn7099899>