From 891ad0da45ae526ca8679ad763a50541706c4bc5 Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 26 Aug 2022 04:04:29 +0000 Subject: [PATCH] nginx-current: add fancyindex --- nginx-current/APKBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nginx-current/APKBUILD b/nginx-current/APKBUILD index 4d8a376..3ecfda5 100644 --- a/nginx-current/APKBUILD +++ b/nginx-current/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: psykose pkgname=nginx-current pkgver=1.23.1 -pkgrel=0 +pkgrel=1 pkgdesc="HTTP and reverse proxy server (current version)" url="https://www.nginx.org/" arch="all" @@ -40,9 +40,9 @@ builddir="$srcdir/nginx-$pkgver" options="!check" # no time! export CC=clang -export CFLAGS="$CFLAGS -flto" +export CFLAGS="$CFLAGS -flto=thin" # 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" @@ -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-fancyindex" "v0.5.2" "https://github.com/aperezdc/ngx-fancyindex" build() { ./configure \ @@ -235,4 +236,5 @@ f3321a45736697009817db335ad36d3f1d05f60d98ac90a943220cdd4c00c52632f018db6a6076d5 ee10a5687740dde0c3d18d8b3555f49fcdc6abfc0a3bc2de1de3be0e99951a346fe8027d916aab73071ecd4e2c50871e7c867aca3a7a0fd16e3374c5caed1c57 nginx.initd 0b9b9ed01ac077e334c034faa2679f6e26740fb3362eebf8cef82d22b2af2a3faaa53bae3c9e14af51cbf64720a7c66431905ca5cc43f978366456cc4e3b7f4a nginx.confd 68e5507c65abff2a199929db0a45a46a736bd903adebb411bcf32ec22c83cfd24ccd047635e1901ff50abdd1de22a7a1d0bb4f4f4205c6a710e238e8ef3199ee nginx-mime-magic-module-0.1.0.tar.gz +c208cdf3e245527d7b313f9ef1f5d36ca26e3bdafe67df56492a13b7726587538665e5d9fd50f295fc933f218dc33394f2fe442713d15631701dbfc4a156799b ngx-fancyindex-0.5.2.tar.gz "