Accepting request 70788 from Base:System

update to 1.8.1p2

OBS-URL: https://build.opensuse.org/request/show/70788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=37
This commit is contained in:
Sascha Peilicke 2011-05-23 08:15:12 +00:00 committed by Git OBS Bridge
commit 56cee3fd8c
5 changed files with 59 additions and 20 deletions

View File

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

3
sudo-1.8.1p2.tar.bz2 Normal file
View File

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

View File

@ -1,13 +0,0 @@
Index: sudo-1.8.0/plugins/sudoers/Makefile.in
===================================================================
--- sudo-1.8.0.orig/plugins/sudoers/Makefile.in
+++ sudo-1.8.0/plugins/sudoers/Makefile.in
@@ -55,7 +55,7 @@ CPPFLAGS = -I$(incdir) -I$(top_builddir)
CFLAGS = @CFLAGS@
# Flags to pass to the link stage
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
SUDOERS_LDFLAGS = @SUDOERS_LDFLAGS@
# Where to install things...

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Fri May 20 12:10:45 UTC 2011 - puzel@novell.com
- update to sudo-1.8.1p2
- Two-character CIDR-style IPv4 netmasks are now matched
correctly in the sudoers file.
- A non-existent includedir is now treated the same as an empty
directory and not reported as an error.
- Removed extraneous parens in LDAP filter when
sudoers_search_filter is enabled that can cause an LDAP search
error.
- A new LDAP setting, sudoers_search_filter, has been added to
ldap.conf. This setting can be used to restrict the set of
records returned by the LDAP query. Based on changes from
Matthew Thomas.
- White space is now permitted within a User_List when used in
conjunction with a per-user Defaults definition.
- A group ID (%#gid) may now be specified in a User_List or
Runas_List. Likewise, for non-Unix groups the syntax is
%:#gid.
- Support for double-quoted words in the sudoers file has been
fixed. The change in 1.7.5 for escaping the double quote
character caused the double quoting to only be available at the
beginning of an entry.
- The fix for resuming a suspended shell in 1.7.5 caused problems
with resuming non-shells on Linux. Sudo will now save the
process group ID of the program it is running on suspend and
restore it when resuming, which fixes both problems.
- A bug that could result in corrupted output in "sudo -l" has
been fixed.
- Sudo will now create an entry in the utmp (or utmpx) file when
allocating a pseudo-tty (e.g. when logging I/O). The
"set_utmp" and "utmp_runas" sudoers file options can be used to
control this. Other policy plugins may use the "set_utmp" and
"utmp_user" entries in the command_info list.
- The sudoreplay utility now supports arbitrary session IDs.
Previously, it would only work with the base-36 session IDs
that the sudoers plugin uses by default.
- Sudo now passes "run_shell=true" to the policy plugin in the
settings list when sudo's -s command line option is specified.
The sudoers policy plugin uses this to implement the "set_home"
sudoers option which was missing from sudo 1.8.0.
- The "noexec" functionality has been moved out of the sudoers
policy plugin and into the sudo front-end, which matches the
behavior documented in the plugin writer's guide. As a result,
the path to the noexec file is now specified in the sudo.conf
file instead of the sudoers file.
- The exit values for "sudo -l", "sudo -v" and "sudo -l command"
have been fixed in the sudoers policy plugin.
- Sudo now parses command line arguments before loading any
plugins. This allows "sudo -V" or "sudo -h" to work even if
there is a problem with sudo.conf
- drop sudo-dont-ignore-LDFLAGS.patch (merged upstream)
-------------------------------------------------------------------
Thu Mar 17 10:24:49 UTC 2011 - puzel@novell.com

View File

@ -18,8 +18,8 @@
Name: sudo
Version: 1.8.0
Release: 1
Version: 1.8.1p2
Release: 5
License: BSD3c(or similar)
Summary: Execute some commands as root
Url: http://www.sudo.ws/
@ -28,7 +28,6 @@ Source0: http://sudo.ws/sudo/dist/%{name}-%{version}.tar.bz2
Source1: sudo.pamd
Source2: README.SUSE
Patch1: sudoers2ldif-env.patch
Patch2: sudo-dont-ignore-LDFLAGS.patch
Patch3: sudo-sudoers.patch
BuildRequires: audit-devel
BuildRequires: libselinux-devel
@ -58,7 +57,6 @@ These header files are needed for building of sudo plugins.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build