From dgeo@ec-m.fr  Tue May  6 11:46:18 2014
Return-Path: <dgeo@ec-m.fr>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id E06CB129;
	Tue,  6 May 2014 11:46:17 +0000 (UTC)
Received: from melo.ec-m.fr (melo.ec-m.fr [147.94.19.37])
	by mx1.freebsd.org (Postfix) with ESMTP id 6EA52C9E;
	Tue,  6 May 2014 11:46:17 +0000 (UTC)
Received: from amavis2.serv.int (amavis2.serv.int [10.3.0.46])
	by melo.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id E7F79AC842;
	Tue,  6 May 2014 13:37:12 +0200 (CEST)
Received: from melo.ec-m.fr ([10.3.0.13])
	by amavis2.serv.int (amavis2.serv.int [10.3.0.46]) (amavisd-new, port 10024)
	with LMTP id vJ4hpfL_8iuS; Tue,  6 May 2014 13:37:05 +0200 (CEST)
Received: from dgeo.sysadm.ec-m.fr (dgeo.sysadm.ec-m.fr [147.94.19.169])
	by melo.ec-m.fr (GrosseBox 1743 XXL) with ESMTPS id BEC25AC8C2;
	Tue,  6 May 2014 13:37:05 +0200 (CEST)
Received: (from root@localhost)
	by dgeo.sysadm.ec-m.fr (8.14.7/8.14.7/Submit) id s46Bb519079499;
	Tue, 6 May 2014 13:37:05 +0200 (CEST)
	(envelope-from dgeo)
Message-Id: <201405061137.s46Bb519079499@dgeo.sysadm.ec-m.fr>
Date: Tue, 6 May 2014 13:37:05 +0200 (CEST)
From: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: osa@FreeBSD.org
Subject: [PATCH] www/nginx: update syslog and upstream_sticky modules
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         189391
>Category:       ports
>Synopsis:       [PATCH] www/nginx: update syslog and upstream_sticky modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    osa
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 06 11:50:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Tue May  6 12:30:00 UTC 2014
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 10.0-RELEASE-p2 amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0: Tue Apr 29 17:06:01 UTC 2014
>Description:
Updated syslog support and upstream_sticky options to re-enable them.

Port maintainer (osa@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
These options were disabled and marked 'need update'
>Fix:
Update attached :)

--- nginx-1.6.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 353083)
+++ Makefile	(working copy)
@@ -534,12 +534,11 @@
 .endif
 
 .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY}
-IGNORE=	STICKY: update require
 USE_HTTP_SSL=	yes
