diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2015-05-26 23:10:52 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2015-05-26 23:10:52 +0000 |
commit | 7214980cf2bc64a413a932fd05b0112ca149c860 (patch) | |
tree | a8c8102796416a4286bb01e023ed516c52f68522 /www | |
parent | 8f8dced22839ca3f81abf673dac536826fbab046 (diff) | |
download | ports-7214980cf2bc64a413a932fd05b0112ca149c860.tar.gz ports-7214980cf2bc64a413a932fd05b0112ca149c860.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 17 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 2 | ||||
-rw-r--r-- | www/nginx/Makefile | 17 | ||||
-rw-r--r-- | www/nginx/distinfo | 2 |
4 files changed, 38 insertions, 0 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 6ea5ce4f5981..ae362069b1bb 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -91,6 +91,7 @@ OPTIONS_DEFINE= \ MODSECURITY \ NAXSI \ PASSENGER \ + POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ @@ -177,6 +178,7 @@ MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module +POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module @@ -628,6 +630,16 @@ CFLAGS+= -DNDEBUG .endif .endif +.if ${PORT_OPTIONS:MPOSTGRES} +USES+= pgsql +NGINX_POSTGRES_VERSION= 1.0rc5 +GIT_NGINX_POSTGRES_VERSION= 1-g49855a0 +MASTER_SITES+= https://github.com/FRiCKLE/ngx_postgres/tarball/${GIT_NGINX_POSTGRES_VERSION:S/^1-g//}/:postgres +DISTFILES+= FRiCKLE-ngx_postgres-${NGINX_POSTGRES_VERSION}-${GIT_NGINX_POSTGRES_VERSION}.tar.gz:postgres +CONFIGURE_ARGS+=--add-module=${WRKDIR}/FRiCKLE-ngx_postgres-${GIT_NGINX_POSTGRES_VERSION:S/^1-g//} +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config +.endif + .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GIT_RDS_CSV_VERSION= 0-g607e26b @@ -865,6 +877,11 @@ post-patch: s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif +.if ${PORT_OPTIONS:MPOSTGRES} + @${REINPLACE_CMD} \ + 's!%%PREFIX%%!${LOCALBASE}!g' \ + ${WRKDIR}/FRiCKLE-ngx_postgres-${GIT_NGINX_POSTGRES_VERSION:S/^1-g//}/config +.endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index cd9484f068f5..5b315fb7d893 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -70,6 +70,8 @@ SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b89 SIZE (naxsi-core-0.50.tgz) = 49809 SHA256 (passenger-5.0.8.tar.gz) = 4da783986fad73f898a00aa118ada33ea99d83ff065fd11ab3d508a4f63f0920 SIZE (passenger-5.0.8.tar.gz) = 4964167 +SHA256 (FRiCKLE-ngx_postgres-1.0rc5-1-g49855a0.tar.gz) = 460d7b1993752e0020397458a7de5fa000e833e03cd98cff5f29a1f52f074991 +SIZE (FRiCKLE-ngx_postgres-1.0rc5-1-g49855a0.tar.gz) = 40707 SHA256 (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = d5f14e45c6dc0d039ad52ae889775b5af1ff80a1c8edb69361c1581aca5d0b8f SIZE (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = 18416 SHA256 (openresty-rds-json-nginx-module-v0.13-0-g8292070.tar.gz) = e0813f2d1e0d499c4f44f7957253c7804ccc0d3a7d4446ac0c6eec834e9c21f4 diff --git a/www/nginx/Makefile b/www/nginx/Makefile index d7596696ddc0..5334f1782a2c 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -89,6 +89,7 @@ OPTIONS_DEFINE= \ MODSECURITY \ NAXSI \ PASSENGER \ + POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ @@ -173,6 +174,7 @@ MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module +POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module @@ -624,6 +626,16 @@ CFLAGS+= -DNDEBUG .endif .endif +.if ${PORT_OPTIONS:MPOSTGRES} +USES+= pgsql +NGINX_POSTGRES_VERSION= 1.0rc5 +GIT_NGINX_POSTGRES_VERSION= 1-g49855a0 +MASTER_SITES+= https://github.com/FRiCKLE/ngx_postgres/tarball/${GIT_NGINX_POSTGRES_VERSION:S/^1-g//}/:postgres +DISTFILES+= FRiCKLE-ngx_postgres-${NGINX_POSTGRES_VERSION}-${GIT_NGINX_POSTGRES_VERSION}.tar.gz:postgres +CONFIGURE_ARGS+=--add-module=${WRKDIR}/FRiCKLE-ngx_postgres-${GIT_NGINX_POSTGRES_VERSION:S/^1-g//} +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config +.endif + .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GIT_RDS_CSV_VERSION= 0-g607e26b @@ -852,6 +864,11 @@ post-patch: s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif +.if ${PORT_OPTIONS:MPOSTGRES} + @${REINPLACE_CMD} \ + 's!%%PREFIX%%!${LOCALBASE}!g' \ + ${WRKDIR}/FRiCKLE-ngx_postgres-${GIT_NGINX_POSTGRES_VERSION:S/^1-g//}/config +.endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 5f52289b826e..600420580922 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -70,6 +70,8 @@ SHA256 (naxsi-core-0.50.tgz) = 7cece5f9d9c5df9e09af1e1023bc8e04bbbbe953e67461b89 SIZE (naxsi-core-0.50.tgz) = 49809 SHA256 (passenger-5.0.8.tar.gz) = 4da783986fad73f898a00aa118ada33ea99d83ff065fd11ab3d508a4f63f0920 SIZE (passenger-5.0.8.tar.gz) = 4964167 +SHA256 (FRiCKLE-ngx_postgres-1.0rc5-1-g49855a0.tar.gz) = 460d7b1993752e0020397458a7de5fa000e833e03cd98cff5f29a1f52f074991 +SIZE (FRiCKLE-ngx_postgres-1.0rc5-1-g49855a0.tar.gz) = 40707 SHA256 (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = d5f14e45c6dc0d039ad52ae889775b5af1ff80a1c8edb69361c1581aca5d0b8f SIZE (openresty-rds-csv-nginx-module-v0.05-0-g607e26b.tar.gz) = 18416 SHA256 (openresty-rds-json-nginx-module-v0.13-0-g8292070.tar.gz) = e0813f2d1e0d499c4f44f7957253c7804ccc0d3a7d4446ac0c6eec834e9c21f4 |