commit:     1d27f3a260c2154bf0853d1ba531632bb2571243
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 26 20:20:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:27:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d27f3a2

www-nginx/ngx-dav-ext: new package, add 3.0.0

This commit moves ngx-dav-ext[1], previously bundled with
www-servers/nginx, into its own package. The separated module relies on
nginx-module.eclass.

ngx-dav-ext provides support for additional WebDAV methods that are not
implemented by the standard NGINX DAV module.

[1]: https://github.com/arut/nginx-dav-ext-module

Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-nginx/ngx-dav-ext/Manifest                 |  1 +
 www-nginx/ngx-dav-ext/metadata.xml             | 20 ++++++++++++++++++
 www-nginx/ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild | 28 ++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/www-nginx/ngx-dav-ext/Manifest b/www-nginx/ngx-dav-ext/Manifest
new file mode 100644
index 000000000000..24e8812a7855
--- /dev/null
+++ b/www-nginx/ngx-dav-ext/Manifest
@@ -0,0 +1 @@
+DIST ngx-dav-ext-3.0.0.tar.gz 14558 BLAKE2B 
0d370bfe34600d43a540dd19a386aa52ce135b2eae14e4e108a359d5ff3405939130d1c802062c7523057ec35d38322d3fbed8c13deb58ce7a08ebf9e3f106d4
 SHA512 
d0193ba90f1ef46c4e470630c4394bdf99d94fd2e3bd8be6cb2ba1655ec59944b1269025f032b79dc2c6dad366e54389ef6a6da2ddeb91d535a4027f2162fbde

diff --git a/www-nginx/ngx-dav-ext/metadata.xml 
b/www-nginx/ngx-dav-ext/metadata.xml
new file mode 100644
index 000000000000..be4c94d1d9e2
--- /dev/null
+++ b/www-nginx/ngx-dav-ext/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>Zurab Kvachadze</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               The nginx-dav-ext NGINX module provides WebDAV methods that are 
not implemented by the
+               standard NGINX ngx_http_dav_module, namely PROPFIND, OPTIONS, 
LOCK and UNLOCK.
+       </longdescription>
+       <upstream>
+               
<bugs-to>https://github.com/arut/nginx-dav-ext-module/issues</bugs-to>
+               <remote-id type="github">arut/nginx-dav-ext-module</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/www-nginx/ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild 
b/www-nginx/ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild
new file mode 100644
index 000000000000..06d6b6f80555
--- /dev/null
+++ b/www-nginx/ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="nginx-dav-ext-module"
+NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
+
+inherit nginx-module
+
+DESCRIPTION="NGINX module providing support for WebDAV 
PROPFIND,OPTIONS,LOCK,UNLOCK"
+HOMEPAGE="https://github.com/arut/nginx-dav-ext-module";
+SRC_URI="
+       
https://github.com/arut/nginx-dav-ext-module/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+# Relies on upstream NGINX test framework 
(https://github.com/nginx/nginx-tests),
+# not packaged by Gentoo.
+RESTRICT="test"
+
+DEPEND="
+       dev-libs/libxml2
+       dev-libs/libxslt
+"
+RDEPEND="${DEPEND}"

Reply via email to