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 <[email protected]> --- www-nginx/ngx-dav-ext/Manifest | 1 + .../{ngx-iconv => ngx-dav-ext}/metadata.xml | 8 +++--- .../ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild | 28 +++++++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 www-nginx/ngx-dav-ext/Manifest copy www-nginx/{ngx-iconv => ngx-dav-ext}/metadata.xml (60%) create mode 100644 www-nginx/ngx-dav-ext/ngx-dav-ext-3.0.0.ebuild 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-iconv/metadata.xml b/www-nginx/ngx-dav-ext/metadata.xml similarity index 60% copy from www-nginx/ngx-iconv/metadata.xml copy to www-nginx/ngx-dav-ext/metadata.xml index 0d1c3551bf30..be4c94d1d9e2 100644 --- a/www-nginx/ngx-iconv/metadata.xml +++ b/www-nginx/ngx-dav-ext/metadata.xml @@ -10,11 +10,11 @@ <name>Proxy Maintainers</name> </maintainer> <longdescription> - The ngx-iconv NGINX module allows converting characters of different encoding by using - libiconv. It brings the 'set_iconv' command to NGINX. + 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/calio/iconv-nginx-module/issues</bugs-to> - <remote-id type="github">calio/iconv-nginx-module</remote-id> + <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}" -- 2.49.0
