diff options
author | clement <clement@FreeBSD.org> | 2004-05-03 04:12:55 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-05-03 04:12:55 +0800 |
commit | 68058498bcb3bcbc1c748d35897a77edf3545b37 (patch) | |
tree | 8914e08bfc6485d1695c19a55f7dc00671ac27f6 | |
parent | 1483f65173cbd2dd982ade61eb6bfbb5d463b836 (diff) | |
download | freebsd-ports-graphics-68058498bcb3bcbc1c748d35897a77edf3545b37.tar.gz freebsd-ports-graphics-68058498bcb3bcbc1c748d35897a77edf3545b37.tar.zst freebsd-ports-graphics-68058498bcb3bcbc1c748d35897a77edf3545b37.zip |
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/
-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 8502f7859c3..6f945823543 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 00000000000..f296883c0fe --- /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 00000000000..b94bfb47694 --- /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 00000000000..2d0976f7bc7 --- /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/ |