summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_log_mysql/Makefile30
-rw-r--r--www/mod_log_mysql/distinfo2
-rw-r--r--www/mod_log_mysql/pkg-descr18
4 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8502f78..6f94582 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -255,6 +255,7 @@
SUBDIR += mod_limitipconn2
SUBDIR += mod_log_congif-st
SUBDIR += mod_log_data
+ SUBDIR += mod_log_mysql
SUBDIR += mod_log_sql
SUBDIR += mod_log_sql2
SUBDIR += mod_macro
diff --git a/www/mod_log_mysql/Makefile b/www/mod_log_mysql/Makefile
new file mode 100644
index 0000000..f296883
--- /dev/null
+++ b/www/mod_log_mysql/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: mod_mod_mysql
+# Date created: Sun May 2 2004
+# Whom: Clement Laforet <clement@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_log_mysql
+PORTVERSION= 1.0
+CATEGORIES= www
+# Original location: http://bitbrook.de/software/mod_log_mysql/mod_log_mysql.c
+MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
+DIST_SUBDIR= apache2
+
+MAINTAINER= clement@FreeBSD.org
+COMMENT= Allows Apache 2 to log to a MySQL database
+
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_log_config-st.so:${PORTSDIR}/www/mod_log_config-st
+
+WANT_APACHE= 2
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+USE_MYSQL= YES
+
+AP_INC+= ${LOCALBASE}/include/mysql
+AP_LIB+= ${LOCALBASE}/lib/mysql -lmysqlclient
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+.include <bsd.port.post.mk>
diff --git a/www/mod_log_mysql/distinfo b/www/mod_log_mysql/distinfo
new file mode 100644
index 0000000..b94bfb4
--- /dev/null
+++ b/www/mod_log_mysql/distinfo
@@ -0,0 +1,2 @@
+MD5 (apache2/mod_log_mysql-1.0.tar.gz) = bdde1ff13749437e2650fb4d376e2e5a
+SIZE (apache2/mod_log_mysql-1.0.tar.gz) = 8046
diff --git a/www/mod_log_mysql/pkg-descr b/www/mod_log_mysql/pkg-descr
new file mode 100644
index 0000000..2d0976f
--- /dev/null
+++ b/www/mod_log_mysql/pkg-descr
@@ -0,0 +1,18 @@
+mod_log_mysql is a module for the Apache 2 webserver which permits
+request logging into a MySQL database.
+
+Key features are:
+ * Seamless integration into the standard Apache logging
+ configuration.
+ * Only one configuration line needed to start logging.
+ * Free SQL use.
+ * Multiple databases, database users and/or database servers.
+ * Connection pooling, only one connection per log target per
+ child process.
+ * Logs data as it is: e.g. times as SQL DATETIME and n/a items
+ as SQL NULL.
+ * Won't loose data if the database server is down.
+
+Note: this module requires mod_log_config-st
+
+WWW: http://bitbrook.de/software/mod_log_mysql/
OpenPOWER on IntegriCloud