|
@@ -8,7 +8,7 @@
|
|
|
Summary: Clam AntiVirus
|
|
|
Summary(ja): Clamアンチウィルススキャナ
|
|
|
Name: clamav
|
|
|
-Version: 1.4.0
|
|
|
+Version: 1.4.1
|
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: security
|
|
|
Vendor: Project Vine
|
|
@@ -23,6 +23,8 @@ Source2: freshclam.init
|
|
|
Source3: clamav-milter.init
|
|
|
Source4: clamav.logrotate
|
|
|
Source5: clamav-milter.logrotate
|
|
|
+Source6: clamav.logrotate.systemd
|
|
|
+Source7: clamav-milter.logrotate.systemd
|
|
|
|
|
|
#for clamonacc
|
|
|
Source100: clamonacc.service
|
|
@@ -150,6 +152,7 @@ rm -f %{buildroot}%{_unitdir}/clamav-clamonacc.s*
|
|
|
install -Dpm 0644 %{SOURCE100} %{buildroot}%{_unitdir}/clamonacc.service
|
|
|
install -Dpm 0644 %{SOURCE530} %{buildroot}%{_unitdir}/clamd.service
|
|
|
install -Dpm 0644 %{SOURCE550} %{buildroot}%{_unitdir}/clamav-freshclam.service
|
|
|
+install -m644 %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/clamav
|
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
|
cat << EOF > %{buildroot}%{_tmpfilesdir}/clamav.conf
|
|
|
d %{_rundir}/clamav 0710 clamav clamav
|
|
@@ -157,9 +160,9 @@ EOF
|
|
|
%else
|
|
|
install -m755 %{SOURCE1} %{buildroot}%{_initdir}/clamd
|
|
|
install -m755 %{SOURCE2} %{buildroot}%{_initdir}/freshclam
|
|
|
+install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/clamav
|
|
|
%endif
|
|
|
|
|
|
-install -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/clamav
|
|
|
|
|
|
sed -ri \
|
|
|
-e 's!^Example!#Example!' \
|
|
@@ -196,14 +199,15 @@ sed -ri \
|
|
|
install -Dpm 0644 %{SOURCE330} %{buildroot}%{_unitdir}/clamav-milter.service
|
|
|
sed -ri \
|
|
|
-e 's|^#PidFile .+$|PidFile /run/clamav/clamav-milter.pid|' \
|
|
|
- %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample
|
|
|
+ %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample
|
|
|
+ install -m644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/clamav-milter
|
|
|
%else
|
|
|
install -m755 %{SOURCE3} %{buildroot}%{_initdir}/clamav-milter
|
|
|
sed -ri \
|
|
|
-e 's|^#PidFile .+$|PidFile /var/run/clamav/clamav-milter.pid|' \
|
|
|
- %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample
|
|
|
+ %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample
|
|
|
+ install -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/clamav-milter
|
|
|
%endif
|
|
|
-install -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/clamav-milter
|
|
|
|
|
|
mv %{buildroot}%{_sysconfdir}/clamav-milter.conf.sample %{buildroot}%{_sysconfdir}/clamav-milter.conf
|
|
|
%endif
|
|
@@ -354,6 +358,9 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Sep 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Fri Aug 16 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-1
|
|
|
- new upstream release.
|
|
|
|