From owner-freebsd-questions Mon Oct 30 20: 3: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from area51.v-wave.com (area51.v-wave.com [24.108.52.213]) by hub.freebsd.org (Postfix) with SMTP id BB0E137B479 for ; Mon, 30 Oct 2000 20:03:02 -0800 (PST) Received: (qmail 33061 invoked by uid 1001); 31 Oct 2000 04:03:03 -0000 Date: Mon, 30 Oct 2000 21:03:03 -0700 From: Chris Wasser To: Kent Stewart Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to find out new ports after cvsup Message-ID: <20001030210303.B32876@area51.v-wave.com> References: <20001030154947.A92101@dusty.galima.2y.net> <39FDF03E.8B5B4633@urx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <39FDF03E.8B5B4633@urx.com>; from kstewart@urx.com on Mon, Oct 30, 2000 at 02:03:42PM -0800 X-Operating-System: FreeBSD 4.1.1-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Oct 30, 2000 at 02:03:42PM -0800, Kent Stewart wrote: > Alexander Anderson wrote: > > Eventually, I would like to set up a cron job to fetch the new ports > > periodically. I would also like to send myself an email listing all the > > updates in the ports collection. Is it doable? >=20 > It depends on what you want to see. You could redirect the output from > cvsup to a log file. I don't do this on my ports but do it to all of > my updates to stable. There are some utilities in the cvsup package > that will convert the log to HTML and you can browse through the > changes with something that processes HTML. I just happen to use KDE. > When I convert the cvsup.log to HTML, I add the > year-month-day-hour-minute to the name. The top part of my upworld > shell script looks like I actually came across a script that was posted to the mailing list some time ago which produces output as such: --- start output Ports available: 4004 (last port index update 4 days ago) Ports installed: 64 The following installed ports should be updated: Port name /usr/ports Installed Port location -------------------------------------------------------------------------- png 1.0.8_1 1.0.8 /usr/ports/graphics/png rpm 3.0.6_3 2.5.6 /usr/ports/misc/rpm The following ports are installed but are no longer available in /usr/ports (or now have a different name) and should be considered for deletion: TekNap-1.2 --- end output It's a nice little perl script by Thomas Sch=FCrger , you could mail him for it, I've also put it online for anyone who's interested in getting it: http://plaza.v-wave.com/cwasser/ports-updates.pl I simply cron it every night every my ports cvsup and it reports to me which ports require updating. htth, Chris Wasser. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message