Package Details: nginx-mainline-mod-fancyindex 0.5.2-3

Git Clone URL: (read-only, click to copy)
Package Base: nginx-mainline-mod-fancyindex
Description: Fancy index module for the nginx-mainline web server
Upstream URL:
Keywords: module nginx
Licenses: BSD
Submitter: hdhoang
Maintainer: morgenstern
Last Packager: morgenstern
Votes: 14
Popularity: 0.000347
First Submitted: 2017-05-23 02:20 (UTC)
Last Updated: 2022-06-07 11:41 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 Next › Last »

radeksalomon commented on 2022-11-02 23:02 (UTC)

@morgenstern my fault, I missmatched the versions. Now it works and yes, I had to recompile it against the current nginx version.

morgenstern commented on 2022-11-02 22:58 (UTC)

Have you re-compiled the module against your current nginx version?

radeksalomon commented on 2022-11-02 22:54 (UTC) (edited on 2022-11-02 22:54 (UTC) by radeksalomon)

@morgenstern it seems there is some version missmatch with nginx. Nginx now reports to the log module "/usr/lib/nginx/modules/" version 1021006 instead of 1023002 in /etc/nginx/nginx.conf. Nginx expects different version of the module. Or am I wrong about this error?

morgenstern commented on 2022-11-02 22:49 (UTC)

@radeksalomon please explain your out-of-date flag. There is no new release available from what I can see.

morgenstern commented on 2022-06-07 11:42 (UTC)

@TheHardew the PKGBUILD has been updated to reflect the architectures for which nginx-mainline-src is available per Arch Linux ARM.

TheHardew commented on 2022-06-07 11:21 (UTC)

Any reason arm is not marked as supported? Seems to work fine on raspberry pi 4.

morgenstern commented on 2022-01-13 22:07 (UTC) (edited on 2022-01-13 22:07 (UTC) by morgenstern)

Thanks for the diff @kescherAUR - the PKGBUILD has been updated to reflect your proposed changes. The nginx configure flags were included in the build() function by a past maintainer; I did not realise their presence would cause issues when building with custom nginx packages.

kescherAUR commented on 2022-01-13 11:17 (UTC)

Please adjust build() to not use the NGINX configure flags, as not only is that entirely unneccessary, it breaks when building this for custom nginx packages that provide nginx-mainline (for instance, nginx-quic).

The following git diff works just fine:

diff --git a/PKGBUILD b/PKGBUILD
index 2b02854..8ff0965 100644
@@ -24,10 +24,7 @@ prepare() {

 build() {
   cd "${srcdir}/nginx"
-  _opts=$(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's/^[^:]+: //')
-  IFS=$'\n' _opts=( $(xargs -n1 <<< "$_opts") )
-  /usr/src/nginx/configure "${_opts[@]}" \
-       --add-dynamic-module=../ngx-"$_modname-$pkgver"
+  /usr/src/nginx/configure --with-compat --add-dynamic-module=../ngx-"$_modname-$pkgver"
   make modules

morgenstern commented on 2021-05-08 05:41 (UTC)

@BotoX + @RiCON - thanks for the suggestions. I agree that using nginx-mainline-src is a better option, and I have updated the PKGBUILD accordingly.

BotoX commented on 2021-05-07 13:42 (UTC) (edited on 2021-05-07 13:43 (UTC) by BotoX)

improved the PKGBUILD to use nginx-mainline-src

# Maintainer: Morgenstern <charles [at] charlesbwise [dot] com>
# Contributor: jkl <>
# Contributor: hdhoang <>

pkgdesc="Fancy indexes module for the nginx web server"
validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin <>

prepare() {
  cp -r /usr/src/nginx .

build() {
  cd "$srcdir"/nginx
  _opts=$(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's/^[^:]+: //')
  IFS=$'\n' _opts=( $(xargs -n1 <<< "$_opts") )
  ./configure "${_opts[@]}" \
  make modules

package() {
  cd "$srcdir"/nginx/objs
  for _mod in *.so; do
    install -D $_mod "$pkgdir/usr/lib/nginx/modules/$_mod"
  install -Dm0644 "$srcdir/ngx-$_modname-$pkgver/LICENSE" \

edit: oops someone else has already posted theirs