# HG changeset patch # User Pascal Bellard # Date 1392049339 0 # Node ID 4c61a56582ce85ac82666fa76e114c23bc67ddf7 # Parent d3305b8b397ee602ff42b9b96e2aa811d5c43545 Add modsecurity-apache diff -r d3305b8b397e -r 4c61a56582ce modsecurity-apache/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modsecurity-apache/receipt Mon Feb 10 16:22:19 2014 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="modsecurity-apache" +VERSION="2.7.7" +CATEGORY="network" +SHORT_DESC="Web application firewall engine." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="${PACKAGE}_$VERSION.tar.gz" +LICENSE="Apache" +WEB_SITE="https://www.modsecurity.org/" +WGET_URL="$WEB_SITE/tarball/$VERSION/$TARBALL" + +DEPENDS="apache apr apr-util pcre util-linux-uuid curl zlib libssl" +BUILD_DEPENDS="wget apache-dev apr-dev apr-util-dev pcre-dev libxml2-dev \ +util-linux-uuid-dev curl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}