1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add mod_mylo, a module for Apache that sends logs directly to a MySQL database

in addition to normal logging.

PR:		31576
Approved by:	will
This commit is contained in:
Anders Nordby 2001-11-12 02:51:50 +00:00
parent 4417a778f4
commit a87a019bc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49954
7 changed files with 69 additions and 0 deletions

View File

@ -150,6 +150,7 @@
SUBDIR += mod_jk
SUBDIR += mod_layout
SUBDIR += mod_mp3
SUBDIR += mod_mylo
SUBDIR += mod_perl
SUBDIR += mod_php3
SUBDIR += mod_php4

39
www/mod_mylo/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: mod_mylo
# Date created: 12 November 2001
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= mod_mylo
PORTVERSION= 0.2.1
CATEGORIES= www
MASTER_SITES= http://www.orakel.ntnu.no/~oyving/code/mod_mylo/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
EXTRACT_SUFX= .tgz
MAINTAINER= anders@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
WRKSRC= ${WRKDIR}/${PORTNAME}
APXS= ${LOCALBASE}/sbin/apxs
DOCS= mod_mylo.sql README
do-build:
(cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \
-L${LOCALBASE}/lib/mysql -lmysqlclient mod_mylo.c)
do-install:
(cd ${WRKSRC} && ${APXS} -i -A -n 'mylo' mod_mylo.so)
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
www/mod_mylo/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mod_mylo-0.2.1.tgz) = 52e94e3c5af1c5cd7059af1132b69050

1
www/mod_mylo/pkg-comment Normal file
View File

@ -0,0 +1 @@
An Apache module to make Apache log to MySQL

6
www/mod_mylo/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
This is a module for Apache that sends logs directly to a MySQL database in
addition to normal logging.
WWW: http://www.orakel.ntnu.no/~oyving/code/mod_mylo/
- Anders Nordby <anders@FreeBSD.org>

15
www/mod_mylo/pkg-message Normal file
View File

@ -0,0 +1,15 @@
************************************************************
You've installed mod_mylo, an Apache module to make Apache
log to MySQL.
Edit your apache.conf or httpd.conf to enable and setup this
module. Have a look at the files in
${PREFIX}/share/doc/mod_mylo for information on how to
configure it etc.
Then do this to make it work effective:
# apachectl configtest (see if there are any config errors)
# apachectl restart
************************************************************

6
www/mod_mylo/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
libexec/apache/mod_mylo.so
@exec %D/sbin/apxs -e -A -n mylo %D/%F
@unexec %D/sbin/apxs -e -A -n mylo %D/%F
%%PORTDOCS%%share/doc/mod_mylo/mod_mylo.sql
%%PORTDOCS%%share/doc/mod_mylo/README
%%PORTDOCS%%@dirrm share/doc/mod_mylo