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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Jul 11 17:58:05 UTC 2017


    Date: Tuesday, July 11, 2017 @ 17:58:04
  Author: bpiotrowski
Revision: 244355

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

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

-----------------------------------+
 community-testing-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: nginx-mod-modsecurity/repos/community-testing-i686/PKGBUILD (from rev 244354, nginx-mod-modsecurity/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-07-11 17:58:04 UTC (rev 244355)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-modsecurity
+pkgver=20170403
+pkgrel=2
+_commit=3de175b
+
+_modname=ModSecurity-nginx
+_nginxver=1.12.1
+
+pkgdesc='ModSecurity v3 Nginx Connector (module for mainline nginx)'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver" 'libmodsecurity')
+makedepends=('git')
+url="https://github.com/SpiderLabs/ModSecurity-nginx"
+license=('GPL3')
+
+source=(
+	"http://nginx.org/download/nginx-$_nginxver.tar.gz"
+	"git+https://github.com/SpiderLabs/ModSecurity-nginx.git#commit=$_commit"
+)
+
+sha256sums=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+            'SKIP')
+
+build() {
+	cd "$srcdir"/nginx-$_nginxver
+	./configure --with-compat --add-dynamic-module=../$_modname
+	make modules
+}
+
+package() {
+	cd "$srcdir"/nginx-$_nginxver/objs
+	for mod in *.so; do
+		install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+	done
+}

Copied: nginx-mod-modsecurity/repos/community-testing-x86_64/PKGBUILD (from rev 244354, nginx-mod-modsecurity/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-07-11 17:58:04 UTC (rev 244355)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-modsecurity
+pkgver=20170403
+pkgrel=2
+_commit=3de175b
+
+_modname=ModSecurity-nginx
+_nginxver=1.12.1
+
+pkgdesc='ModSecurity v3 Nginx Connector (module for mainline nginx)'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver" 'libmodsecurity')
+makedepends=('git')
+url="https://github.com/SpiderLabs/ModSecurity-nginx"
+license=('GPL3')
+
+source=(
+	"http://nginx.org/download/nginx-$_nginxver.tar.gz"
+	"git+https://github.com/SpiderLabs/ModSecurity-nginx.git#commit=$_commit"
+)
+
+sha256sums=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+            'SKIP')
+
+build() {
+	cd "$srcdir"/nginx-$_nginxver
+	./configure --with-compat --add-dynamic-module=../$_modname
+	make modules
+}
+
+package() {
+	cd "$srcdir"/nginx-$_nginxver/objs
+	for mod in *.so; do
+		install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+	done
+}



More information about the arch-commits mailing list