From owner-freebsd-ports Sun Oct 28 23:10:18 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A2F8137B405 for ; Sun, 28 Oct 2001 23:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9T7A1v92186; Sun, 28 Oct 2001 23:10:01 -0800 (PST) (envelope-from gnats) Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id 122F437B408 for ; Sun, 28 Oct 2001 23:03:54 -0800 (PST) Received: by totem.fix.no (Postfix, from userid 1000) id DA8AD3D3C; Mon, 29 Oct 2001 08:03:52 +0100 (CET) Message-Id: <20011029070352.DA8AD3D3C@totem.fix.no> Date: Mon, 29 Oct 2001 08:03:52 +0100 (CET) From: Anders Nordby Reply-To: Anders Nordby To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/31576: New port: www/mod_mylo Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31576 >Category: ports >Synopsis: New port: www/mod_mylo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 28 23:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: FreeBSD 4.4-STABLE i386 >Organization: Fluxpod Information eXchange >Environment: >Description: New port of mod_mylo, an Apache module to make Apache log to MySQL. >How-To-Repeat: >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: # # mod_mylo # mod_mylo/distinfo # mod_mylo/pkg-descr # mod_mylo/pkg-plist # mod_mylo/pkg-comment # mod_mylo/Makefile # mod_mylo/pkg-message # echo c - mod_mylo mkdir -p mod_mylo > /dev/null 2>&1 echo x - mod_mylo/distinfo sed 's/^X//' >mod_mylo/distinfo << 'END-of-mod_mylo/distinfo' XMD5 (mod_mylo-0.2.tgz) = a5e740c8cef5dec7fb96948b7cb2952a END-of-mod_mylo/distinfo echo x - mod_mylo/pkg-descr sed 's/^X//' >mod_mylo/pkg-descr << 'END-of-mod_mylo/pkg-descr' XThis is a module for Apache that sends logs directly to a MySQL database in Xaddition to normal logging. X XWWW: http://www.orakel.ntnu.no/~oyving/code/mod_mylo/ X X- Anders Nordby END-of-mod_mylo/pkg-descr echo x - mod_mylo/pkg-plist sed 's/^X//' >mod_mylo/pkg-plist << 'END-of-mod_mylo/pkg-plist' Xlibexec/apache/mod_mylo.so X@exec %D/sbin/apxs -e -A -n mylo %D/%F X@unexec %D/sbin/apxs -e -A -n mylo %D/%F X%%PORTDOCS%%share/doc/mod_mylo/mod_mylo.sql X%%PORTDOCS%%share/doc/mod_mylo/README X%%PORTDOCS%%@dirrm share/doc/mod_mylo END-of-mod_mylo/pkg-plist echo x - mod_mylo/pkg-comment sed 's/^X//' >mod_mylo/pkg-comment << 'END-of-mod_mylo/pkg-comment' XAn Apache module to make Apache log to MySQL END-of-mod_mylo/pkg-comment echo x - mod_mylo/Makefile sed 's/^X//' >mod_mylo/Makefile << 'END-of-mod_mylo/Makefile' X# New ports collection makefile for: mod_mylog X# Date created: 28 October 2001 X# Whom: Anders Nordby X# X# $FreeBSD$ X XPORTNAME= mod_mylo XPORTVERSION= 0.2 XCATEGORIES= www XMASTER_SITES= http://www.orakel.ntnu.no/~oyving/code/mod_mylo/ \ X ftp://ftp.nuug.no/pub/anders/distfiles/ XEXTRACT_SUFX= .tgz X XMAINTAINER= anders@fix.no X XBUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 XLIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client X XWRKSRC= ${WRKDIR}/${PORTNAME} X XAPXS= ${LOCALBASE}/sbin/apxs XDOCS= mod_mylo.sql README X Xpost-patch: X ${PERL} -pi -e "s@MyloErorr@MyloError@" ${WRKSRC}/README X Xdo-build: X (cd ${WRKSRC} && ${APXS} -c -I${LOCALBASE}/include \ X -L${LOCALBASE}/lib/mysql -lmysqlclient mod_mylo.c) X Xdo-install: X (cd ${WRKSRC} && ${APXS} -i -A -n 'mylo' mod_mylo.so) X.if !defined(NOPORTDOCS) X ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} X.for f in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ X.endfor X.endif X ${CAT} ${PKGMESSAGE} X X.include END-of-mod_mylo/Makefile echo x - mod_mylo/pkg-message sed 's/^X//' >mod_mylo/pkg-message << 'END-of-mod_mylo/pkg-message' X************************************************************ XYou've installed mod_mylo, an Apache module to make Apache Xlog to MySQL. X XEdit your apache.conf or httpd.conf to enable and setup this Xmodule. Have a look at the files in X${PREFIX}/share/doc/mod_mylo for information on how to Xconfigure it etc. X XThen do this to make it work effective: X X# apachectl configtest (see if there are any config errors) X# apachectl restart X X************************************************************ END-of-mod_mylo/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message