aboutsummaryrefslogtreecommitdiff
path: root/www/mod_security21
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-10-08 18:11:51 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-10-08 18:11:51 +0000
commit5771705d9a4bb6bb507a36f6960e80389ca1d4e9 (patch)
treefa74d04fd1d5ed03b11b5ec038664396548ecddf /www/mod_security21
parentafca98ccb11a620ed12067c5758a934eb9eecb82 (diff)
downloadports-5771705d9a4bb6bb507a36f6960e80389ca1d4e9.tar.gz
ports-5771705d9a4bb6bb507a36f6960e80389ca1d4e9.zip
- Update to 2.1.3.
- Allow mod_rpaf and mod_extract_forwarded2 to work before ModSecurity. - Quiet some compiler warnings. - Cleaned up and clarified some documentation. - Small performance improvement in memory management for rule execution. PR: ports/116414 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> Approved by: stas (mentor), maintainer timeout (2 weeks)
Notes
Notes: svn path=/head/; revision=201111
Diffstat (limited to 'www/mod_security21')
-rw-r--r--www/mod_security21/Makefile9
-rw-r--r--www/mod_security21/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/www/mod_security21/Makefile b/www/mod_security21/Makefile
index efe5890aa8bf..c202f7028135 100644
--- a/www/mod_security21/Makefile
+++ b/www/mod_security21/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= mod_security2
-PORTVERSION= 2.1.1
+PORTVERSION= 2.1.3
CATEGORIES= www security
MASTER_SITES= http://www.modsecurity.org/download/
DISTNAME= ${PORTNAME:S/_//:S/2//}-apache_${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= araujo@FreeBSD.org
COMMENT= An intrusion detection and prevention engine
USE_APACHE= 2.0+
@@ -22,7 +22,7 @@ WRKSRCTOP= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKSRCTOP}/apache2
SRC_FILE= *.c
PORTDOCS= *
-DOCS= CHANGES LICENSE README.TXT modsecurity.conf-minimal doc rules
+DOCS= CHANGES LICENSE README.TXT modsecurity.conf-minimal
DOCSDIR= ${PREFIX}/share/doc/${MODULENAME}
SUB_FILES+= mod_security2.conf
SUB_LIST+= APACHEETCDIR="${APACHEETCDIR}"
@@ -77,7 +77,8 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRCTOP} && ${TAR} cf - ${DOCS}) | (cd ${DOCSDIR} && ${TAR} xpof -)
+ @${INSTALL_DATA} ${DOCS:S,^,${WRKSRCTOP}/,} ${DOCSDIR}/
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "doc rules" ${DOCSDIR}/)
.endif
.if !defined(SKIP_RULES)
@${INSTALL_DATA} ${WRKDIR}/mod_security2.conf ${PREFIX}/${APACHEETCDIR}/Includes/
diff --git a/www/mod_security21/distinfo b/www/mod_security21/distinfo
index b4cb2a2437ae..9914a5aacabb 100644
--- a/www/mod_security21/distinfo
+++ b/www/mod_security21/distinfo
@@ -1,3 +1,3 @@
-MD5 (modsecurity-apache_2.1.1.tar.gz) = ab74ed5f320ffc4ed9f56487bf17c670
-SHA256 (modsecurity-apache_2.1.1.tar.gz) = fadeb3b4ce5672c99c094611792b827d45fcd6b38c4c4fa81c4cfdc63c63b71a
-SIZE (modsecurity-apache_2.1.1.tar.gz) = 650607
+MD5 (modsecurity-apache_2.1.3.tar.gz) = b98a65ce4fd5deb343e295bac9490331
+SHA256 (modsecurity-apache_2.1.3.tar.gz) = 875c35778a1e2d56859ec754272f80d05bc892db40341996e3a8c54e74076036
+SIZE (modsecurity-apache_2.1.3.tar.gz) = 674923