Date: 4 Oct 2004 14:57:09 -0000 From: Colin Percival <cperciva@daemonology.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72310: [MAINTAINER UPDATE] security/freebsd-update Message-ID: <20041004145709.2266.qmail@hexahedron.daemonology.net> Resent-Message-ID: <200410041500.i94F0su1059730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72310 >Category: ports >Synopsis: [MAINTAINER UPDATE] security/freebsd-update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 04 15:00:53 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 5.2.1-SECURITY i386 >Organization: >Environment: System: FreeBSD hexahedron.daemonology.net 5.2.1-SECURITY FreeBSD 5.2.1-SECURITY #0: Wed May 26 04:19:54 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: If `freebsd-update cron` fails due to a lack of internet connection, two emails will be sent -- one with the error message from fetch(1), and the other from freebsd-update reporting that patches could not be downloaded. This patch corrects this mis-behaviour and causes a single email to be sent in such an event; this will be included in a future version of the distfile. >How-To-Repeat: >Fix: Modify the Makefile, and add files/patch-aa-redir2: --- patch begins here --- --- security/freebsd-update/Makefile 15 Jul 2004 05:22:47 -0000 1.13 +++ security/freebsd-update/Makefile 4 Oct 2004 14:51:25 -0000 @@ -7,6 +7,7 @@ PORTNAME= freebsd-update PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.daemonology.net/freebsd-update/ --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ security/freebsd-update/files/patch-aa-redir2 3 Oct 2004 20:12:52 -0000 @@ -0,0 +1,11 @@ +--- freebsd-update Sun Oct 3 21:08:21 2004 ++++ freebsd-update Sun Oct 3 21:12:04 2004 +@@ -371,7 +371,7 @@ + + # Fetch updates; send output to a file, and + # append a message in case of error. +- real-fetch-update > $WRKDIR/log || ++ real-fetch-update > $WRKDIR/log 2>&1 || + echo "Error fetching updates" >> $WRKDIR/log + + # Send an email to root if $VERBOSE == yes, or --- patch-aa-redir2 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041004145709.2266.qmail>