wok view modsecurity-apache/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents ad8b9ff412d2
children 519a42308d05
line source
1 # SliTaz package receipt.
3 PACKAGE="modsecurity-apache"
4 VERSION="2.9.5"
5 CATEGORY="network"
6 SHORT_DESC="Web application firewall engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://www.modsecurity.org/"
10 REPOLOGY="modsecurity"
12 SOURCE="modsecurity"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/SpiderLabs/ModSecurity/archive/refs/tags/v$VERSION.tar.gz"
16 DEPENDS="apache apr apr-util curl libssl pcre util-linux-uuid zlib"
17 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev automake curl-dev libtool
18 libxml2-dev pcre-dev util-linux-uuid-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/SpiderLabs/ModSecurity/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh &&
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }