Package Details: nginx-mod-fancyindex 0.5.2-1

Git Clone URL: https://aur.archlinux.org/nginx-mod-fancyindex.git (read-only, click to copy)
Package Base: nginx-mod-fancyindex
Description: Fancy indexes module for the Nginx web server
Upstream URL: https://github.com/aperezdc/ngx-fancyindex
Licenses: BSD
Submitter: markzz
Maintainer: markzz
Last Packager: markzz
Votes: 9
Popularity: 0.000137
First Submitted: 2017-09-23 03:09 (UTC)
Last Updated: 2022-01-12 16:23 (UTC)

Latest Comments

1 2 Next › Last »

Martchus commented on 2024-08-07 21:11 (UTC)

It is normally common that only the more specific variants declar conflicts with the regular package and not the other way around. For instance, a -git package might declare a conflict with the regular package but the regular package not with the -git package. So I wouldn't add this extra conflict.

gbc921 commented on 2024-08-07 19:46 (UTC)

Hi!

Can you please put the conflicts with nginx-mainline-mod-fancyindex later please?

conflicts=('nginx-mainline-mod-fancyindex')

Strykar commented on 2023-09-23 20:53 (UTC)

This should rebuild itself (via pacman hook) when there's an nginx update?

GCN commented on 2022-11-29 10:39 (UTC)

Compiled and tested on a RaspberryPi 4 running Arch ARMv8 AArch64. Architecture aarch64 can be added to the arch array.

markzz commented on 2021-05-04 20:39 (UTC)

That patch is not functionally different than what's here. There's no need to flag out of date unless there's an actual need to change the PKGBUILD.

gbc921 commented on 2021-05-04 20:08 (UTC)

Thanks Martchus!!!

Martchus commented on 2021-01-31 00:46 (UTC)

An updated version can be found here: https://github.com/Martchus/PKGBUILDs/tree/master/nginx-mod-fancyindex/default

ahmubashshir commented on 2020-04-25 17:41 (UTC) (edited on 2020-04-25 17:42 (UTC) by ahmubashshir)

You can use the attached patch to use nginx-src.

From 3a26b35772e71f7eeacedba58110efeebb72a7e1 Mon Sep 17 00:00:00 2001
From: Mubashshir <ahmubashshir@gmail.com>
Date: Sat, 25 Apr 2020 23:08:10 +0600
Subject: [PATCH] Use nginx-src from repository.

---
 PKGBUILD | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 697271d..c12b97b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,24 +6,23 @@ pkgver=0.4.4
 pkgrel=2

 _modname="${pkgname#nginx-mod-}"
-_nginxver=1.18.0
-
+_nginxver=$(sed -nE '0,/.*nginx [[:digit:].]+.*/ s/.*nginx ([[:digit:].]+).*/\1/gp' /usr/src/nginx/CHANGES)
 pkgdesc='Fancy indexes module for the Nginx web server'
 arch=('i686' 'x86_64')
-depends=('nginx')
+depends=("nginx=$_nginxver")
+makedepends=('nginx-src')
 url="https://github.com/aperezdc/ngx-fancyindex"
 license=('BSD')

-source=(https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
-        https://github.com/aperezdc/ngx-$_modname/archive/v$pkgver.tar.gz
-)
+source=(https://github.com/aperezdc/ngx-$_modname/archive/v$pkgver.tar.gz)
 validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin@mdounin.ru>
-md5sums=('b2d33d24d89b8b1f87ff5d251aa27eb8'
-         'SKIP'
-         'dfd302335124520de95a7028f56d657b')
-
+md5sums=('dfd302335124520de95a7028f56d657b')
+prepare()
+{
+   cp -af /usr/src/nginx "$srcdir"/
+}
 build() {
-  cd "$srcdir"/nginx-$_nginxver
+  cd "$srcdir"/nginx
   ./configure --with-compat --add-dynamic-module=../ngx-$_modname-$pkgver
   make modules
 }
@@ -32,7 +31,7 @@ package() {
   install -Dm644 "$srcdir/"ngx-$_modname-$pkgver/LICENSE \
                  "$pkgdir"/usr/share/licenses/$pkgname/LICENSE

-  cd "$srcdir"/nginx-$_nginxver/objs
+  cd "$srcdir"/nginx/objs
   for mod in *.so; do
     install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
   done
-- 
2.26.2

Martchus commented on 2020-04-24 16:29 (UTC)

You might want to update the PKGBUILD to utilize nginx-src similarly to https://github.com/Martchus/PKGBUILDs/commit/4f0976dbf490755082fd9a1add5c6f2b8105f88f.

akiirui commented on 2019-12-09 20:18 (UTC)

@pan93412 Don't flag out-of-date for this package, because this is stable version module. nginx 1.17.6 is mainline version, you need view to: AUR/nginx-mainline-mod-fancyindex