aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-06-20 09:14:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-06-20 09:14:53 +0000
commit656d1a0cee948bc0d7c8f1dc162218fe38cb0f3c (patch)
treeb8d5663bfb2e0741d5d545e70121f89a012759d7
parente1d31626c7bc6efe6348425a19f0b56c9bd81a3e (diff)
downloadports-656d1a0cee948bc0d7c8f1dc162218fe38cb0f3c.tar.gz
ports-656d1a0cee948bc0d7c8f1dc162218fe38cb0f3c.zip
Notes
-rw-r--r--www/mod_security/Makefile4
-rw-r--r--www/mod_security/distinfo4
-rw-r--r--www/mod_security/files/patch-apache1::mod_security.c10
-rw-r--r--www/mod_security/files/patch-apache2::mod_security.c10
-rw-r--r--www/mod_security/pkg-plist1
5 files changed, 24 insertions, 5 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index cc44c9ab22c2..5ace3942a113 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_security
-PORTVERSION= 1.7.6
+PORTVERSION= 1.8
CATEGORIES= www security
MASTER_SITES= http://www.modsecurity.org/download/ \
${MASTER_SITE_SOURCEFORGE}
@@ -33,7 +33,7 @@ PLIST_SUB= APACHE=apache
SO= so
.endif
-MANVER= 1.7.4
+MANVER= 1.8
DOCS= CHANGES INSTALL LICENSE README modsecurity-manual-${MANVER}.pdf
PLIST_SUB+= VER=${MANVER}
diff --git a/www/mod_security/distinfo b/www/mod_security/distinfo
index 07d74bb074ea..51adfa99f647 100644
--- a/www/mod_security/distinfo
+++ b/www/mod_security/distinfo
@@ -1,2 +1,2 @@
-MD5 (mod_security-1.7.6.tar.gz) = 2be3a3a4ac98a95580e5c01d2d5b3b88
-SIZE (mod_security-1.7.6.tar.gz) = 272864
+MD5 (mod_security-1.8.tar.gz) = 9daf63c7038dbf6ebe399260df72657a
+SIZE (mod_security-1.8.tar.gz) = 346389
diff --git a/www/mod_security/files/patch-apache1::mod_security.c b/www/mod_security/files/patch-apache1::mod_security.c
new file mode 100644
index 000000000000..ec0a622b63a0
--- /dev/null
+++ b/www/mod_security/files/patch-apache1::mod_security.c
@@ -0,0 +1,10 @@
+--- apache1/mod_security.c.orig Sun Jun 20 11:09:40 2004
++++ apache1/mod_security.c Sun Jun 20 11:03:01 2004
+@@ -23,6 +23,7 @@
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/stat.h>
+
+ #if !(defined(WIN32) || defined(NETWARE))
+ #include <unistd.h>
diff --git a/www/mod_security/files/patch-apache2::mod_security.c b/www/mod_security/files/patch-apache2::mod_security.c
new file mode 100644
index 000000000000..6d1f3b1457cb
--- /dev/null
+++ b/www/mod_security/files/patch-apache2::mod_security.c
@@ -0,0 +1,10 @@
+--- apache2/mod_security.c.orig Sun Jun 20 11:09:56 2004
++++ apache2/mod_security.c Sun Jun 20 11:10:04 2004
+@@ -23,6 +23,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/stat.h>
+
+ #ifdef WIN32
+ #include <direct.h>
diff --git a/www/mod_security/pkg-plist b/www/mod_security/pkg-plist
index c3f4ce4ec027..8346c91b2cd6 100644
--- a/www/mod_security/pkg-plist
+++ b/www/mod_security/pkg-plist
@@ -6,7 +6,6 @@ libexec/%%APACHE%%/mod_security.so
%%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%%