diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-05-02 20:12:55 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-05-02 20:12:55 +0000 |
commit | 295c3d94abb1b04fd3cda15a19c1ba0bccb3fca3 (patch) | |
tree | ef652154a10094ac9bd737526dc33fbc42252bed | |
parent | Add mod_log_config-st 1.0. (diff) |
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/
Notes
Notes:
svn path=/head/; revision=108200
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_log_mysql/Makefile | 30 | ||||
-rw-r--r-- | www/mod_log_mysql/distinfo | 2 | ||||
-rw-r--r-- | www/mod_log_mysql/pkg-descr | 18 |
4 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 8502f7859c32..6f945823543c 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 000000000000..f296883c0fed --- /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 000000000000..b94bfb476942 --- /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 000000000000..2d0976f7bc79 --- /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/ |