pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   osa
Date:           Tue Apr 18 21:10:38 UTC 2023

Modified Files:
        pkgsrc/www/nginx: Makefile PLIST distinfo options.mk
        pkgsrc/www/nginx-devel: Makefile PLIST distinfo options.mk

Log Message:
www/nginx*: third-party modules management (+)

o) add sts, stream server traffic status module,
   https://github.com/vozlt/nginx-module-sts
o) add vts, virtual host traffic status module,
   https://github.com/vozlt/nginx-module-vts

Bump PKGREVISIONs.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 pkgsrc/www/nginx/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/nginx/PLIST
cvs rdiff -u -r1.107 -r1.108 pkgsrc/www/nginx/distinfo
cvs rdiff -u -r1.92 -r1.93 pkgsrc/www/nginx/options.mk
cvs rdiff -u -r1.101 -r1.102 pkgsrc/www/nginx-devel/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/nginx-devel/PLIST
cvs rdiff -u -r1.92 -r1.93 pkgsrc/www/nginx-devel/distinfo
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/nginx-devel/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/nginx/Makefile
diff -u pkgsrc/www/nginx/Makefile:1.134 pkgsrc/www/nginx/Makefile:1.135
--- pkgsrc/www/nginx/Makefile:1.134     Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx/Makefile   Tue Apr 18 21:10:38 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.134 2023/04/18 20:50:06 osa Exp $
+# $NetBSD: Makefile,v 1.135 2023/04/18 21:10:38 osa Exp $
 
 DISTNAME=      nginx-1.24.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  https://nginx.org/download/
 DISTFILES=     ${DEFAULT_DISTFILES}

Index: pkgsrc/www/nginx/PLIST
diff -u pkgsrc/www/nginx/PLIST:1.17 pkgsrc/www/nginx/PLIST:1.18
--- pkgsrc/www/nginx/PLIST:1.17 Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx/PLIST      Tue Apr 18 21:10:38 2023
@@ -1,7 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2023/04/18 20:50:06 osa Exp $
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/nginx/nginx.${SOEXT}
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/nginx.pm
-${PLIST.dso}${PLIST.ndk}libexec/nginx/ndk_http_module.so
+@comment $NetBSD: PLIST,v 1.18 2023/04/18 21:10:38 osa Exp $
 ${PLIST.dso}${PLIST.arrayvar}libexec/nginx/ngx_http_array_var_module.so
 ${PLIST.dso}${PLIST.cprg}libexec/nginx/ngx_http_cache_purge_module.so
 ${PLIST.dso}${PLIST.dav}libexec/nginx/ngx_http_dav_ext_module.so
