Date: Wednesday, April 11, 2018 @ 09:52:31
  Author: mtorromeo
Revision: 315710

upgpkg: libmodsecurity 1:3.0.2-1

Modified:
  libmodsecurity/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 09:52:02 UTC (rev 315709)
+++ PKGBUILD    2018-04-11 09:52:31 UTC (rev 315710)
@@ -5,30 +5,28 @@
 pkgver=3.0.2
 pkgrel=1
 epoch=1
-_commit=20134ef242f374fd37f3224ea98cecded9abd2e2
 
 pkgdesc='ModSecurity v3 library component'
 arch=('x86_64')
-depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip')
-makedepends=('git')
+depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip' 'libmaxminddb' 'ssdeep' 'lua')
+makedepends=('doxygen')
 url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master";
 license=('APACHE')
-source=("git+https://github.com/SpiderLabs/ModSecurity.git#commit=$_commit";)
-sha256sums=('SKIP')
+source=("https://github.com/SpiderLabs/ModSecurity/releases/download/v$pkgver/modsecurity-v$pkgver.tar.gz"{,.asc})
+sha256sums=('e9d7f4f33ddfc3335073f8c5efa7b6d83bd532535b6b836a300c60fc843d780b'
+            'SKIP')
+validpgpkeys=('190EFACCA1E9FA466A8ECD9CE6DFB08CE8B11277') # Felipe Zimmerle da 
Nobrega Costa <fel...@zimmerle.org>
 
-prepare() {
-       cd "$srcdir"/ModSecurity
-       git submodule update --init
-}
-
 build() {
-       cd "$srcdir"/ModSecurity
+       cd "$srcdir"/modsecurity-v$pkgver
        ./build.sh
-       ./configure --prefix=/usr
+       ./configure \
+               --prefix=/usr \
+               --disable-examples
        make
 }
 
 package() {
-       cd "$srcdir"/ModSecurity
+       cd "$srcdir"/modsecurity-v$pkgver
        make DESTDIR="$pkgdir" install
 }

Reply via email to