From b9af5876f283e3d3967c26a4a2e0150a539259bd Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Wed, 9 Apr 2014 02:36:08 +0000 Subject: [PATCH] Update from 4.0.35 to 4.0.41: o) www/rubygem-passenger; o) third-party modules for www/nginx and www/nginx-devel. STAGEfy www/rubygem-passenger. --- www/nginx-devel/Makefile | 2 +- www/nginx-devel/distinfo | 4 +-- .../extra-patch-passenger-build-nginx.rb | 4 +-- www/nginx/Makefile | 2 +- www/nginx/distinfo | 4 +-- .../extra-patch-passenger-build-nginx.rb | 4 +-- www/rubygem-passenger/Makefile | 32 +++++++++---------- www/rubygem-passenger/distinfo | 4 +-- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 5f4625862dac..86a57ef889fd 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -645,7 +645,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \ .endif .if ${PORT_OPTIONS:MPASSENGER} -PASSENGER_VERSION= 4.0.35 +PASSENGER_VERSION= 4.0.41 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index cbb801736b00..0d0c4cbb4a5a 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -72,8 +72,8 @@ SHA256 (modsecurity-apache_2.7.5.tar.gz) = 9e907536278d8da80d3dbb29aeffe9c4ec37c SIZE (modsecurity-apache_2.7.5.tar.gz) = 1045387 SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef SIZE (naxsi-core-0.50.tgz) = 49809 -SHA256 (passenger-4.0.35.tar.gz) = a8b7eeed2ef12e8137d36418a11c928969aaf6b13a91e81445de2a156245f774 -SIZE (passenger-4.0.35.tar.gz) = 4039531 +SHA256 (passenger-4.0.41.tar.gz) = 7b1857e02280066d4be9123a1c13ead1eba280e60e3eba7b4f0e16279fd71259 +SIZE (passenger-4.0.41.tar.gz) = 4060645 SHA256 (ngx_postgres-0.9.tar.gz) = aac0141e73b5c440927b7e040072f120b36e49deb2ff36ad00ff96a80622fbec SIZE (ngx_postgres-0.9.tar.gz) = 41022 SHA256 (agentzh-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = 3fa9cb3960a97f505c9ad0cc8683c8fe17ba98aa98d003e255bf214e5144751c diff --git a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb index 87a7792e3ab6..8034a07e5f7d 100644 --- a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-4.0.35/build/nginx.rb.orig 2013-10-12 11:05:08.000000000 +0400 -+++ ../passenger-4.0.35/build/nginx.rb 2013-10-12 11:06:18.000000000 +0400 +--- ../passenger-4.0.41/build/nginx.rb.orig 2013-10-12 11:05:08.000000000 +0400 ++++ ../passenger-4.0.41/build/nginx.rb 2013-10-12 11:06:18.000000000 +0400 @@ -32,16 +32,12 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/nginx/Makefile b/www/nginx/Makefile index c18e6d488da2..92ba90459166 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -647,7 +647,7 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \ .endif .if ${PORT_OPTIONS:MPASSENGER} -PASSENGER_VERSION= 4.0.35 +PASSENGER_VERSION= 4.0.41 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 74f9adbe41ec..9f76e5638214 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -74,8 +74,8 @@ SHA256 (modsecurity-apache_2.7.5.tar.gz) = 9e907536278d8da80d3dbb29aeffe9c4ec37c SIZE (modsecurity-apache_2.7.5.tar.gz) = 1045387 SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b893b8240e82ca52ef SIZE (naxsi-core-0.50.tgz) = 49809 -SHA256 (passenger-4.0.35.tar.gz) = a8b7eeed2ef12e8137d36418a11c928969aaf6b13a91e81445de2a156245f774 -SIZE (passenger-4.0.35.tar.gz) = 4039531 +SHA256 (passenger-4.0.41.tar.gz) = 7b1857e02280066d4be9123a1c13ead1eba280e60e3eba7b4f0e16279fd71259 +SIZE (passenger-4.0.41.tar.gz) = 4060645 SHA256 (ngx_postgres-0.9.tar.gz) = aac0141e73b5c440927b7e040072f120b36e49deb2ff36ad00ff96a80622fbec SIZE (ngx_postgres-0.9.tar.gz) = 41022 SHA256 (agentzh-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = 3fa9cb3960a97f505c9ad0cc8683c8fe17ba98aa98d003e255bf214e5144751c diff --git a/www/nginx/files/extra-patch-passenger-build-nginx.rb b/www/nginx/files/extra-patch-passenger-build-nginx.rb index 87a7792e3ab6..8034a07e5f7d 100644 --- a/www/nginx/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-4.0.35/build/nginx.rb.orig 2013-10-12 11:05:08.000000000 +0400 -+++ ../passenger-4.0.35/build/nginx.rb 2013-10-12 11:06:18.000000000 +0400 +--- ../passenger-4.0.41/build/nginx.rb.orig 2013-10-12 11:05:08.000000000 +0400 ++++ ../passenger-4.0.41/build/nginx.rb 2013-10-12 11:06:18.000000000 +0400 @@ -32,16 +32,12 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile index c3df77ec8026..b03f08e238a1 100644 --- a/www/rubygem-passenger/Makefile +++ b/www/rubygem-passenger/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= passenger -PORTVERSION= 4.0.35 +PORTVERSION= 4.0.41 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMEPREFIX= rubygem- @@ -15,7 +15,7 @@ OPTIONS_SINGLE= SERVER OPTIONS_SINGLE_SERVER= APACHE22 NGINX APACHE22_DESC= Build with apache22 support NGINX_DESC= Build with nginx support -SYMLINK_DESC= Create passenger symlink +SYMLINK_DESC= Create passenger symlink OPTIONS_DEFAULT= APACHE22 USE_RUBY= yes @@ -23,7 +23,6 @@ USE_RAKE= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes -NO_STAGE= yes .include .if ${PORT_OPTIONS:MAPACHE22} @@ -72,7 +71,6 @@ pre-patch: @${ECHO_CMD} .endif -post-install: @${REINPLACE_CMD} \ 's!-Wall!!g; \ s!gcc!${CC}!g; \ @@ -81,15 +79,15 @@ post-install: s!-O2!!g; \ s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \ 201,203s!true!false!' \ - ${PREFIX}/${GEM_LIB_DIR}/build/basics.rb + ${WRKSRC}/build/basics.rb .if ${PORT_OPTIONS:NDEBUG} @${REINPLACE_CMD} \ 's!-DPASSENGER_DEBUG!-DNDEBUG!g' \ - ${PREFIX}/${GEM_LIB_DIR}/build/basics.rb + ${WRKSRC}/build/basics.rb .endif @${REINPLACE_CMD} \ 's!#{LIBEV_LIBS}!-L${LOCALBASE}/lib -lev!g' \ - ${PREFIX}/${GEM_LIB_DIR}/build/agents.rb + ${WRKSRC}/build/agents.rb @${REINPLACE_CMD} \ 's!-Iext/libev!!; \ s!/usr/include/libev!${LOCALBASE}/include!; \ @@ -97,23 +95,25 @@ post-install: s!-Iext/libeio!!; \ s!/usr/include/libeio!${LOCALBASE}/include!; \ s!-leio!-L${LOCALBASE}/lib -leio!' \ - ${PREFIX}/${GEM_LIB_DIR}/build/common_library.rb + ${WRKSRC}/build/common_library.rb @${REINPLACE_CMD} \ 's!-lpthread!${PTHREAD_LIBS}!g' \ - ${PREFIX}/${GEM_LIB_DIR}/lib/phusion_passenger/platform_info/cxx_portability.rb + ${WRKSRC}/lib/phusion_passenger/platform_info/cxx_portability.rb + +post-build: .if ${PORT_OPTIONS:MAPACHE22} - (CC=${CC} CXX=${CXX} ${PREFIX}/bin/passenger-install-apache2-module --auto) + (CC=${CC} CXX=${CXX} ${STAGE}${PREFIX}/bin/passenger-install-apache2-module --auto) @${CAT} ${PKGMESSAGE} .endif .if ${PORT_OPTIONS:MNGINX} - (cd ${PREFIX}/${GEM_LIB_DIR} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) + (cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) +.endif +.if ${PORT_OPTIONS:MSYMLINK} + ${LN} -s ${GEM_LIB_DIR} ${STAGE}${PREFIX}/${GEMS_DIR}/${PORTNAME} .endif - ${FIND} ${PREFIX}/${GEM_LIB_DIR} -name '*.o' -delete - ${FIND} ${PREFIX}/${GEM_LIB_DIR} -name '*.bak' -delete -.if ${PORT_OPTIONS:MSYMLINK} - ${LN} -s ${PREFIX}/${GEM_LIB_DIR} ${PREFIX}/${GEMS_DIR}/${PORTNAME} -.endif + ${FIND} ${WRKSRC} -name '*.o' -delete + ${FIND} ${WRKSRC} -name '*.bak' -delete .include diff --git a/www/rubygem-passenger/distinfo b/www/rubygem-passenger/distinfo index 6b9ce02ef1cc..90c250cdf27a 100644 --- a/www/rubygem-passenger/distinfo +++ b/www/rubygem-passenger/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/passenger-4.0.35.gem) = 72edb6d5ed3af9c07f4b5fd51f88a023d0ba5a4d779c1a5919157fb7559efcd8 -SIZE (rubygem/passenger-4.0.35.gem) = 4053504 +SHA256 (rubygem/passenger-4.0.41.gem) = ea69711a7820c1ac434523235a129114b0e2957dae3b9b8b91868af5eeb067d8 +SIZE (rubygem/passenger-4.0.41.gem) = 4074496