]> git.pld-linux.org Git - packages/sudo.git/blobdiff - sudo.spec
- pl for -logsrvd, updated noarch rule
[packages/sudo.git] / sudo.spec
index 0b87838d4bb908fe0cfa4d2e56e358ac51ddf491..af2116a8da2e19e896a1c59da95b8283ce1ab976 100644 (file)
--- a/sudo.spec
+++ b/sudo.spec
@@ -28,13 +28,13 @@ Summary(ru.UTF-8):  Позволяет определенным пользова
 Summary(uk.UTF-8):     Дозволяє вказаним користувачам виконувати команди від імені root
 Name:          sudo
 # please see doc/UPGRADE for important changes each time updating sudo
-Version:       1.8.28
+Version:       1.9.5p2
 Release:       1
 Epoch:         1
 License:       BSD
 Group:         Applications/System
 Source0:       ftp://ftp.sudo.ws/pub/sudo/%{name}-%{version}.tar.gz
-# Source0-md5: 5afa5acd0c55b40916e4ad864607edfe
+# Source0-md5: e6bc4c18c06346e6b3431637a2b5f3d5
 Source1:       %{name}.pamd
 Source2:       %{name}-i.pamd
 Patch0:                %{name}-env.patch
@@ -55,7 +55,7 @@ BuildRequires:        libtool >= 2:2.2.6
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.3.0}
 %{?with_pam:BuildRequires:     pam-devel}
 BuildRequires: rpm >= 4.4.9-56
-BuildRequires: rpmbuild(macros) >= 1.595
+BuildRequires: rpmbuild(macros) >= 1.752
 %{?with_skey:BuildRequires:    skey-devel >= 2.2-11}
 BuildRequires: zlib-devel
 %if "%{pld_release}" != "ac"
@@ -158,9 +158,7 @@ Group:              Networking/Daemons
 Requires(post,postun): sed >= 4.0
 Requires:      openldap-servers
 Requires:      sed >= 4.0
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description -n openldap-schema-sudo
 This package contains sudo.schema for openldap.
@@ -168,6 +166,22 @@ This package contains sudo.schema for openldap.
 %description -n openldap-schema-sudo -l pl.UTF-8
 Ten pakiet zawiera sudo.schema dla pakietu openldap.
 
+%package logsrvd
+Summary:       High-performance log server for sudo
+Summary(pl.UTF-8):     Wysoko wydajny serwer logujący dla sudo
+Group:         Daemons
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description logsrvd
+sudo-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.
+
+%description logsrvd -l pl.UTF-8
+sudo-logsrvd to wysoko wydajny serwer logujący przyjmyjący logi
+zdarzeń i we/wy z sudo. Może byc używany do zaimplementowania
+scentralizowanego logowania z sudo.
+
 %prep
 %setup -q
 # only local macros
@@ -291,6 +305,7 @@ fi
 %{?with_ldap:%doc README.LDAP}
 %attr(550,root,root) %dir %{_sysconfdir}/sudoers.d
 %attr(440,root,root) %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/sudoers
+%attr(640,root,root) %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/sudo.conf
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sudo
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sudo-i
 %attr(755,root,root) %{_bindir}/cvtsudoers
@@ -303,7 +318,9 @@ fi
 %attr(755,root,root) %{_libexecdir}/sudo/libsudo_util.so.0
 %attr(755,root,root) %{_libexecdir}/sudo/libsudo_util.so
 %{?with_selinux:%attr(755,root,root) %{_libexecdir}/sudo/sesh}
+%attr(755,root,root) %{_libexecdir}/sudo/audit_json.so
 %attr(755,root,root) %{_libexecdir}/sudo/group_file.so
+%attr(755,root,root) %{_libexecdir}/sudo/sample_approval.so
 %attr(755,root,root) %{_libexecdir}/sudo/sudo_noexec.so
 %attr(755,root,root) %{_libexecdir}/sudo/sudoers.so
 %attr(755,root,root) %{_libexecdir}/sudo/system_group.so
@@ -331,3 +348,13 @@ fi
 %defattr(644,root,root,755)
 %{schemadir}/sudo.schema
 %endif
+
+%files logsrvd
+%defattr(644,root,root,755)
+%attr(640,root,root) %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/sudo_logsrvd.conf
+%attr(755,root,root) %{_sbindir}/sudo_logsrvd
+%attr(755,root,root) %{_sbindir}/sudo_sendlog
+%{_mandir}/man5/sudo_logsrv.proto.5*
+%{_mandir}/man5/sudo_logsrvd.conf.5*
+%{_mandir}/man8/sudo_logsrvd.8*
+%{_mandir}/man8/sudo_sendlog.8*
This page took 0.048532 seconds and 4 git commands to generate.