OBS User unknown 2007-10-04 01:12:16 +00:00 committed by Git OBS Bridge
parent a0fd879071
commit ef4d6a4712
14 changed files with 48 additions and 41 deletions

View File

@ -1,22 +0,0 @@
--- parse.c
+++ parse.c
@@ -479,7 +479,7 @@
struct group *grp;
gid_t pw_gid;
char **cur;
- int n;
+ int i;
/* make sure we have a valid usergroup, sudo style */
if (*group++ != '%')
@@ -500,8 +500,8 @@
/*
* If the user has a supplementary group vector, check it first.
*/
- for (n = user_ngroups; n != 0; n--) {
- if (grp->gr_gid == user_groups[n])
+ for (i = 0; i < user_ngroups; i++) {
+ if (grp->gr_gid == user_groups[i])
return(TRUE);
}
if (grp->gr_mem != NULL) {

View File

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

View File

@ -1,6 +1,6 @@
--- configure.in
+++ configure.in
@@ -2203,7 +2203,7 @@
@@ -2258,7 +2258,7 @@
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}"
LIBS="$_LIBS"

View File

@ -29,14 +29,14 @@
--- sudoers.man.in
+++ sudoers.man.in
@@ -893,6 +893,11 @@
.el .IP "\f(CW%h\fR" 8
.el .IP "\f(CW%h\fR" 4
.IX Item "%h"
expanded to the local hostname without the domain name
+.ie n .IP "%p" 8
+.el .IP "\f(CW%p\fR" 8
+.ie n .IP "%p" 4
+.el .IP "\f(CW%p\fR" 4
+.IX Item "%p"
+expanded to the login name of the user whose password
+is requested
.ie n .IP "%U" 8
.el .IP "\f(CW%U\fR" 8
.ie n .IP "%U" 4
.el .IP "\f(CW%U\fR" 4
.IX Item "%U"

3
sudo-1.6.9p5.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Sep 25 12:07:05 CEST 2007 - prusnak@suse.cz
- update to 1.6.9p5
* fixed a bug related to supplemental group matching
* added IPv6 support from YOSHIFUJI Hideaki
* fixed the sudo_noexec installation path
* fixed a compilation error on old K&R-style compilers
* fixed a bug in the IP address matching introduced by the IPV6 merge
* for "visudo -f file" we now use the permissions of the original file
and not the hard-coded sudoers owner/group/mode
(this makes it possible to use visudo with a revision control system)
* fixed sudoedit when used on a non-existent file
* regenerated configure using autoconf 2.6.1 and libtool 1.5.24
* groups and netgroups are now valid in an LDAP sudoRunas statement
- dropped obsolete patches:
* groupmatch.patch (included in update)
-------------------------------------------------------------------
Tue Aug 28 11:41:51 CEST 2007 - prusnak@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package sudo (Version 1.6.9p2)
# spec file for package sudo (Version 1.6.9p5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -13,12 +13,12 @@
Name: sudo
BuildRequires: openldap2-devel pam-devel postfix
PreReq: coreutils
Version: 1.6.9p2
Release: 13
Autoreqprov: on
Version: 1.6.9p5
Release: 1
AutoReqProv: on
Group: System/Base
License: BSD 3-Clause
URL: http://www.sudo.ws/
Url: http://www.sudo.ws/
Summary: Execute some commands as root
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.pamd
@ -31,7 +31,6 @@ Patch5: %{name}-%{version}-prompt.diff
Patch6: %{name}-%{version}-secure_path.diff
Patch7: %{name}-%{version}-ldap.diff
Patch8: %{name}-%{version}-env.diff
Patch9: %{name}-%{version}-groupmatch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -61,7 +60,6 @@ Authors:
%patch6
%patch7
%patch8
%patch9
cp %{S:1} %{S:2} .
%build
@ -106,8 +104,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc BUGS CHANGES HISTORY LICENSE PORTING README README.LDAP README.SUSE
%doc TODO TROUBLESHOOTING *.pod
%doc BUGS CHANGES HISTORY LICENSE PORTING README README.LDAP README.SUSE TROUBLESHOOTING *.pod
%doc %{_mandir}/man?/*
%config(noreplace) %attr(0440,root,root) %{_sysconfdir}/sudoers
%config %{_sysconfdir}/pam.d/sudo
@ -116,8 +113,22 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/*
%{_libexecdir}/sudo
/var/run/sudo
%changelog
* Tue Sep 25 2007 - prusnak@suse.cz
- update to 1.6.9p5
* fixed a bug related to supplemental group matching
* added IPv6 support from YOSHIFUJI Hideaki
* fixed the sudo_noexec installation path
* fixed a compilation error on old K&R-style compilers
* fixed a bug in the IP address matching introduced by the IPV6 merge
* for "visudo -f file" we now use the permissions of the original file
and not the hard-coded sudoers owner/group/mode
(this makes it possible to use visudo with a revision control system)
* fixed sudoedit when used on a non-existent file
* regenerated configure using autoconf 2.6.1 and libtool 1.5.24
* groups and netgroups are now valid in an LDAP sudoRunas statement
- dropped obsolete patches:
* groupmatch.patch (included in update)
* Tue Aug 28 2007 - prusnak@suse.cz
- build --without-secure-path
- hardcoded secure path changed to /usr/sbin:/bin:/usr/bin:/sbin