ports/162252: [PATCH] www/nginx: add nginx-x-rid-header module
Martin Matuska
mm at FreeBSD.org
Wed Nov 2 15:20:08 UTC 2011
>Number: 162252
>Category: ports
>Synopsis: [PATCH] www/nginx: add nginx-x-rid-header module
>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: Wed Nov 02 15:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 9.0-RC1 amd64
>Organization:
>Environment:
System: FreeBSD box.vx.sk 9.0-RC1 FreeBSD 9.0-RC1 #0: Sun Oct 30 23:13:43 CET 2011
>Description:
Add x-rid-header module to nginx.
URL: https://github.com/gabor/nginx-x-rid-header
Port maintainer (osa at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- nginx-1.0.9,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/nginx/Makefile,v
retrieving revision 1.284
diff -u -r1.284 Makefile
--- Makefile 1 Nov 2011 19:36:11 -0000 1.284
+++ Makefile 2 Nov 2011 14:40:57 -0000
@@ -84,6 +84,7 @@
SUPERVISORD_MODULE "3rd party supervisord module" off \
SYSLOG_SUPPORT "3rd party syslog support" off \
UDPLOG_MODULE "3rd party udplog (syslog) module" off \
+ XRID_HEADER_MODULE "3rd party x-rid header module" off \
XSS_MODULE "3rd party xss module" off
WANT_GNOME= yes
@@ -540,6 +541,14 @@
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_udplog_module.c
.endif
+.if defined(WITH_XRID_HEADER_MODULE)
+GIT_XRID_MODULE_VERSION= 0daa3cc
+FETCH_ARGS= -pRr
+MASTER_SITES+= https://github.com/gabor/nginx-x-rid-header/tarball/master/:xrid
+DISTFILES+= gabor-nginx-x-rid-header-${GIT_XRID_MODULE_VERSION}.tar.gz:xrid
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/gabor-nginx-x-rid-header-${GIT_XRID_MODULE_VERSION}
+.endif
+
.if defined(WITH_XSS_MODULE)
NGINX_XSS_MODULE_VERSION= 0.03rc3
GIT_XSS_MODULE_VERSION= 0-g8618dd3
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/nginx/distinfo,v
retrieving revision 1.246
diff -u -r1.246 distinfo
--- distinfo 1 Nov 2011 19:36:11 -0000 1.246
+++ distinfo 2 Nov 2011 14:40:57 -0000
@@ -72,5 +72,7 @@
SIZE (ngx_supervisord-1.4.tar.gz) = 19351
SHA256 (nginx_udplog_module-1.0.0.tar.gz) = e0c0bfa524c3a675ad6c08b916d08e57ef45f9818cb8a0d848c2c83785c6e659
SIZE (nginx_udplog_module-1.0.0.tar.gz) = 6284
+SHA256 (gabor-nginx-x-rid-header-0daa3cc.tar.gz) = 136239b8f9ab2fbefb2aabc6897d3f12cc8063ce817901f9b8a624e12fbc6035
+SIZE (gabor-nginx-x-rid-header-0daa3cc.tar.gz) = 2714
SHA256 (agentzh-xss-nginx-module-v0.03rc3-0-g8618dd3.tar.gz) = 53d24316489344beac53bff46f30433ef483123db397e7db27459cd6131eaa39
SIZE (agentzh-xss-nginx-module-v0.03rc3-0-g8618dd3.tar.gz) = 10016
--- nginx-1.0.9,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list