This commit separates ngx-fancyindex, previously bundled with www-servers/nginx, into its own package.
ngx-fancyindex[1] "makes possible the generation of file listings, like the built-in autoindex module does, but adding a touch of style". [1]: https://github.com/aperezdc/ngx-fancyindex Signed-off-by: Zurab Kvachadze <[email protected]> --- www-nginx/ngx-fancyindex/Manifest | 1 + www-nginx/ngx-fancyindex/metadata.xml | 27 +++++++++++++++++++ .../ngx-fancyindex-0.5.2.ebuild | 18 +++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 www-nginx/ngx-fancyindex/Manifest create mode 100644 www-nginx/ngx-fancyindex/metadata.xml create mode 100644 www-nginx/ngx-fancyindex/ngx-fancyindex-0.5.2.ebuild diff --git a/www-nginx/ngx-fancyindex/Manifest b/www-nginx/ngx-fancyindex/Manifest new file mode 100644 index 000000000000..676055c38345 --- /dev/null +++ b/www-nginx/ngx-fancyindex/Manifest @@ -0,0 +1 @@ +DIST ngx-fancyindex-0.5.2.tar.xz 25816 BLAKE2B 9427680f09d54f753bc5d42aa0848a434d55f9882ec780bcb3bb63aa31fdef1798d50601f4b892d0a528d24aefa3f172c2cbe2300b8ac93ced2ee327c43162d5 SHA512 497e5f4b47b17acfe1fb06ced6d81499d54a5a7834cb6023630b53d5cb0d731bd4be674c1214d7ab4c580495ea016579e56acc50b68ee038c11f79cc3878dbda diff --git a/www-nginx/ngx-fancyindex/metadata.xml b/www-nginx/ngx-fancyindex/metadata.xml new file mode 100644 index 000000000000..f4aabbc87d32 --- /dev/null +++ b/www-nginx/ngx-fancyindex/metadata.xml @@ -0,0 +1,27 @@ +<?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 ngx-fancyindex NGINX module makes possible the generation of file listings, like the + built-in autoindex module does, but adding a touch of style. This is possible because the + module allows a certain degree of customization of the generated content: + + * Custom headers, either local or stored remotely. + * Custom footers, either local or stored remotely. + * Add your own CSS style rules. + * Allow choosing to sort elements by name (default), modification time, or size; both + ascending (default), or descending. + </longdescription> + <upstream> + <bugs-to>https://github.com/aperezdc/ngx-fancyindex/issues</bugs-to> + <remote-id type="github">aperezdc/ngx-fancyindex</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-nginx/ngx-fancyindex/ngx-fancyindex-0.5.2.ebuild b/www-nginx/ngx-fancyindex/ngx-fancyindex-0.5.2.ebuild new file mode 100644 index 000000000000..fd074a0cf8f7 --- /dev/null +++ b/www-nginx/ngx-fancyindex/ngx-fancyindex-0.5.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nginx-module + +DESCRIPTION="Fancy indexes module for the NGINX web server" +HOMEPAGE="https://github.com/aperezdc/ngx-fancyindex" +SRC_URI=" + https://github.com/aperezdc/ngx-fancyindex/releases/download/v${PV}/${P}.tar.xz +" + +LICENSE="BSD-2" +SLOT="0" + +# Uses custom bash-based testing framework. +RESTRICT="test" -- 2.49.0
