Add patch3 sudo.1.8.14b4-passexpire.patch that makes change in documentation about timestamp_time
Resolves: rhbz#1162070
This commit is contained in:
parent
9047d526fd
commit
af884a422e
38
sudo-1.8.14b4-docpassexpire.patch
Normal file
38
sudo-1.8.14b4-docpassexpire.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
diff -up sudo-1.8.14b4/doc/sudoers.cat.docpassexpire sudo-1.8.14b4/doc/sudoers.cat
|
||||||
|
--- sudo-1.8.14b4/doc/sudoers.cat.docpassexpire 2015-06-09 00:47:07.000000000 +0200
|
||||||
|
+++ sudo-1.8.14b4/doc/sudoers.cat 2015-07-14 13:11:11.116000185 +0200
|
||||||
|
@@ -1328,8 +1328,8 @@ SSUUDDOOEERRSS OOPPTTIIOONN
|
||||||
|
fractional component if minute granularity is
|
||||||
|
insufficient, for example 2.5. The default is 5. Set
|
||||||
|
this to 0 to always prompt for a password. If set to a
|
||||||
|
- value less than 0 the user's time stamp will never
|
||||||
|
- expire. This can be used to allow users to create or
|
||||||
|
+ value less than 0 the user's time stamp will not
|
||||||
|
+ expire until reboot. This can be used to allow users to create or
|
||||||
|
delete their own time stamps via ``sudo -v'' and ``sudo
|
||||||
|
-k'' respectively.
|
||||||
|
|
||||||
|
diff -up sudo-1.8.14b4/doc/sudoers.man.in.docpassexpire sudo-1.8.14b4/doc/sudoers.man.in
|
||||||
|
--- sudo-1.8.14b4/doc/sudoers.man.in.docpassexpire 2015-07-14 13:11:11.116000185 +0200
|
||||||
|
+++ sudo-1.8.14b4/doc/sudoers.man.in 2015-07-14 13:14:17.261222481 +0200
|
||||||
|
@@ -2822,7 +2822,7 @@ Set this to
|
||||||
|
to always prompt for a password.
|
||||||
|
If set to a value less than
|
||||||
|
\fR0\fR
|
||||||
|
-the user's time stamp will never expire.
|
||||||
|
+the user's time stamp will not expire until reboot.
|
||||||
|
This can be used to allow users to create or delete their own time stamps via
|
||||||
|
\(Lq\fRsudo -v\fR\(Rq
|
||||||
|
and
|
||||||
|
diff -up sudo-1.8.14b4/doc/sudoers.mdoc.in.docpassexpire sudo-1.8.14b4/doc/sudoers.mdoc.in
|
||||||
|
--- sudo-1.8.14b4/doc/sudoers.mdoc.in.docpassexpire 2015-04-07 18:15:50.000000000 +0200
|
||||||
|
+++ sudo-1.8.14b4/doc/sudoers.mdoc.in 2015-07-14 13:11:11.117000176 +0200
|
||||||
|
@@ -2647,7 +2647,7 @@ Set this to
|
||||||
|
to always prompt for a password.
|
||||||
|
If set to a value less than
|
||||||
|
.Li 0
|
||||||
|
-the user's time stamp will never expire.
|
||||||
|
+the user's time stamp will not expire until reboot.
|
||||||
|
This can be used to allow users to create or delete their own time stamps via
|
||||||
|
.Dq Li sudo -v
|
||||||
|
and
|
10
sudo.spec
10
sudo.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Allows restricted root access for specified users
|
Summary: Allows restricted root access for specified users
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.8.14b4
|
Version: 1.8.14b4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.courtesan.com/sudo/
|
URL: http://www.courtesan.com/sudo/
|
||||||
@ -28,6 +28,9 @@ BuildRequires: zlib-devel
|
|||||||
Patch1: sudo-1.6.7p5-strip.patch
|
Patch1: sudo-1.6.7p5-strip.patch
|
||||||
# Patch to read ldap.conf more closely to nss_ldap
|
# Patch to read ldap.conf more closely to nss_ldap
|
||||||
Patch2: sudo-1.8.14b3-ldapconfpatch.patch
|
Patch2: sudo-1.8.14b3-ldapconfpatch.patch
|
||||||
|
# Patch makes changes in documentation bz:1162070
|
||||||
|
Patch3: sudo-1.8.14b4-docpassexpire.patch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sudo (superuser do) allows a system administrator to give certain
|
Sudo (superuser do) allows a system administrator to give certain
|
||||||
@ -54,6 +57,7 @@ plugins that use %{name}.
|
|||||||
|
|
||||||
%patch1 -p1 -b .strip
|
%patch1 -p1 -b .strip
|
||||||
%patch2 -p1 -b .ldapconfpatch
|
%patch2 -p1 -b .ldapconfpatch
|
||||||
|
%patch3 -p1 -b .docpassexpire
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Remove bundled copy of zlib
|
# Remove bundled copy of zlib
|
||||||
@ -189,6 +193,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libexecdir}/sudo/libsudo_util.so
|
%{_libexecdir}/sudo/libsudo_util.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2015 Radovan Sroka <rsroka@redhat.com> 1.8.12-2
|
||||||
|
- add patch3 sudo.1.8.14b4-passexpire.patch that makes change in documentation about timestamp_time
|
||||||
|
- Resolves: rhbz#1162070
|
||||||
|
|
||||||
* Fri Jul 10 2015 Radovan Sroka <rsroka@redhat.com> - 1.8.14b4-1
|
* Fri Jul 10 2015 Radovan Sroka <rsroka@redhat.com> - 1.8.14b4-1
|
||||||
- Update to 1.8.14b4
|
- Update to 1.8.14b4
|
||||||
- Add own %%{_tmpfilesdir}/sudo.conf
|
- Add own %%{_tmpfilesdir}/sudo.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user