From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 4 15:00:54 2004 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 62EE116A4D0 for ; Mon, 4 Oct 2004 15:00:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B2B43D41 for ; Mon, 4 Oct 2004 15:00:54 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i94F0s1o059731 for ; Mon, 4 Oct 2004 15:00:54 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i94F0su1059730; Mon, 4 Oct 2004 15:00:54 GMT (envelope-from gnats) Resent-Date: Mon, 4 Oct 2004 15:00:54 GMT Resent-Message-Id: <200410041500.i94F0su1059730@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Colin Percival Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93F7116A4CE for ; Mon, 4 Oct 2004 14:57:20 +0000 (GMT) Received: from tx3.oucs.ox.ac.uk (tx3.oucs.ox.ac.uk [163.1.2.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id F041743D58 for ; Mon, 4 Oct 2004 14:57:19 +0000 (GMT) (envelope-from cperciva@hexahedron.daemonology.net) Received: from scan3.oucs.ox.ac.uk ([163.1.2.166] helo=localhost) by tx3.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1CEUH8-0002Uh-PO for FreeBSD-gnats-submit@freebsd.org; Mon, 04 Oct 2004 15:57:18 +0100 Received: from rx3.oucs.ox.ac.uk ([163.1.2.165]) by localhost (scan3.oucs.ox.ac.uk [163.1.2.166]) (amavisd-new, port 25) with ESMTP id 08816-09 for ; Mon, 4 Oct 2004 15:57:18 +0100 (BST) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx3.oucs.ox.ac.uk with smtp (Exim 4.24) id 1CEUH8-0002U7-Aq for FreeBSD-gnats-submit@freebsd.org; Mon, 04 Oct 2004 15:57:18 +0100 Received: (qmail 10442 invoked by uid 1004); 4 Oct 2004 14:57:12 -0000 Received: from cperciva@hexahedron.daemonology.net by gateway by uid 71 with qmail-scanner-1.20 (clamscan: 0.67. sweep: 2.18/3.79. Clear:RC:1(163.1.161.203):. Processed in 2.378455 secs); 04 Oct 2004 14:57:12 -0000 Received: from dhcp1203.wadham.ox.ac.uk (HELO hexahedron.daemonology.net) (163.1.161.203) by gateway.wadham.ox.ac.uk with SMTP; 4 Oct 2004 14:57:09 -0000 Received: (qmail 2267 invoked by uid 1001); 4 Oct 2004 14:57:09 -0000 Message-Id: <20041004145709.2266.qmail@hexahedron.daemonology.net> Date: 4 Oct 2004 14:57:09 -0000 From: Colin Percival To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72310: [MAINTAINER UPDATE] security/freebsd-update X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Colin Percival List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 15:00:54 -0000 >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: