wok-6.x view modsecurity-apache/receipt @ rev 25559

updated xfce4-ristretto 0.6.3 -> 0.8.5
author Hans-G?nter Theisgen
date Tue Apr 25 15:16:20 2023 +0100 (18 months ago)
parents 526dda97861f
children
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 }