pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ap-modsecurity ModSecurity is an open source ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19cca154ae7d
branches: trunk
changeset: 500929:19cca154ae7d
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Fri Oct 14 18:29:39 2005 +0000
description:
ModSecurity is an open source intrusion detection and prevention engine for
web applications (or a web application firewall). Operating as an Apache Web
server module or standalone, the purpose of ModSecurity is to increase web
application security, protecting web applications from known and unknown
attacks.
This package is for both Apache 1.x and Apache 2.x
diffstat:
security/ap-modsecurity/DESCR | 5 ++++
security/ap-modsecurity/MESSAGE | 15 ++++++++++++
security/ap-modsecurity/Makefile | 49 ++++++++++++++++++++++++++++++++++++++++
security/ap-modsecurity/PLIST | 8 ++++++
security/ap-modsecurity/distinfo | 5 ++++
5 files changed, 82 insertions(+), 0 deletions(-)
diffs (102 lines):
diff -r dcfb8fb0c658 -r 19cca154ae7d security/ap-modsecurity/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ap-modsecurity/DESCR Fri Oct 14 18:29:39 2005 +0000
@@ -0,0 +1,5 @@
+ModSecurity is an open source intrusion detection and prevention engine for
+web applications (or a web application firewall). Operating as an Apache Web
+server module or standalone, the purpose of ModSecurity is to increase web
+application security, protecting web applications from known and unknown
+attacks.
diff -r dcfb8fb0c658 -r 19cca154ae7d security/ap-modsecurity/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ap-modsecurity/MESSAGE Fri Oct 14 18:29:39 2005 +0000
@@ -0,0 +1,15 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/10/14 18:29:39 adrianp Exp $
+
+In order to use this module in your Apache installation, you will need
+to add the following to your httpd.conf file:
+
+ LoadModule security_module lib/httpd/mod_security.so
+
+In addition to this you will need to specify mod_security configuration
+directives in your httpd.conf. Example configuration files for modsecurity
+are available:
+
+ ${PREFIX}/share/examples/ap-security/
+
+===========================================================================
diff -r dcfb8fb0c658 -r 19cca154ae7d security/ap-modsecurity/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ap-modsecurity/Makefile Fri Oct 14 18:29:39 2005 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/14 18:29:39 adrianp Exp $
+#
+
+DISTNAME= modsecurity-1.8.7
+PKGNAME= ap-modsecurity-1.8.7
+CATEGORIES= www security
+MASTER_SITES= http://www.modsecurity.org/download/
+
+MAINTAINER= adrianp%NetBSD.org@localhost
+HOMEPAGE= http://www.modsecurity.org/
+COMMENT= Intrusion detection and prevention engine for web applications
+
+.include "../../mk/apache.mk"
+
+.if ${PKG_APACHE} == "apache2"
+APACHE_DIR= apache2
+MOD_EXTN= la
+.else
+APACHE_DIR= apache1
+MOD_EXTN= so
+.endif
+PTHREAD_OPTS+= require
+
+.include "../../mk/pthread.buildlink3.mk"
+
+do-build:
+ cd ${WRKSRC}/${APACHE_DIR} && \
+ ${SETENV} PATH=${PATH} \
+ ${APXS} ${CPPFLAGS} ${LDFLAGS} -c mod_security.c
+
+do-install:
+ cd ${WRKSRC}/${APACHE_DIR} && \
+ ${SETENV} PATH=${PATH} \
+ ${APXS} ${CPPFLAGS} ${LDFLAGS} -i mod_security.${MOD_EXTN}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ap-security
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ap-security
+
+ ${INSTALL_DATA} ${WRKSRC}/httpd.conf.regression-v1 \
+ ${PREFIX}/share/examples/ap-security
+ ${INSTALL_DATA} ${WRKSRC}/httpd.conf.regression-v2 \
+ ${PREFIX}/share/examples/ap-security
+ ${INSTALL_DATA} ${WRKSRC}/httpd.conf.example-minimal \
+ ${PREFIX}/share/examples/ap-security
+ ${INSTALL_DATA} ${WRKSRC}/modsecurity-manual.pdf \
+ ${PREFIX}/share/doc/ap-security
+
+.include "../../mk/bsd.pkg.mk"
diff -r dcfb8fb0c658 -r 19cca154ae7d security/ap-modsecurity/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ap-modsecurity/PLIST Fri Oct 14 18:29:39 2005 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/14 18:29:39 adrianp Exp $
+lib/httpd/mod_security.so
+share/doc/ap-security/modsecurity-manual.pdf
+share/examples/ap-security/httpd.conf.example-minimal
+share/examples/ap-security/httpd.conf.regression-v1
+share/examples/ap-security/httpd.conf.regression-v2
+@dirrm share/examples/ap-security
+@dirrm share/doc/ap-security
diff -r dcfb8fb0c658 -r 19cca154ae7d security/ap-modsecurity/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ap-modsecurity/distinfo Fri Oct 14 18:29:39 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/14 18:29:39 adrianp Exp $
+
+SHA1 (modsecurity-1.8.7.tar.gz) = 59296d4c2776b0beb3ee65e4d5b7dc51f36142a5
+RMD160 (modsecurity-1.8.7.tar.gz) = ee5e6566dda8c932e5e01833af290186f22af773
+Size (modsecurity-1.8.7.tar.gz) = 313004 bytes
Home |
Main Index |
Thread Index |
Old Index