upgpkg: nginx-mainline-mod-headers-more 0.34-1

This commit is contained in:
George Rawlinson 2022-10-09 19:20:01 +13:00
parent a404bfd159
commit d4c8f4f2f6
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,17 +2,17 @@
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nginx-mainline-mod-headers-more pkgname=nginx-mainline-mod-headers-more
pkgver=0.33 pkgver=0.34
pkgrel=42 pkgrel=1
pkgdesc="Set and clear input and output headers" pkgdesc='Set and clear input and output headers'
arch=('x86_64') arch=('x86_64')
url="https://github.com/openresty/headers-more-nginx-module" url='https://github.com/openresty/headers-more-nginx-module'
_modname="${url##*/}" _modname="${url##*/}"
license=('BSD') license=('BSD')
depends=('nginx-mainline=1.21.6') depends=('nginx-mainline=1.23.1')
makedepends=('nginx-mainline-src') makedepends=('nginx-mainline-src')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('fe3097a7700ce5da087058f7bb44c95164b75137031187400473f6833bf0e33e5c4920807225a6ff94174fe7dbd6186cca176a33a629ca0911faab6804bdd12a') b2sums=('48badf603b93601b11c837057760f768ef2579062786bb366795617635747b654cecafa3a230eec1a3e442ab768fb068867ceb93385b14b6452b621764acfd3f')
prepare() { prepare() {
mkdir -p build mkdir -p build
@ -21,7 +21,11 @@ prepare() {
build() { build() {
cd build cd build
/usr/src/nginx/configure --with-compat --add-dynamic-module="$srcdir/$_modname-$pkgver"
/usr/src/nginx/configure \
--with-compat \
--add-dynamic-module="$srcdir/$_modname-$pkgver"
make modules make modules
} }