summaryrefslogtreecommitdiff
path: root/www/nginx-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel')
-rw-r--r--www/nginx-devel/Makefile4
-rw-r--r--www/nginx-devel/Makefile.extmod7
-rw-r--r--www/nginx-devel/distinfo6
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_postgres-config4
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_postgres_module.c17
-rw-r--r--www/nginx-devel/pkg-plist1
6 files changed, 11 insertions, 28 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index f94546e926b0..082768ba34e9 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.18.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= nginx
-PORTSCOUT= limit:^1\.17\.[0-9]*
+PORTSCOUT= limit:^1\.19\.[0-9]*
USES= cpe
diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod
index b809420c2ef4..ea720d9174b6 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -254,10 +254,9 @@ PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \
${PATCHDIR}/extra-patch-passenger-system-calls
POSTGRES_USES= pgsql
-POSTGRES_GH_TUPLE= FRiCKLE:ngx_postgres:1.0rc7:postgres
-POSTGRES_CONFIGURE_ON= --add-module=${WRKSRC_postgres}
-POSTGRES_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_postgres-config \
- ${PATCHDIR}/extra-patch-ngx_postgres_module.c
+POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres
+POSTGRES_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_postgres-config
+POSTGRES_VARS= DSO_EXTMODS+=postgres
RDS_CSV_GH_TUPLE= openresty:rds-csv-nginx-module:v0.09:rdscsv
RDS_CSV_CONFIGURE_ON= --add-module=${WRKSRC_rdscsv}
diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo
index c5188078bbdb..16f0b505bee1 100644
--- a/www/nginx-devel/distinfo
+++ b/www/nginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1587645713
+TIMESTAMP = 1587652049
SHA256 (nginx-1.18.0.tar.gz) = 4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99
SIZE (nginx-1.18.0.tar.gz) = 1039530
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -115,8 +115,8 @@ SHA256 (nbs-system-naxsi-0.56_GH0.tar.gz) = 0a66dcadd32432460fab180be9f2efe24e91
SIZE (nbs-system-naxsi-0.56_GH0.tar.gz) = 192120
SHA256 (nginx-njs-0.4.0_GH0.tar.gz) = 5c35dc18db01d4736501ef2e8ecf7d7d4c806a84117419849a92b1e1fa36673b
SIZE (nginx-njs-0.4.0_GH0.tar.gz) = 418439
-SHA256 (FRiCKLE-ngx_postgres-1.0rc7_GH0.tar.gz) = c942e674a7273ab87caab4dcad626ab54852be192c29b1add50d2cb535e3cbb9
-SIZE (FRiCKLE-ngx_postgres-1.0rc7_GH0.tar.gz) = 40742
+SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b
+SIZE (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = 48544
SHA256 (openresty-rds-csv-nginx-module-v0.09_GH0.tar.gz) = 896be99c0cad50218417800a159e43ec088d6b58c099472ed3b3d7f179d6c0ea
SIZE (openresty-rds-csv-nginx-module-v0.09_GH0.tar.gz) = 20531
SHA256 (openresty-rds-json-nginx-module-v0.15_GH0.tar.gz) = eaf18f60e981ea2442a7902689a26eba6cf6f36ebee712feeb1f4429eb654bdc
diff --git a/www/nginx-devel/files/extra-patch-ngx_postgres-config b/www/nginx-devel/files/extra-patch-ngx_postgres-config
index f79e9ca1bfbb..8c26c0f7dd64 100644
--- a/www/nginx-devel/files/extra-patch-ngx_postgres-config
+++ b/www/nginx-devel/files/extra-patch-ngx_postgres-config
@@ -1,5 +1,5 @@
---- ../ngx_postgres-1.0rc7/config.orig 2015-05-26 20:52:25.649166000 +0300
-+++ ../ngx_postgres-1.0rc7/config 2015-05-26 20:53:10.331122000 +0300
+--- ../ngx_postgres-8aa7359/config.orig 2015-05-26 20:52:25.649166000 +0300
++++ ../ngx_postgres-8aa7359/config 2015-05-26 20:53:10.331122000 +0300
@@ -48,12 +48,12 @@
if [ $ngx_found = no ]; then
diff --git a/www/nginx-devel/files/extra-patch-ngx_postgres_module.c b/www/nginx-devel/files/extra-patch-ngx_postgres_module.c
deleted file mode 100644
index dd8e302d1fd4..000000000000
--- a/www/nginx-devel/files/extra-patch-ngx_postgres_module.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c.orig 2016-11-20 15:34:25.763542000 -0500
-+++ ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c 2016-11-20 15:34:41.023867000 -0500
-@@ -1320,12 +1320,14 @@
- continue;
- }
-
-+#if (nginx_version < 1011006)
- if (uscfp[i]->default_port && url->default_port
- && (uscfp[i]->default_port != url->default_port))
- {
- dd("default_port doesn't match");
- continue;
- }
-+#endif
-
- dd("returning");
- return uscfp[i];
diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist
index 571d9f46ab33..6b9c6396deb2 100644
--- a/www/nginx-devel/pkg-plist
+++ b/www/nginx-devel/pkg-plist
@@ -49,6 +49,7 @@
%%DSO%%%%MEMC%%libexec/nginx/ngx_http_memc_module.so
%%DSO%%%%NAXSI%%libexec/nginx/ngx_http_naxsi_module.so
%%DSO%%%%PASSENGER%%libexec/nginx/ngx_http_passenger_module.so
+%%DSO%%%%POSTGRES%%libexec/nginx/ngx_postgres_module.so
%%DSO%%%%REDIS2%%libexec/nginx/ngx_http_redis2_module.so
%%DSO%%%%RTMP%%libexec/nginx/ngx_rtmp_module.so
%%DSO%%%%SET_MISC%%libexec/nginx/ngx_http_set_misc_module.so