Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nginx nginx: extend the dav option to include dav_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c905678edb84
branches:  trunk
changeset: 437108:c905678edb84
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Aug 16 21:54:08 2020 +0000

description:
nginx: extend the dav option to include dav_ext by default

All howtos on the internet assume it's turned on.

No change to default package.

diffstat:

 www/nginx/distinfo   |   6 +++++-
 www/nginx/options.mk |  12 +++++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r cdb284c54145 -r c905678edb84 www/nginx/distinfo
--- a/www/nginx/distinfo        Sun Aug 16 21:21:12 2020 +0000
+++ b/www/nginx/distinfo        Sun Aug 16 21:54:08 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.73 2020/06/01 06:18:51 adam Exp $
+$NetBSD: distinfo,v 1.74 2020/08/16 21:54:08 wiz Exp $
 
 SHA1 (array-var-nginx-module-0.05.tar.gz) = c69fac77814947009ab783a471783b3c95a63a26
 RMD160 (array-var-nginx-module-0.05.tar.gz) = 89bd4efc04864e3e90781588a337338951ec8733
@@ -32,6 +32,10 @@
 RMD160 (nginx-1.18.0.tar.gz) = 224ad8782243ddd1f702bad11f2da38b60e31a38
 SHA512 (nginx-1.18.0.tar.gz) = 8c21eeb62ab6e32e436932500f700bd2fb99fd2d29e43c08a5bfed4714c189c29c7141db551fcd5d2437303b7439f71758f7407dfd3e801e704e45e7daa78ddb
 Size (nginx-1.18.0.tar.gz) = 1039530 bytes
+SHA1 (nginx-dav-ext-module-3.0.0.tar.gz) = 524407402df7e73df9def85345c8bea324dceede
+RMD160 (nginx-dav-ext-module-3.0.0.tar.gz) = 8d099215bde79492565a39c3c8feb7695138138e
+SHA512 (nginx-dav-ext-module-3.0.0.tar.gz) = d0193ba90f1ef46c4e470630c4394bdf99d94fd2e3bd8be6cb2ba1655ec59944b1269025f032b79dc2c6dad366e54389ef6a6da2ddeb91d535a4027f2162fbde
+Size (nginx-dav-ext-module-3.0.0.tar.gz) = 14558 bytes
 SHA1 (nginx-rtmp-module-1.2.1.tar.gz) = 7c6ae1afc117e3bf946b0d81f99d41fe538a7245
 RMD160 (nginx-rtmp-module-1.2.1.tar.gz) = 5fc0b4ac0b2c0a6d70957a5256754db8a9e934cf
 SHA512 (nginx-rtmp-module-1.2.1.tar.gz) = 4a0af5e9afa4deb0b53de8de7ddb2cfa6430d372e1ef9e421f01b509548bd134d427345442ac1ce667338cc2a1484dc2ab732e316e878ac7d3537dc527d5f922
diff -r cdb284c54145 -r c905678edb84 www/nginx/options.mk
--- a/www/nginx/options.mk      Sun Aug 16 21:21:12 2020 +0000
+++ b/www/nginx/options.mk      Sun Aug 16 21:54:08 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.56 2020/06/01 06:18:51 adam Exp $
+# $NetBSD: options.mk,v 1.57 2020/08/16 21:54:08 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nginx
 PKG_SUPPORTED_OPTIONS= array-var auth-request dav debug echo encrypted-session \
@@ -47,6 +47,16 @@
 
 .if !empty(PKG_OPTIONS:Mdav)
 CONFIGURE_ARGS+=       --with-http_dav_module
+CONFIGURE_ARGS+=       --add-module=../${DAV_EXT_DISTNAME}
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS:Mdav) || make(makesum) || make(mdi)
+DAV_EXT_VERSION=               3.0.0
+DAV_EXT_DISTNAME=              nginx-dav-ext-module-3.0.0
+DAV_EXT_DISTFILE=              ${DAV_EXT_DISTNAME}.tar.gz
+SITES.${DAV_EXT_DISTFILE}+=    -https://github.com/arut/nginx-dav-ext-module/archive/v${DAV_EXT_VERSION}.tar.gz
+DISTFILES+=                    ${DAV_EXT_DISTFILE}
 .endif
 
 .if !empty(PKG_OPTIONS:Mflv)



Home | Main Index | Thread Index | Old Index