Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 08:57:52 GMT
From:      Veniamin Gvozdikov <g.veniamin@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171702: [update]: www/nginx-devel added new 3rd party module to CTPP2 library
Message-ID:  <201209170857.q8H8vqx0084412@red.freebsd.org>
Resent-Message-ID: <201209170900.q8H90SR0045180@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171702
>Category:       ports
>Synopsis:       [update]: www/nginx-devel added new 3rd party module to CTPP2 library
>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:   Mon Sep 17 09:00:28 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Veniamin Gvozdikov
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD ololo 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Aug 18 11:19:07 MSD 2011     root@ololo:/usr/obj/usr/src/sys/OLOLO  amd64
>Description:
Added 3rd party module to CTPP2 library
>How-To-Repeat:

>Fix:
diff -ruN nginx-devel.orig/Makefile nginx-devel/Makefile
--- nginx-devel.orig/Makefile	2012-09-17 12:38:28.334495103 +0400
+++ nginx-devel/Makefile	2012-09-17 12:54:54.469839958 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	nginx
 PORTVERSION=	1.3.6
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://nginx.org/download/
 MASTER_SITES+=	${MASTER_SITE_LOCAL}
@@ -52,6 +53,7 @@
 	SPDY \
 	WWW \
 	CACHE_PURGE \
+	CTPP2 \
 	ECHO \
 	HEADERS_MORE \
 	HTTP_ACCEPT_LANGUAGE \
@@ -137,6 +139,7 @@
 SPDY_DESC=			Enable SPDY protocol support (SSL req.)
 WWW_DESC=			Enable html sample files
 CACHE_PURGE_DESC=		3rd party cache_purge module
+CTPP2_DESC=			3rd party module to CTPP2 library
 ECHO_DESC=			3rd party echo module
 HEADERS_MORE_DESC=		3rd party headers_more module
 HTTP_ACCEPT_LANGUAGE_DESC=	3rd party accept_language module
@@ -318,6 +321,14 @@
 CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}
 .endif
 
+.if ${PORT_OPTIONS:MCTPP2}
+LIB_DEPENDS+=	ctpp2:${PORTSDIR}/textproc/ctpp2
+NGINX_CTPP2_VERSION=	0.5
+MASTER_SITES+=	http://dl.vbart.ru/ngx-ctpp/:ctpp2
+DISTFILES+=	ngx_ctpp2-${NGINX_CTPP2_VERSION}.tar.gz:ctpp2
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_ctpp2-${NGINX_CTPP2_VERSION}
+.endif
+
 .if ${PORT_OPTIONS:MECHO}
 NGINX_ECHO_VERSION=	0.41
 GIT_ECHO_VERSION=	0-gd3eb42d
diff -ruN nginx-devel.orig/distinfo nginx-devel/distinfo
--- nginx-devel.orig/distinfo	2012-09-17 12:38:28.334495103 +0400
+++ nginx-devel/distinfo	2012-09-17 12:28:17.908190642 +0400
@@ -12,6 +12,8 @@
 SIZE (ngx_http_auth_request_module-0.2.tar.gz) = 6736
 SHA256 (ngx_cache_purge-1.6.tar.gz) = 863d6dd60e31b3c24c1f2d314f294c62a4ab5cf37f98c20ded9f6df1018baac8
 SIZE (ngx_cache_purge-1.6.tar.gz) = 7296
+SHA256 (ngx_ctpp2-0.5.tar.gz) = f8adfecc23e2c23af95df8549ef92fd52598b21506a9d9df2278b2605668d5a6
+SIZE (ngx_ctpp2-0.5.tar.gz) = 19686
 SHA256 (agentzh-echo-nginx-module-v0.41-0-gd3eb42d.tar.gz) = 247a2fee95c9aef34154ac26867adeeacd407c3d51c839aadeefc9c4c469dbd9
 SIZE (agentzh-echo-nginx-module-v0.41-0-gd3eb42d.tar.gz) = 73720
 SHA256 (agentzh-headers-more-nginx-module-v0.18-0-g6586984.tar.gz) = c7ef9b58415446c09f82857e379e830273050006f9c5ac3b7a6946cf9944de24

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209170857.q8H8vqx0084412>