| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.14 2009/07/17 18:00:23 adrianp Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2009/08/31 07:19:44 seb Exp $ |
2 | | | 2 | |
3 | DISTNAME= modsecurity-apache_2.5.9 | | 3 | DISTNAME= modsecurity-apache_2.5.9 |
4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//} | | 4 | PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/apache_//} |
5 | CATEGORIES= www security | | 5 | CATEGORIES= www security |
6 | MASTER_SITES= http://www.modsecurity.org/download/ | | 6 | MASTER_SITES= http://www.modsecurity.org/download/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.modsecurity.org/ | | 9 | HOMEPAGE= http://www.modsecurity.org/ |
10 | COMMENT= Intrusion detection and prevention engine for web applications | | 10 | COMMENT= Intrusion detection and prevention engine for web applications |
11 | | | 11 | |
12 | PKG_APACHE_ACCEPTED= apache2 apache22 | | 12 | PKG_APACHE_ACCEPTED= apache2 apache22 |
| | | 13 | USE_LANGUAGES+= c++ c |
13 | | | 14 | |
14 | .include "../../mk/apache.mk" | | 15 | .include "../../mk/apache.mk" |
15 | .include "options.mk" | | 16 | .include "options.mk" |
16 | | | 17 | |
17 | GNU_CONFIGURE= YES | | 18 | GNU_CONFIGURE= YES |
18 | USE_TOOLS+= pax | | 19 | USE_TOOLS+= pax |
19 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
20 | WRKSRC= ${WRKDIR}/${DISTNAME}/apache2 | | 21 | WRKSRC= ${WRKDIR}/${DISTNAME}/apache2 |
21 | USE_LANGUAGES+= c++ c | | | |
22 | | | 22 | |
23 | CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs | | 23 | CONFIGURE_ARGS+= --with-apxs=${PREFIX}/sbin/apxs |
24 | CONFIGURE_ARGS+= --with-pcre=${PREFIX} | | 24 | CONFIGURE_ARGS+= --with-pcre=${PREFIX} |
25 | CONFIGURE_ARGS+= --with-libxml=${PREFIX} | | 25 | CONFIGURE_ARGS+= --with-libxml=${PREFIX} |
26 | | | 26 | |
27 | SUBST_CLASSES+= config | | 27 | SUBST_CLASSES+= config |
28 | SUBST_STAGE.config= post-patch | | 28 | SUBST_STAGE.config= post-patch |
29 | SUBST_FILES.config= configure | | 29 | SUBST_FILES.config= configure |
30 | SUBST_SED.config= -e "s|@@PREFIX@@|${PREFIX}|g" | | 30 | SUBST_SED.config= -e "s|@@PREFIX@@|${PREFIX}|g" |
31 | SUBST_MESSAGE.config= Fixing configuration files. | | 31 | SUBST_MESSAGE.config= Fixing configuration files. |
32 | | | 32 | |
33 | EGDIR= ${PREFIX}/share/examples/ap-modsecurity | | 33 | EGDIR= ${PREFIX}/share/examples/ap-modsecurity |
34 | CONF_FILES= ${EGDIR}/modsecurity.conf-minimal \ | | 34 | CONF_FILES= ${EGDIR}/modsecurity.conf-minimal \ |