summaryrefslogtreecommitdiffstats
path: root/www/mod_log_mysql/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-05-02 20:12:55 +0000
committerclement <clement@FreeBSD.org>2004-05-02 20:12:55 +0000
commit68058498bcb3bcbc1c748d35897a77edf3545b37 (patch)
tree8914e08bfc6485d1695c19a55f7dc00671ac27f6 /www/mod_log_mysql/Makefile
parent1483f65173cbd2dd982ade61eb6bfbb5d463b836 (diff)
downloadFreeBSD-ports-68058498bcb3bcbc1c748d35897a77edf3545b37.zip
FreeBSD-ports-68058498bcb3bcbc1c748d35897a77edf3545b37.tar.gz
Add mod_log_mysql 1.0.
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/
Diffstat (limited to 'www/mod_log_mysql/Makefile')
-rw-r--r--www/mod_log_mysql/Makefile30
1 files changed, 30 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud