[arch-commits] Commit in nginx-mod-naxsi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Nov 2 17:01:54 UTC 2020
Date: Monday, November 2, 2020 @ 17:01:53
Author: mtorromeo
Revision: 739968
archrelease: copy trunk to community-x86_64
Added:
nginx-mod-naxsi/repos/community-x86_64/PKGBUILD
(from rev 739967, nginx-mod-naxsi/trunk/PKGBUILD)
Deleted:
nginx-mod-naxsi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 36 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-02 17:01:48 UTC (rev 739967)
+++ PKGBUILD 2020-11-02 17:01:53 UTC (rev 739968)
@@ -1,39 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=nginx-mod-naxsi
-pkgver=1.1
-pkgrel=1
-
-_modname=naxsi
-
-pkgdesc='Nginx Anti XSS & SQL Injection'
-arch=('x86_64')
-depends=('nginx')
-makedepends=('nginx-src')
-url="https://github.com/nbs-system/naxsi"
-license=('GPL3')
-backup=('etc/nginx/naxsi_core.rules')
-
-source=(
- https://github.com/nbs-system/$_modname/archive/$pkgver/$_modname-$pkgver.tar.gz
-)
-validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
-sha256sums=('dcd2260cde399711ebe8e9e574ba3ac760e751de3c8568ab5620246f2d151795')
-
-build() {
- cp -r /usr/src/nginx .
-
- cd "$srcdir"/nginx
- ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver/naxsi_src
- make modules
-}
-
-package() {
- cd "$srcdir"/nginx/objs
- for mod in *.so; do
- install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
- done
-
- cd "$srcdir"/$_modname-$pkgver
- install -Dm644 naxsi_config/naxsi_core.rules "$pkgdir"/etc/nginx/naxsi_core.rules
-}
Copied: nginx-mod-naxsi/repos/community-x86_64/PKGBUILD (from rev 739967, nginx-mod-naxsi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-02 17:01:53 UTC (rev 739968)
@@ -0,0 +1,36 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-naxsi
+pkgver=1.2
+pkgrel=1
+_modname=naxsi
+pkgdesc='Nginx Anti XSS & SQL Injection'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/nbs-system/naxsi"
+license=('GPL3')
+backup=('etc/nginx/naxsi_core.rules')
+source=(
+ https://github.com/nbs-system/$_modname/archive/$pkgver/$_modname-$pkgver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('c4973a08bb80715ea7616ba9153699525f5f722b9fe2b7f811fa751266814287')
+
+build() {
+ cp -r /usr/src/nginx .
+
+ cd "$srcdir"/nginx
+ ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver/naxsi_src
+ make modules
+}
+
+package() {
+ cd "$srcdir"/nginx/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+
+ cd "$srcdir"/$_modname-$pkgver
+ install -Dm644 naxsi_config/naxsi_core.rules "$pkgdir"/etc/nginx/naxsi_core.rules
+}
More information about the arch-commits
mailing list