Accepting request 307129 from home:vitezslav_cizek:branches:Base:System
- 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 OBS-URL: https://build.opensuse.org/request/show/307129 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=83
This commit is contained in:
parent
234260b2dd
commit
56894f6274
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:163b51841de8ad19276581a6782d61f5948f1f72a0a843371a1c167d3dc4f3b0
|
||||
size 2493373
|
3
sudo-1.8.13.tar.gz
Normal file
3
sudo-1.8.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e374e5edf2c11c00d6916a9f51cb0ad15e51c7b028370fa15169b07e61e05a25
|
||||
size 2515307
|
@ -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 @@ From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762465
|
||||
+ 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;
|
||||
|
39
sudo.changes
39
sudo.changes
@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 12:47:49 UTC 2015 - vcizek@suse.com
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 22 15:29:28 UTC 2015 - vcizek@suse.com
|
||||
|
||||
|
@ -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 %{SOURCE3} %{buildroot}/var/lib/tests/sudo
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user