chore: bump angie-bin to 1.10.0

This commit is contained in:
minhnbnt 2025-07-11 15:07:13 +07:00
parent 1409aa4b81
commit 30732ce6a0
2 changed files with 81 additions and 14 deletions

View file

@ -1,6 +1,6 @@
pkgbase = angie-bin
pkgdesc = Actively developing fork of nginx aiming to keep it great with brand new extra functionality.
pkgver = 1.9.1
pkgver = 1.10.0
pkgrel = 1
url = https://en.angie.software/
arch = x86_64
@ -12,6 +12,8 @@ pkgbase = angie-bin
depends = openssl
depends = pcre2
depends = zlib
noextract = angie_1.10.0-1~noble_arm64.deb
noextract = angie_1.10.0-1~noble_amd64.deb
backup = etc/angie/angie.conf
backup = etc/angie/fastcgi.conf
backup = etc/angie/fastcgi_params
@ -20,9 +22,9 @@ pkgbase = angie-bin
backup = etc/angie/scgi_params
backup = etc/angie/uwsgi_params
backup = etc/logrotate.d/angie
source_x86_64 = https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie/angie_1.9.1-1~noble_amd64.deb
sha256sums_x86_64 = 5eb3d9adc4b4ef07ed509aa9b2525795ffc527519d7f20f39687e546785bd64c
source_aarch64 = https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie/angie_1.9.1-1~noble_arm64.deb
sha256sums_aarch64 = 2247b27075c9e5f6e06648029891d6780707e7f9920f4c2a87c28f864df4f1df
source_x86_64 = https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie/angie_1.10.0-1~noble_amd64.deb
sha256sums_x86_64 = 6876e438af6f3c1d98cbdd1fef631138b73200365446dd0e17902347e2077062
source_aarch64 = https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie/angie_1.10.0-1~noble_arm64.deb
sha256sums_aarch64 = 4f1dcebf0faa99434ec2d6b2be3dbfc9f2b3a643013c565abc1c390f57f1439b
pkgname = angie-bin

View file

@ -1,10 +1,12 @@
# Contributor: Nguyễn Quang Minh <minhnbnt at gmail dot com>
pkgname=angie-bin
pkgver=1.9.1
pkgver=Angie-1.10.0 # datasource=github-releases depName=webserver-llc/angie
pkgver=${pkgver#Angie-}
_pkgver="${pkgver}-1"
pkgrel=1
pkgdesc='Actively developing fork of nginx aiming to keep it great with brand new extra functionality.'
arch=("x86_64" "aarch64")
arch=('x86_64' 'aarch64')
url='https://en.angie.software/'
license=('BSD-2-Clause')
@ -28,17 +30,80 @@ backup=(
"etc/logrotate.d/angie"
)
_baseurl="https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie"
_base='https://download.angie.software/angie/ubuntu/24.04/pool/main/a/angie'
_packages=(
"angie"
# "angie-module-auth-jwt"
# "angie-module-auth-ldap"
# "angie-module-auth-spnego"
# "angie-module-brotli"
# "angie-module-cache-purge"
# "angie-module-cgi"
# "angie-module-dav-ext"
# "angie-module-dynamic-limit-req"
# "angie-module-echo"
# "angie-module-enhanced-memcached"
# "angie-module-eval"
# "angie-module-geoip2"
# "angie-module-headers-more"
# "angie-module-http-auth-radius"
# "angie-module-image-filter"
# "angie-module-jwt"
# "angie-module-keyval"
# "angie-module-lua"
# "angie-module-modsecurity"
# "angie-module-ndk"
# "angie-module-njs"
# "angie-module-njs-cli"
# "angie-module-opentracing"
# "angie-module-otel"
# "angie-module-perl"
# "angie-module-postgres"
# "angie-module-redis2"
# "angie-module-rtmp"
# "angie-module-set-misc"
# "angie-module-subs"
# "angie-module-testcookie"
# "angie-module-unbrotli"
# "angie-module-upload"
# "angie-module-vod"
# "angie-module-vts"
# "angie-module-wamr"
# "angie-module-wasm"
# "angie-module-xslt"
# "angie-module-zip"
# "angie-module-zstd"
)
source_aarch64=("${_baseurl}/angie_${pkgver}-1~noble_arm64.deb")
source_x86_64=("${_baseurl}/angie_${pkgver}-1~noble_amd64.deb")
source=()
noextract=()
for package in "${_packages[@]}"; do
sha256sums_x86_64=('5eb3d9adc4b4ef07ed509aa9b2525795ffc527519d7f20f39687e546785bd64c')
sha256sums_aarch64=('2247b27075c9e5f6e06648029891d6780707e7f9920f4c2a87c28f864df4f1df')
source_aarch64+=( "${_base}/${package}_${_pkgver}~noble_arm64.deb" )
source_x86_64+=( "${_base}/${package}_${_pkgver}~noble_amd64.deb" )
noextract+=(
"${package}_${_pkgver}~noble_arm64.deb"
"${package}_${_pkgver}~noble_amd64.deb"
)
done
sha256sums_x86_64=('6876e438af6f3c1d98cbdd1fef631138b73200365446dd0e17902347e2077062')
sha256sums_aarch64=('4f1dcebf0faa99434ec2d6b2be3dbfc9f2b3a643013c565abc1c390f57f1439b')
package() {
tar xf "data.tar.zst" -C "$pkgdir"
local package_arch='amd64'
if [[ "${CARCH}" = "aarch64" ]]; then
package_arch='arm64'
fi
cd "${srcdir}"
for package in "${_packages[@]}"; do
ar x "${package}_${_pkgver}~noble_${package_arch}.deb"
tar xf "data.tar.zst" -C "$pkgdir"
done
cd "${pkgdir}"
mv "usr/sbin/" "usr/bin/"
@ -48,7 +113,7 @@ package() {
install -Dm644 \
"usr/share/doc/angie/copyright" \
"usr/share/licenses/angie-bin/LICENSE"
"usr/share/licenses/${pkgname}/LICENSE"
local log_dir="$pkgdir/var/log/angie"