[arch-commits] Commit in libmodsecurity/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 12 13:04:29 UTC 2017


    Date: Sunday, November 12, 2017 @ 13:04:29
  Author: foutrelis
Revision: 266323

archrelease: copy trunk to community-staging-x86_64

Added:
  libmodsecurity/repos/community-staging-x86_64/
  libmodsecurity/repos/community-staging-x86_64/PKGBUILD
    (from rev 266322, libmodsecurity/trunk/PKGBUILD)

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

Copied: libmodsecurity/repos/community-staging-x86_64/PKGBUILD (from rev 266322, libmodsecurity/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-11-12 13:04:29 UTC (rev 266323)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=libmodsecurity
+pkgver=20170611
+pkgrel=2
+_commit=20134ef242f374fd37f3224ea98cecded9abd2e2
+
+pkgdesc='ModSecurity v3 library component'
+arch=('i686' 'x86_64')
+depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip')
+makedepends=('git')
+url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master"
+license=('APACHE')
+source=("git+https://github.com/SpiderLabs/ModSecurity.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+	cd "$srcdir"/ModSecurity
+	git submodule update --init
+}
+
+build() {
+	cd "$srcdir"/ModSecurity
+	./build.sh
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "$srcdir"/ModSecurity
+	make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list