pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www nginx*: Add support for ngx_cache_purge module.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec73b5cdb429
branches: trunk
changeset: 442513:ec73b5cdb429
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Nov 25 12:12:21 2020 +0000
description:
nginx*: Add support for ngx_cache_purge module.
Submitted by Brian Ewell in joyent/pkgsrc#289, minor changes by myself.
diffstat:
www/nginx-devel/distinfo | 6 +++++-
www/nginx/distinfo | 6 +++++-
www/nginx/options.mk | 13 +++++++++++--
3 files changed, 21 insertions(+), 4 deletions(-)
diffs (69 lines):
diff -r 177d26d58e26 -r ec73b5cdb429 www/nginx-devel/distinfo
--- a/www/nginx-devel/distinfo Wed Nov 25 11:59:24 2020 +0000
+++ b/www/nginx-devel/distinfo Wed Nov 25 12:12:21 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.61 2020/11/24 20:11:07 otis Exp $
+$NetBSD: distinfo,v 1.62 2020/11/25 12:12:21 jperkin Exp $
SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -44,6 +44,10 @@
RMD160 (nginx_http_push_module-1.2.7.tar.gz) = 13dcd7dba0c88f1d6c74e008f1e8c3d96b8b4e42
SHA512 (nginx_http_push_module-1.2.7.tar.gz) = d8b0e79c2b9cf4dd0b3ba8bfeeca86795b1206ec2a468829e6fd20c2286c9a8f75ad135424590cfb3a9d9cded5cefde4f19ba9e36d63a0ff95487d7139732bd9
Size (nginx_http_push_module-1.2.7.tar.gz) = 673406 bytes
+SHA1 (ngx_cache_purge-2.5.1.tar.gz) = 12069184d255a99a5039a7e9b1299945c6767acc
+RMD160 (ngx_cache_purge-2.5.1.tar.gz) = 35848113b920593bc99d34b1dfffd4292ce02c58
+SHA512 (ngx_cache_purge-2.5.1.tar.gz) = 3ad37b4a251fb85a9a384f87fea5ca640166e3d7173c6ed9a857b191ae5f2e93819483b5d423fcafe8a10239b571677b342cc2d2d5d62315816f1316d7d5bb76
+Size (ngx_cache_purge-2.5.1.tar.gz) = 16614 bytes
SHA1 (ngx_devel_kit-0.3.1.tar.gz) = e15316e13a7b19a3d2502becbb26043a464a135a
RMD160 (ngx_devel_kit-0.3.1.tar.gz) = 5c52a463544294096611aa9dec1c76e937a1aa23
SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
diff -r 177d26d58e26 -r ec73b5cdb429 www/nginx/distinfo
--- a/www/nginx/distinfo Wed Nov 25 11:59:24 2020 +0000
+++ b/www/nginx/distinfo Wed Nov 25 12:12:21 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.80 2020/11/06 22:54:17 otis Exp $
+$NetBSD: distinfo,v 1.81 2020/11/25 12:12:21 jperkin Exp $
SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -44,6 +44,10 @@
RMD160 (nginx_http_push_module-1.2.7.tar.gz) = 13dcd7dba0c88f1d6c74e008f1e8c3d96b8b4e42
SHA512 (nginx_http_push_module-1.2.7.tar.gz) = d8b0e79c2b9cf4dd0b3ba8bfeeca86795b1206ec2a468829e6fd20c2286c9a8f75ad135424590cfb3a9d9cded5cefde4f19ba9e36d63a0ff95487d7139732bd9
Size (nginx_http_push_module-1.2.7.tar.gz) = 673406 bytes
+SHA1 (ngx_cache_purge-2.5.1.tar.gz) = 12069184d255a99a5039a7e9b1299945c6767acc
+RMD160 (ngx_cache_purge-2.5.1.tar.gz) = 35848113b920593bc99d34b1dfffd4292ce02c58
+SHA512 (ngx_cache_purge-2.5.1.tar.gz) = 3ad37b4a251fb85a9a384f87fea5ca640166e3d7173c6ed9a857b191ae5f2e93819483b5d423fcafe8a10239b571677b342cc2d2d5d62315816f1316d7d5bb76
+Size (ngx_cache_purge-2.5.1.tar.gz) = 16614 bytes
SHA1 (ngx_devel_kit-0.3.1.tar.gz) = e15316e13a7b19a3d2502becbb26043a464a135a
RMD160 (ngx_devel_kit-0.3.1.tar.gz) = 5c52a463544294096611aa9dec1c76e937a1aa23
SHA512 (ngx_devel_kit-0.3.1.tar.gz) = de1e3349d8dd08e5982279b2219dc8a8006739f0409b8e0f5c50d93434beff1fbafba43e9c5ac85a5fab90afc5c0a7244a340610339c36f82f2cba7233e72de9
diff -r 177d26d58e26 -r ec73b5cdb429 www/nginx/options.mk
--- a/www/nginx/options.mk Wed Nov 25 11:59:24 2020 +0000
+++ b/www/nginx/options.mk Wed Nov 25 12:12:21 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.64 2020/11/25 11:40:06 jperkin Exp $
+# $NetBSD: options.mk,v 1.65 2020/11/25 12:12:21 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
-PKG_SUPPORTED_OPTIONS= array-var auth-request dav debug
+PKG_SUPPORTED_OPTIONS= array-var auth-request cache-purge dav debug
PKG_SUPPORTED_OPTIONS+= echo encrypted-session flv form-input
PKG_SUPPORTED_OPTIONS+= geoip gtools gzip headers-more http2
PKG_SUPPORTED_OPTIONS+= image-filter luajit mail-proxy memcache
@@ -244,6 +244,15 @@
CONFIGURE_ARGS+= --with-http_auth_request_module
.endif
+.if !empty(PKG_OPTIONS:Mcache-purge) || make(makesum) || make(mdi) || make(distclean)
+CPRG_VERSION= 2.5.1
+CPRG_DISTNAME= ngx_cache_purge-${CPRG_VERSION}
+CPRG_DISTFILE= ${CPRG_DISTNAME}.tar.gz
+SITES.${CPRG_DISTFILE}= -${MASTER_SITE_GITHUB:=nginx-modules/ngx_cache_purge/archive/}${CPRG_VERSION}.tar.gz
+DISTFILES+= ${CPRG_DISTFILE}
+CONFIGURE_ARGS+= --add-module=../${CPRG_DISTNAME}
+.endif
+
.if !empty(PKG_OPTIONS:Msecure-link)
CONFIGURE_ARGS+= --with-http_secure_link_module
.endif
Home |
Main Index |
Thread Index |
Old Index