Re: mod_log_spread with MP2.0
Mikkel Kruse Johnsen <[email protected]> Thu, 09 Oct 2003 09:36:34 +0200
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Organization | ITS |
| Message-ID | <[email protected]> |
--Boundary_(ID_6wQ6JKBxVv1i9GGR/0RTcA) Content-type: multipart/alternative; boundary="Boundary_(ID_c2eyu8vtnerqikRZ78xOoQ)" --Boundary_(ID_c2eyu8vtnerqikRZ78xOoQ) Content-type: text/plain Content-transfer-encoding: 7BIT Hi Richard Yes, I have it compiling, just remember that you need apache 2.0.44 or greater. (Im using 2.0.47 and it works fine). /usr/sbin/apxs -c -I/usr/include -I/usr/lib -L/usr/lib -lspread mod_log_spread.c /Mikkel On Wed, 2003-10-08 at 18:24, Richard F. Rebel wrote: > Hello, > > I was wondering if anyone was working on getting mod_log_spread to work > with apache 2.0 or if it already does. > > I don't really know what's involved in porting as I don't know much > about the apache project other than using it so any help from the > original developers would be appreciated. > > Thanks -- Mikkel Kruse Johnsen <[email protected]> ITS --Boundary_(ID_c2eyu8vtnerqikRZ78xOoQ) Content-type: text/html; charset=utf-8 Content-transfer-encoding: 7BIT <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9"> </HEAD> <BODY> Hi Richard<BR> <BR> Yes, I have it compiling, just remember that you need apache 2.0.44 or greater. (Im using 2.0.47 and it works fine).<BR> <BR> /usr/sbin/apxs -c -I/usr/include -I/usr/lib -L/usr/lib -lspread mod_log_spread.c<BR> <BR> /Mikkel<BR> <BR> <BR> On Wed, 2003-10-08 at 18:24, Richard F. Rebel wrote: <BLOCKQUOTE TYPE=CITE> <PRE><FONT COLOR="#737373"><I>Hello, I was wondering if anyone was working on getting mod_log_spread to work with apache 2.0 or if it already does. I don't really know what's involved in porting as I don't know much about the apache project other than using it so any help from the original developers would be appreciated. Thanks</I></FONT></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> -- <BR> Mikkel Kruse Johnsen <<A HREF="mailto:[email protected]"><U>[email protected]</U></A>><BR> ITS </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --Boundary_(ID_c2eyu8vtnerqikRZ78xOoQ)-- --Boundary_(ID_6wQ6JKBxVv1i9GGR/0RTcA) Content-type: text/plain; name=mod_log_spread.spec; charset=UTF-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=mod_log_spread.spec %define confdir /etc/httpd/conf %define confddir /etc/httpd/conf.d %define moddir /usr/lib/httpd/modules Summary: mod_log_spread provides an interface for spread to multicast access logs. Name: mod_log_spread Version: 20030930 Release: 9 License: Apache Group: System Environment/Daemons URL: http://www.backhand.org/mod_log_spread/ Source0: %{name}-%{version}.tar.gz Source1: mod_log_spread.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildPrereq: httpd-devel >= 2.0.47, spread-devel >= 3.17.1 Requires: httpd >= 2.0.47, spread >= 3.17.1 %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. %prep %setup -q %build /usr/sbin/apxs -c -I/usr/include -I/usr/lib -L/usr/lib -lspread mod_log_spread.c %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{confddir} install -d -m 755 $RPM_BUILD_ROOT%{moddir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{confddir} install -m 755 .libs/mod_log_spread.so $RPM_BUILD_ROOT%{moddir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGELOG FILES INSTALL LICENSE README README.spread TODO %{confddir}/mod_log_spread.conf %{moddir}/*.so %changelog * Tue Sep 30 2003 Mikkel Kruse Johnsen <[email protected]> - Initial build. --Boundary_(ID_6wQ6JKBxVv1i9GGR/0RTcA) Content-type: text/plain; name=mod_log_spread.conf; charset=UTF-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=mod_log_spread.conf # # 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 # LoadModule log_spread_module modules/mod_log_spread.so --Boundary_(ID_6wQ6JKBxVv1i9GGR/0RTcA)--