Accepting request 89911 from Base:System

- update to sudo-1.8.3
  - Fixed expansion of strftime() escape sequences
    in the log_dir sudoers setting.
  - Esperanto, Italian and Japanese
    translations from translationproject.org.
  - Added --enable-werror configure option for gcc's
  -Werror flag.  - Visudo no longer
    assumes all editors support the +linenumber command line argument.
    It now uses a whitelist of editors known to support the option.
  - Fixed matching of network addresses when a netmask is specified but
    the address is not the first one in the CIDR block.
  - The configure script now check whether or not errno.h declares the
    errno variable. Previously, sudo would always declare errno itself
    for older systems that don't declare it in errno.h.
  - The NOPASSWD tag is now honored for denied commands too,
    which matches historic sudo behavior (prior to sudo 1.7.0).
  - Sudo now honors the DEREF
    setting in ldap.conf which controls how alias dereferencing is done
    during an LDAP search.
  - A symbol conflict with the
    pam_ssh_agent_auth PAM module that would cause a crash been
    resolved.
  - The inability to load a group provider plugin is no
    longer a fatal error.
  - A potential crash in the utmp handling
    code has been fixed.
  - Two PAM session issues have been resolved.
    In previous versions of sudo, the PAM session was opened as one
    user and closed as another. Additionally, if no authentication was
    performed, the PAM session would never be closed.

OBS-URL: https://build.opensuse.org/request/show/89911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=41
This commit is contained in:
Stephan Kulow 2011-11-02 11:18:43 +00:00 committed by Git OBS Bridge
commit ebf9822650
5 changed files with 44 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37fe6ee670329bc45937fbe402e847f80b3a0a1c8fc9a66487e92b4b810152b0
size 1465051

3
sudo-1.8.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff1fcc410c5465063ee4912912e29936ea39f017d9a8a57ec76b0ded71b7c3c4
size 1536180

View File

@ -1,12 +0,0 @@
Index: sudo-1.8.2/common/setgroups.c
===================================================================
--- sudo-1.8.2.orig/common/setgroups.c
+++ sudo-1.8.2/common/setgroups.c
@@ -33,6 +33,7 @@
#endif /* HAVE_UNISTD_H */
#include <errno.h>
#include <limits.h>
+#include <grp.h>
#include "missing.h"

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Mon Oct 24 08:42:33 UTC 2011 - vcizek@suse.com
- update to sudo-1.8.3
- Fixed expansion of strftime() escape sequences
in the log_dir sudoers setting.
- Esperanto, Italian and Japanese
translations from translationproject.org.
- Added --enable-werror configure option for gcc's
-Werror flag. - Visudo no longer
assumes all editors support the +linenumber command line argument.
It now uses a whitelist of editors known to support the option.
- Fixed matching of network addresses when a netmask is specified but
the address is not the first one in the CIDR block.
- The configure script now check whether or not errno.h declares the
errno variable. Previously, sudo would always declare errno itself
for older systems that don't declare it in errno.h.
- The NOPASSWD tag is now honored for denied commands too,
which matches historic sudo behavior (prior to sudo 1.7.0).
- Sudo now honors the DEREF
setting in ldap.conf which controls how alias dereferencing is done
during an LDAP search.
- A symbol conflict with the
pam_ssh_agent_auth PAM module that would cause a crash been
resolved.
- The inability to load a group provider plugin is no
longer a fatal error.
- A potential crash in the utmp handling
code has been fixed.
- Two PAM session issues have been resolved.
In previous versions of sudo, the PAM session was opened as one
user and closed as another. Additionally, if no authentication was
performed, the PAM session would never be closed.
- The LOGNAME,
USER and USERNAME environment variables are preserved correctly
again in sudoedit mode.
- grp-include.patch no longer needed
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 13 00:59:49 UTC 2011 - prusnak@opensuse.org Thu Oct 13 00:59:49 UTC 2011 - prusnak@opensuse.org

View File

@ -18,7 +18,7 @@
Name: sudo Name: sudo
Version: 1.8.2 Version: 1.8.3
Release: 1 Release: 1
License: BSD3c(or similar) License: BSD3c(or similar)
Summary: Execute some commands as root Summary: Execute some commands as root
@ -29,13 +29,12 @@ Source1: sudo.pamd
Source2: README.SUSE Source2: README.SUSE
Patch0: sudoers2ldif-env.patch Patch0: sudoers2ldif-env.patch
Patch1: sudo-sudoers.patch Patch1: sudo-sudoers.patch
Patch2: sudo-grp-include.patch
BuildRequires: audit-devel BuildRequires: audit-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: pam-devel BuildRequires: pam-devel
PreReq: coreutils Requires(pre): coreutils
PreReq: permissions Requires(pre): permissions
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -59,7 +58,6 @@ These header files are needed for building of sudo plugins.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%ifarch s390 s390x %sparc %ifarch s390 s390x %sparc