diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-07 16:29:02 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-07 16:29:02 +0000 |
commit | a0774bd73dda3f409d39f0bf9ac46480f53f4ee2 (patch) | |
tree | 0e0d3784f0b61fabd71d2d1111c7369ad97591e7 /www/mod_log_dbd | |
parent | - fix PLIST after libmtp support is working again (diff) |
mod_log_dbd is an add-on module for the Apache web server that uses the APR DBD
framework to store access logs in a database. Any missing tables and columns
are automatically created if the module is given a database user with
sufficient privileges.
This module was designed for simplicity and therefore doesn't allow the
nearly-inifinite customization of other logging modules. For example,
column and table names are created automatically, which not only
simplifies configuration but improves performance as well.
WWW: http://bfoz.net/projects/mod_log_dbd/
-Brandon
bfoz@bfoz.net
PR: ports/108326
Submitted by: Brandon Fosdick <bfoz at bfoz.net>
Notes
Notes:
svn path=/head/; revision=186824
Diffstat (limited to 'www/mod_log_dbd')
-rw-r--r-- | www/mod_log_dbd/Makefile | 24 | ||||
-rw-r--r-- | www/mod_log_dbd/distinfo | 3 | ||||
-rw-r--r-- | www/mod_log_dbd/pkg-descr | 14 | ||||
-rw-r--r-- | www/mod_log_dbd/pkg-plist | 4 |
4 files changed, 45 insertions, 0 deletions
diff --git a/www/mod_log_dbd/Makefile b/www/mod_log_dbd/Makefile new file mode 100644 index 000000000000..d959247fff23 --- /dev/null +++ b/www/mod_log_dbd/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: mod_log_dbd +# Date created: 2006/01/19 +# Whom: Brandon Fosdick <bfoz@bfoz.net> +# +# $FreeBSD$ + +PORTNAME= mod_log_dbd +PORTVERSION= 0.1 +CATEGORIES= www databases +MASTER_SITES= http://bfoz.net/projects/${PORTNAME}/release/ + +MAINTAINER= bfoz@bfoz.net +COMMENT= Uses APR DBD to store Apache access logs in a database + +USE_APACHE= 2.2+ +USE_BZIP2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-mysql=${PREFIX} \ + --with-apache=${PREFIX} + +do-install: + $(APXS) -i -a -n log_dbd $(WRKSRC)/mod_log_dbd.la + +.include <bsd.port.mk> diff --git a/www/mod_log_dbd/distinfo b/www/mod_log_dbd/distinfo new file mode 100644 index 000000000000..48a3f207ebc9 --- /dev/null +++ b/www/mod_log_dbd/distinfo @@ -0,0 +1,3 @@ +MD5 (mod_log_dbd-0.1.tar.bz2) = a83e451209e9bcc6c94996c635386381 +SHA256 (mod_log_dbd-0.1.tar.bz2) = f3e4829b2acd8af3feed19f91ec019c92739fc6b95ec22c06af9235f83dde7de +SIZE (mod_log_dbd-0.1.tar.bz2) = 197386 diff --git a/www/mod_log_dbd/pkg-descr b/www/mod_log_dbd/pkg-descr new file mode 100644 index 000000000000..b9940a249215 --- /dev/null +++ b/www/mod_log_dbd/pkg-descr @@ -0,0 +1,14 @@ +mod_log_dbd is an add-on module for the Apache web server that uses the APR DBD +framework to store access logs in a database. Any missing tables and columns +are automatically created if the module is given a database user with +sufficient privileges. + +This module was designed for simplicity and therefore doesn't allow the +nearly-inifinite customization of other logging modules. For example, +column and table names are created automatically, which not only +simplifies configuration but improves performance as well. + +WWW: http://bfoz.net/projects/mod_log_dbd/ + +-Brandon +bfoz@bfoz.net diff --git a/www/mod_log_dbd/pkg-plist b/www/mod_log_dbd/pkg-plist new file mode 100644 index 000000000000..f4733556728d --- /dev/null +++ b/www/mod_log_dbd/pkg-plist @@ -0,0 +1,4 @@ +@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%% +%%APACHEMODDIR%%/%%AP_MODULE%% +@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F +@unexec echo "Don't forget to remove all mod_%%AP_NAME%% related directives in your httpd.conf" |