@@ -9,21 +6,26 @@ ${PLIST.dso}${PLIST.echo}libexec/nginx/n
 ${PLIST.dso}${PLIST.encses}libexec/nginx/ngx_http_encrypted_session_module.so
 ${PLIST.dso}${PLIST.forminput}libexec/nginx/ngx_http_form_input_module.so
 ${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_http_geoip2_module.so
+${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_stream_geoip2_module.so
+${PLIST.dso}${PLIST.gssapi}libexec/nginx/ngx_http_auth_spnego_module.so
 ${PLIST.dso}${PLIST.headmore}libexec/nginx/ngx_http_headers_more_filter_module.so
 ${PLIST.dso}${PLIST.imagefilter}libexec/nginx/ngx_http_image_filter_module.so
-${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_http_js_module.so
 ${PLIST.dso}${PLIST.lua}libexec/nginx/ngx_http_lua_module.so
-${PLIST.dso}${PLIST.naxsi}libexec/nginx/ngx_http_naxsi_module.so
-${PLIST.dso}${PLIST.perl}libexec/nginx/ngx_http_perl_module.so
-${PLIST.dso}${PLIST.setmisc}libexec/nginx/ngx_http_set_misc_module.so
-${PLIST.dso}${PLIST.upload}libexec/nginx/ngx_http_upload_module.so
 ${PLIST.dso}${PLIST.mail}libexec/nginx/ngx_mail_module.so
+${PLIST.dso}${PLIST.naxsi}libexec/nginx/ngx_http_naxsi_module.so
 ${PLIST.dso}${PLIST.nchan}libexec/nginx/ngx_nchan_module.so
-${PLIST.dso}${PLIST.rtmp}libexec/nginx/ngx_rtmp_module.so
-${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_stream_geoip2_module.so
+${PLIST.dso}${PLIST.ndk}libexec/nginx/ndk_http_module.so
+${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_http_js_module.so
 ${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_stream_js_module.so
+${PLIST.dso}${PLIST.perl}libexec/nginx/ngx_http_perl_module.so
+${PLIST.dso}${PLIST.rtmp}libexec/nginx/ngx_rtmp_module.so
+${PLIST.dso}${PLIST.setmisc}libexec/nginx/ngx_http_set_misc_module.so
 ${PLIST.dso}${PLIST.stream}libexec/nginx/ngx_stream_module.so
-${PLIST.dso}${PLIST.gssapi}libexec/nginx/ngx_http_auth_spnego_module.so
+${PLIST.dso}${PLIST.sts}libexec/nginx/ngx_http_stream_server_traffic_status_module.so
+${PLIST.dso}${PLIST.upload}libexec/nginx/ngx_http_upload_module.so
+${PLIST.dso}${PLIST.vts}libexec/nginx/ngx_http_vhost_traffic_status_module.so
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/nginx/nginx.${SOEXT}
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/nginx.pm
 man/man8/nginx.8
 sbin/nginx
 share/examples/nginx/conf/fastcgi.conf

Index: pkgsrc/www/nginx/distinfo
diff -u pkgsrc/www/nginx/distinfo:1.107 pkgsrc/www/nginx/distinfo:1.108
--- pkgsrc/www/nginx/distinfo:1.107     Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx/distinfo   Tue Apr 18 21:10:38 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.107 2023/04/18 20:50:06 osa Exp $
+$NetBSD: distinfo,v 1.108 2023/04/18 21:10:38 osa Exp $
 
 BLAKE2s (array-var-nginx-module-0.06.tar.gz) = fa6ad2a2ce3c3eba3f69287b224e9c01fcaca29a083394ab74f2f655d3e2138b
 SHA512 (array-var-nginx-module-0.06.tar.gz) = bc72158856a1be18a26ee04c6b5b0f0a20bcce688610a493bf31e2a133e7eb12e11f7c18197a09a72b1513f6a08348ee5281b9d5b84cf43603539040ebd23c26
@@ -54,6 +54,12 @@ Size (set-misc-nginx-module-0.33.tar.gz)
 BLAKE2s (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = 3be4fa1c0c5af43255a0b8e267d9cf9f35b1d7ba4ee0343c5189e38b5af4975e
 SHA512 (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = c15d3a772032a1a490860bd5cdb97779d2004683c754ec02ec21cb19a1d514afe518e12ea1078a22d973c54161211750b07c5e7d4ee103e9be92420b773395d7
 Size (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = 24680 bytes
+BLAKE2s (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = f04e586b926c030c8b8461823d3a0a38257c1b88f42012a0386826b6e1d0d6be
+SHA512 (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = f9253c5f71f28ac5e99a47e07ccb4136ea160399469cd3bfe026a9ff56e9a1ed94f612b3e66db369ada5d98fd1e9372bfdee9b6d76d9727d0c06189be7d9257d
+Size (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = 352431 bytes
+BLAKE2s (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 5373b024b607ce5e94a066d3ae1bf28637f9b527baecc76cebfc5e4481a8267b
+SHA512 (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 60dc620aced9f7fa73673648974dd29c4a530087e64da3421da9c6fe10a9fc48d585c04af816d220ccc99ea9e39f29d3519064a2ae437c6d1c61430d9be465bb
+Size (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 180394 bytes
 SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
 SHA1 (patch-auto_install) = 3b3a0f9f4c005b707664554fa57a58c9e3b7de60
 SHA1 (patch-conf_nginx.conf) = c87c76604a5aae64f8c039f90f9291e3134f64e0

Index: pkgsrc/www/nginx/options.mk
diff -u pkgsrc/www/nginx/options.mk:1.92 pkgsrc/www/nginx/options.mk:1.93
--- pkgsrc/www/nginx/options.mk:1.92    Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx/options.mk Tue Apr 18 21:10:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.92 2023/04/18 20:50:06 osa Exp $
+# $NetBSD: options.mk,v 1.93 2023/04/18 21:10:38 osa Exp $
 
 CODELOAD_SITE_GITHUB=          https://codeload.github.com/
 
@@ -9,7 +9,7 @@ PKG_SUPPORTED_OPTIONS+= geoip geoip2 gss
 PKG_SUPPORTED_OPTIONS+=        image-filter luajit mail-proxy memcache
 PKG_SUPPORTED_OPTIONS+=        naxsi njs perl push realip rtmp
 PKG_SUPPORTED_OPTIONS+=        secure-link set-misc slice ssl status
-PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sub upload uwsgi
+PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sts sub upload uwsgi vts
 
 PKG_SUGGESTED_OPTIONS= auth-request gzip http2 memcache realip
 PKG_SUGGESTED_OPTIONS+=        slice status ssl uwsgi
@@ -18,7 +18,7 @@ PKG_OPTIONS_LEGACY_OPTS+=     v2:http2
 
 PLIST_VARS+=           arrayvar cprg dav dso echo encses forminput geoip2
 PLIST_VARS+=           gssapi headmore imagefilter lua mail naxsi nchan ndk njs
-PLIST_VARS+=           perl rtmp setmisc stream upload uwsgi
+PLIST_VARS+=           perl rtmp setmisc stream sts upload uwsgi vts
 
 .include "../../mk/bsd.options.mk"
 
@@ -339,6 +339,30 @@ DSO_EXTMODS+=              gssapi
 PLIST.gssapi=          yes
 .endif
 
+.if !empty(PKG_OPTIONS:Msts) || make(makesum) || make(mdi) || make(distclean)
+STS_GH_ACCOUNT=                vozlt
+STS_GH_PROJECT=                nginx-module-sts
+STS_VERSION=           3c10d42
+STS_DISTNAME=          ${STS_GH_PROJECT}-${STS_VERSION}
+STS_DISTFILE=          ${STS_GH_ACCOUNT}-${STS_DISTNAME}_GH.tar.gz
+SITES.${STS_DISTFILE}= -${CODELOAD_SITE_GITHUB:=${STS_GH_ACCOUNT}/${STS_GH_PROJECT}/tar.gz/${STS_VERSION}?dummy=${STS_DISTFILE}}
+DISTFILES+=            ${STS_DISTFILE}
+DSO_EXTMODS+=          sts
+PLIST.sts=             yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mvts) || make(makesum) || make(mdi) || make(distclean)
+VTS_GH_ACCOUNT=                vozlt
+VTS_GH_PROJECT=                nginx-module-vts
+VTS_VERSION=           bf64dbf
+VTS_DISTNAME=          ${VTS_GH_PROJECT}-${VTS_VERSION}
+VTS_DISTFILE=          ${VTS_GH_ACCOUNT}-${VTS_DISTNAME}_GH.tar.gz
+SITES.${VTS_DISTFILE}= -${CODELOAD_SITE_GITHUB:=${VTS_GH_ACCOUNT}/${VTS_GH_PROJECT}/tar.gz/${VTS_VERSION}?dummy=${VTS_DISTFILE}}
+DISTFILES+=            ${VTS_DISTFILE}
+DSO_EXTMODS+=          vts
+PLIST.vts=             yes
+.endif
+
 .for mod in ${DSO_BASEMODS}
 CONFIGURE_ARGS+=       --with-${mod}${_addbasemod}
 .endfor

Index: pkgsrc/www/nginx-devel/Makefile
diff -u pkgsrc/www/nginx-devel/Makefile:1.101 pkgsrc/www/nginx-devel/Makefile:1.102
--- pkgsrc/www/nginx-devel/Makefile:1.101       Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx-devel/Makefile     Tue Apr 18 21:10:38 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.101 2023/04/18 20:50:06 osa Exp $
+# $NetBSD: Makefile,v 1.102 2023/04/18 21:10:38 osa Exp $
 
 DISTNAME=      nginx-1.24.0
 PKGNAME=       ${DISTNAME:S/-/-devel-/1}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  https://nginx.org/download/
 DISTFILES=     ${DEFAULT_DISTFILES}

Index: pkgsrc/www/nginx-devel/PLIST
diff -u pkgsrc/www/nginx-devel/PLIST:1.11 pkgsrc/www/nginx-devel/PLIST:1.12
--- pkgsrc/www/nginx-devel/PLIST:1.11   Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx-devel/PLIST        Tue Apr 18 21:10:38 2023
@@ -1,7 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2023/04/18 20:50:06 osa Exp $
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/nginx/nginx.${SOEXT}
-${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/nginx.pm
-${PLIST.dso}${PLIST.ndk}libexec/nginx/ndk_http_module.so
+@comment $NetBSD: PLIST,v 1.12 2023/04/18 21:10:38 osa Exp $
 ${PLIST.dso}${PLIST.arrayvar}libexec/nginx/ngx_http_array_var_module.so
 ${PLIST.dso}${PLIST.cprg}libexec/nginx/ngx_http_cache_purge_module.so
 ${PLIST.dso}${PLIST.dav}libexec/nginx/ngx_http_dav_ext_module.so
@@ -9,21 +6,26 @@ ${PLIST.dso}${PLIST.echo}libexec/nginx/n
 ${PLIST.dso}${PLIST.encses}libexec/nginx/ngx_http_encrypted_session_module.so
 ${PLIST.dso}${PLIST.forminput}libexec/nginx/ngx_http_form_input_module.so
 ${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_http_geoip2_module.so
+${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_stream_geoip2_module.so
+${PLIST.dso}${PLIST.gssapi}libexec/nginx/ngx_http_auth_spnego_module.so
 ${PLIST.dso}${PLIST.headmore}libexec/nginx/ngx_http_headers_more_filter_module.so
 ${PLIST.dso}${PLIST.imagefilter}libexec/nginx/ngx_http_image_filter_module.so
-${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_http_js_module.so
 ${PLIST.dso}${PLIST.lua}libexec/nginx/ngx_http_lua_module.so
-${PLIST.dso}${PLIST.naxsi}libexec/nginx/ngx_http_naxsi_module.so
-${PLIST.dso}${PLIST.perl}libexec/nginx/ngx_http_perl_module.so
-${PLIST.dso}${PLIST.setmisc}libexec/nginx/ngx_http_set_misc_module.so
-${PLIST.dso}${PLIST.upload}libexec/nginx/ngx_http_upload_module.so
 ${PLIST.dso}${PLIST.mail}libexec/nginx/ngx_mail_module.so
+${PLIST.dso}${PLIST.naxsi}libexec/nginx/ngx_http_naxsi_module.so
 ${PLIST.dso}${PLIST.nchan}libexec/nginx/ngx_nchan_module.so
-${PLIST.dso}${PLIST.rtmp}libexec/nginx/ngx_rtmp_module.so
-${PLIST.dso}${PLIST.geoip2}libexec/nginx/ngx_stream_geoip2_module.so
+${PLIST.dso}${PLIST.ndk}libexec/nginx/ndk_http_module.so
+${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_http_js_module.so
 ${PLIST.dso}${PLIST.njs}libexec/nginx/ngx_stream_js_module.so
+${PLIST.dso}${PLIST.perl}libexec/nginx/ngx_http_perl_module.so
+${PLIST.dso}${PLIST.rtmp}libexec/nginx/ngx_rtmp_module.so
+${PLIST.dso}${PLIST.setmisc}libexec/nginx/ngx_http_set_misc_module.so
 ${PLIST.dso}${PLIST.stream}libexec/nginx/ngx_stream_module.so
-${PLIST.dso}${PLIST.gssapi}libexec/nginx/ngx_http_auth_spnego_module.so
+${PLIST.dso}${PLIST.sts}libexec/nginx/ngx_http_stream_server_traffic_status_module.so
+${PLIST.dso}${PLIST.upload}libexec/nginx/ngx_http_upload_module.so
+${PLIST.dso}${PLIST.vts}libexec/nginx/ngx_http_vhost_traffic_status_module.so
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/auto/nginx/nginx.${SOEXT}
+${PLIST.perl}${PERL5_SUB_INSTALLVENDORARCH}/nginx.pm
 man/man8/nginx.8
 sbin/nginx
 share/examples/nginx/conf/fastcgi.conf

Index: pkgsrc/www/nginx-devel/distinfo
diff -u pkgsrc/www/nginx-devel/distinfo:1.92 pkgsrc/www/nginx-devel/distinfo:1.93
--- pkgsrc/www/nginx-devel/distinfo:1.92        Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx-devel/distinfo     Tue Apr 18 21:10:38 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.92 2023/04/18 20:50:06 osa Exp $
+$NetBSD: distinfo,v 1.93 2023/04/18 21:10:38 osa Exp $
 
 BLAKE2s (array-var-nginx-module-0.06.tar.gz) = fa6ad2a2ce3c3eba3f69287b224e9c01fcaca29a083394ab74f2f655d3e2138b
 SHA512 (array-var-nginx-module-0.06.tar.gz) = bc72158856a1be18a26ee04c6b5b0f0a20bcce688610a493bf31e2a133e7eb12e11f7c18197a09a72b1513f6a08348ee5281b9d5b84cf43603539040ebd23c26
@@ -54,6 +54,12 @@ Size (set-misc-nginx-module-0.33.tar.gz)
 BLAKE2s (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = 3be4fa1c0c5af43255a0b8e267d9cf9f35b1d7ba4ee0343c5189e38b5af4975e
 SHA512 (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = c15d3a772032a1a490860bd5cdb97779d2004683c754ec02ec21cb19a1d514afe518e12ea1078a22d973c54161211750b07c5e7d4ee103e9be92420b773395d7
 Size (stnoonan-spnego-http-auth-nginx-module-3575542_GH.tar.gz) = 24680 bytes
+BLAKE2s (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = f04e586b926c030c8b8461823d3a0a38257c1b88f42012a0386826b6e1d0d6be
+SHA512 (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = f9253c5f71f28ac5e99a47e07ccb4136ea160399469cd3bfe026a9ff56e9a1ed94f612b3e66db369ada5d98fd1e9372bfdee9b6d76d9727d0c06189be7d9257d
+Size (vozlt-nginx-module-sts-3c10d42_GH.tar.gz) = 352431 bytes
+BLAKE2s (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 5373b024b607ce5e94a066d3ae1bf28637f9b527baecc76cebfc5e4481a8267b
+SHA512 (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 60dc620aced9f7fa73673648974dd29c4a530087e64da3421da9c6fe10a9fc48d585c04af816d220ccc99ea9e39f29d3519064a2ae437c6d1c61430d9be465bb
+Size (vozlt-nginx-module-vts-bf64dbf_GH.tar.gz) = 180394 bytes
 SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a
 SHA1 (patch-auto_install) = 3b3a0f9f4c005b707664554fa57a58c9e3b7de60
 SHA1 (patch-conf_nginx.conf) = c87c76604a5aae64f8c039f90f9291e3134f64e0

Index: pkgsrc/www/nginx-devel/options.mk
diff -u pkgsrc/www/nginx-devel/options.mk:1.19 pkgsrc/www/nginx-devel/options.mk:1.20
--- pkgsrc/www/nginx-devel/options.mk:1.19      Tue Apr 18 20:50:06 2023
+++ pkgsrc/www/nginx-devel/options.mk   Tue Apr 18 21:10:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.19 2023/04/18 20:50:06 osa Exp $
+# $NetBSD: options.mk,v 1.20 2023/04/18 21:10:38 osa Exp $
 
 CODELOAD_SITE_GITHUB=          https://codeload.github.com/
 
@@ -9,7 +9,7 @@ PKG_SUPPORTED_OPTIONS+= geoip geoip2 gss
 PKG_SUPPORTED_OPTIONS+=        image-filter luajit mail-proxy memcache
 PKG_SUPPORTED_OPTIONS+=        naxsi njs perl push realip rtmp
 PKG_SUPPORTED_OPTIONS+=        secure-link set-misc slice ssl status
-PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sub upload uwsgi
+PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sts sub upload uwsgi vts
 
 PKG_SUGGESTED_OPTIONS= auth-request gzip http2 memcache realip
 PKG_SUGGESTED_OPTIONS+=        slice status ssl uwsgi
@@ -18,7 +18,7 @@ PKG_OPTIONS_LEGACY_OPTS+=     v2:http2
 
 PLIST_VARS+=           arrayvar cprg dav dso echo encses forminput geoip2
 PLIST_VARS+=           gssapi headmore imagefilter lua mail naxsi nchan ndk njs
-PLIST_VARS+=           perl rtmp setmisc stream upload uwsgi
+PLIST_VARS+=           perl rtmp setmisc stream sts upload uwsgi vts
 
 .include "../../mk/bsd.options.mk"
 
@@ -339,6 +339,30 @@ DSO_EXTMODS+=              gssapi
 PLIST.gssapi=          yes
 .endif
 
+.if !empty(PKG_OPTIONS:Msts) || make(makesum) || make(mdi) || make(distclean)
+STS_GH_ACCOUNT=                vozlt
+STS_GH_PROJECT=                nginx-module-sts
+STS_VERSION=           3c10d42
+STS_DISTNAME=          ${STS_GH_PROJECT}-${STS_VERSION}
+STS_DISTFILE=          ${STS_GH_ACCOUNT}-${STS_DISTNAME}_GH.tar.gz
+SITES.${STS_DISTFILE}= -${CODELOAD_SITE_GITHUB:=${STS_GH_ACCOUNT}/${STS_GH_PROJECT}/tar.gz/${STS_VERSION}?dummy=${STS_DISTFILE}}
+DISTFILES+=            ${STS_DISTFILE}
+DSO_EXTMODS+=          sts
+PLIST.sts=             yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mvts) || make(makesum) || make(mdi) || make(distclean)
+VTS_GH_ACCOUNT=                vozlt
+VTS_GH_PROJECT=                nginx-module-vts
+VTS_VERSION=           bf64dbf
+VTS_DISTNAME=          ${VTS_GH_PROJECT}-${VTS_VERSION}
+VTS_DISTFILE=          ${VTS_GH_ACCOUNT}-${VTS_DISTNAME}_GH.tar.gz
+SITES.${VTS_DISTFILE}= -${CODELOAD_SITE_GITHUB:=${VTS_GH_ACCOUNT}/${VTS_GH_PROJECT}/tar.gz/${VTS_VERSION}?dummy=${VTS_DISTFILE}}
+DISTFILES+=            ${VTS_DISTFILE}
+DSO_EXTMODS+=          vts
+PLIST.vts=             yes
+.endif
+
 .for mod in ${DSO_BASEMODS}
 CONFIGURE_ARGS+=       --with-${mod}${_addbasemod}
 .endfor



Home | Main Index | Thread Index | Old Index