clamav-freshclam.service: Standard output type syslog is obsolete (#1933977)

This commit is contained in:
Sérgio M. Basto 2021-03-07 23:31:46 +00:00
parent 0f34cf53e7
commit a319b651da
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- ./freshclam/clamav-freshclam.service.in.orig 2021-02-01 20:49:25.000000000 +0000
+++ ./freshclam/clamav-freshclam.service.in 2021-03-07 22:59:34.476455890 +0000
@@ -8,7 +8,6 @@ After=network-online.target
[Service]
ExecStart=@prefix@/bin/freshclam -d --foreground=true
-StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -42,7 +42,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.103.1
Release: 2%{?dist}
Release: 3%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
URL: https://www.clamav.net/
%if %{with unrar}
@ -94,6 +94,8 @@ Patch4: clamav-check.patch
# Modify clamav-clamonacc.service for Fedora compatibility
Patch5: clamav-clamonacc-service.patch
Patch6: clamav-freshclam.service.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
@ -260,6 +262,7 @@ This package contains files which are needed to run the clamav-milter.
%patch2 -p1 -b .private
%patch4 -p1 -b .check
%patch5 -p1 -b .clamonacc-service
%patch6 -p1 -b .freshclam-service
install -p -m0644 %SOURCE300 clamav-milter/
@ -629,6 +632,9 @@ fi
%changelog
* Sun Mar 07 2021 Sérgio Basto <sergio@serjux.com> - 0.103.1-3
- clamav-freshclam.service: Standard output type syslog is obsolete (#1933977)
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.103.1-2
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.