wok view modsecurity-apache/receipt @ rev 25343

updated sysstat (12.3.2 -> 12.6.0)
author Hans-G?nter Theisgen
date Mon Jul 25 07:23:20 2022 +0100 (2022-07-25)
parents 526dda97861f
children 7364ffdaaa60
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://github.com/SpiderLabs/ModSecurity"
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 }