-NGINX_UPSTREAM_STICKY_VERSION=	1.1
-MASTER_SITES+=	http://nginx-sticky-module.googlecode.com/files/:upstreamsticky
-DISTFILES+=	nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
-CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}
+NGINX_UPSTREAM_STICKY_VERSION=	1.2.4
+MASTER_SITES+=	https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky
+DISTFILES+=	${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91/
 .endif
 
 .if ${PORT_OPTIONS:MHTTP_XSLT}
@@ -741,10 +740,11 @@
 .endif
 
 .if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
-IGNORE=	SYSLOG: update require
-NGINX_SYSLOG_SUPPORT_FACILITY?=	LOG_DAEMON
-CONFIGURE_ARGS+=--with-syslog --with-syslog-facility=${NGINX_SYSLOG_SUPPORT_FACILITY}
-EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-syslog_support
+#GIT_SYSLOG_PATCH_VERSION=3ca5ba65541637f74467038aa032e2586321d0cb
+GIT_SYSLOG_PATCH_VERSION=3ca5ba6
+MASTER_SITES+=	https://github.com/yaoweibin/nginx_syslog_patch/tarball/${GIT_SYSLOG_PATCH_VERSION}/:syslog_patch
+DISTFILES+=	nginx_syslog_patch-${GIT_SYSLOG_PATCH_VERSION}.tar.gz:syslog_patch
+CONFIGURE_ARGS+=	--add-module=${WRKDIR}/yaoweibin-nginx_syslog_patch-${GIT_SYSLOG_PATCH_VERSION}
 .endif
 
 .if ${PORT_OPTIONS:MTCP_PROXY}
@@ -951,6 +951,11 @@
 		${PATCH} -p1 < \
 			${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//}/tcp.patch )
 .endif
+.if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
+	( cd ${WRKSRC} && \
+		${PATCH} -p1 < \
+			${WRKDIR}/yaoweibin-nginx_syslog_patch-${GIT_SYSLOG_PATCH_VERSION}/syslog-1.5.6.patch )
+.endif
 .if ${PORT_OPTIONS:MICONV}
 	@${REINPLACE_CMD} \
 		's!%%PREFIX%%!${LOCALBASE}!g' \
Index: distinfo
===================================================================
--- distinfo	(revision 353083)
+++ distinfo	(working copy)
@@ -112,3 +112,7 @@
 SIZE (calio-form-input-nginx-module-v0.07-0-g78de845.tar.gz) = 10580
 SHA256 (calio-iconv-nginx-module-v0.10-0-gb37efb5.tar.gz) = e90a406a14d5f419bd500e19082da81390e8ba6040926857926f1a899a53379d
 SIZE (calio-iconv-nginx-module-v0.10-0-gb37efb5.tar.gz) = 12510
+SHA256 (1.2.4.tar.gz) = f79521a25322cb4f504547a0b0f76fd9d024c14440e5d790e26dda70ea4f701a
+SIZE (1.2.4.tar.gz) = 120448
+SHA256 (nginx_syslog_patch-3ca5ba6.tar.gz) = 817a207f2cb18f3035f5535bd03942390010dbade03c4a5d3d0d97b55e1f3deb
+SIZE (nginx_syslog_patch-3ca5ba6.tar.gz) = 94400
--- nginx-1.6.0.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->osa 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 6 11:50:04 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189391 

From: geoffroy desvernay <dgeo@centrale-marseille.fr>
To: bug-followup@FreeBSD.org, dgeo@centrale-marseille.fr
Cc:  
Subject: Re: ports/189391: [PATCH] www/nginx: update syslog and upstream_sticky
 modules
Date: Tue, 06 May 2014 14:25:54 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --WkWsGpjUMjAQjSRBE9LtkfaoKSV09U1S8
 Content-Type: multipart/mixed;
  boundary="------------090003070005070001030107"
 
 This is a multi-part message in MIME format.
 --------------090003070005070001030107
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 I forgot to remove files/extra-patch-syslog_support in last patch
 
 Here is the complete one.
 
 --=20
 *geoffroy desvernay*
 C.R.I - Administration syst=E8mes et r=E9seaux
 Ecole Centrale de Marseille
 
 
 --------------090003070005070001030107
 Content-Type: text/x-patch;
  name="nginx.diff"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
  filename="nginx.diff"
 
 =3D=3D=3D> Updating from SVN
 Updating '.':
 At revision 353084.
 =3D=3D=3D> Generating patch
 =3D=3D=3D> Viewing diff with more
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- Makefile	(revision 353084)
 +++ Makefile	(working copy)
 @@ -534,12 +534,11 @@
  .endif
 =20
  .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY}
 -IGNORE=3D	STICKY: update require
  USE_HTTP_SSL=3D	yes
 -NGINX_UPSTREAM_STICKY_VERSION=3D	1.1
 -MASTER_SITES+=3D	http://nginx-sticky-module.googlecode.com/files/:upstre=
 amsticky
 -DISTFILES+=3D	nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}.tar.g=
 z:upstreamsticky
 -CONFIGURE_ARGS+=3D--add-module=3D${WRKDIR}/nginx-sticky-module-${NGINX_U=
 PSTREAM_STICKY_VERSION}
 +NGINX_UPSTREAM_STICKY_VERSION=3D	1.2.4
 +MASTER_SITES+=3D	https://bitbucket.org/nginx-goodies/nginx-sticky-module=
 -ng/get/:upstreamsticky
 +DISTFILES+=3D	${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
 +CONFIGURE_ARGS+=3D--add-module=3D${WRKDIR}/nginx-goodies-nginx-sticky-mo=
 dule-ng-c825ea7c5c91/
  .endif
 =20
  .if ${PORT_OPTIONS:MHTTP_XSLT}
 @@ -741,10 +740,10 @@
  .endif
 =20
  .if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
 -IGNORE=3D	SYSLOG: update require
 -NGINX_SYSLOG_SUPPORT_FACILITY?=3D	LOG_DAEMON
 -CONFIGURE_ARGS+=3D--with-syslog --with-syslog-facility=3D${NGINX_SYSLOG_=
 SUPPORT_FACILITY}
 -EXTRA_PATCHES+=3D	${PATCHDIR}/extra-patch-syslog_support
 +GIT_SYSLOG_PATCH_VERSION=3D3ca5ba6
 +MASTER_SITES+=3D	https://github.com/yaoweibin/nginx_syslog_patch/tarball=
 /${GIT_SYSLOG_PATCH_VERSION}/:syslog_patch
 +DISTFILES+=3D	nginx_syslog_patch-${GIT_SYSLOG_PATCH_VERSION}.tar.gz:sysl=
 og_patch
 +CONFIGURE_ARGS+=3D	--add-module=3D${WRKDIR}/yaoweibin-nginx_syslog_patch=
 -${GIT_SYSLOG_PATCH_VERSION}
  .endif
 =20
  .if ${PORT_OPTIONS:MTCP_PROXY}
 @@ -951,6 +950,11 @@
  		${PATCH} -p1 < \
  			${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/=
 ^0-g//}/tcp.patch )
  .endif
 +.if ${PORT_OPTIONS:MSYSLOG_SUPPORT}
 +	( cd ${WRKSRC} && \
 +		${PATCH} -p1 < \
 +			${WRKDIR}/yaoweibin-nginx_syslog_patch-${GIT_SYSLOG_PATCH_VERSION}/sy=
 slog-1.5.6.patch )
 +.endif
  .if ${PORT_OPTIONS:MICONV}
  	@${REINPLACE_CMD} \
  		's!%%PREFIX%%!${LOCALBASE}!g' \
 Index: distinfo
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- distinfo	(revision 353084)
 +++ distinfo	(working copy)
 @@ -112,3 +112,7 @@
  SIZE (calio-form-input-nginx-module-v0.07-0-g78de845.tar.gz) =3D 10580
  SHA256 (calio-iconv-nginx-module-v0.10-0-gb37efb5.tar.gz) =3D e90a406a14=
 d5f419bd500e19082da81390e8ba6040926857926f1a899a53379d
  SIZE (calio-iconv-nginx-module-v0.10-0-gb37efb5.tar.gz) =3D 12510
 +SHA256 (1.2.4.tar.gz) =3D f79521a25322cb4f504547a0b0f76fd9d024c14440e5d7=
 90e26dda70ea4f701a
 +SIZE (1.2.4.tar.gz) =3D 120448
 +SHA256 (nginx_syslog_patch-3ca5ba6.tar.gz) =3D 817a207f2cb18f3035f5535bd=
 03942390010dbade03c4a5d3d0d97b55e1f3deb
 +SIZE (nginx_syslog_patch-3ca5ba6.tar.gz) =3D 94400
 Index: files/extra-patch-syslog_support
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- files/extra-patch-syslog_support	(revision 353084)
 +++ files/extra-patch-syslog_support	(working copy)
 @@ -1,762 +0,0 @@
 -diff --git src/core/ngx_cycle.c src/core/ngx_cycle.c
 -index dc4dc89..46c4b4f 100644
 ---- src/core/ngx_cycle.c
 -+++ src/core/ngx_cycle.c
 -@@ -85,6 +85,12 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
 -     cycle->pool =3D pool;
 -     cycle->log =3D log;
 -     cycle->new_log.log_level =3D NGX_LOG_ERR;
 -+#if (NGX_ENABLE_SYSLOG)
 -+    cycle->new_log.facility =3D SYSLOG_FACILITY;
 -+    cycle->new_log.facility =3D ERR_SYSLOG_PRIORITY;
 -+    cycle->new_log.syslog_on =3D 0;
 -+    cycle->new_log.syslog_set =3D 0;
 -+#endif
 -     cycle->old_cycle =3D old_cycle;
 -=20
 -     cycle->conf_prefix.len =3D old_cycle->conf_prefix.len;
 -diff --git src/core/ngx_log.c src/core/ngx_log.c
 -index d7830fb..982c2ed 100644
 ---- src/core/ngx_log.c
 -+++ src/core/ngx_log.c
 -@@ -10,6 +10,15 @@
 -=20
 -=20
 - static char *ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *co=
 nf);
 -+#if (NGX_ENABLE_SYSLOG)
 -+static char *ngx_set_syslog(ngx_conf_t *cf, ngx_command_t *cmd, void *c=
 onf);
 -+void log_exit(ngx_cycle_t *cycle);
 -+
 -+typedef struct{
 -+    ngx_str_t     name;
 -+    ngx_int_t     macro;
 -+} ngx_string_to_macro_t;
 -+#endif
 -=20
 -=20
 - static ngx_command_t  ngx_errlog_commands[] =3D {
 -@@ -21,6 +30,15 @@ static ngx_command_t  ngx_errlog_commands[] =3D {
 -      0,
 -      NULL},
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    {ngx_string("syslog"),
 -+     NGX_MAIN_CONF|NGX_CONF_TAKE12,
 -+     ngx_set_syslog,
 -+     0,
 -+     0,
 -+     NULL},
 -+#endif
 -+
 -     ngx_null_command
 - };
 -=20
 -@@ -43,7 +61,11 @@ ngx_module_t  ngx_errlog_module =3D {
 -     NULL,                                  /* init thread */
 -     NULL,                                  /* exit thread */
 -     NULL,                                  /* exit process */
 --    NULL,                                  /* exit master */
 -+#if (NGX_ENABLE_SYSLOG)
 -+    log_exit,                              /* exit master */
 -+#else
 -+    NULL,
 -+#endif
 -     NGX_MODULE_V1_PADDING
 - };
 -=20
 -@@ -52,6 +74,48 @@ static ngx_log_t        ngx_log;
 - static ngx_open_file_t  ngx_log_file;
 - ngx_uint_t              ngx_use_stderr =3D 1;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+static ngx_string_to_macro_t ngx_syslog_facilities[] =3D {
 -+    {ngx_string("auth"),     LOG_AUTH},
 -+#if !(NGX_SOLARIS)
 -+    {ngx_string("authpriv"), LOG_AUTHPRIV},
 -+#endif
 -+    {ngx_string("cron"),     LOG_CRON},
 -+    {ngx_string("daemon"),   LOG_DAEMON},
 -+#if !(NGX_SOLARIS)
 -+    {ngx_string("ftp"),      LOG_FTP},
 -+#endif
 -+    {ngx_string("kern"),     LOG_KERN},
 -+    {ngx_string("local0"),   LOG_LOCAL0},
 -+    {ngx_string("local1"),   LOG_LOCAL1},
 -+    {ngx_string("local2"),   LOG_LOCAL2},
 -+    {ngx_string("local3"),   LOG_LOCAL3},
 -+    {ngx_string("local4"),   LOG_LOCAL4},
 -+    {ngx_string("local5"),   LOG_LOCAL5},
 -+    {ngx_string("local6"),   LOG_LOCAL6},
 -+    {ngx_string("local7"),   LOG_LOCAL7},
 -+    {ngx_string("lpr"),      LOG_LPR},
 -+    {ngx_string("mail"),     LOG_MAIL},
 -+    {ngx_string("news"),     LOG_NEWS},
 -+    {ngx_string("syslog"),   LOG_SYSLOG},
 -+    {ngx_string("user"),     LOG_USER},
 -+    {ngx_string("uucp"),     LOG_UUCP},
 -+    { ngx_null_string, 0}
 -+};
 -+
 -+static ngx_string_to_macro_t ngx_syslog_priorities[] =3D {
 -+    {ngx_string("emerg"), LOG_EMERG},
 -+    {ngx_string("alert"), LOG_ALERT},
 -+    {ngx_string("crit"),  LOG_CRIT},
 -+    {ngx_string("error"), LOG_ERR},
 -+    {ngx_string("err"),   LOG_ERR},
 -+    {ngx_string("warn"),  LOG_WARNING},
 -+    {ngx_string("notice"),LOG_NOTICE},
 -+    {ngx_string("info"),  LOG_INFO},
 -+    {ngx_string("debug"), LOG_DEBUG},
 -+    { ngx_null_string, 0}
 -+};
 -+#endif
 -=20
 - static ngx_str_t err_levels[] =3D {
 -     ngx_null_string,
 -@@ -89,11 +153,16 @@ ngx_log_error_core(ngx_uint_t level, ngx_log_t *log=
 , ngx_err_t err,
 -     va_list  args;
 - #endif
 -     u_char  *p, *last, *msg;
 -+#if (NGX_ENABLE_SYSLOG)
 -+    u_char *errstr_syslog;
 -+#endif
 -     u_char   errstr[NGX_MAX_ERROR_STR];
 -=20
 -+#if !(NGX_ENABLE_SYSLOG)
 -     if (log->file->fd =3D=3D NGX_INVALID_FILE) {
 -         return;
 -     }
 -+#endif
 -=20
 -     last =3D errstr + NGX_MAX_ERROR_STR;
 -=20
 -@@ -102,6 +171,10 @@ ngx_log_error_core(ngx_uint_t level, ngx_log_t *log=
 , ngx_err_t err,
 -=20
 -     p =3D errstr + ngx_cached_err_log_time.len;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    errstr_syslog =3D p;
 -+#endif
 -+
 -     p =3D ngx_slprintf(p, last, " [%V] ", &err_levels[level]);
 -=20
 -     /* pid#tid */
 -@@ -140,11 +213,27 @@ ngx_log_error_core(ngx_uint_t level, ngx_log_t *lo=
 g, ngx_err_t err,
 -=20
 -     ngx_linefeed(p);
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    if (log->file !=3D NULL && log->file->name.len !=3D 0) {
 -     (void) ngx_write_fd(log->file->fd, errstr, p - errstr);
 -+    }
 -+
 -+    /* Don't send the debug level info to syslog */
 -+    if (log->syslog_on && level < NGX_LOG_DEBUG) {
 -+        /* write to syslog */
 -+        syslog(log->priority, "%.*s", (int)(p - errstr_syslog), errstr_=
 syslog);
 -+    }
 -+#else
 -+    (void) ngx_write_fd(log->file->fd, errstr, p - errstr);
 -+#endif
 -=20
 -     if (!ngx_use_stderr
 -         || level > NGX_LOG_WARN
 -+#if (NGX_ENABLE_SYSLOG)
 -+        || (log->file !=3D NULL && log->file->fd =3D=3D ngx_stderr))
 -+#else
 -         || log->file->fd =3D=3D ngx_stderr)
 -+#endif
 -     {
 -         return;
 -     }
 -@@ -367,6 +456,50 @@ ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name)=
 
 - }
 -=20
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+ngx_int_t
 -+ngx_log_get_priority(ngx_conf_t *cf, ngx_str_t *priority)
 -+{
 -+    ngx_int_t  p =3D 0;
 -+    ngx_uint_t n, match =3D 0;
 -+
 -+    for (n =3D 0; ngx_syslog_priorities[n].name.len !=3D 0; n++) {
 -+        if (ngx_strncmp(priority->data, ngx_syslog_priorities[n].name.d=
 ata,=20
 -+                    ngx_syslog_priorities[n].name.len) =3D=3D 0) {
 -+            p =3D ngx_syslog_priorities[n].macro;
 -+            match =3D 1;
 -+        }
 -+    }
 -+
 -+    if (!match) {
 -+        ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
 -+                "invalid syslog priority \"%V\"", priority);
 -+        return -1;
 -+    }
 -+
 -+    return p;
 -+}
 -+
 -+
 -+char *
 -+ngx_log_set_priority(ngx_conf_t *cf, ngx_str_t *priority, ngx_log_t *lo=
 g)
 -+{
 -+    log->priority =3D ERR_SYSLOG_PRIORITY;
 -+
 -+    if (priority->len =3D=3D 0) {
 -+        return NGX_CONF_OK;
 -+    }
 -+
 -+    log->priority =3D ngx_log_get_priority(cf, priority);
 -+    if (log->priority =3D=3D (-1)) {
 -+        return NGX_CONF_ERROR;
 -+    }
 -+
 -+    return NGX_CONF_OK;
 -+}
 -+#endif
 -+
 -+
 - char *
 - ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log)
 - {
 -@@ -429,6 +562,13 @@ static char *
 - ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 - {
 -     ngx_str_t  *value, name;
 -+#if (NGX_ENABLE_SYSLOG)
 -+    u_char     *off =3D NULL;
 -+    ngx_str_t  priority;
 -+
 -+    ngx_str_null(&name);
 -+    ngx_str_null(&priority);
 -+#endif
 -=20
 -     if (cf->cycle->new_log.file) {
 -         return "is duplicate";
 -@@ -436,7 +576,44 @@ ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, v=
 oid *conf)
 -=20
 -     value =3D cf->args->elts;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    if (ngx_strncmp(value[1].data, "syslog", sizeof("syslog") - 1) =3D=3D=
  0) {
 -+        if (!cf->cycle->new_log.syslog_set) {
 -+            ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
 -+                    "You must set the syslog directive and enable it fi=
 rst.");
 -+            return NGX_CONF_ERROR;
 -+        }
 -+
 -+        cf->cycle->new_log.syslog_on =3D 1;
 -+
 -+        if (value[1].data[sizeof("syslog") - 1] =3D=3D ':') {
 -+            priority.len =3D value[1].len - sizeof("syslog");
 -+            priority.data =3D value[1].data + sizeof("syslog");
 -+
 -+            off =3D (u_char *)ngx_strchr(priority.data, (int) '|');
 -+            if (off !=3D NULL) {
 -+                priority.len =3D off - priority.data;
 -+
 -+                off++;
 -+                name.len =3D value[1].data + value[1].len - off;
 -+                name.data =3D off;
 -+            }
 -+        }
 -+        else {
 -+            if (value[1].len > sizeof("syslog")) {
 -+                name.len =3D value[1].len - sizeof("syslog");
 -+                name.data =3D value[1].data + sizeof("syslog");
 -+            }
 -+        }
 -+
 -+        if (ngx_log_set_priority(cf, &priority, &cf->cycle->new_log) =3D=
 =3D NGX_CONF_ERROR) {
 -+            return NGX_CONF_ERROR;
 -+        }
 -+    }
 -+    else if (ngx_strcmp(value[1].data, "stderr") =3D=3D 0) {
 -+#else
 -     if (ngx_strcmp(value[1].data, "stderr") =3D=3D 0) {
 -+#endif
 -         ngx_str_null(&name);
 -=20
 -     } else {
 -@@ -457,3 +634,63 @@ ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, v=
 oid *conf)
 -=20
 -     return ngx_log_set_levels(cf, &cf->cycle->new_log);
 - }
 -+
 -+
 -+#if (NGX_ENABLE_SYSLOG)
 -+
 -+#define SYSLOG_IDENT_NAME "nginx"
 -+
 -+static char *
 -+ngx_set_syslog(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 -+{
 -+    char       *program;
 -+    ngx_str_t  *value;
 -+    ngx_int_t   facility, match =3D 0;
 -+    ngx_uint_t  n;
 -+
 -+    value =3D cf->args->elts;
 -+
 -+    if (cf->cycle->new_log.syslog_set) {
 -+        return "is duplicate";
 -+    }
 -+
 -+    cf->cycle->new_log.syslog_set =3D 1;
 -+
 -+    for (n =3D 0; ngx_syslog_facilities[n].name.len !=3D 0; n++) {
 -+        if (ngx_strncmp(value[1].data, ngx_syslog_facilities[n].name.da=
 ta,=20
 -+                    ngx_syslog_facilities[n].name.len) =3D=3D 0) {
 -+            facility =3D ngx_syslog_facilities[n].macro;
 -+            match =3D 1;
 -+            break;
 -+        }
 -+    }
 -+
 -+    if (match) {
 -+        cf->cycle->new_log.facility =3D facility;
 -+        cf->cycle->new_log.priority =3D ERR_SYSLOG_PRIORITY;
 -+    }
 -+    else {
 -+        ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
 -+                "invalid syslog facility \"%V\"", &value[1]);
 -+        return NGX_CONF_ERROR;
 -+    }
 -+
 -+    program =3D SYSLOG_IDENT_NAME;=20
 -+    if (cf->args->nelts > 2) {
 -+        program =3D (char *) value[2].data;
 -+    }
 -+
 -+    openlog(program, LOG_ODELAY, facility);
 -+
 -+    return NGX_CONF_OK;
 -+}
 -+
 -+
 -+void log_exit(ngx_cycle_t *cycle)
 -+{
 -+    if (cycle->new_log.syslog_set) {
 -+        closelog();
 -+    }
 -+}
 -+#endif
 -+
 -diff --git src/core/ngx_log.h src/core/ngx_log.h
 -index 3233647..5e7fdbf 100644
 ---- src/core/ngx_log.h
 -+++ src/core/ngx_log.h
 -@@ -12,6 +12,15 @@
 - #include <ngx_config.h>
 - #include <ngx_core.h>
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+#include <syslog.h>
 -+
 -+#ifndef SYSLOG_FACILITY
 -+#define SYSLOG_FACILITY LOG_LOCAL5
 -+#endif
 -+#define ERR_SYSLOG_PRIORITY LOG_ERR
 -+#endif
 -+
 -=20
 - #define NGX_LOG_STDERR            0
 - #define NGX_LOG_EMERG             1
 -@@ -61,6 +68,13 @@ struct ngx_log_s {
 -      */
 -=20
 -     char                *action;
 -+
 -+#if (NGX_ENABLE_SYSLOG)
 -+    ngx_int_t           priority;
 -+    ngx_int_t           facility;
 -+    unsigned            syslog_on:1;      /* unsigned :1 syslog_on */
 -+    unsigned            syslog_set:1;      /*unsigned :1 syslog_set */
 -+#endif
 - };
 -=20
 -=20
 -@@ -221,6 +235,10 @@ void ngx_cdecl ngx_log_debug_core(ngx_log_t *log, n=
 gx_err_t err,
 -=20
 - ngx_log_t *ngx_log_init(u_char *prefix);
 - ngx_log_t *ngx_log_create(ngx_cycle_t *cycle, ngx_str_t *name);
 -+#if (NGX_ENABLE_SYSLOG)
 -+ngx_int_t ngx_log_get_priority(ngx_conf_t *cf, ngx_str_t *priority);
 -+char * ngx_log_set_priority(ngx_conf_t *cf, ngx_str_t *priority, ngx_lo=
 g_t *log);
 -+#endif
 - char *ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log);
 - void ngx_cdecl ngx_log_abort(ngx_err_t err, const char *fmt, ...);
 - void ngx_cdecl ngx_log_stderr(ngx_err_t err, const char *fmt, ...);
 -diff --git src/http/modules/ngx_http_log_module.c src/http/modules/ngx_h=
 ttp_log_module.c
 -index aa6a3fc..deceb38 100644
 ---- src/http/modules/ngx_http_log_module.c
 -+++ src/http/modules/ngx_http_log_module.c
 -@@ -13,6 +13,11 @@
 - #include <zlib.h>
 - #endif
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+#include <syslog.h>
 -+
 -+#define HTTP_SYSLOG_PRIORITY LOG_NOTICE
 -+#endif
 -=20
 - typedef struct ngx_http_log_op_s  ngx_http_log_op_t;
 -=20
 -@@ -67,6 +72,11 @@ typedef struct {
 -     time_t                      disk_full_time;
 -     time_t                      error_log_time;
 -     ngx_http_log_fmt_t         *format;
 -+
 -+#if (NGX_ENABLE_SYSLOG)
 -+    ngx_int_t                   priority;
 -+    unsigned                    syslog_on:1;      /* unsigned :1 syslog=
 _on */
 -+#endif
 - } ngx_http_log_t;
 -=20
 -=20
 -@@ -348,6 +358,14 @@ ngx_http_log_write(ngx_http_request_t *r, ngx_http_=
 log_t *log, u_char *buf,
 -     time_t               now;
 -     ssize_t              n;
 -     ngx_err_t            err;
 -+
 -+#if (NGX_ENABLE_SYSLOG)
 -+    n =3D 0;
 -+    if (log->syslog_on) {
 -+        syslog(log->priority, "%.*s", (int)len, buf);
 -+    }
 -+#endif
 -+
 - #if (NGX_ZLIB)
 -     ngx_http_log_buf_t  *buffer;
 - #endif
 -@@ -355,6 +373,9 @@ ngx_http_log_write(ngx_http_request_t *r, ngx_http_l=
 og_t *log, u_char *buf,
 -     if (log->script =3D=3D NULL) {
 -         name =3D log->file->name.data;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+        if (name !=3D NULL) {
 -+#endif
 - #if (NGX_ZLIB)
 -         buffer =3D log->file->data;
 -=20
 -@@ -367,7 +388,11 @@ ngx_http_log_write(ngx_http_request_t *r, ngx_http_=
 log_t *log, u_char *buf,
 - #else
 -         n =3D ngx_write_fd(log->file->fd, buf, len);
 - #endif
 --
 -+#if (NGX_ENABLE_SYSLOG)
 -+        } else {
 -+            n =3D len;
 -+        }
 -+#endif
 -     } else {
 -         name =3D NULL;
 -         n =3D ngx_http_log_script_write(r, log->script, &name, buf, len=
 );
 -@@ -1068,6 +1093,10 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void =
 *parent, void *child)
 -     log->script =3D NULL;
 -     log->disk_full_time =3D 0;
 -     log->error_log_time =3D 0;
 -+#if (NGX_ENABLE_SYSLOG)
 -+    log->priority =3D HTTP_SYSLOG_PRIORITY;
 -+    log->syslog_on =3D 0;
 -+#endif
 -=20
 -     lmcf =3D ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module=
 );
 -     fmt =3D lmcf->formats.elts;
 -@@ -1096,6 +1125,13 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_=
 t *cmd, void *conf)
 -     ngx_http_log_main_conf_t   *lmcf;
 -     ngx_http_script_compile_t   sc;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    u_char                     *off;
 -+    ngx_str_t                   priority;
 -+    ngx_uint_t                  syslog_on =3D 0;
 -+    name =3D priority =3D (ngx_str_t)ngx_null_string;
 -+#endif
 -+
 -     value =3D cf->args->elts;
 -=20
 -     if (ngx_strcmp(value[1].data, "off") =3D=3D 0) {
 -@@ -1108,6 +1144,38 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_=
 t *cmd, void *conf)
 -                            "invalid parameter \"%V\"", &value[2]);
 -         return NGX_CONF_ERROR;
 -     }
 -+#if (NGX_ENABLE_SYSLOG)
 -+    else if (ngx_strncmp(value[1].data, "syslog", sizeof("syslog") - 1)=
  =3D=3D 0) {
 -+        if (!cf->cycle->new_log.syslog_set) {
 -+            ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
 -+                               "You must set the syslog directive and e=
 nable it first.");
 -+            return NGX_CONF_ERROR;
 -+        }
 -+
 -+        syslog_on =3D 1;
 -+        if (value[1].data[sizeof("syslog") - 1] =3D=3D ':') {
 -+            priority.len =3D value[1].len - sizeof("syslog");
 -+            priority.data =3D value[1].data + sizeof("syslog");
 -+
 -+            off =3D (u_char*) ngx_strchr(priority.data, '|');=20
 -+            if (off !=3D NULL) {
 -+                priority.len =3D off - priority.data;
 -+               =20
 -+                off++;
 -+                name.len =3D value[1].data + value[1].len - off;
 -+                name.data =3D off;
 -+            }
 -+        }
 -+        else {
 -+            if (value[1].len > sizeof("syslog")) {
 -+                name.len =3D value[1].len - sizeof("syslog");
 -+                name.data =3D value[1].data + sizeof("syslog");
 -+            }
 -+        }
 -+    } else {
 -+        name =3D value[1];
 -+    }
 -+#endif
 -=20
 -     if (llcf->logs =3D=3D NULL) {
 -         llcf->logs =3D ngx_array_create(cf->pool, 2, sizeof(ngx_http_lo=
 g_t));
 -@@ -1125,6 +1193,52 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_=
 t *cmd, void *conf)
 -=20
 -     ngx_memzero(log, sizeof(ngx_http_log_t));
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    log->syslog_on =3D syslog_on;
 -+
 -+    if (priority.len =3D=3D 0) {
 -+        log->priority =3D HTTP_SYSLOG_PRIORITY;
 -+    }
 -+    else {
 -+        log->priority =3D ngx_log_get_priority(cf, &priority);
 -+    }
 -+
 -+    if (name.len !=3D 0) {
 -+        n =3D ngx_http_script_variables_count(&name);
 -+
 -+        if (n =3D=3D 0) {
 -+            log->file =3D ngx_conf_open_file(cf->cycle, &name);
 -+            if (log->file =3D=3D NULL) {
 -+                return NGX_CONF_ERROR;
 -+            }
 -+        } else {
 -+            if (ngx_conf_full_name(cf->cycle, &name, 0) !=3D NGX_OK) {
 -+                return NGX_CONF_ERROR;
 -+            }
 -+            log->script =3D ngx_pcalloc(cf->pool, sizeof(ngx_http_log_s=
 cript_t));
 -+            if (log->script =3D=3D NULL) {
 -+                return NGX_CONF_ERROR;
 -+            }
 -+            ngx_memzero(&sc, sizeof(ngx_http_script_compile_t));
 -+            sc.cf =3D cf;
 -+            sc.source =3D &name;
 -+            sc.lengths =3D &log->script->lengths;
 -+            sc.values =3D &log->script->values;
 -+            sc.variables =3D n;
 -+            sc.complete_lengths =3D 1;
 -+            sc.complete_values =3D 1;
 -+            if (ngx_http_script_compile(&sc) !=3D NGX_OK) {
 -+                return NGX_CONF_ERROR;
 -+            }
 -+        }
 -+    }
 -+    else {
 -+        log->file =3D ngx_conf_open_file(cf->cycle, &name);
 -+        if (log->file =3D=3D NULL) {
 -+            return NGX_CONF_ERROR;
 -+        }
 -+    }
 -+#else
 -     n =3D ngx_http_script_variables_count(&value[1]);
 -=20
 -     if (n =3D=3D 0) {
 -@@ -1157,6 +1271,7 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t=
  *cmd, void *conf)
 -             return NGX_CONF_ERROR;
 -         }
 -     }
 -+#endif
 -=20
 -     if (cf->args->nelts >=3D 3) {
 -         name =3D value[2];
 -diff --git src/http/ngx_http_core_module.c src/http/ngx_http_core_module=
 =2Ec
 -index c491499..4f039eb 100644
 ---- src/http/ngx_http_core_module.c
 -+++ src/http/ngx_http_core_module.c
 -@@ -1462,6 +1462,9 @@ ngx_http_update_location_config(ngx_http_request_t=
  *r)
 -=20
 -     if (r =3D=3D r->main) {
 -         ngx_http_set_connection_log(r->connection, clcf->error_log);
 -+#if (NGX_ENABLE_SYSLOG)
 -+        r->connection->log->priority =3D clcf->error_log->priority;
 -+#endif
 -     }
 -=20
 -     if ((ngx_io.flags & NGX_IO_SENDFILE) && clcf->sendfile) {
 -@@ -4867,6 +4870,15 @@ ngx_http_core_error_log(ngx_conf_t *cf, ngx_comma=
 nd_t *cmd, void *conf)
 -=20
 -     ngx_str_t  *value, name;
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    u_char     *off =3D NULL;
 -+    ngx_int_t   syslog_on =3D 0;
 -+    ngx_str_t   priority;
 -+
 -+    name =3D priority =3D (ngx_str_t) ngx_null_string;
 -+#endif
 -+
 -+
 -     if (clcf->error_log) {
 -         return "is duplicate";
 -     }
 -@@ -4876,6 +4888,36 @@ ngx_http_core_error_log(ngx_conf_t *cf, ngx_comma=
 nd_t *cmd, void *conf)
 -     if (ngx_strcmp(value[1].data, "stderr") =3D=3D 0) {
 -         ngx_str_null(&name);
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    } else if (ngx_strncmp(value[1].data, "syslog", sizeof("syslog") - =
 1) =3D=3D 0) {
 -+        if (!cf->cycle->new_log.syslog_set) {
 -+            ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
 -+                    "You must set the syslog directive and enable it fi=
 rst.");
 -+            return NGX_CONF_ERROR;
 -+        }
 -+
 -+        syslog_on =3D 1;
 -+
 -+        if (value[1].data[sizeof("syslog") - 1] =3D=3D ':') {
 -+            priority.len =3D value[1].len - sizeof("syslog");
 -+            priority.data =3D value[1].data + sizeof("syslog");
 -+
 -+            off =3D (u_char*) ngx_strchr(priority.data, '|');=20
 -+            if (off !=3D NULL) {
 -+                priority.len =3D off - priority.data;
 -+
 -+                off++;
 -+                name.len =3D value[1].data + value[1].len - off;
 -+                name.data =3D off;
 -+            }
 -+        }
 -+        else {
 -+            if (value[1].len > sizeof("syslog")) {
 -+                name.len =3D value[1].len - sizeof("syslog");
 -+                name.data =3D value[1].data + sizeof("syslog");
 -+            }
 -+        }
 -+#endif
 -     } else {
 -         name =3D value[1];
 -     }
 -@@ -4885,6 +4927,17 @@ ngx_http_core_error_log(ngx_conf_t *cf, ngx_comma=
 nd_t *cmd, void *conf)
 -         return NGX_CONF_ERROR;
 -     }
 -=20
 -+#if (NGX_ENABLE_SYSLOG)
 -+    if (syslog_on) {
 -+        clcf->error_log->syslog_on =3D 1;
 -+        if (ngx_log_set_priority(cf, &priority, clcf->error_log) =3D=3D=
  NGX_CONF_ERROR) {
 -+            return NGX_CONF_ERROR;
 -+        }
 -+    }
 -+
 -+    clcf->error_log->log_level =3D 0;
 -+#endif
 -+
 -     if (cf->args->nelts =3D=3D 2) {
 -         clcf->error_log->log_level =3D NGX_LOG_ERR;
 -         return NGX_CONF_OK;
 -diff --git src/http/ngx_http_request.c src/http/ngx_http_request.c
 -index 54e1c26..2b05157 100644
 ---- src/http/ngx_http_request.c
 -+++ src/http/ngx_http_request.c
 -@@ -424,6 +424,9 @@ ngx_http_init_request(ngx_event_t *rev)
 -     clcf =3D ngx_http_get_module_loc_conf(r, ngx_http_core_module);
 -=20
 -     ngx_http_set_connection_log(r->connection, clcf->error_log);
 -+#if (NGX_ENABLE_SYSLOG)
 -+    c->log->priority =3D clcf->error_log->priority;
 -+#endif
 -=20
 -     if (c->buffer =3D=3D NULL) {
 -         c->buffer =3D ngx_create_temp_buf(c->pool,
 -@@ -694,6 +697,9 @@ ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, in=
 t *ad, void *arg)
 -     clcf =3D ngx_http_get_module_loc_conf(hc->conf_ctx, ngx_http_core_m=
 odule);
 -=20
 -     ngx_http_set_connection_log(c, clcf->error_log);
 -+#if (NGX_ENABLE_SYSLOG)
 -+    c->log->priority =3D clcf->error_log->priority;
 -+#endif
 -=20
 -     sscf =3D ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_ssl_mo=
 dule);
 -=20
 -@@ -1891,6 +1897,9 @@ ngx_http_set_virtual_server(ngx_http_request_t *r,=
  ngx_str_t *host)
 -     clcf =3D ngx_http_get_module_loc_conf(r, ngx_http_core_module);
 -=20
 -     ngx_http_set_connection_log(r->connection, clcf->error_log);
 -+#if (NGX_ENABLE_SYSLOG)
 -+    r->connection->log->priority =3D clcf->error_log->priority;
 -+#endif
 -=20
 -     return NGX_OK;
 - }
 ---- auto/summary.orig	2010-07-08 19:57:36.000000000 +0400
 -+++ auto/summary	2010-12-08 12:25:16.000000000 +0300
 -@@ -73,6 +73,11 @@
 -     *)     echo "  + using libatomic_ops library: $NGX_LIBATOMIC" ;;
 - esac
 -=20
 -+case $USE_SYSLOG in
 -+    YES)   echo "  + using syslog with $SYSLOG_FACILITY facility" ;;
 -+    *)     echo "  + syslog is not used" ;;
 -+esac
 -+
 - echo
 -=20
 -=20
 ---- auto/make.orig	2009-05-12 17:15:43.000000000 +0400
 -+++ auto/make	2010-12-08 12:32:25.000000000 +0300
 -@@ -15,6 +15,13 @@
 - ngx_objs_dir=3D$NGX_OBJS$ngx_regex_dirsep
 - ngx_use_pch=3D`echo $NGX_USE_PCH | sed -e "s/\//$ngx_regex_dirsep/g"`
 -=20
 -+#SYSLOG
 -+if test -z "${SYSLOG_FACILITY}"; then
 -+    SYSLOG_FACILITY=3D"LOG_DAEMON"
 -+fi
 -+if test "${USE_SYSLOG}" =3D "YES"; then
 -+    CFLAGS=3D"$CFLAGS -DNGX_ENABLE_SYSLOG -DSYSLOG_FACILITY=3D${SYSLOG_=
 FACILITY}"
 -+fi
 -=20
 - cat << END                                                     > $NGX_M=
 AKEFILE
 -=20
 ---- auto/options.orig	2011-11-01 09:01:14.000000000 +0400
 -+++ auto/options	2011-11-01 09:02:42.000000000 +0400
 -@@ -120,6 +120,8 @@
 - MD5_OPT=3D
 - MD5_ASM=3DNO
 -=20
 -+USE_SYSLOG=3DNO
 -+
 - USE_SHA1=3DNO
 - SHA1=3DNONE
 - SHA1_OPT=3D
 -@@ -274,6 +276,9 @@
 -         --with-md5-opt=3D*)                MD5_OPT=3D"$value"          =
  ;;
 -         --with-md5-asm)                  MD5_ASM=3DYES                ;=
 ;
 -=20
 -+        --with-syslog)                   USE_SYSLOG=3DYES             ;=
 ;
 -+        --with-syslog-facility=3D*)        SYSLOG_FACILITY=3D"$value"  =
  ;;
 -+
 -         --with-sha1=3D*)                   SHA1=3D"$value"             =
  ;;
 -         --with-sha1-opt=3D*)               SHA1_OPT=3D"$value"         =
  ;;
 -         --with-sha1-asm)                 SHA1_ASM=3DYES               ;=
 ;
 -@@ -418,6 +423,9 @@
 -   --with-md5-opt=3DOPTIONS             set additional options for md5 b=
 uilding
 -   --with-md5-asm                     use md5 assembler sources
 -=20
 -+  --with-syslog                      use syslog instead of files to log=
  messages
 -+  --with-syslog-facility=3DFACILITY    set syslog facility
 -+
 -   --with-sha1=3DDIR                    set path to sha1 library sources=
 
 -   --with-sha1-opt=3DOPTIONS            set additional options for sha1 =
 building
 -   --with-sha1-asm                    use sha1 assembler sources
 -=20
 =3D=3D=3D=3D> Cleaning up
 =3D=3D=3D> Done
 
 --------------090003070005070001030107--
 
 --WkWsGpjUMjAQjSRBE9LtkfaoKSV09U1S8
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (FreeBSD)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iQEbBAEBAgAGBQJTaNTSAAoJEC0NWrh8JT1S95cH92Cos7Cs6av3NPKZHeU/GV3P
 27Ss5YP8HSgS5dJo40UlCM3u0bdbeH178knnLoObEJ/dZErFhqaiZtt2uyjdE0dx
 HxNrWO0dWDXw5FjJj7ttSxMJsbFZu4o7fC9yIO10KS3Aiv1oZQCNVxgl+7e1qAxr
 g1M9ICdtNyXHb8+qy8UdzK8wzIdC2oO7LhE6kcBeeUZgma1J/4OM3nSUh6qvIGKl
 3Ym+yPMjnxsUSe1Rq5xn50j0uFyauM9FVf+bedKpTEbMo6zVy+ibLBD6L2ebfgG2
 0HBagF8VABJ9xl0vuWwbpCanuUw7JsaeN3KTvCf4A2bJtCblQBrKq76gb2Q4lQ==
 =uda2
 -----END PGP SIGNATURE-----
 
 --WkWsGpjUMjAQjSRBE9LtkfaoKSV09U1S8--
>Unformatted:
