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

Giancarlo Razzolini grazzolini at gemini.archlinux.org
Sun Nov 28 19:49:42 UTC 2021


    Date: Sunday, November 28, 2021 @ 19:49:42
  Author: grazzolini
Revision: 1055406

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: nginx-mod-modsecurity/repos/community-testing-x86_64/PKGBUILD (from rev 1055404, nginx-mod-modsecurity/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-28 19:49:42 UTC (rev 1055406)
@@ -0,0 +1,41 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-modsecurity
+epoch=1
+pkgver=1.0.2
+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=('41a6660c50508c60df59f8f09c444d18ef8112a4c118cdc791a3992390b78c32'
+            'SKIP')
+
+prepare() {
+	mkdir -p build
+	cd build
+	ln -sf /usr/src/nginx/auto
+	ln -sf /usr/src/nginx/src
+}
+
+build() {
+	cd build
+	/usr/src/nginx/configure --with-compat --add-dynamic-module=../modsecurity-nginx-v$pkgver
+	make modules
+}
+
+package() {
+	cd build/objs
+	for mod in *.so; do
+		install -Dm755 $mod "$pkgdir/usr/lib/nginx/modules/$mod"
+	done
+}



More information about the arch-commits mailing list