From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 4 04:50:16 2003 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 5185537B401 for ; Mon, 4 Aug 2003 04:50:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C59C043F3F for ; Mon, 4 Aug 2003 04:50:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h74BoFUp099886 for ; Mon, 4 Aug 2003 04:50:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h74BoF3h099885; Mon, 4 Aug 2003 04:50:15 -0700 (PDT) Date: Mon, 4 Aug 2003 04:50:15 -0700 (PDT) Message-Id: <200308041150.h74BoF3h099885@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Clement Laforet Subject: Re: ports/55211: www/mod_accounting: CVS version, which is in port is not usable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 11:50:16 -0000 The following reply was made to PR ports/55211; it has been noted by GNATS. From: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/55211: www/mod_accounting: CVS version, which is in port is not usable Date: Mon, 4 Aug 2003 13:43:12 +0200 grrrr ! sorry fir the inconvenience. Here's a patch diff -Nru mod_accounting.old/Makefile mod_accounting/Makefile --- mod_accounting.old/Makefile Mon Aug 4 09:12:15 2003 +++ mod_accounting/Makefile Mon Aug 4 09:33:53 2003 @@ -7,15 +7,11 @@ PORTNAME= mod_accounting PORTVERSION= 0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mod-acct -PATCH_SITES= http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/ -PATCHFILES= mod_accounting-patch-0.5_to_0.6-cvs.gz -PATCH_DIST_STRIP=-p1 - MAINTAINER= sheepkiller@cultdeadsheep.org COMMENT= An Apache module that records traffic statistics into a database @@ -55,7 +51,7 @@ LIB_DEPENDS+= mysqlclient.${MYSQL${MYSQL_VER}_LIBVER}:${PORTSDIR}/databases/mysql${MYSQL_VER}-client .endif -DOCS= README docs/FAQ.txt LICENSE +DOCS= README FAQ.txt LICENSE pre-everything:: @${ECHO} "" @@ -67,12 +63,11 @@ @${ECHO} "" @${ECHO} " WITHOUT_MYSQL Disable MySQL support" @${ECHO} " WITHOUT_PGSQL Disable PostgreSQL support" - @${ECHO} " WITHOUT_PLAINTEXT Disable file (plain text) support" @${ECHO} "" post-install: @${MKDIR} ${PREFIX}/share/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/docs/schema.sql ${PREFIX}/share/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/schema.sql ${PREFIX}/share/${PORTNAME} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for doc in ${DOCS} diff -Nru mod_accounting.old/distinfo mod_accounting/distinfo --- mod_accounting.old/distinfo Mon Aug 4 09:12:15 2003 +++ mod_accounting/distinfo Mon Aug 4 09:31:38 2003 @@ -1,2 +1 @@ MD5 (mod_accounting-0.5.tar.gz) = fc045bbdc5ae32241765fea2967a63fb -MD5 (mod_accounting-patch-0.5_to_0.6-cvs.gz) = 36fd89d7d7b9d7ff6744e72f3d50e85a diff -Nru mod_accounting.old/files/patch-Makefile mod_accounting/files/patch-Makefile --- mod_accounting.old/files/patch-Makefile Mon Aug 4 09:12:15 2003 +++ mod_accounting/files/patch-Makefile Mon Aug 4 09:14:37 2003 @@ -1,16 +1,17 @@ ---- Makefile.back Wed Jul 30 09:41:20 2003 -+++ Makefile Wed Jul 30 09:40:23 2003 -@@ -5,13 +5,27 @@ +--- Makefile.orig Sun Dec 30 14:11:43 2001 ++++ Makefile Tue Nov 19 21:07:22 2002 +@@ -5,13 +5,24 @@ ## # the used tools -APXS=apxs --APACHECTL=apachectl ++#APXS=apxs + APACHECTL=apachectl - # here's what you may need to change --DEF=-DNEED_POSTGRES -DNEED_MYSQL -DNEED_PLAINTEXT --INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/ -I/opt/postgresql/include -I/opt/mysql/include --LIB=-L/opt/postgresql/lib -L/usr/local/pgsql/lib -lpq -L/opt/mysql/lib/mysql/ -L/usr/local/mysql/lib/mysql/ -lmysqlclient +-# here's what you may need to change +-DEF=-DNEED_POSTGRES -DNEED_MYSQL +-INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/ +-LIB=-L/usr/local/pgsql/lib -lpq -L/usr/local/mysql/lib/mysql/ -lmysqlclient +.if !defined(WITHOUT_PGSQL) +DEF_PGSQL= -DNEED_POSTGRES +INC_PGSQL= -I${LOCALBASE}/include @@ -23,13 +24,10 @@ +LIB_MYSQL= -L${LOCALBASE}/lib/mysql -lmysqlclient +.endif + -+.if !defined(WITHOUT_PLAINTEXT) -+DEF_PLAINTEXT=-DNEED_PLAINTEXT -+.endif -+ -+DEF=${DEF_MYSQL} ${DEF_PGSQL} ${DEF_PLAINTEXT} ++DEF=${DEF_MYSQL} ${DEF_PGSQL} +INC=${INC_MYSQL} ${INC_PGSQL} +LIB=${LIB_MYSQL} ${LIB_PGSQL} # the default target all: mod_accounting.so +