aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/mod_security/Makefile11
-rw-r--r--www/mod_security/distinfo3
-rw-r--r--www/mod_security/pkg-plist2
3 files changed, 9 insertions, 7 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index 72078485b7af..b034e50d9db9 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= mod_security
-PORTVERSION= 1.7.4
+PORTVERSION= 1.7.5
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= http://www.modsecurity.org/download/ \
+ ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
MAINTAINER= ale@FreeBSD.org
@@ -18,8 +19,8 @@ USE_APACHE= yes
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/include/apache2/apr.h)
-WITH_APACHE2= yes
+.if exists(${LOCALBASE}/include/apache2/httpd.h)
+WITH_APACHE2= yes
.endif
.if defined(WITH_APACHE2)
@@ -32,7 +33,7 @@ PLIST_SUB= APACHE=apache
SO= so
.endif
-DOCS= CHANGES INSTALL LICENSE README modsecurity-manual-${PORTVERSION}.pdf
+DOCS= CHANGES INSTALL LICENSE README mod_security-manual-${PORTVERSION}.pdf
PLIST_SUB+= VER=${PORTVERSION}
do-build:
diff --git a/www/mod_security/distinfo b/www/mod_security/distinfo
index ec9a7229bc82..5d3761d60095 100644
--- a/www/mod_security/distinfo
+++ b/www/mod_security/distinfo
@@ -1 +1,2 @@
-MD5 (mod_security-1.7.4.tar.gz) = 629945812ca7aab4ef2f76ad00172444
+MD5 (mod_security-1.7.5.tar.gz) = 413a9b7f93086d296b2d5df9ac731b77
+SIZE (mod_security-1.7.5.tar.gz) = 273751
diff --git a/www/mod_security/pkg-plist b/www/mod_security/pkg-plist
index c3f4ce4ec027..c6b57ec6fff8 100644
--- a/www/mod_security/pkg-plist
+++ b/www/mod_security/pkg-plist
@@ -5,7 +5,7 @@ libexec/%%APACHE%%/mod_security.so
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/modsecurity-manual-%%VER%%.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mod_security-manual-%%VER%%.pdf
%%EXAMPLESDIR%%/httpd.conf.example-full
%%EXAMPLESDIR%%/httpd.conf.example-minimal
%%PORTDOCS%%@dirrm %%DOCSDIR%%