Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 18:23:05 +0100
From:      Mij <mij@bitchx.it>
To:        freebsd-ports@freebsd.org
Subject:   Re: Possibly unbuildable ports reminder
Message-ID:  <A99F3754-43BD-11D9-B8BB-000A95CCF092@bitchx.it>
In-Reply-To: <200411281000.iASA0js8097363@freefall.freebsd.org>
References:  <200411281000.iASA0js8097363@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A99F3754-43BD-11D9-B8BB-000A95CCF092>