From owner-freebsd-ports@FreeBSD.ORG Wed Dec 1 17:23:09 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 571F816A4CE for ; Wed, 1 Dec 2004 17:23:09 +0000 (GMT) Received: from ms002msg.fastwebnet.it (ms002msg.fastwebnet.it [213.140.2.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id D462043D3F for ; Wed, 1 Dec 2004 17:23:07 +0000 (GMT) (envelope-from mij@bitchx.it) Received: from [192.168.2.2] (1.11.161.65) by ms002msg.fastwebnet.it (7.0.036) (authenticated as michele.mazzucchi) id 41A7394B001F0DE8 for freebsd-ports@freebsd.org; Wed, 1 Dec 2004 18:23:06 +0100 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <200411281000.iASA0js8097363@freefall.freebsd.org> References: <200411281000.iASA0js8097363@freefall.freebsd.org> Content-Type: multipart/mixed; boundary=Apple-Mail-2--939465745 Message-Id: From: Mij Date: Wed, 1 Dec 2004 18:23:05 +0100 To: freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.619) Subject: Re: Possibly unbuildable ports reminder X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 17:23:09 -0000 --Apple-Mail-2--939465745 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Port fix for mail/qmrtg (BROKEN) has been provided on 15 nov. this is a copy of that patch. --Apple-Mail-2--939465745 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0444; name="qmrtg-0.5.7_1.diff" Content-Disposition: attachment; filename=qmrtg-0.5.7_1.diff diff -ruN qmrtg.bak/Makefile qmrtg/Makefile --- qmrtg.bak/Makefile Sat Nov 13 03:31:01 2004 +++ qmrtg/Makefile Mon Nov 15 13:41:19 2004 @@ -7,14 +7,13 @@ PORTNAME= qmrtg PORTVERSION= 0.5.7 +PORTREVISION= 1 CATEGORIES= mail net-mgmt MASTER_SITES= http://dev.publicshout.org/qmrtg/download/ MAINTAINER= mij@bitchx.it COMMENT= A simple tool for monitoring and graphing qmail activity through MRTG -BROKEN= "Creates the /nonexistent directory" - RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \ mrtg:${PORTSDIR}/net-mgmt/mrtg @@ -23,7 +22,9 @@ # this is the local apache documentroot WWWROOTDIR?= ${PREFIX}/www/data -QMRTG_DBDIR?= ${PORT_DBDIR}/../${PORTNAME} +QMRTG_DBDIR?= /var/db/${PORTNAME} + +PLIST_SUB= QMRTG_DBDIR=${QMRTG_DBDIR} post-install: # in_stall manpages diff -ruN qmrtg.bak/pkg-message qmrtg/pkg-message --- qmrtg.bak/pkg-message Mon Jun 28 12:29:09 2004 +++ qmrtg/pkg-message Mon Nov 15 13:41:19 2004 @@ -11,12 +11,12 @@ you must at least set the 'WorkDir:' variable and qmail log paths (search for '/var/log/supervise/qmail' and adapt to your system) b) configure qmrtg.conf. Defaults are fine generally. At least copy -${PREFIX}/qmrtg.conf.sample to "qmrtg.conf". +${PREFIX}/etc/qmrtg.conf.sample to "qmrtg.conf". c) make mrtg run automatically. Using cron, put that in "/etc/crontab": */5 * * * * root /usr/local/bin/mrtg \ /usr/local/www/data/qmrtg/cfg/mrtg.cfg 1>/dev/null 2>&1 Note: to skip qmrtg reporting your mx' whole history at the first call, -run the following before "c)" +run the following before point "c)" $ qmrtgsync.sh diff -ruN qmrtg.bak/pkg-plist qmrtg/pkg-plist --- qmrtg.bak/pkg-plist Mon Jun 28 12:29:09 2004 +++ qmrtg/pkg-plist Mon Nov 15 13:41:19 2004 @@ -14,5 +14,5 @@ %%PORTDOCS%%%%EXAMPLESDIR%%/mrtg.cfg %%PORTDOCS%%%%EXAMPLESDIR%%/qmrtg.conf.sample %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -@exec mkdir -p /var/db/qmrtg -@unexec rm -rf /var/db/qmrtg +@exec mkdir -p %%QMRTG_DBDIR%% +@unexec rm -rf %%QMRTG_DBDIR%% 2>&1 >/dev/null || true --Apple-Mail-2--939465745 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Il giorno 28/nov/04, alle 11:00, Bill Fenner ha scritto: > Dear porters, > > This is just a reminder to please periodically check the list of > unbuildable ports at http://pointyhat.freebsd.org/errorlogs/ . > A list by MAINTAINER is > > http://people.freebsd.org/~fenner/errorlogs/ > > so you can easily check the status of ports that you maintain. In > addition, the list of ports with no MAINTAINER with build problems is > > http://people.freebsd.org/~fenner/errorlogs/ports@freebsd.org.html > > Since no one is responsible for these ports, the problem won't get fixed unless someone on this list takes the initiative. > > Thanks for your help! > > Bill "annoying port email" Fenner > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" > --Apple-Mail-2--939465745--