[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>
This commit is contained in:
parent
533e842958
commit
ac8766ced4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118754
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= freebsd-update
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.daemonology.net/freebsd-update/
|
||||
|
||||
|
11
security/freebsd-update/files/patch-aa-redir2
Normal file
11
security/freebsd-update/files/patch-aa-redir2
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user