[arch-commits] Commit in nginx-mod-modsecurity/repos (2 files)

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


    Date: Wednesday, April 22, 2020 @ 19:24:12
  Author: grazzolini
Revision: 617701

archrelease: copy trunk to community-staging-x86_64

Added:
  nginx-mod-modsecurity/repos/community-staging-x86_64/
  nginx-mod-modsecurity/repos/community-staging-x86_64/PKGBUILD
    (from rev 617700, nginx-mod-modsecurity/trunk/PKGBUILD)

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

Copied: nginx-mod-modsecurity/repos/community-staging-x86_64/PKGBUILD (from rev 617700, nginx-mod-modsecurity/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-22 19:24:12 UTC (rev 617701)
@@ -0,0 +1,36 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-modsecurity
+epoch=1
+pkgver=1.0.1
+pkgrel=3
+
+pkgdesc='ModSecurity v3 Nginx Connector (module for nginx)'
+arch=('x86_64')
+depends=('nginx' 'libmodsecurity')
+makedepends=('nginx-src')
+url="https://github.com/SpiderLabs/ModSecurity-nginx"
+license=('GPL3')
+
+source=(
+	https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v$pkgver/modsecurity-nginx-v$pkgver.tar.gz{,.asc}
+)
+validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8'  # Maxim Dounin <mdounin at mdounin.ru>
+              '190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277') # Felipe Zimmerle
+sha256sums=('def45a8db5bc9da14765eda75363457209a86c89538ccf5bfbd3aa02fa10833c'
+            'SKIP')
+
+build() {
+	cp -r /usr/src/nginx .
+
+	cd "$srcdir"/nginx
+	./configure --with-compat --add-dynamic-module=../modsecurity-nginx-v$pkgver
+	make modules
+}
+
+package() {
+	cd "$srcdir"/nginx/objs
+	for mod in *.so; do
+		install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
+	done
+}



More information about the arch-commits mailing list