aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-10-21 20:49:48 +0800
committerosa <osa@FreeBSD.org>2003-10-21 20:49:48 +0800
commitb804f82203e9994a773588d7e5507bbfd3b95113 (patch)
tree94a924f3af807febe2c41ca6ce8f7a88fe888853 /www
parent3a0973078643136c0208516b5caaa545642b8b69 (diff)
downloadfreebsd-ports-gnome-b804f82203e9994a773588d7e5507bbfd3b95113.tar.gz
freebsd-ports-gnome-b804f82203e9994a773588d7e5507bbfd3b95113.tar.zst
freebsd-ports-gnome-b804f82203e9994a773588d7e5507bbfd3b95113.zip
Update to 1.7.
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer) PR: 58307
Diffstat (limited to 'www')
-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%%