Hello community, here is the log from the commit of package fetchmail for openSUSE:Factory checked in at 2017-05-06 18:30:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fetchmail (Old) and /work/SRC/openSUSE:Factory/.fetchmail.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fetchmail" Sat May 6 18:30:03 2017 rev:69 rq:492647 version:6.3.26 Changes: -------- --- /work/SRC/openSUSE:Factory/fetchmail/fetchmail.changes 2017-04-07 13:55:46.706529488 +0200 +++ /work/SRC/openSUSE:Factory/.fetchmail.new/fetchmail.changes 2017-05-06 18:30:17.793765643 +0200 @@ -1,0 +2,6 @@ +Fri Apr 28 13:55:29 UTC 2017 - pmonrealgonzalez@suse.com + + - Allow --syslog option in daemon mode (bsc#1033081). + * By default, the status messages are redirected to the syslog. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fetchmail.exec ++++++ --- /var/tmp/diff_new_pack.IXBJph/_old 2017-05-06 18:30:19.041589568 +0200 +++ /var/tmp/diff_new_pack.IXBJph/_new 2017-05-06 18:30:19.045589004 +0200 @@ -2,20 +2,26 @@ # fetchmail-systemd-exec: sysconfig helper script for systemd die() { - echo "$@" 1>&2 - exit 5 # closest thing among fetchmail's exit codes + echo "$@" 1>&2 + exit 5 # closest thing among fetchmail's exit codes } echo "$FETCHMAIL_POLLING_INTERVAL" | grep -Eq '^[0-9]+$' \ - || die 'invalid $FETCHMAIL_POLLING_INTERVAL setting' + || die 'invalid $FETCHMAIL_POLLING_INTERVAL setting' [ -r "$FETCHMAIL_RC_PATH" ] \ - || die '$FETCHMAIL_RC_PATH does not exist or cannot be read' + || die '$FETCHMAIL_RC_PATH does not exist or cannot be read' OPTS="-d $FETCHMAIL_POLLING_INTERVAL" [ "$FETCHMAIL_FETCHALL" = "yes" ] && OPTS="$OPTS -a" [ "$FETCHMAIL_SILENT" = "yes" ] && OPTS="$OPTS -s" [ "`whoami`" = "fetchmail" -a -z "$FETCHMAILHOME" ] && \ - export FETCHMAILHOME=/var/lib/fetchmail + export FETCHMAILHOME=/var/lib/fetchmail + +if [ "$FETCHMAIL_DEFAULT_LOGFILE" = "syslog" -o "$FETCHMAIL_DEFAULT_LOGFILE" = "" ]; then + OPTS="$OPTS --syslog" +else + OPTS="$OPTS -L $FETCHMAIL_DEFAULT_LOGFILE" +fi exec /usr/bin/fetchmail $OPTS $FETCHMAIL_EXPERT_OPTIONS \ - -f $FETCHMAIL_RC_PATH -L /var/log/fetchmail + -f $FETCHMAIL_RC_PATH ++++++ sysconfig.fetchmail ++++++ --- /var/tmp/diff_new_pack.IXBJph/_old 2017-05-06 18:30:19.121578282 +0200 +++ /var/tmp/diff_new_pack.IXBJph/_new 2017-05-06 18:30:19.121578282 +0200 @@ -28,6 +28,16 @@ FETCHMAIL_SILENT="no" ## Type: string +## Default: "syslog" +## Options: "syslog", "/path/to/file" +# +# This option allows to redirect status messages in daemon mode to the +# specified log file or syslog(3) system if available. If empty, status +# messages are redirected syslog. +# +FETCHMAIL_DEFAULT_LOGFILE="syslog" + +## Type: string ## Default: "" # # Any additional fetchmail options. See fetchmail(1) manual page for