diff options
author | petef <petef@FreeBSD.org> | 2001-11-25 17:22:45 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2001-11-25 17:22:45 +0800 |
commit | c79dab6dee6d112938fe83633ebdb0f9ba61b54d (patch) | |
tree | 8dd8b751bc386a8ff176b570098ad76e52a41ca6 /www/mod_log_sql | |
parent | 27bd7c538bbd18f4af36f62ad394bc65b70c8792 (diff) | |
download | freebsd-ports-graphics-c79dab6dee6d112938fe83633ebdb0f9ba61b54d.tar.gz freebsd-ports-graphics-c79dab6dee6d112938fe83633ebdb0f9ba61b54d.tar.zst freebsd-ports-graphics-c79dab6dee6d112938fe83633ebdb0f9ba61b54d.zip |
Add mod_log_mysql-1.09, allows Apache to log to a MySQL database
PR: 32192
Submitted by: Lev Serebryakov <lev@serebryakov.spb.ru>
Diffstat (limited to 'www/mod_log_sql')
-rw-r--r-- | www/mod_log_sql/Makefile | 35 | ||||
-rw-r--r-- | www/mod_log_sql/distinfo | 1 | ||||
-rw-r--r-- | www/mod_log_sql/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_log_sql/pkg-descr | 4 | ||||
-rw-r--r-- | www/mod_log_sql/pkg-plist | 9 |
5 files changed, 50 insertions, 0 deletions
diff --git a/www/mod_log_sql/Makefile b/www/mod_log_sql/Makefile new file mode 100644 index 00000000000..86eaadbe791 --- /dev/null +++ b/www/mod_log_sql/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: apache mod_log_mysql +# Date created: 2001/11/22 +# Whom: lev@serebryakov.spb.ru +# +# $FreeBSD$ + +PORTNAME= mod_log_mysql +PORTVERSION= 1.09 +CATEGORIES= www databases +MASTER_SITES= http://www.grubbybaby.com/mod_log_mysql/ +DISTNAME= ${PORTNAME} + +MAINTAINER= lev@serebryakov.spb.ru + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/${AP_PORT} +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${AP_PORT} + +AP_PORT?= www/apache13 +APXS?= ${LOCALBASE}/sbin/apxs + +do-build: + @cd ${WRKSRC} && ${APXS} -c -o ${PORTNAME}.so -I${LOCALBASE}/include \ + -L${LOCALBASE}/lib/mysql -lmysqlclient ${PORTNAME}.c + +do-install: + cd ${WRKSRC} && ${APXS} -i -n ${PORTNAME:S/^mod_//} -A ${PORTNAME}.so +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in CONFIGURATION INSTALL README access_log.sql make_combined_log.pl + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/www/mod_log_sql/distinfo b/www/mod_log_sql/distinfo new file mode 100644 index 00000000000..a1a51befd13 --- /dev/null +++ b/www/mod_log_sql/distinfo @@ -0,0 +1 @@ +MD5 (mod_log_mysql.tar.gz) = ced2720abc250f19b4ec8caf1c22cfdb diff --git a/www/mod_log_sql/pkg-comment b/www/mod_log_sql/pkg-comment new file mode 100644 index 00000000000..c9b381ec2a0 --- /dev/null +++ b/www/mod_log_sql/pkg-comment @@ -0,0 +1 @@ +Allows Apache to log to a MySQL database diff --git a/www/mod_log_sql/pkg-descr b/www/mod_log_sql/pkg-descr new file mode 100644 index 00000000000..ed8ade81cda --- /dev/null +++ b/www/mod_log_sql/pkg-descr @@ -0,0 +1,4 @@ +This add-on module allows the apache web server to use a MySQL database for +logging of all operations. + +WWW: http://www.grubbybaby.com/mod_log_mysql/ diff --git a/www/mod_log_sql/pkg-plist b/www/mod_log_sql/pkg-plist new file mode 100644 index 00000000000..7523a11ecf5 --- /dev/null +++ b/www/mod_log_sql/pkg-plist @@ -0,0 +1,9 @@ +@exec %D/sbin/apxs -e -A -n log_mysql -A mod_log_mysql.so +libexec/apache/mod_log_mysql.so +@unexec %D/sbin/apxs -e -A -n log_mysql %f +%%PORTDOCS%%share/doc/mod_log_mysql/CONFIGURATION +%%PORTDOCS%%share/doc/mod_log_mysql/INSTALL +%%PORTDOCS%%share/doc/mod_log_mysql/README +%%PORTDOCS%%share/doc/mod_log_mysql/access_log.sql +%%PORTDOCS%%share/doc/mod_log_mysql/make_combined_log.pl +%%PORTDOCS%%@dirrm share/doc/mod_log_mysql |