pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/nginx



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr 27 20:39:38 UTC 2022

Modified Files:
        pkgsrc/www/nginx: distinfo options.mk

Log Message:
nginx: support the upload module

not enable by default, no PKGREVISION bump


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/www/nginx/distinfo
cvs rdiff -u -r1.76 -r1.77 pkgsrc/www/nginx/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/distinfo
diff -u pkgsrc/www/nginx/distinfo:1.94 pkgsrc/www/nginx/distinfo:1.95
--- pkgsrc/www/nginx/distinfo:1.94      Tue Apr 12 13:09:46 2022
+++ pkgsrc/www/nginx/distinfo   Wed Apr 27 20:39:38 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2022/04/12 13:09:46 osa Exp $
+$NetBSD: distinfo,v 1.95 2022/04/27 20:39:38 wiz Exp $
 
 BLAKE2s (array-var-nginx-module-0.05.tar.gz) = 2f9af1e0eb209b7c20aa58cd8ec2afb1eb1cc122c5f4ea169e34131c463c1c26
 SHA512 (array-var-nginx-module-0.05.tar.gz) = 7c9fa9b76bc7cd2473ceae6d5ffb8de26993be9293ea967908d6c4550e086affa7016df4c936fb0b79f1142dc0aa1a5f2058d417e6433b5a3497a45d7e866e84
@@ -33,6 +33,9 @@ Size (nginx-dav-ext-module-3.0.0.tar.gz)
 BLAKE2s (nginx-rtmp-module-1.2.2.tar.gz) = 5de03b71bb16b4129f1a2a99446f65ef6eeb3fd48bfc925e94fc27e99da3c069
 SHA512 (nginx-rtmp-module-1.2.2.tar.gz) = 3f8c803221854c4b1a06aadc6313fbfec74bd7179c0ee51d4365b26ffa8875881a6e1e48f777a9c9efbb9170ab7478a82920d5448a2c2df485503d37bb03ab81
 Size (nginx-rtmp-module-1.2.2.tar.gz) = 519934 bytes
+BLAKE2s (nginx-upload-module-2.3.0.tar.gz) = cf47b0c86487450473223a5ec793e294b1dd3dcf8a22a02c2a7a0014aff25545
+SHA512 (nginx-upload-module-2.3.0.tar.gz) = a0da355888398f86a6b5d065e58c05f9e057589ee785be9f515d77d7a020ae5a7b0656f5af30fb3b026f457326db2e26f4fed29026221ec5fc8156ef8586da25
+Size (nginx-upload-module-2.3.0.tar.gz) = 40139 bytes
 BLAKE2s (ngx_cache_purge-2.5.1.tar.gz) = f89badfa0dbc3c338129291d7c56f978d6db0348d5aaa0d723000881ae9b7b8d
 SHA512 (ngx_cache_purge-2.5.1.tar.gz) = 3ad37b4a251fb85a9a384f87fea5ca640166e3d7173c6ed9a857b191ae5f2e93819483b5d423fcafe8a10239b571677b342cc2d2d5d62315816f1316d7d5bb76
 Size (ngx_cache_purge-2.5.1.tar.gz) = 16614 bytes

Index: pkgsrc/www/nginx/options.mk
diff -u pkgsrc/www/nginx/options.mk:1.76 pkgsrc/www/nginx/options.mk:1.77
--- pkgsrc/www/nginx/options.mk:1.76    Tue Apr 12 13:09:46 2022
+++ pkgsrc/www/nginx/options.mk Wed Apr 27 20:39:38 2022
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.76 2022/04/12 13:09:46 osa Exp $
+# $NetBSD: options.mk,v 1.77 2022/04/27 20:39:38 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nginx
 PKG_SUPPORTED_OPTIONS= array-var auth-request cache-purge dav debug
@@ -7,7 +7,7 @@ PKG_SUPPORTED_OPTIONS+= geoip geoip2 gto
 PKG_SUPPORTED_OPTIONS+=        image-filter luajit mail-proxy memcache
 PKG_SUPPORTED_OPTIONS+=        naxsi njs pcre perl push realip rtmp
 PKG_SUPPORTED_OPTIONS+=        secure-link set-misc slice ssl status
-PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sub uwsgi
+PKG_SUPPORTED_OPTIONS+=        stream-ssl-preread sub upload uwsgi
 PKG_SUGGESTED_OPTIONS= pcre ssl
 
 PKG_OPTIONS_LEGACY_OPTS+=      v2:http2
@@ -320,6 +320,16 @@ NJS_SUBDIR=                /nginx
 PLIST.njs=             yes
 .endif
 
+.if !empty(PKG_OPTIONS:Mupload) || make(makesum) || make(mdi) || make(distclean)
+UPLOAD_VERSION=                2.3.0
+UPLOAD_DISTNAME=               nginx-upload-module-${UPLOAD_VERSION}
+UPLOAD_DISTFILE=               ${UPLOAD_DISTNAME}.tar.gz
+SITES.${UPLOAD_DISTFILE}=      -${MASTER_SITE_GITHUB:=vkholodkov/nginx-upload-module/archive/refs/tags/}${UPLOAD_VERSION}.tar.gz
+DISTFILES+=            ${UPLOAD_DISTFILE}
+DSO_EXTMODS+=          upload
+PLIST.upload=          yes
+.endif
+
 .for mod in ${DSO_BASEMODS}
 CONFIGURE_ARGS+=       --with-${mod}${_addbasemod}
 .endfor



Home | Main Index | Thread Index | Old Index