wok diff modsecurity-apache/receipt @ rev 25052
ruby-ncurses: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 11:43:47 2022 +0000 (2022-06-05) |
parents | ad8b9ff412d2 |
children | 519a42308d05 |
line diff
1.1 --- a/modsecurity-apache/receipt Sat Feb 12 18:42:31 2022 +0000 1.2 +++ b/modsecurity-apache/receipt Sun Jun 05 11:43:47 2022 +0000 1.3 @@ -1,20 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="modsecurity-apache" 1.7 -VERSION="2.9.3" 1.8 +VERSION="2.9.5" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Web application firewall engine." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="Apache" 1.13 WEB_SITE="https://www.modsecurity.org/" 1.14 +REPOLOGY="modsecurity" 1.15 1.16 SOURCE="modsecurity" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 -WGET_URL="${WEB_SITE}tarball/$VERSION/$TARBALL" 1.19 +WGET_URL="https://github.com/SpiderLabs/ModSecurity/archive/refs/tags/v$VERSION.tar.gz" 1.20 1.21 DEPENDS="apache apr apr-util curl libssl pcre util-linux-uuid zlib" 1.22 -BUILD_DEPENDS="apache-dev apr-dev apr-util-dev curl-dev libxml2-dev \ 1.23 - pcre-dev util-linux-uuid-dev" 1.24 +BUILD_DEPENDS="apache-dev apr-dev apr-util-dev automake curl-dev libtool 1.25 + libxml2-dev pcre-dev util-linux-uuid-dev" 1.26 1.27 # What is the latest version available today? 1.28 current_version() 1.29 @@ -26,13 +27,16 @@ 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.34 - make -j 1 && 1.35 - make DESTDIR=$DESTDIR install 1.36 + ./autogen.sh && 1.37 + ./configure \ 1.38 + --prefix=/usr \ 1.39 + $CONFIGURE_ARGS && 1.40 + make && 1.41 + make install DESTDIR=$DESTDIR 1.42 } 1.43 1.44 # Rules to gen a SliTaz package suitable for Tazpkg. 1.45 genpkg_rules() 1.46 { 1.47 - cp -a $install/* $fs 1.48 + cp -a $install/* $fs 1.49 }