summaryrefslogtreecommitdiff
path: root/security/freebsd-update
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 03:17:31 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 03:17:31 +0000
commitac8766ced43d2592734aef17ebab5070f32f15e7 (patch)
tree9d6e3656bca5e4077f920121d7a748b4c4bf91bf /security/freebsd-update
parent[MAINTAINER] graphics/jumpgis: update to 1.1.2 (diff)
[MAINTAINER UPDATE] security/freebsd-update
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. PR: ports/72310 Submitted by: Colin Percival <cperciva@daemonology.net>
Notes
Notes: svn path=/head/; revision=118754
Diffstat (limited to 'security/freebsd-update')
-rw-r--r--security/freebsd-update/Makefile1
-rw-r--r--security/freebsd-update/files/patch-aa-redir211
2 files changed, 12 insertions, 0 deletions
diff --git a/security/freebsd-update/Makefile b/security/freebsd-update/Makefile
index dbbb9ca13951..f192a3a81079 100644
--- a/security/freebsd-update/Makefile
+++ b/security/freebsd-update/Makefile
@@ -7,6 +7,7 @@
PORTNAME= freebsd-update
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.daemonology.net/freebsd-update/
diff --git a/security/freebsd-update/files/patch-aa-redir2 b/security/freebsd-update/files/patch-aa-redir2
new file mode 100644
index 000000000000..983374844975
--- /dev/null
+++ b/security/freebsd-update/files/patch-aa-redir2
@@ -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