~dricottone/apkbuilds

5a83bac6a997f551af88e4bc462e433cdc693ba4 — Dominic Ricottone 7 months ago 5227293 nginx-dav
WIP: nginx-dav-ext-module

Does not work currently.
A src/nginx-dav-ext-module/APKBUILD => src/nginx-dav-ext-module/APKBUILD +47 -0
@@ 0,0 1,47 @@
pkgname=nginx-mod-http-dav-ext
pkgver=3.0.0
pkgrel=0
pkgdesc="Nginx module for WebDAV support"
url="https://github.com/arut/nginx-dav-ext-module"
arch="all"
license="BSD-2-Clause"
depends="nginx"
makedepends="
	linux-headers
	openssl-dev
	pcre2-dev
	zlib-dev
	openssl
	abuild
	musl-dev
	libxslt-dev
	libxml2-utils
	make
	gcc
	unzip
	xz
	g++
	coreutils
"
source="
	nginx-1.25.4.tar.gz::https://nginx.org/download/nginx-1.25.4.tar.gz
	nginx-dav-ext-module-$pkgver.tar.gz::https://github.com/arut/nginx-dav-ext-module/archive/v$pkgver.gz
"

options="!check"

build() {
	cd "$srcdir"/nginx-1.25.4/
	./configure \
		--with-compat \
		--with-http_dav_module \
		--add-dynamic-module="$srcdir"/nginx-dav-ext-module-$pkgver
	make modules
}

package() {
	install -Dm755 "$srcdir"/nginx-1.25.4/objs/ngx_http_dav_ext_module.so \
		"$pkgdir"/etc/nginx/modules/
}



A src/nginx-dav-ext-module/Makefile => src/nginx-dav-ext-module/Makefile +5 -0
@@ 0,0 1,5 @@


version:
	docker run --rm -it nginx:alpine sh -c 'apk list -i nginx 2>/dev/null | sed "s/^nginx-\([0-9.]\+\)-.*$$/\1/"'


A src/nginx-dav-ext-module/src/nginx-1.25.4.tar.gz => src/nginx-dav-ext-module/src/nginx-1.25.4.tar.gz +1 -0
@@ 0,0 1,1 @@
/var/cache/distfiles/nginx-1.25.4.tar.gz
\ No newline at end of file