From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 11 05:30:03 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F2E016A4CE for ; Wed, 11 May 2005 05:30:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEF743D39 for ; Wed, 11 May 2005 05:30:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4B5U2g9084178 for ; Wed, 11 May 2005 05:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4B5U2PQ084177; Wed, 11 May 2005 05:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 11 May 2005 05:30:02 GMT Resent-Message-Id: <200505110530.j4B5U2PQ084177@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Meno Abels Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79AA616A4CE for ; Wed, 11 May 2005 05:20:54 +0000 (GMT) Received: from smtp.adviser.com (adviser.com [217.20.119.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2D9643D5F for ; Wed, 11 May 2005 05:20:53 +0000 (GMT) (envelope-from meno.abels@adviser.com) Received: from p213.54.98.247.tisdip.tiscali.de ([213.54.98.247] helo=neo.abels.adviser.com) by smtp.adviser.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DVjeJ-000G89-3z; Wed, 11 May 2005 07:20:48 +0200 Received: by neo.abels.adviser.com (sSMTP sendmail emulation); Wed, 11 May 2005 07:20:43 +0200 Message-Id: <20050511052053.D2D9643D5F@mx1.FreeBSD.org> Date: Wed, 11 May 2005 07:20:43 +0200 From: Meno Abels To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Meno Abels Subject: ports/80876: NEW port: www/mod_log_spread X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Meno Abels List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 05:30:03 -0000 >Number: 80876 >Category: ports >Synopsis: NEW port: www/mod_log_spread >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: Wed May 11 05:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Meno Abels >Release: FreeBSD 5.3 i386 >Organization: Adviser COM >Environment: System: FreeBSD race 5.3 FreeBSD 5.3 #4: Tue Apr 19 14:18:44 CEST 2005 root@jamal.abels.adviser.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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. >How-To-Repeat: not applied change request >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: # # www/mod_log_spread # www/mod_log_spread/pkg-plist # www/mod_log_spread/pkg-descr # www/mod_log_spread/distinfo # www/mod_log_spread/Makefile # www/mod_log_spread/files # www/mod_log_spread/files/patch-mod_log_spread.c # echo c - www/mod_log_spread mkdir -p www/mod_log_spread > /dev/null 2>&1 echo x - www/mod_log_spread/pkg-plist sed 's/^X//' >www/mod_log_spread/pkg-plist << 'END-of-www/mod_log_spread/pkg-plist' Xlibexec/apache/mod_log_spread.so X@exec %D/sbin/apxs -e -a -n log_spread %D/%F X@unexec %D/sbin/apxs -e -A -n log_spread %D/%F X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/README.spread X%%PORTDOCS%%%%DOCSDIR%%/error_log_spread.pl X%%PORTDOCS%%%%DOCSDIR%%/sample_configurations.txt X%%PORTDOCS%%%%DOCSDIR%%/spreadlogd.README X%%PORTDOCS%%%%DOCSDIR%%/spread.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-www/mod_log_spread/pkg-plist echo x - www/mod_log_spread/pkg-descr sed 's/^X//' >www/mod_log_spread/pkg-descr << 'END-of-www/mod_log_spread/pkg-descr' Xmod_log_spread is a patch to Apache's mod_log_config, which provides Xan interface for spread to multicast access logs. It utilizes the Xgroup communication toolkit Spread, developed at Johns Hopkins XUniversity's Center for Networking and Distributed Systems. Xmod_log_spread was developed to solve the problem of collecting Xconsolidated access logs for large web farms. In particular, the Xsolution needed to be scalable to hundreds of machines, utilize a Xreliable network transport, allow machines to added or dropped on Xthe fly, and impose minimal performance impact on the webservers. XCurrent version is 1.0.3p3. This makes a fix to a stupid vhost Xlogging bug as well as providing a complete and flexible log-writing Xsolution. X XWWW: http://www.lethargy.org/mod_log_spread/ END-of-www/mod_log_spread/pkg-descr echo x - www/mod_log_spread/distinfo sed 's/^X//' >www/mod_log_spread/distinfo << 'END-of-www/mod_log_spread/distinfo' XMD5 (mod_log_spread-1.0.4.tar.gz) = 2833402e15fcb05d6d493200157635ba XSIZE (mod_log_spread-1.0.4.tar.gz) = 26984 END-of-www/mod_log_spread/distinfo echo x - www/mod_log_spread/Makefile sed 's/^X//' >www/mod_log_spread/Makefile << 'END-of-www/mod_log_spread/Makefile' X# New ports collection makefile for: mod_log_spread X# Date created: 2005-05-08 X# Whom: Meno Abels X# X# $FreeBSD$ X# X XPORTNAME= mod_log_spread XPORTVERSION= 1.0.4 XCATEGORIES= www net XMASTER_SITES= http://www.lethargy.org/mod_log_spread/ X XMAINTAINER= meno.abels@adviser.com XCOMMENT= The mod_log_spread provides an interface for spread X XLIB_DEPENDS= spread.1:${PORTSDIR}/net/spread XBUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_APACHE= yes XSO= so X X.include X XDOCS= CHANGELOG INSTALL LICENSE README README.spread \ X error_log_spread.pl sample_configurations.txt \ X spreadlogd.README spread.html X Xdo-build: X cd ${WRKSRC} && ${APXS} -I${PREFIX}/include -c mod_log_spread.c X Xdo-install: X ${APXS} -i -a -n log_spread ${WRKSRC}/mod_log_spread.${SO} X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include END-of-www/mod_log_spread/Makefile echo c - www/mod_log_spread/files mkdir -p www/mod_log_spread/files > /dev/null 2>&1 echo x - www/mod_log_spread/files/patch-mod_log_spread.c sed 's/^X//' >www/mod_log_spread/files/patch-mod_log_spread.c << 'END-of-www/mod_log_spread/files/patch-mod_log_spread.c' X--- mod_log_spread.c.orig Thu Aug 16 04:27:58 2001 X+++ mod_log_spread.c Wed May 11 06:55:14 2005 X@@ -895,7 +895,7 @@ X static int spread_multicast_log_to_daemon(request_rec *r, char *group_name, int daemon_index, char *str, int len) X { X int sperror; X- char *src; X+ const char *src; X char tmpgrp[MAX_GROUP_NAME]; X char lchostname[1024]; X char *dst = lchostname; END-of-www/mod_log_spread/files/patch-mod_log_spread.c exit >Release-Note: >Audit-Trail: >Unformatted: