ports/108326: New port: www/mod_log_dbd Write Apache access logs to a database using APR DBD

Brandon Fosdick bfoz at bfoz.net
Thu Jan 25 06:00:45 UTC 2007


>Number:         108326
>Category:       ports
>Synopsis:       New port: www/mod_log_dbd Write Apache access logs to a database using APR DBD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 25 06:00:36 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Brandon Fosdick
>Release:        6.2
>Organization:
>Environment:
FreeBSD poseidon.bfoz.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Dec 26 19:02:42 PST 2006     bfoz at poseidon.bfoz.net:/usr/obj/usr/src/sys/POSEIDON  i386
>Description:
New port: www/mod_log_dbd
Write Apache access logs to a database using APR DBD

mod_log_dbd is a module for Apache 2.2+ that writes access logs to a database using the APR DBD framework. It's designed for simplicity and speed, and therefore lacks some of the features of other logging modules.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/www/mod_log_dbd
#	/usr/ports/www/mod_log_dbd/pkg-descr
#	/usr/ports/www/mod_log_dbd/distinfo
#	/usr/ports/www/mod_log_dbd/Makefile
#
echo c - /usr/ports/www/mod_log_dbd
mkdir -p /usr/ports/www/mod_log_dbd > /dev/null 2>&1
echo x - /usr/ports/www/mod_log_dbd/pkg-descr
sed 's/^X//' >/usr/ports/www/mod_log_dbd/pkg-descr << 'END-of-/usr/ports/www/mod_log_dbd/pkg-descr'
Xmod_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.
X
XThis 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.
X
XWWW: http://bfoz.net/projects/mod_log_dbd/
X
X-Brandon
Xbfoz at bfoz.net
END-of-/usr/ports/www/mod_log_dbd/pkg-descr
echo x - /usr/ports/www/mod_log_dbd/distinfo
sed 's/^X//' >/usr/ports/www/mod_log_dbd/distinfo << 'END-of-/usr/ports/www/mod_log_dbd/distinfo'
XMD5 (mod_log_dbd-0.1.tar.bz2) = a83e451209e9bcc6c94996c635386381
XSHA256 (mod_log_dbd-0.1.tar.bz2) = f3e4829b2acd8af3feed19f91ec019c92739fc6b95ec22c06af9235f83dde7de
XSIZE (mod_log_dbd-0.1.tar.bz2) = 197386
END-of-/usr/ports/www/mod_log_dbd/distinfo
echo x - /usr/ports/www/mod_log_dbd/Makefile
sed 's/^X//' >/usr/ports/www/mod_log_dbd/Makefile << 'END-of-/usr/ports/www/mod_log_dbd/Makefile'
X# New ports collection makefile for:    mod_log_dbd
X# Date created:		2006/01/19
X# Whom:			Brandon Fosdick <bfoz at bfoz.net>
X#
X# $FreeBSD$
X
XPORTNAME=	mod_log_dbd
XPORTVERSION=	0.1
XCATEGORIES=	www databases
XMASTER_SITES=	http://bfoz.net/projects/${PORTNAME}/release/
X
XMAINTAINER=	bfoz at bfoz.net
XCOMMENT=	Uses APR DBD to store Apache access logs in a database
X
XUSE_APACHE=	2.2+
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-mysql=${PREFIX} \
X		--with-apache=${PREFIX}
XPLIST_FILES+=	$(APACHEMODDIR)/mod_log_dbd.so
X
Xdo-install:
X	$(APXS) -i -a -n log_dbd $(WRKSRC)/mod_log_dbd.la
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/mod_log_dbd/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list