Subject: pkg/12643: new package p5-Apache-DBILogger
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nrahlstr@winternet.com>
List: netbsd-bugs
Date: 04/13/2001 10:03:21
>Number:         12643
>Category:       pkg
>Synopsis:       new package p5-Apache-DBILogger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 13 12:53:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nathan Ahlstrom
>Release:        04/13/2001 pkgsrc
>Organization:
me
>Environment:
System: NetBSD games 1.5.1_BETA NetBSD 1.5.1_BETA (GAMES) #0: Tue Apr 10 17:28:44 CDT 2001 root@games:/a/src/sys/arch/i386/compile/GAMES i386

>Description:
	new package p5-Apache-DBILogger, allows httpd logging into a database.
>How-To-Repeat:
	Required for slashcode perl modules.
>Fix:
	
	shar archive and Change Log attached.

# 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:
#
#	p5-Apache-DBILogger
#	p5-Apache-DBILogger/files
#	p5-Apache-DBILogger/files/md5
#	p5-Apache-DBILogger/pkg
#	p5-Apache-DBILogger/pkg/DESCR
#	p5-Apache-DBILogger/pkg/PLIST
#	p5-Apache-DBILogger/Makefile
#
echo c - p5-Apache-DBILogger
mkdir -p p5-Apache-DBILogger > /dev/null 2>&1
echo c - p5-Apache-DBILogger/files
mkdir -p p5-Apache-DBILogger/files > /dev/null 2>&1
echo x - p5-Apache-DBILogger/files/md5
sed 's/^X//' >p5-Apache-DBILogger/files/md5 << 'END-of-p5-Apache-DBILogger/files/md5'
X$NetBSD$
X
XSHA1 (Apache-DBILogger-0.93.tar.gz) = babb633545529e25010e47bbc2f0cfdeaf716ad8
END-of-p5-Apache-DBILogger/files/md5
echo c - p5-Apache-DBILogger/pkg
mkdir -p p5-Apache-DBILogger/pkg > /dev/null 2>&1
echo x - p5-Apache-DBILogger/pkg/DESCR
sed 's/^X//' >p5-Apache-DBILogger/pkg/DESCR << 'END-of-p5-Apache-DBILogger/pkg/DESCR'
XDBI is a database access Application Programming Interface (API)
Xfor the Perl Language. The DBI API Specification defines a set
Xof functions, variables and conventions that provide a consistent
Xdatabase interface independant of the actual database being used.
X
XWith this module you can now have your httpd (apache) logs redirected
Xinto a database table for future querying.
END-of-p5-Apache-DBILogger/pkg/DESCR
echo x - p5-Apache-DBILogger/pkg/PLIST
sed 's/^X//' >p5-Apache-DBILogger/pkg/PLIST << 'END-of-p5-Apache-DBILogger/pkg/PLIST'
X@comment $NetBSD$
END-of-p5-Apache-DBILogger/pkg/PLIST
echo x - p5-Apache-DBILogger/Makefile
sed 's/^X//' >p5-Apache-DBILogger/Makefile << 'END-of-p5-Apache-DBILogger/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	Apache-DBILogger-0.93
XPKGNAME=	p5-${DISTNAME}
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN:=DBD/}
X
XMAINTAINER=	packages@NetBSD.org
XHOMEPAGE=	http://ask.netcetera.dk/
XCOMMENT=	Database-independent httpd database logging module
X
XDEPENDS+=	p5-Apache-DBILogConfig-*:../../www/p5-Apache-DBILogConfig
XDEPENDS+=	ap-DBI-*:../../www/ap-DBI
X
XUSE_PERL5=	# defined
XPERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Apache/DBILogger/.packlist
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-p5-Apache-DBILogger/Makefile
exit



Revision history for Apache::DBILogger

0.93  Thu Oct  8 1998 ask
	- [webstat] Moved webstat.pl to webstat_mail.pl
	- [webstat] Correct address in From: header
	- [webstat] Added webstat_resolver.pl - a little script to resolve
	            logrows without 'remotehost'
	- [webstat] Now also lists the top 20 domains visiting the site
	- [webstat] .. and other minor changes

0.92  Wed Jul 29 1998 ask
	- Added moverows.pl, webstat.pl and webstat.conf to the bin/
	  directory.
	- Fixed some flaws in the table defination in the pod section.
	  (thanks to Lupe Christoph)
	- Now sets $r to shift->last. This should stop the problems with
	  a wrong contenttype being logged.
	- Gets the usertrack cookie from $r->notes.

0.91  Sat Jun 20 1998 ask
	- If the 'Apache' cookie is set (from mod_usertrack) then 
	  log it to the 'usertrack' field.

0.90  Fri Jun 19 1998 ask
	- Updated documentation, fixing pod errors and more
	- More testing done (hence the upgrade in the version number)

0.85  Fri Jun 19 1998 ask
	- DBILogger_table option. Defaults to 'requests'
	- Updated documentation about requests_insert

0.84  Tue Jun  9 1998 ask
	- Optimized the reconnect some
	- Disabled the reconnect thingy
	- Added logging of contenttype
	- Added TRAPS section to documentation

0.83  Tue May 26 1998 ask
	- Retry and not just reconnect on connection loss

0.82  Sat May 23 1998 ask
	- Oops, 'warn' should be $r->log_error

0.81  Tue May 19 1998 ask
	- Adding '' and not NULL as referer if none is found
	- Added a little reconnect function (trying to get rid of these
	  annoying Lost connection messages).

0.80  Sun May  5 1998 ask
	- Changed dbh->do to ->prepare, ->execute to beable to log more
	  errors.

0.20  Sun Mar 22 1998 ask
	- Updated documentation
	- Added error handling in the connect stage. (Wow, 'safe'
	  programming ...)
	- More testing	

0.01  Thu Mar 12 1998 ask
	- original version

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