|
@@ -1,12 +1,14 @@
|
|
|
Summary: Allows command execution as root for specified users
|
|
|
Summary(ja): スーパーユーザ権限でのコマンドの実行
|
|
|
Name: sudo
|
|
|
-Version: 1.8.31
|
|
|
+Version: 1.9.5p2
|
|
|
Release: 1%{?_dist_release}
|
|
|
-License: ISC-style
|
|
|
-Group: Applications/System
|
|
|
-URL: http://www.sudo.ws/sudo/
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
+License: ISC-style
|
|
|
+URL: https://www.sudo.ws/sudo/
|
|
|
# master is toooooooooooooooo slow.
|
|
|
Source0: http://www.sudo.ws/sudo/dist/sudo-%{version}.tar.gz
|
|
|
#Source0: http://core.ring.gr.jp/archives/misc/sudo/sudo-%{version}.tar.gz
|
|
@@ -25,9 +27,6 @@ BuildRequires: automake autoconf libtool
|
|
|
BuildRequires: libcap-devel
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-
|
|
|
%description
|
|
|
Sudo (superuser do) allows a system administrator to give certain users
|
|
|
(or groups of users) the ability to run some (or all) commands as root while
|
|
@@ -38,12 +37,29 @@ it is not a replacement for the shell.
|
|
|
sudo は、特定のユーザや特定のグループに所属するユーザが、スーパーユーザ権限で
|
|
|
いくつかのコマンド操作を行うことを許可するためのプログラムです。
|
|
|
|
|
|
+
|
|
|
+%package logsrvd
|
|
|
+Summary: High-performance log server for %{name}
|
|
|
+Group: system,servers
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+BuildRequires: openssl-devel
|
|
|
+
|
|
|
+%description logsrvd
|
|
|
+%{name}-logsrvd is a high-performance log server that accepts event and
|
|
|
+I/O logs from sudo.
|
|
|
+It can be used to implement centralized logging of sudo logs.
|
|
|
+
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch1 -p1 -b .strip
|
|
|
|
|
|
rm -rf zlib/
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
autoreconf -I m4 -fv --install
|
|
|
|
|
@@ -72,6 +88,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
|
|
--without-selinux
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
mkdir %{buildroot}
|
|
@@ -123,11 +140,17 @@ EOF
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
+
|
|
|
+%post
|
|
|
+/bin/chmod 0440 /etc/sudoers || :
|
|
|
+
|
|
|
+
|
|
|
%files -f sudo_all.lang
|
|
|
%defattr(-,root,root)
|
|
|
%license doc/LICENSE
|
|
|
%doc docdir/*
|
|
|
%doc plugins/sample/sample_plugin.c
|
|
|
+%attr(0640,root,root) %config(noreplace) /etc/sudo.conf
|
|
|
%attr(0440,root,root) %config(noreplace) /etc/sudoers
|
|
|
%attr(0750,root,root) %dir /etc/sudoers.d/
|
|
|
%config(noreplace) /etc/pam.d/sudo
|
|
@@ -142,9 +165,11 @@ rm -rf %{buildroot}
|
|
|
%attr(0111,root,root) %{_bindir}/sudoreplay
|
|
|
%attr(0755,root,root) %{_sbindir}/visudo
|
|
|
%dir %{_libexecdir}/sudo
|
|
|
+%attr(0644,root,root) %{_libexecdir}/sudo/audit_json.so
|
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudo_noexec.so
|
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudoers.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/system_group.so
|
|
|
%attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.?
|
|
|
%{_libexecdir}/sudo/libsudo_util.so.?
|
|
@@ -160,11 +185,23 @@ rm -rf %{buildroot}
|
|
|
%{_includedir}/sudo_plugin.h
|
|
|
%{_mandir}/man8/sudo_plugin.8*
|
|
|
|
|
|
+%files logsrvd
|
|
|
+%attr(0640,root,root) %config(noreplace) /etc/sudo_logsrvd.conf
|
|
|
+%attr(0755,root,root) %{_sbindir}/sudo_logsrvd
|
|
|
+%attr(0755,root,root) %{_sbindir}/sudo_sendlog
|
|
|
+%{_mandir}/man5/sudo_logsrv.proto.5.gz
|
|
|
+%{_mandir}/man5/sudo_logsrvd.conf.5.gz
|
|
|
+%{_mandir}/man8/sudo_logsrvd.8.gz
|
|
|
+%{_mandir}/man8/sudo_sendlog.8.gz
|
|
|
|
|
|
-%post
|
|
|
-/bin/chmod 0440 /etc/sudoers || :
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jan 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.5p2-1
|
|
|
+- updated to 1.9.5p2.
|
|
|
+
|
|
|
+* Fri Jan 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.5p1-1
|
|
|
+- updated to 1.9.5p1.
|
|
|
+
|
|
|
* Tue Feb 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.31-1
|
|
|
- updated to 1.8.31.
|
|
|
|