aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2019-09-13 13:49:41 +0800
committerjoneum <joneum@FreeBSD.org>2019-09-13 13:49:41 +0800
commita8a247ed23226b6e0b40911f1f684aeb622f36cb (patch)
tree59c051b8ed3851d6b8a72372869564daa720544e /www
parentad314a4267442b20754b4c0ed472a15d022ae3aa (diff)
downloadfreebsd-ports-gnome-a8a247ed23226b6e0b40911f1f684aeb622f36cb.tar.gz
freebsd-ports-gnome-a8a247ed23226b6e0b40911f1f684aeb622f36cb.tar.zst
freebsd-ports-gnome-a8a247ed23226b6e0b40911f1f684aeb622f36cb.zip
add 3rd Party ip2location and ip2proxy modules
PR: 240460 Reported by: zi Sponsored by: Netzkommune GmbH
Diffstat (limited to 'www')
-rw-r--r--www/nginx/Makefile16
-rw-r--r--www/nginx/Makefile.extmod8
-rw-r--r--www/nginx/Makefile.options.desc2
-rw-r--r--www/nginx/distinfo4
4 files changed, 22 insertions, 8 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 3b3622085a22..faeb9f38b032 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -82,14 +82,14 @@ OPTIONS_GROUP_HTTPGRP+= AJP AWS_AUTH BROTLI CACHE_PURGE CLOJURE CT DEVEL_KIT \
ARRAYVAR DRIZZLE DYNAMIC_UPSTREAM ECHO ENCRYPTSESSION FASTDFS FORMINPUT \
GRIDFS HEADERS_MORE HTTP_ACCEPT_LANGUAGE HTTP_AUTH_DIGEST HTTP_AUTH_KRB5 \
HTTP_AUTH_LDAP HTTP_AUTH_PAM HTTP_DAV_EXT HTTP_EVAL HTTP_FANCYINDEX \
- HTTP_FOOTER HTTP_GEOIP2 HTTP_JSON_STATUS HTTP_MOGILEFS HTTP_MP4_H264 \
- HTTP_NOTICE HTTP_PUSH HTTP_PUSH_STREAM HTTP_REDIS HTTP_RESPONSE \
- HTTP_SUBS_FILTER HTTP_TARANTOOL HTTP_UPLOAD HTTP_UPLOAD_PROGRESS \
- HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR HTTP_UPSTREAM_STICKY \
- HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LUA MEMC MODSECURITY \
- MODSECURITY3 NAXSI NJS PASSENGER POSTGRES RDS_CSV RDS_JSON REDIS2 RTMP \
- SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SMALL_LIGHT SRCACHE VOD VTS XSS \
- WEBSOCKIFY
+ HTTP_FOOTER HTTP_GEOIP2 HTTP_IP2LOCATION HTTP_IP2PROXY HTTP_JSON_STATUS \
+ HTTP_MOGILEFS HTTP_MP4_H264 HTTP_NOTICE HTTP_PUSH HTTP_PUSH_STREAM \
+ HTTP_REDIS HTTP_RESPONSE HTTP_SUBS_FILTER HTTP_TARANTOOL HTTP_UPLOAD \
+ HTTP_UPLOAD_PROGRESS HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR \
+ HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LUA \
+ MEMC MODSECURITY MODSECURITY3 NAXSI NJS PASSENGER POSTGRES RDS_CSV \
+ RDS_JSON REDIS2 RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE \
+ SMALL_LIGHT SRCACHE VOD VTS XSS WEBSOCKIFY
OPTIONS_GROUP_MAILGRP= MAIL MAIL_IMAP MAIL_POP3 MAIL_SMTP MAIL_SSL
OPTIONS_DEFINE= DEBUG DEBUGLOG DSO FILE_AIO IPV6 THREADS WWW
OPTIONS_DEFAULT?= DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \
diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod
index b618f3886e5e..e50bc69611ee 100644
--- a/www/nginx/Makefile.extmod
+++ b/www/nginx/Makefile.extmod
@@ -108,6 +108,14 @@ HTTP_GEOIP2_CFLAGS= -I${LOCALBASE}/include
HTTP_GEOIP2_VARS= DSO_EXTMODS+=geoip2
HTTP_GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
+HTTP_IP2LOCATION_GH_TUPLE= ip2location:ip2location-nginx:d47d248:ip2location
+HTTP_IP2LOCATION_LIB_DEPENDS= libIP2Location.so:net/ip2location
+HTTP_IP2LOCATION_CONFIGURE_ON= --add-module=${WRKSRC_ip2location}
+
+HTTP_IP2PROXY_GH_TUPLE= ip2location:ip2proxy-nginx:d6fd05a:ip2proxy
+HTTP_IP2PROXY_LIB_DEPENDS= libIP2Proxy.so:net/ip2proxy
+HTTP_IP2PROXY_CONFIGURE_ON= --add-module=${WRKSRC_ip2proxy}
+
HTTP_JSON_STATUS_GH_TUPLE= nginx-modules:ngx_http_json_status_module:1d2f303:json_status
HTTP_JSON_STATUS_CONFIGURE_ON= --add-module=${WRKSRC_json_status}
diff --git a/www/nginx/Makefile.options.desc b/www/nginx/Makefile.options.desc
index 86b868ba8d0c..22051948cf76 100644
--- a/www/nginx/Makefile.options.desc
+++ b/www/nginx/Makefile.options.desc
@@ -43,6 +43,8 @@ HTTP_GEOIP2_DESC= 3rd party geoip2 module
HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module
HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module
HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module
+HTTP_IP2LOCATION_DESC= 3rd party ip2location-nginx module
+HTTP_IP2PROXY_DESC= 3rd party ip2proxy-nginx module
HTTP_JSON_STATUS_DESC= 3rd party http_json_status module
HTTP_MOGILEFS_DESC= 3rd party mogilefs module
HTTP_MP4_DESC= Enable http_mp4 module
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 143a5b668c9e..5ceec8f18e7a 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -137,3 +137,7 @@ SHA256 (tg123-websockify-nginx-module-e82d254_GH0.tar.gz) = 1ea0fd35e3bed61c822a
SIZE (tg123-websockify-nginx-module-e82d254_GH0.tar.gz) = 14378
SHA256 (openresty-xss-nginx-module-v0.05_GH0.tar.gz) = 958bd8de773601d8d3138501cc4be0420f1c818a3987a70cc9c0023371e432cf
SIZE (openresty-xss-nginx-module-v0.05_GH0.tar.gz) = 11477
+SHA256 (ip2location-ip2location-nginx-d47d248_GH0.tar.gz) = ae45341c361fb4ab11f8415c5d85b51ea1aa1027f8ab4fa9524df2074080bb9c
+SIZE (ip2location-ip2location-nginx-d47d248_GH0.tar.gz) = 5542
+SHA256 (ip2location-ip2proxy-nginx-d6fd05a_GH0.tar.gz) = 7b8df48216cd258d770b084b1768d6963a1ec850a748944f896098ce0fa0d993
+SIZE (ip2location-ip2proxy-nginx-d6fd05a_GH0.tar.gz) = 4573