wok-current view modsecurity-apache/receipt @ rev 24542

updated fcron (3.2.1 -> 3.3.1)
author Hans-G?nter Theisgen
date Thu Feb 24 14:25:23 2022 +0100 (2022-02-24)
parents 20b4935ebb5d
children 526dda97861f
line source
1 # SliTaz package receipt.
3 PACKAGE="modsecurity-apache"
4 VERSION="2.9.3"
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/"
11 SOURCE="modsecurity"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}tarball/$VERSION/$TARBALL"
15 DEPENDS="apache apr apr-util curl libssl pcre util-linux-uuid zlib"
16 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev curl-dev libxml2-dev \
17 pcre-dev util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/SpiderLabs/ModSecurity/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }