summaryrefslogtreecommitdiff
path: root/www/mod_security
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-10-21 12:49:48 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-10-21 12:49:48 +0000
commit8becacbbe90b04ce8e88ac48c001cda24f676881 (patch)
tree457dfbaf07176ccb5223d8d77dffaafb943a45ca /www/mod_security
parent- Update to 0.24 [1] (diff)
Update to 1.7.
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer) PR: 58307
Notes
Notes: svn path=/head/; revision=91812
Diffstat (limited to 'www/mod_security')
-rw-r--r--www/mod_security/Makefile8
-rw-r--r--www/mod_security/distinfo2
-rw-r--r--www/mod_security/pkg-plist18
3 files changed, 15 insertions, 13 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index a0603d470021..ad090ddcd47b 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= mod_security
-PORTVERSION= 1.5.1
+PORTVERSION= 1.7
CATEGORIES= www
-MASTER_SITES= http://www.modsecurity.org/download/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
MAINTAINER= sysadmin@alexdupre.com
COMMENT= An intrusion detection and prevention engine
@@ -35,7 +36,8 @@ SO= so
BUILD_DEPENDS+= ${APXS}:${APACHE_PORT}
RUN_DEPENDS+= ${APXS}:${APACHE_PORT}
-DOCS= CHANGES INSTALL LICENSE README modsecurity-manual-v1.5.1.pdf
+DOCS= CHANGES INSTALL LICENSE README modsecurity-manual-${PORTVERSION}.pdf
+PLIST_SUB+= VER=${PORTVERSION}
do-build:
@cd ${APWRKSRC} && ${APXS} -c mod_security.c
diff --git a/www/mod_security/distinfo b/www/mod_security/distinfo
index 9262b0ffac15..94bf203a3615 100644
--- a/www/mod_security/distinfo
+++ b/www/mod_security/distinfo
@@ -1 +1 @@
-MD5 (mod_security-1.5.1.tar.gz) = 05ef8cc89a1b4d291bf694b0d77a2f5b
+MD5 (mod_security-1.7.tar.gz) = c6b152d726c5383be4f112e294c19d03
diff --git a/www/mod_security/pkg-plist b/www/mod_security/pkg-plist
index 4a8817783509..c3f4ce4ec027 100644
--- a/www/mod_security/pkg-plist
+++ b/www/mod_security/pkg-plist
@@ -1,12 +1,12 @@
libexec/%%APACHE%%/mod_security.so
@exec %D/sbin/apxs -e -a -n security %D/%F
@unexec %D/sbin/apxs -e -A -n security %D/%F
-%%PORTDOCS%%share/doc/mod_security/CHANGES
-%%PORTDOCS%%share/doc/mod_security/INSTALL
-%%PORTDOCS%%share/doc/mod_security/LICENSE
-%%PORTDOCS%%share/doc/mod_security/README
-%%PORTDOCS%%share/doc/mod_security/modsecurity-manual-v1.5.1.pdf
-share/examples/mod_security/httpd.conf.example-full
-share/examples/mod_security/httpd.conf.example-minimal
-%%PORTDOCS%%@dirrm share/doc/mod_security
-@dirrm share/examples/mod_security
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/modsecurity-manual-%%VER%%.pdf
+%%EXAMPLESDIR%%/httpd.conf.example-full
+%%EXAMPLESDIR%%/httpd.conf.example-minimal
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%