|
@@ -1,7 +1,7 @@
|
|
Summary: Allows command execution as root for specified users
|
|
Summary: Allows command execution as root for specified users
|
|
Summary(ja): スーパーユーザ権限でのコマンドの実行
|
|
Summary(ja): スーパーユーザ権限でのコマンドの実行
|
|
Name: sudo
|
|
Name: sudo
|
|
-Version: 1.9.8p2
|
|
|
|
|
|
+Version: 1.9.12
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -15,6 +15,8 @@ Source1: sudo-sudoers-vine
|
|
# don't strip
|
|
# don't strip
|
|
Patch1: sudo-1.9.7-strip.patch
|
|
Patch1: sudo-1.9.7-strip.patch
|
|
|
|
|
|
|
|
+Patch1000:CVE-2022-43995.patch
|
|
|
|
+
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: groff
|
|
BuildRequires: groff
|
|
@@ -36,6 +38,16 @@ sudo は、特定のユーザや特定のグループに所属するユーザが
|
|
いくつかのコマンド操作を行うことを許可するためのプログラムです。
|
|
いくつかのコマンド操作を行うことを許可するためのプログラムです。
|
|
|
|
|
|
|
|
|
|
|
|
+%package devel
|
|
|
|
+Summary: Development files for %{name}
|
|
|
|
+Group: programming
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description devel
|
|
|
|
+The %{name}-devel package contains header files developing sudo
|
|
|
|
+plugins that use %{name}.
|
|
|
|
+
|
|
|
|
+
|
|
%package logsrvd
|
|
%package logsrvd
|
|
Summary: High-performance log server for %{name}
|
|
Summary: High-performance log server for %{name}
|
|
Group: system,servers
|
|
Group: system,servers
|
|
@@ -53,7 +65,7 @@ It can be used to implement centralized logging of sudo logs.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch1 -p1 -b .strip
|
|
|
|
|
|
+%autopatch -p1
|
|
|
|
|
|
rm -rf zlib/
|
|
rm -rf zlib/
|
|
|
|
|
|
@@ -105,7 +117,7 @@ chmod +x %{buildroot}%{_libexecdir}/sudo/*.so # for stripping, reset in %%files
|
|
|
|
|
|
mv -f %{buildroot}%{_docdir}/sudo-%{version} docdir
|
|
mv -f %{buildroot}%{_docdir}/sudo-%{version} docdir
|
|
mv -f %{buildroot}%{_sysconfdir}/sudoers.dist docdir/
|
|
mv -f %{buildroot}%{_sysconfdir}/sudoers.dist docdir/
|
|
-rm -f docdir/LICENSE
|
|
|
|
|
|
+rm -f docdir/LICENSE*
|
|
|
|
|
|
#Remove all .la files
|
|
#Remove all .la files
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
@@ -147,9 +159,8 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files -f sudo_all.lang
|
|
%files -f sudo_all.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%license doc/LICENSE
|
|
|
|
|
|
+%license LICENSE.md
|
|
%doc docdir/*
|
|
%doc docdir/*
|
|
-%doc plugins/sample/sample_plugin.c
|
|
|
|
%attr(0640,root,root) %config(noreplace) /etc/sudo.conf
|
|
%attr(0640,root,root) %config(noreplace) /etc/sudo.conf
|
|
%attr(0440,root,root) %config(noreplace) /etc/sudoers
|
|
%attr(0440,root,root) %config(noreplace) /etc/sudoers
|
|
%attr(0750,root,root) %dir /etc/sudoers.d/
|
|
%attr(0750,root,root) %dir /etc/sudoers.d/
|
|
@@ -170,7 +181,7 @@ rm -rf %{buildroot}
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudo_noexec.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudo_noexec.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudoers.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudoers.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/group_file.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/group_file.so
|
|
-%attr(0644,root,root) %{_libexecdir}/sudo/sample_approval.so
|
|
|
|
|
|
+#%attr(0644,root,root) %{_libexecdir}/sudo/sample_approval.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/system_group.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/system_group.so
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.?
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.?
|
|
%{_libexecdir}/sudo/libsudo_util.so.?
|
|
%{_libexecdir}/sudo/libsudo_util.so.?
|
|
@@ -182,9 +193,11 @@ rm -rf %{buildroot}
|
|
%{_mandir}/man8/sudoedit.8*
|
|
%{_mandir}/man8/sudoedit.8*
|
|
%{_mandir}/man8/sudoreplay.8*
|
|
%{_mandir}/man8/sudoreplay.8*
|
|
%{_mandir}/man8/visudo.8*
|
|
%{_mandir}/man8/visudo.8*
|
|
-# should be splitted to -devel?
|
|
|
|
|
|
+
|
|
|
|
+%files devel
|
|
|
|
+%doc plugins/sample/sample_plugin.c
|
|
%{_includedir}/sudo_plugin.h
|
|
%{_includedir}/sudo_plugin.h
|
|
-%{_mandir}/man8/sudo_plugin.8*
|
|
|
|
|
|
+%{_mandir}/man5/sudo_plugin.5*
|
|
|
|
|
|
%files logsrvd
|
|
%files logsrvd
|
|
%attr(0640,root,root) %config(noreplace) /etc/sudo_logsrvd.conf
|
|
%attr(0640,root,root) %config(noreplace) /etc/sudo_logsrvd.conf
|
|
@@ -197,6 +210,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Nov 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1
|
|
|
|
+- updated to 1.9.12.
|
|
|
|
+- added sudo-devel.
|
|
|
|
+
|
|
* Sat Oct 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.8p2-1
|
|
* Sat Oct 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.8p2-1
|
|
- updated to 1.9.8p2.
|
|
- updated to 1.9.8p2.
|
|
- built with openssl-3.0.0.
|
|
- built with openssl-3.0.0.
|