Hello community, here is the log from the commit of package sudo for openSUSE:Factory checked in at 2015-05-16 20:08:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sudo (Old) and /work/SRC/openSUSE:Factory/.sudo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sudo" Changes: -------- --- /work/SRC/openSUSE:Factory/sudo/sudo.changes 2015-02-27 10:56:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sudo.new/sudo.changes 2015-05-16 20:08:02.000000000 +0200 @@ -1,0 +2,39 @@ +Thu May 14 12:47:49 UTC 2015 - [email protected] + +- update to 1.8.13 + * The examples directory is now a subdirectory of the doc dir to + conform to Debian guidelines. Bug #682. + * Fixed a compilation error for siglist.c and signame.c on some + systems. Bug #686 + * Weak symbols are now used for sudo_warn_gettext() and + sudo_warn_strerror() in libsudo_util to avoid link errors when + -Wl,--no-undefined is used in LDFLAGS. The --disable-weak-symbols + configure option can be used to disable the user of weak symbols. + * Fixed a bug in sudo's mkstemps() replacement function that + prevented the file extension from being preserved in sudoedit. + * A new mail_all_cmnds sudoers flag will send mail when a user runs + a command (or tries to). The behavior of the mail_always flag has + been restored to always send mail when sudo is run. + * New "MAIL" and "NOMAIL" command tags have been added to toggle + mail sending behavior on a per-command (or Cmnd_Alias) basis. + * Fixed matching of empty passwords when sudo is configured to + use passwd (or shadow) file authentication on systems where the + crypt() function returns NULL for invalid salts. + * The "all" setting for listpw and verifypw now works correctly + with LDAP and sssd sudoers. + * The sudo timestamp directory is now created at boot time on + platforms that use systemd. + * Sudo will now restore the value of the SIGPIPE handler before + executing the command. + * Sudo now uses "struct timespec" instead of "struct timeval" for + time keeping when possible. If supported, sudoedit and visudo + now use nanosecond granularity time stamps. + * Fixed a symbol name collision with systems that have their own + SHA2 implementation. This fixes a problem where PAM could use + the wrong SHA2 implementation on Solaris 10 systems configured + to use SHA512 for passwords. + * The editor invoked by sudoedit once again uses an unmodified + copy of the user's environment as per the documentation. This + was inadvertantly changed in sudo 1.8.0. Bug #688. + +------------------------------------------------------------------- Old: ---- sudo-1.8.12.tar.gz New: ---- sudo-1.8.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sudo.spec ++++++ --- /var/tmp/diff_new_pack.L2bKSo/_old 2015-05-16 20:08:03.000000000 +0200 +++ /var/tmp/diff_new_pack.L2bKSo/_new 2015-05-16 20:08:03.000000000 +0200 @@ -17,7 +17,7 @@ Name: sudo -Version: 1.8.12 +Version: 1.8.13 Release: 0 Summary: Execute some commands as root License: ISC @@ -128,8 +128,6 @@ install -m 755 %{SOURCE4} %{buildroot}/var/lib/tests/sudo install -d %{buildroot}%{_docdir}/%{name}-test install -m 644 %{buildroot}%{_docdir}/%{name}/LICENSE %{buildroot}%{_docdir}/%{name}-test/LICENSE -mkdir -p %{buildroot}/%{_docdir}/sudo/examples/ -mv %{buildroot}/usr/share/examples/sudo/* %{buildroot}/%{_docdir}/sudo/examples/ %post chmod 0440 %{_sysconfdir}/sudoers ++++++ sudo-1.8.12.tar.gz -> sudo-1.8.13.tar.gz ++++++ ++++ 39576 lines of diff (skipped) ++++++ sudo-parse_boottime_properly.patch ++++++ --- /var/tmp/diff_new_pack.L2bKSo/_old 2015-05-16 20:08:03.000000000 +0200 +++ /var/tmp/diff_new_pack.L2bKSo/_new 2015-05-16 20:08:03.000000000 +0200 @@ -1,8 +1,10 @@ From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762465 ---- a/plugins/sudoers/boottime.c -+++ b/plugins/sudoers/boottime.c -@@ -80,6 +80,8 @@ +Index: sudo-1.8.13/plugins/sudoers/boottime.c +=================================================================== +--- sudo-1.8.13.orig/plugins/sudoers/boottime.c 2015-03-18 18:05:51.000000000 +0100 ++++ sudo-1.8.13/plugins/sudoers/boottime.c 2015-05-14 14:48:33.855294076 +0200 +@@ -79,6 +79,8 @@ get_boottime(struct timespec *ts) if (fp != NULL) { while ((len = getline(&line, &linesize, fp)) != -1) { if (strncmp(line, "btime ", 6) == 0) { @@ -10,4 +12,4 @@ + line[len - 1] = '\0'; long long llval = strtonum(line + 6, 1, LLONG_MAX, NULL); if (llval > 0) { - tv->tv_sec = (time_t)llval; + ts->tv_sec = (time_t)llval;
