]> git.pld-linux.org Git - packages/sudo.git/commitdiff
- rel 2; don't duplicate logs (log only to syslog; also helps in case when /var/log... auto/th/sudo-1.8.17p1-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 12 Aug 2016 20:32:01 +0000 (22:32 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 12 Aug 2016 20:32:01 +0000 (22:32 +0200)
sudo.spec

index c09124a25a0a239415032205aa0a120d0b5499e0..dde3b1f9dfc4b697eae4c1eb319348c2efaf5c75 100644 (file)
--- a/sudo.spec
+++ b/sudo.spec
@@ -29,7 +29,7 @@ Summary(uk.UTF-8):    Дозволяє вказаним користувачам в
 Name:          sudo
 # please see doc/UPGRADE for important changes each time updating sudo
 Version:       1.8.17p1
 Name:          sudo
 # please see doc/UPGRADE for important changes each time updating sudo
 Version:       1.8.17p1
-Release:       1
+Release:       2
 Epoch:         1
 License:       BSD
 Group:         Applications/System
 Epoch:         1
 License:       BSD
 Group:         Applications/System
@@ -191,8 +191,8 @@ cp -f /usr/share/automake/config.sub .
        --with-env-editor \
        --with-ignore-dot \
        --with-incpath=/usr/include/security \
        --with-env-editor \
        --with-ignore-dot \
        --with-incpath=/usr/include/security \
-       --with-logfac=auth \
-       --with-logging=both \
+       --with-logfac=authpriv \
+       --with-logging=syslog \
        --with-loglen=320 \
        --with-logpath=/var/log/sudo \
        --with-long-otp-prompt \
        --with-loglen=320 \
        --with-logpath=/var/log/sudo \
        --with-long-otp-prompt \
@@ -200,6 +200,7 @@ cp -f /usr/share/automake/config.sub .
        --with-pam-login \
        --with-passprompt="[sudo] password for %%p: " \
        --with-secure-path="/bin:/sbin:/usr/bin:/usr/sbin" \
        --with-pam-login \
        --with-passprompt="[sudo] password for %%p: " \
        --with-secure-path="/bin:/sbin:/usr/bin:/usr/sbin" \
+       --with-tty-tickets \
        --with-exampledir=%{_examplesdir}/%{name}-%{version} \
        --enable-tmpfiles.d=%{systemdtmpfilesdir} \
        %{__with kerberos5 kerb5} \
        --with-exampledir=%{_examplesdir}/%{name}-%{version} \
        --enable-tmpfiles.d=%{systemdtmpfilesdir} \
        %{__with kerberos5 kerb5} \
@@ -235,8 +236,6 @@ cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/sudo
 %{__sed} -i -e '/pam_keyinit.so/d' $RPM_BUILD_ROOT/etc/pam.d/sudo*
 %endif
 
 %{__sed} -i -e '/pam_keyinit.so/d' $RPM_BUILD_ROOT/etc/pam.d/sudo*
 %endif
 
-touch $RPM_BUILD_ROOT/var/log/sudo
-
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/sudo/*.la
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/sudo/*.la
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
@@ -313,7 +312,6 @@ fi
 %{_mandir}/man8/visudo.8*
 %{systemdtmpfilesdir}/%{name}.conf
 %{_examplesdir}/%{name}-%{version}
 %{_mandir}/man8/visudo.8*
 %{systemdtmpfilesdir}/%{name}.conf
 %{_examplesdir}/%{name}-%{version}
-%attr(600,root,root) %ghost /var/log/sudo
 %attr(700,root,root) /var/log/sudo-io
 %attr(700,root,root) %dir /var/db/sudo
 %dir %attr(711,root,root) /var/run/sudo
 %attr(700,root,root) /var/log/sudo-io
 %attr(700,root,root) %dir /var/db/sudo
 %dir %attr(711,root,root) /var/run/sudo
This page took 0.266033 seconds and 4 git commands to generate.