93eac884d9
mod_log_spread is a patch to Apache's mod_log_config, which provides an interface for spread to multicast access logs. It utilizes the group communication toolkit Spread, developed at Johns Hopkins University's Center for Networking and Distributed Systems. mod_log_spread was developed to solve the problem of collecting consolidated access logs for large web farms. In particular, the solution needed to be scalable to hundreds of machines, utilize a reliable network transport, allow machines to added or dropped on the fly, and impose minimal performance impact on the webservers. Current version is 1.0.3p3. This makes a fix to a stupid vhost logging bug as well as providing a complete and flexible log-writing solution. WWW: http://www.lethargy.org/mod_log_spread/ PR: ports/80876 Submitted by: Meno Abels <meno.abels@adviser.com>
40 lines
963 B
Makefile
40 lines
963 B
Makefile
# New ports collection makefile for: mod_log_spread
|
|
# Date created: 08 May 2005
|
|
# Whom: Meno Abels <meno.abels@adviser.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_log_spread
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= www net
|
|
MASTER_SITES= http://www.lethargy.org/mod_log_spread/
|
|
|
|
MAINTAINER= meno.abels@adviser.com
|
|
COMMENT= An Apache module interfacing with spread
|
|
|
|
LIB_DEPENDS= spread.1:${PORTSDIR}/net/spread
|
|
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_APACHE= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= CHANGELOG INSTALL LICENSE README README.spread \
|
|
error_log_spread.pl sample_configurations.txt \
|
|
spreadlogd.README spread.html
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${APXS} -I${PREFIX}/include -c mod_log_spread.c
|
|
|
|
do-install:
|
|
${APXS} -i -a -n log_spread ${WRKSRC}/mod_log_spread.so
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|