nginx-current: add fancyindex

This commit is contained in:
psykose 2022-08-26 04:04:29 +00:00
parent 5411c85d13
commit 891ad0da45
Signed by: psykose
SSH key fingerprint: SHA256:HwlGVJNLZqHoOvMtkshyGaXLkcdbEJahYMlepHFL+Uk

View file

@ -1,7 +1,7 @@
# Maintainer: psykose <alice@ayaya.dev> # Maintainer: psykose <alice@ayaya.dev>
pkgname=nginx-current pkgname=nginx-current
pkgver=1.23.1 pkgver=1.23.1
pkgrel=0 pkgrel=1
pkgdesc="HTTP and reverse proxy server (current version)" pkgdesc="HTTP and reverse proxy server (current version)"
url="https://www.nginx.org/" url="https://www.nginx.org/"
arch="all" arch="all"
@ -40,9 +40,9 @@ builddir="$srcdir/nginx-$pkgver"
options="!check" # no time! options="!check" # no time!
export CC=clang export CC=clang
export CFLAGS="$CFLAGS -flto" export CFLAGS="$CFLAGS -flto=thin"
# passed below # passed below
export LDFLAGS="$LDFLAGS -flto -fuse-ld=lld -Wl,--icf=all,--gc-sections" export LDFLAGS="$LDFLAGS -flto=thin -fuse-ld=lld -Wl,--icf=safe,--gc-sections"
_modules_dir="usr/lib/nginx/modules" _modules_dir="usr/lib/nginx/modules"
@ -78,6 +78,7 @@ _add_module() {
} }
_add_module "http-mime-magic" "v0.1.0" "https://github.com/Yureien/nginx-mime-magic-module" _add_module "http-mime-magic" "v0.1.0" "https://github.com/Yureien/nginx-mime-magic-module"
_add_module "http-fancyindex" "v0.5.2" "https://github.com/aperezdc/ngx-fancyindex"
build() { build() {
./configure \ ./configure \
@ -235,4 +236,5 @@ f3321a45736697009817db335ad36d3f1d05f60d98ac90a943220cdd4c00c52632f018db6a6076d5
ee10a5687740dde0c3d18d8b3555f49fcdc6abfc0a3bc2de1de3be0e99951a346fe8027d916aab73071ecd4e2c50871e7c867aca3a7a0fd16e3374c5caed1c57 nginx.initd ee10a5687740dde0c3d18d8b3555f49fcdc6abfc0a3bc2de1de3be0e99951a346fe8027d916aab73071ecd4e2c50871e7c867aca3a7a0fd16e3374c5caed1c57 nginx.initd
0b9b9ed01ac077e334c034faa2679f6e26740fb3362eebf8cef82d22b2af2a3faaa53bae3c9e14af51cbf64720a7c66431905ca5cc43f978366456cc4e3b7f4a nginx.confd 0b9b9ed01ac077e334c034faa2679f6e26740fb3362eebf8cef82d22b2af2a3faaa53bae3c9e14af51cbf64720a7c66431905ca5cc43f978366456cc4e3b7f4a nginx.confd
68e5507c65abff2a199929db0a45a46a736bd903adebb411bcf32ec22c83cfd24ccd047635e1901ff50abdd1de22a7a1d0bb4f4f4205c6a710e238e8ef3199ee nginx-mime-magic-module-0.1.0.tar.gz 68e5507c65abff2a199929db0a45a46a736bd903adebb411bcf32ec22c83cfd24ccd047635e1901ff50abdd1de22a7a1d0bb4f4f4205c6a710e238e8ef3199ee nginx-mime-magic-module-0.1.0.tar.gz
c208cdf3e245527d7b313f9ef1f5d36ca26e3bdafe67df56492a13b7726587538665e5d9fd50f295fc933f218dc33394f2fe442713d15631701dbfc4a156799b ngx-fancyindex-0.5.2.tar.gz
" "