[arch-commits] Commit in nginx-mod-ndk-set-misc/repos (2 files)

Giancarlo Razzolini grazzolini at archlinux.org
Wed Apr 22 19:30:24 UTC 2020


    Date: Wednesday, April 22, 2020 @ 19:30:23
  Author: grazzolini
Revision: 617706

archrelease: copy trunk to community-staging-x86_64

Added:
  nginx-mod-ndk-set-misc/repos/community-staging-x86_64/
  nginx-mod-ndk-set-misc/repos/community-staging-x86_64/PKGBUILD
    (from rev 617705, nginx-mod-ndk-set-misc/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: nginx-mod-ndk-set-misc/repos/community-staging-x86_64/PKGBUILD (from rev 617705, nginx-mod-ndk-set-misc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-22 19:30:23 UTC (rev 617706)
@@ -0,0 +1,54 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+_setmiscver=0.32
+_ndkver=0.3.1
+
+pkgbase=nginx-mod-ndk-set-misc
+pkgname=(nginx-mod-ndk nginx-mod-set-misc)
+pkgver=$_setmiscver+$_ndkver
+pkgrel=3
+
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/openresty/set-misc-nginx-module"
+license=('BSD')
+
+source=(
+	https://github.com/openresty/set-misc-nginx-module/archive/v$_setmiscver/set-misc-$_setmiscver.tar.gz
+	https://github.com/simpl/ngx_devel_kit/archive/v$_ndkver/ngx_devel_kit-$_ndkver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('f1ad2459c4ee6a61771aa84f77871f4bfe42943a4aa4c30c62ba3f981f52c201'
+            '0e971105e210d272a497567fa2e2c256f4e39b845a5ba80d373e26ba1abfbd85')
+
+build() {
+  cp -r /usr/src/nginx .
+
+	cd "$srcdir"/nginx
+	./configure --with-compat \
+	  --add-dynamic-module=../ngx_devel_kit-$_ndkver \
+	  --add-dynamic-module=../set-misc-nginx-module-$_setmiscver
+	make modules
+}
+
+package_nginx-mod-ndk() {
+	pkgdesc="Nginx module that adds additional generic tools that module developers can use in their own modules"
+
+	cd "$srcdir"/nginx/objs
+	install -Dm755 ndk_http_module.so "$pkgdir"/usr/lib/nginx/modules/ndk_http_module.so
+
+	cd "$srcdir"/ngx_devel_kit-$_ndkver
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_nginx-mod-set-misc() {
+	pkgdesc="Nginx module that adds various set_xxx directives"
+	depends=("nginx" 'nginx-mod-ndk')
+
+	cd "$srcdir"/nginx/objs
+	install -Dm755 ngx_http_set_misc_module.so "$pkgdir"/usr/lib/nginx/modules/ngx_http_set_misc_module.so
+
+	install -Dm644 "$srcdir"/set-misc-nginx-module-$_setmiscver/README.markdown \
+	               "$pkgdir"/usr/share/licenses/$pkgname/README.markdown
+}



More information about the arch-commits mailing list