diff --git a/nginx-current/APKBUILD b/nginx-current/APKBUILD index 2cd74b2..d082447 100644 --- a/nginx-current/APKBUILD +++ b/nginx-current/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: psykose pkgname=nginx-current -pkgver=1.23.3 +pkgver=1.23.4 pkgrel=0 pkgdesc="HTTP and reverse proxy server (current version)" url="https://www.nginx.org/" @@ -15,6 +15,7 @@ makedepends=" libxml2-dev libxslt-dev lld + llvm linux-headers openssl-dev>3 pcre2-dev @@ -39,10 +40,13 @@ source="https://nginx.org/download/nginx-$pkgver.tar.gz builddir="$srcdir/nginx-$pkgver" options="!check" # no time! +export AR=llvm-ar +export NM=llvm-nm +export RANLIB=llvm-ranlib export CC=clang -export CFLAGS="$CFLAGS -flto=thin" +export CFLAGS="$CFLAGS -flto" # passed below -export LDFLAGS="$LDFLAGS -flto=thin -fuse-ld=lld -Wl,--icf=safe,--gc-sections" +export LDFLAGS="$LDFLAGS -fuse-ld=lld -Wl,--icf=safe,--gc-sections,-z,pack-relative-relocs" _modules_dir="usr/lib/nginx/modules" @@ -179,7 +183,7 @@ vim() { } _module() { - local name="${subpkgname#$pkgname-mod-}"; name="${name//-/_}" + local name="${subpkgname#"$pkgname"-mod-}"; name="${name//-/_}" local ver=$(getvar _${name}_ver) pkgdesc="Nginx module ${name//_/-}" @@ -228,7 +232,7 @@ getvar() { } sha512sums=" -da5f473ac213f8947f40f0a69820bf981157432fe9d29cf71fe30225dadd05f5814309034f0411ea15fb70bece8ceefc0cb0b2588096c1a9496c2a36fa425d9f nginx-1.23.3.tar.gz +542a53cae32bf5c7d4d09a4940793e603e0b3c7a8a4ca2bcec84e64bc298fcf0e58297338d1ae0cd28889c4a3e359f3f48532b0addaf7d223f796ed81c3054e8 nginx-1.23.4.tar.gz 9c5ee975dffa15b76688ef798371635f38f1e6773b143c738add26297878dddfc20ebf276e3871a60f28b197e8a70496ca17d4816c2136171978c157bb8e591f nginx.conf 0907f69dc2d3dc1bad3a04fb6673f741f1a8be964e22b306ef9ae2f8e736e1f5733a8884bfe54f3553fff5132a0e5336716250f54272c3fec2177d6ba16986f3 default.conf f3321a45736697009817db335ad36d3f1d05f60d98ac90a943220cdd4c00c52632f018db6a6076d5431a483525aacc5725b87b765b590e2f63b3ef98c5b16bd8 stream.conf