commit sysconfig for openSUSE:Factory
Hello community, here is the log from the commit of package sysconfig for openSUSE:Factory checked in at 2012-03-19 10:07:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysconfig (Old) and /work/SRC/openSUSE:Factory/.sysconfig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sysconfig", Maintainer is "mt@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/sysconfig/sysconfig.changes 2012-02-16 16:23:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sysconfig.new/sysconfig.changes 2012-03-19 10:07:45.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Feb 27 10:46:45 UTC 2012 - werner@suse.de + +- In poll.tcpip avoid warnings messages of fetchmail by using the + owner ship of the system wide configuration file /etc/fechmailrc + which should be owned by the user and group mail. + +------------------------------------------------------------------- New: ---- sysconfig-0.76.1.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysconfig.spec ++++++ --- /var/tmp/diff_new_pack.P8b5ra/_old 2012-03-19 10:07:49.000000000 +0100 +++ /var/tmp/diff_new_pack.P8b5ra/_new 2012-03-19 10:07:49.000000000 +0100 @@ -31,6 +31,7 @@ BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %name-%version.tar.bz2 +Patch: %name-%version.dif %description This package provides the SuSE system configuration scheme and the @@ -50,6 +51,7 @@ %prep %setup -n sysconfig-%{version} +%patch %build autoreconf --force --install ++++++ sysconfig-0.76.1.dif ++++++ --- scripts/poll.tcpip +++ scripts/poll.tcpip 2012-02-27 10:39:54.430433600 +0000 @@ -86,13 +86,22 @@ done # # Do we get mails with fetchmail over pop3/imap? # We support only a system wide configuration -# file /etc/fetchmailrc. +# file /etc/fetchmailrc. Use the user id of the +# system wide configuration file, e.g. `mail'. +# For this the file /etc/fetchmailrc should have +# the permisssions 0600 and be owned by the user +# and the group `mail' # while true ; do test -x /usr/bin/fetchmail || break test -r /etc/fetchmailrc || break + mailid=$(stat -c '%U' /etc/fetchmailrc) checkproc /usr/bin/fetchmail && break - /usr/bin/fetchmail -f /etc/fetchmailrc + if test -n "$mailid" -a "$mailid" != root && type -p sudo > /dev/null 2>&1 ; then + sudo -u $mailid /usr/bin/fetchmail -f /etc/fetchmailrc + else + /usr/bin/fetchmail -f /etc/fetchmailrc + fi break done -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de