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