|
@@ -14,9 +14,9 @@
|
|
Summary: Clam AntiVirus
|
|
Summary: Clam AntiVirus
|
|
Summary(ja): Clamアンチウィルススキャナ
|
|
Summary(ja): Clamアンチウィルススキャナ
|
|
Name: clamav
|
|
Name: clamav
|
|
-Version: 0.102.4
|
|
+Version: 0.103.0
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
-Group: Applications/System
|
|
+Group: security
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Packager: tomop, inagaki
|
|
Packager: tomop, inagaki
|
|
@@ -44,8 +44,8 @@ BuildRequires: openssl-devel, pcre-devel, libxml2-devel, zlib-devel
|
|
BuildRequires: llvm-devel
|
|
BuildRequires: llvm-devel
|
|
%endif
|
|
%endif
|
|
%if %{?milter}
|
|
%if %{?milter}
|
|
-BuildRequires: sendmail-devel
|
|
+#BuildRequires: sendmail-devel
|
|
-#BuildRequires: sendmail-milter
|
|
+BuildRequires: libmilter-devel
|
|
%endif
|
|
%endif
|
|
Requires: logrotate
|
|
Requires: logrotate
|
|
Requires(pre): shadow-utils, grep
|
|
Requires(pre): shadow-utils, grep
|
|
@@ -72,7 +72,7 @@ AMaViS、圧縮ファイルをサポートし、OpenAntivirus.orgのウィルス
|
|
%if %{?milter}
|
|
%if %{?milter}
|
|
%package milter
|
|
%package milter
|
|
Summary: Virus scanner for sendmail/postfix
|
|
Summary: Virus scanner for sendmail/postfix
|
|
-Group: Applications/System
|
|
+Group: security,servers
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
%{?systemd_requires}
|
|
%{?systemd_requires}
|
|
%else
|
|
%else
|
|
@@ -87,7 +87,7 @@ clamav-milter is a milter module to scan mails using Clam AntiVirus.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Summary: headers and libraries for development using Clam AntiVirus
|
|
Summary: headers and libraries for development using Clam AntiVirus
|
|
Summary(ja): Clam AntiVirus を用いた開発に必要なヘッダ・ライブラリ
|
|
Summary(ja): Clam AntiVirus を用いた開発に必要なヘッダ・ライブラリ
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
@@ -111,7 +111,7 @@ Clam AntiVirus.
|
|
|
|
|
|
%build
|
|
%build
|
|
%if %{?milter}
|
|
%if %{?milter}
|
|
-export CLAMAV_MILTER_LIBS="-lpthread %{_libdir}/libmilter.a"
|
|
+export CLAMAV_MILTER_LIBS="-lpthread -lmilter"
|
|
export have_milter=yes
|
|
export have_milter=yes
|
|
%endif
|
|
%endif
|
|
|
|
|
|
@@ -150,6 +150,7 @@ make install DESTDIR=%{buildroot} transform='s,x,x,'
|
|
|
|
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
rm -f %{buildroot}%{_unitdir}/clamav-daemon.s*
|
|
rm -f %{buildroot}%{_unitdir}/clamav-daemon.s*
|
|
|
|
+rm -f %{buildroot}%{_unitdir}/clamav-clamonacc.s*
|
|
install -Dpm 0644 %{SOURCE100} %{buildroot}%{_unitdir}/clamonacc.service
|
|
install -Dpm 0644 %{SOURCE100} %{buildroot}%{_unitdir}/clamonacc.service
|
|
install -Dpm 0644 %{SOURCE530} %{buildroot}%{_unitdir}/clamd.service
|
|
install -Dpm 0644 %{SOURCE530} %{buildroot}%{_unitdir}/clamd.service
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
|
@@ -320,6 +321,9 @@ fi
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%exclude %{_bindir}/clamav-config
|
|
%exclude %{_bindir}/clamav-config
|
|
%{_sbindir}/*
|
|
%{_sbindir}/*
|
|
|
|
+%if %{?milter}
|
|
|
|
+%exclude %{_sbindir}/clamav-milter
|
|
|
|
+%endif
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/libclamunrar_iface.so
|
|
%{_libdir}/libclamunrar_iface.so
|
|
%attr(-,clamav,clamav) %dir %{_localstatedir}/log/clamav
|
|
%attr(-,clamav,clamav) %dir %{_localstatedir}/log/clamav
|
|
@@ -329,7 +333,6 @@ fi
|
|
%{_mandir}/man*/*
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
%if %{?milter}
|
|
%if %{?milter}
|
|
-
|
|
|
|
%files milter
|
|
%files milter
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
@@ -341,7 +344,6 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/clamav-milter
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/clamav-milter
|
|
%{_sbindir}/clamav-milter
|
|
%{_sbindir}/clamav-milter
|
|
%{_mandir}/man8/clamav-milter.8*
|
|
%{_mandir}/man8/clamav-milter.8*
|
|
-
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
@@ -352,7 +354,11 @@ fi
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Sep 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.103.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Fri Jul 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.102.4-1
|
|
* Fri Jul 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.102.4-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|