summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2020-04-24 18:26:21 +0200
committerMartchus2020-04-24 18:26:21 +0200
commitbb58216f3c507f386df8211623efd3d1ab227173 (patch)
tree15c2fea5391611f7f88f365fb9fb669ed80d1854
parentfe56e5940be91f95d61ac73c45c0486852974764 (diff)
downloadaur-bb58216f3c507f386df8211623efd3d1ab227173.tar.gz
Rebuild against NGINX 1.18.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e3e8398fc8..d723db2f770 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,15 @@
pkgbase = nginx-mod-dav-ext
pkgdesc = NGINX WebDAV missing commands support
pkgver = 3.0.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/arut/nginx-dav-ext-module
arch = x86_64
license = BSD
- depends = nginx=1.16.1
+ makedepends = nginx-src
+ depends = nginx=1.18.0
depends = libutil-linux
depends = libxslt
- source = https://nginx.org/download/nginx-1.16.1.tar.gz
- source = https://nginx.org/download/nginx-1.16.1.tar.gz.asc
source = nginx-mod-dav-ext-3.0.0::https://github.com/arut/nginx-dav-ext-module/archive/v3.0.0.tar.gz
- validpgpkeys = B0F4253373F8F6F510D42178520A9993A1C052F8
- sha256sums = f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b
- sha256sums = SKIP
sha256sums = d2499d94d82d4e4eac8425d799e52883131ae86a956524040ff2fd230ef9f859
pkgname = nginx-mod-dav-ext
diff --git a/PKGBUILD b/PKGBUILD
index f5139642514..0dc1b7bbb71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,38 +3,34 @@
pkgname=nginx-mod-dav-ext
pkgver=3.0.0
-pkgrel=3
+pkgrel=4
_dirname="nginx-dav-ext-module-$pkgver"
-_nginxver=1.16.1
+_nginxver=1.18.0
pkgdesc='NGINX WebDAV missing commands support'
arch=('x86_64')
depends=("nginx=$_nginxver" 'libutil-linux' 'libxslt')
+makedepends=("nginx-src")
url='https://github.com/arut/nginx-dav-ext-module'
license=('BSD')
-source=(
- https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
- "$pkgname-$pkgver::https://github.com/arut/nginx-dav-ext-module/archive/v${pkgver}.tar.gz"
-)
-validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin@mdounin.ru>
-sha256sums=('f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b'
- 'SKIP'
- 'd2499d94d82d4e4eac8425d799e52883131ae86a956524040ff2fd230ef9f859')
+source=("$pkgname-$pkgver::https://github.com/arut/nginx-dav-ext-module/archive/v${pkgver}.tar.gz")
+sha256sums=('d2499d94d82d4e4eac8425d799e52883131ae86a956524040ff2fd230ef9f859')
prepare() {
cd "$srcdir/$_dirname"
}
build() {
- cd "$srcdir"/nginx-$_nginxver
+ cp -r /usr/src/nginx .
+ cd "$srcdir"/nginx
./configure --with-compat --with-http_dav_module --add-dynamic-module="../$_dirname"
make modules
}
package() {
install -Dm755 "$srcdir/$_dirname/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
- cd "$srcdir"/nginx-$_nginxver/objs
+ cd "$srcdir"/nginx/objs
for mod in ngx_*.so; do
install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
done