From 5199f377bb143a443967ad1345e9d978847aca0a Mon Sep 17 00:00:00 2001 From: Marek Tamaskovic Date: Fri, 29 Sep 2017 15:43:08 +0200 Subject: [PATCH 1/5] Update to sudo-1.8.21p2 --- .gitignore | 1 + sources | 2 +- sudo.spec | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4f59932..63000a2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /sudo-1.8.20b1.tar.gz /sudo-1.8.20p1.tar.gz /sudo-1.8.20p2.tar.gz +/sudo-1.8.21p2.tar.gz diff --git a/sources b/sources index 21e6b4a..a15d86f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sudo-1.8.20p2.tar.gz) = 8bf67e687f7a84605fdef8d547b5cd661141b6c8fd25820c33c7e37e97ca7f21f564c3bae691f8a8cd08df7d80338e36a8f06bb5086cc104509d71d6ab1bceda +SHA512 (sudo-1.8.21p2.tar.gz) = f04bbff54ad74ba73c078e15c75d2f41332d4912078ed66157ba7346b7fff914bd0747460cb4cd0c472af2d3b344fa72f5c62c95169df68a9cac74d7245c720c diff --git a/sudo.spec b/sudo.spec index e02eb5a..95e3801 100644 --- a/sudo.spec +++ b/sudo.spec @@ -2,8 +2,8 @@ Summary: Allows restricted root access for specified users Name: sudo -Version: 1.8.20p2 -Release: 3%{?dist} +Version: 1.8.21p2 +Release: 1%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ @@ -178,6 +178,7 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_libexecdir}/sudo/system_group.so %attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.? %{_libexecdir}/sudo/libsudo_util.so.? +%{_libexecdir}/sudo/libsudo_util.so %{_mandir}/man5/sudoers.5* %{_mandir}/man5/sudoers.ldap.5* %{_mandir}/man5/sudo.conf.5* @@ -201,9 +202,12 @@ rm -rf $RPM_BUILD_ROOT %doc plugins/sample/sample_plugin.c %{_includedir}/sudo_plugin.h %{_mandir}/man8/sudo_plugin.8* -%{_libexecdir}/sudo/libsudo_util.so %changelog +* Thu Sep 21 2017 Marek Tamaskovic - 1.8.21p2-1 +- update to 1.8.21p2 +- Moved libsudo_util.so from the -devel sub-package to main package (1481225) + * Thu Aug 03 2017 Fedora Release Engineering - 1.8.20p2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From f00f011f65f5c0a0d777ec9ac45c485ed6d3696f Mon Sep 17 00:00:00 2001 From: Radovan Sroka Date: Thu, 14 Dec 2017 12:08:51 +0100 Subject: [PATCH 2/5] Update to 1.8.22b1 - Added /usr/local/sbin and /usr/local/bin to secure path rhbz#1166185 --- .gitignore | 1 + sources | 2 +- sudo.spec | 12 ++++++++---- sudoers | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 63000a2..ae4cd94 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /sudo-1.8.20p1.tar.gz /sudo-1.8.20p2.tar.gz /sudo-1.8.21p2.tar.gz +/sudo-1.8.22b1.tar.gz diff --git a/sources b/sources index a15d86f..f20f88b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sudo-1.8.21p2.tar.gz) = f04bbff54ad74ba73c078e15c75d2f41332d4912078ed66157ba7346b7fff914bd0747460cb4cd0c472af2d3b344fa72f5c62c95169df68a9cac74d7245c720c +SHA512 (sudo-1.8.22b1.tar.gz) = 2289e0203898feccb31529899230b7e1f5e634af5e71d252628dc9a6f1bc73257f3b44d0068f1cba244cc33fa677538c327fcd291537811ac57fd4b65dc5a4ea diff --git a/sudo.spec b/sudo.spec index 95e3801..e180689 100644 --- a/sudo.spec +++ b/sudo.spec @@ -2,12 +2,12 @@ Summary: Allows restricted root access for specified users Name: sudo -Version: 1.8.21p2 -Release: 1%{?dist} +Version: 1.8.22 +Release: 0.1.b1%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ -Source0: https://www.sudo.ws/dist/%{name}-%{version}.tar.gz +Source0: https://www.sudo.ws/dist/beta/%{name}-%{version}b1.tar.gz Source1: sudoers Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: /etc/pam.d/system-auth @@ -50,7 +50,7 @@ The %{name}-devel package contains header files developing sudo plugins that use %{name}. %prep -%setup -q +%setup -q -n sudo-1.8.22b1 %patch1 -p1 -b .strip @@ -204,6 +204,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/sudo_plugin.8* %changelog +* Thu Dec 14 2017 Radovan Sroka - 1.8.22b1-1 +- update to 1.8.22b1 +- Added /usr/local/sbin and /usr/local/bin to secure path rhbz#1166185 + * Thu Sep 21 2017 Marek Tamaskovic - 1.8.21p2-1 - update to 1.8.21p2 - Moved libsudo_util.so from the -devel sub-package to main package (1481225) diff --git a/sudoers b/sudoers index bc4d793..17afb17 100644 --- a/sudoers +++ b/sudoers @@ -61,7 +61,7 @@ Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE" Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY" -Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin +Defaults secure_path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ## Next comes the main part: which users can run what software on ## which machines (the sudoers file can be shared between multiple From 9816ce33713bb67ffa93eea5aed793e9c8493d4e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:52:13 +0100 Subject: [PATCH 3/5] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- sudo.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/sudo.spec b/sudo.spec index e180689..890d98e 100644 --- a/sudo.spec +++ b/sudo.spec @@ -153,9 +153,6 @@ session include sudo EOF -%clean -rm -rf $RPM_BUILD_ROOT - %files -f sudo_all.lang %defattr(-,root,root) %attr(0440,root,root) %config(noreplace) /etc/sudoers From d2506f5e1bcfbda503ba096af79b10cc9c7f29d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kope=C4=8Dek?= Date: Wed, 18 Apr 2018 12:54:42 +0200 Subject: [PATCH 4/5] update to 1.8.23b3 --- .gitignore | 1 + sources | 2 +- sudo.spec | 18 +++++++++++++----- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index ae4cd94..06c8c3f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /sudo-1.8.20p2.tar.gz /sudo-1.8.21p2.tar.gz /sudo-1.8.22b1.tar.gz +/sudo-1.8.23b3.tar.gz diff --git a/sources b/sources index f20f88b..bba3c71 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sudo-1.8.22b1.tar.gz) = 2289e0203898feccb31529899230b7e1f5e634af5e71d252628dc9a6f1bc73257f3b44d0068f1cba244cc33fa677538c327fcd291537811ac57fd4b65dc5a4ea +SHA512 (sudo-1.8.23b3.tar.gz) = ee1b93f5729e1000c13519ef716b22399884b029f4b1ce79420f8a1fe71b5456c37a475c6217397717d383d8bcb3896637673cc11bf7610d29a2c7cf798c1de4 diff --git a/sudo.spec b/sudo.spec index 890d98e..2c1d0ba 100644 --- a/sudo.spec +++ b/sudo.spec @@ -2,12 +2,17 @@ Summary: Allows restricted root access for specified users Name: sudo +<<<<<<< HEAD Version: 1.8.22 Release: 0.1.b1%{?dist} +======= +Version: 1.8.23 +Release: 0.1.b3%{?dist} +>>>>>>> 81b7651... update to 1.8.23b3 License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ -Source0: https://www.sudo.ws/dist/beta/%{name}-%{version}b1.tar.gz +Source0: https://www.sudo.ws/dist/beta/%{name}-%{version}b3.tar.gz Source1: sudoers Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: /etc/pam.d/system-auth @@ -50,7 +55,7 @@ The %{name}-devel package contains header files developing sudo plugins that use %{name}. %prep -%setup -q -n sudo-1.8.22b1 +%setup -q -n sudo-1.8.23b3 %patch1 -p1 -b .strip @@ -111,9 +116,6 @@ rm -f sudo.conf chmod +x $RPM_BUILD_ROOT%{_libexecdir}/sudo/*.so # for stripping, reset in %%files -# Remove execute permission on this script so we don't pull in perl deps -chmod -x $RPM_BUILD_ROOT%{_pkgdocdir}/sudoers2ldif - # Don't package LICENSE as a doc rm -rf $RPM_BUILD_ROOT%{_pkgdocdir}/LICENSE @@ -167,6 +169,7 @@ EOF %{_bindir}/sudoedit %attr(0111,root,root) %{_bindir}/sudoreplay %attr(0755,root,root) %{_sbindir}/visudo +%{_bindir}/cvtsudoers %dir %{_libexecdir}/sudo %attr(0755,root,root) %{_libexecdir}/sudo/sesh %attr(0644,root,root) %{_libexecdir}/sudo/sudo_noexec.so @@ -183,6 +186,8 @@ EOF %{_mandir}/man8/sudoedit.8* %{_mandir}/man8/sudoreplay.8* %{_mandir}/man8/visudo.8* +%{_mandir}/man1/cvtsudoers.1.gz +%{_mandir}/man5/sudoers_timestamp.5.gz %dir %{_pkgdocdir}/ %{_pkgdocdir}/* %{!?_licensedir:%global license %%doc} @@ -201,6 +206,9 @@ EOF %{_mandir}/man8/sudo_plugin.8* %changelog +* Wed Apr 18 2018 Daniel Kopecek - 1.8.23-0.1.b3 +- update to 1.8.23b3 + * Thu Dec 14 2017 Radovan Sroka - 1.8.22b1-1 - update to 1.8.22b1 - Added /usr/local/sbin and /usr/local/bin to secure path rhbz#1166185 From 7d0c79cb1076859942747eea4f3da4614949c5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kope=C4=8Dek?= Date: Wed, 9 May 2018 13:48:35 +0200 Subject: [PATCH 5/5] update to 1.8.23 --- .gitignore | 1 + sources | 2 +- sudo.spec | 14 ++++++-------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 06c8c3f..aeb7960 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /sudo-1.8.21p2.tar.gz /sudo-1.8.22b1.tar.gz /sudo-1.8.23b3.tar.gz +/sudo-1.8.23.tar.gz diff --git a/sources b/sources index bba3c71..1aac8dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sudo-1.8.23b3.tar.gz) = ee1b93f5729e1000c13519ef716b22399884b029f4b1ce79420f8a1fe71b5456c37a475c6217397717d383d8bcb3896637673cc11bf7610d29a2c7cf798c1de4 +SHA512 (sudo-1.8.23.tar.gz) = a9d61850a4857bfd075547a13efb13b054e4736e3ebe3c8a98a90a090b1d9b9688354ec9725fc99d1d256999b6f9c6ae6215ce9770fcdebd7f24731107b48342 diff --git a/sudo.spec b/sudo.spec index 2c1d0ba..00a3ed8 100644 --- a/sudo.spec +++ b/sudo.spec @@ -2,17 +2,12 @@ Summary: Allows restricted root access for specified users Name: sudo -<<<<<<< HEAD -Version: 1.8.22 -Release: 0.1.b1%{?dist} -======= Version: 1.8.23 -Release: 0.1.b3%{?dist} ->>>>>>> 81b7651... update to 1.8.23b3 +Release: 1%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ -Source0: https://www.sudo.ws/dist/beta/%{name}-%{version}b3.tar.gz +Source0: https://www.sudo.ws/dist/%{name}-%{version}.tar.gz Source1: sudoers Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: /etc/pam.d/system-auth @@ -55,7 +50,7 @@ The %{name}-devel package contains header files developing sudo plugins that use %{name}. %prep -%setup -q -n sudo-1.8.23b3 +%setup -q %patch1 -p1 -b .strip @@ -206,6 +201,9 @@ EOF %{_mandir}/man8/sudo_plugin.8* %changelog +* Wed May 09 2018 Daniel Kopecek - 1.8.23-1 +- update to 1.8.23 + * Wed Apr 18 2018 Daniel Kopecek - 1.8.23-0.1.b3 - update to 1.8.23b3