1 |
slords |
1.1 |
# $Id$ |
2 |
|
|
# Authority: dag |
3 |
|
|
# Upstream: <clamav-devel$lists,sf,net> |
4 |
|
|
|
5 |
|
|
### FIXME: Sysv script does not have condrestart option (redo sysv script) |
6 |
|
|
### FIXME: amavisd-new requires clamd to run as user vscan, solution needed |
7 |
|
|
### REMINDER: Look and sync with Petr Kristof's work |
8 |
|
|
|
9 |
|
|
%{?el3:%define _without_milter 1} |
10 |
|
|
%{?rh9:%define _without_milter 1} |
11 |
|
|
%{?rh7:%define _without_milter 1} |
12 |
|
|
%{?el2:%define _without_milter 1} |
13 |
|
|
|
14 |
|
|
Summary: Anti-virus software |
15 |
|
|
Name: clamav |
16 |
wellsi |
1.4 |
Version: 0.98.1 |
17 |
wellsi |
1.7 |
Release: 4%{?dist} |
18 |
slords |
1.1 |
License: GPL |
19 |
|
|
Group: Applications/System |
20 |
|
|
URL: http://www.clamav.net/ |
21 |
|
|
|
22 |
wellsi |
1.6 |
Source: http://downloads.sourceforge.net/project/clamav/clamav/%{version}/clamav-%{version}.tar.gz |
23 |
slords |
1.1 |
Source1: clamav.init |
24 |
|
|
Source2: clamav-milter.init |
25 |
wellsi |
1.6 |
Source10: http://db.local.clamav.net/main.cvd |
26 |
|
|
Source11: http://db.local.clamav.net/daily.cvd |
27 |
slords |
1.1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
28 |
|
|
|
29 |
|
|
BuildRequires: bzip2-devel |
30 |
|
|
BuildRequires: curl-devel |
31 |
|
|
BuildRequires: gmp-devel |
32 |
|
|
BuildRequires: ncurses-devel |
33 |
|
|
BuildRequires: zlib-devel |
34 |
|
|
%{!?_without_milter:BuildRequires: sendmail-devel >= 8.12} |
35 |
|
|
BuildRequires: check-devel |
36 |
|
|
|
37 |
|
|
### Do not require the latest release of clamav-db specifically (people may use freshclam onward) |
38 |
|
|
#Requires: clamav-db = %{version}-%{release} |
39 |
|
|
Requires: clamav-db |
40 |
|
|
|
41 |
|
|
### Fedora Extras introduced them differently :( |
42 |
|
|
Obsoletes: libclamav <= %{version}-%{release} |
43 |
|
|
Obsoletes: clamav-lib <= %{version}-%{release} |
44 |
|
|
Provides: libclamav |
45 |
|
|
|
46 |
|
|
%description |
47 |
|
|
Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of |
48 |
|
|
this software is the integration with mail servers (attachment scanning). |
49 |
|
|
The package provides a flexible and scalable multi-threaded daemon, a |
50 |
|
|
command line scanner, and a tool for automatic updating via Internet. |
51 |
|
|
|
52 |
|
|
The programs are based on a shared library distributed with the Clam |
53 |
|
|
AntiVirus package, which you can use with your own software. Most |
54 |
|
|
importantly, the virus database is kept up to date |
55 |
|
|
|
56 |
|
|
%package -n clamd |
57 |
|
|
Summary: The Clam AntiVirus Daemon |
58 |
|
|
Group: System Environment/Daemons |
59 |
|
|
Requires: clamav = %{version}-%{release} |
60 |
|
|
Requires(pre): /usr/sbin/groupadd |
61 |
|
|
Requires(pre): /usr/sbin/useradd |
62 |
|
|
|
63 |
|
|
### Fedora Extras introduced them differently :( |
64 |
|
|
Obsoletes: clamav-server <= %{version}-%{release} |
65 |
|
|
|
66 |
|
|
%description -n clamd |
67 |
|
|
The Clam AntiVirus Daemon |
68 |
|
|
|
69 |
|
|
%package milter |
70 |
|
|
Summary: The Clam AntiVirus sendmail-milter Daemon |
71 |
|
|
Group: Applications/System |
72 |
|
|
Requires: clamd = %{version}-%{release} |
73 |
|
|
Requires: smtpdaemon |
74 |
|
|
|
75 |
|
|
%description milter |
76 |
|
|
The Clam AntiVirus sendmail-milter Daemon |
77 |
|
|
|
78 |
|
|
%package db |
79 |
|
|
Summary: Virus database for %{name} |
80 |
|
|
Group: Applications/Databases |
81 |
|
|
### Remove circular dependency |
82 |
|
|
#Requires: clamav = %{version}-%{release} |
83 |
|
|
Requires(pre): /usr/sbin/groupadd |
84 |
|
|
Requires(pre): /usr/sbin/useradd |
85 |
|
|
|
86 |
|
|
### Fedora Extras introduced them differently :( |
87 |
|
|
Obsoletes: clamav-update <= %{version}-%{release} |
88 |
|
|
Obsoletes: clamav-data <= %{version}-%{release} |
89 |
|
|
|
90 |
|
|
%description db |
91 |
|
|
The actual virus database for %{name} |
92 |
|
|
|
93 |
|
|
%package devel |
94 |
|
|
Summary: Header files, libraries and development documentation for %{name} |
95 |
|
|
Group: Development/Libraries |
96 |
|
|
Requires: clamav = %{version}-%{release} |
97 |
|
|
|
98 |
|
|
### Fedora Extras introduced them differently :( |
99 |
|
|
Obsoletes: libclamav-static-devel <= %{version}-%{release} |
100 |
|
|
Obsoletes: libclamav-devel <= %{version}-%{release} |
101 |
|
|
Provides: libclamav-static-devel, libclamav-devel |
102 |
|
|
|
103 |
|
|
%description devel |
104 |
|
|
This package contains the header files, static libraries and development |
105 |
|
|
documentation for %{name}. If you like to develop programs using %{name}, |
106 |
|
|
you will need to install %{name}-devel. |
107 |
|
|
|
108 |
|
|
%prep |
109 |
|
|
%setup |
110 |
|
|
|
111 |
|
|
%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' libtool configure |
112 |
|
|
|
113 |
|
|
%{__perl} -pi.orig -e ' |
114 |
|
|
s|\@DBDIR\@|\$(localstatedir)/clamav|g; |
115 |
|
|
s|\@DBINST\@|\$(localstatedir)/clamav|g; |
116 |
|
|
s|\@CFGDIR\@|\$(sysconfdir)|g; |
117 |
|
|
s|\@CFGINST\@|\$(sysconfdir)|g; |
118 |
|
|
s|^\@INSTALL_CLAMAV_CONF_TRUE\@|\t|g; |
119 |
|
|
s|^\@INSTALL_FRESHCLAM_CONF_TRUE\@|\t|g; |
120 |
|
|
' database/Makefile.in etc/Makefile.in |
121 |
|
|
|
122 |
wellsi |
1.4 |
%{__perl} -pi -e ' |
123 |
slords |
1.1 |
s|^(Example)|#$1|; |
124 |
|
|
s|^#(LogFile) .+$|$1 %{_localstatedir}/log/clamav/clamd.log|; |
125 |
|
|
s|^#(LogFileMaxSize) .*|$1 0|; |
126 |
|
|
s|^#(LogTime)|$1|; |
127 |
|
|
s|^#(LogSyslog)|$1|; |
128 |
|
|
s|^#(PidFile) .+$|$1 %{_localstatedir}/run/clamav/clamd.pid|; |
129 |
|
|
s|^#(TemporaryDirectory) .+$|$1 %{_localstatedir}/tmp|; |
130 |
|
|
s|^#(DatabaseDirectory) .+$|$1 %{_localstatedir}/clamav|; |
131 |
|
|
s|^#(LocalSocket) .+$|$1 %{_localstatedir}/run/clamav/clamd.sock|; |
132 |
|
|
s|^#(FixStaleSocket)|$1|; |
133 |
|
|
s|^#(TCPSocket) .+$|$1 3310|; |
134 |
|
|
s|^#(TCPAddr) .+$|$1 127.0.0.1|; |
135 |
|
|
s|^#(MaxConnectionQueueLength) .+$|$1 30|; |
136 |
|
|
s|^#(StreamSaveToDisk)|$1|; |
137 |
|
|
s|^#(MaxThreads) .+$|$1 50|; |
138 |
|
|
s|^#(ReadTimeout) .+$|$1 300|; |
139 |
|
|
s|^#(User) .+$|$1 clamav|; |
140 |
|
|
s|^#(AllowSupplementaryGroups).*$|$1 yes|; |
141 |
|
|
s|^#(ScanPE) .+$|$1 yes|; |
142 |
|
|
s|^#(ScanELF) .+$|$1 yes|; |
143 |
|
|
s|^#(DetectBrokenExecutables)|$1|; |
144 |
|
|
s|^#(ScanOLE2) .+$|$1 yes|; |
145 |
|
|
s|^#(ScanMail)|$1|; |
146 |
|
|
s|^#(ScanArchive) .+$|$1 yes|; |
147 |
|
|
s|^#(ArchiveMaxCompressionRatio) .+|$1 300|; |
148 |
|
|
s|^#(ArchiveBlockEncrypted)|$1|; |
149 |
|
|
s|^#(ArchiveBlockMax)|$1|; |
150 |
wellsi |
1.4 |
' etc/clamd.conf.sample >etc/clamd.conf |
151 |
slords |
1.1 |
|
152 |
wellsi |
1.4 |
%{__perl} -pi -e ' |
153 |
slords |
1.1 |
s|^(Example)|#$1|; |
154 |
|
|
s|^#(AllowSupplementaryGroups) .+$|$1 yes|; |
155 |
|
|
s|^#(ClamdSocket) .+$|$1 unix:%{_localstatedir}/run/clamav/clamd.sock|; |
156 |
|
|
s|^#(LogFile) .+$|$1 %{_localstatedir}/log/clamav/clamav-milter.log|; |
157 |
|
|
s|^#(LogFileMaxSize) .*|$1 0|; |
158 |
|
|
s|^#(LogSyslog)|$1|; |
159 |
|
|
s|^#(LogTime)|$1|; |
160 |
|
|
s|^#(MilterSocket) /.*$|$1 unix:%{_localstatedir}/clamav/clmilter.socket|; |
161 |
|
|
s|^#(User) .+$|$1 clamav|; |
162 |
wellsi |
1.4 |
' etc/clamav-milter.conf.sample >etc/clamav-milter.conf |
163 |
slords |
1.1 |
|
164 |
wellsi |
1.4 |
%{__perl} -p -e ' |
165 |
slords |
1.1 |
s|^(Checks) .+$|$1 24|; |
166 |
|
|
s|^(Example)|#$1|; |
167 |
|
|
s|^#(DatabaseDirectory) .+$|$1 %{_localstatedir}/clamav|; |
168 |
|
|
s|^#(DatabaseOwner) .+$|$1 clamav|; |
169 |
|
|
s|^#(LogSyslog)|$1|; |
170 |
|
|
s|^#(NotifyClamd) .+$|$1 %{_sysconfdir}/clamd.conf|; |
171 |
|
|
s|^#(UpdateLogFile) .+$|$1 %{_localstatedir}/log/clamav/freshclam.log|; |
172 |
wellsi |
1.4 |
' etc/freshclam.conf.sample >etc/freshclam.conf |
173 |
slords |
1.1 |
|
174 |
|
|
%{__cat} <<EOF >clamd.logrotate |
175 |
|
|
%{_localstatedir}/log/clamav/clamd.log { |
176 |
|
|
missingok |
177 |
|
|
notifempty |
178 |
|
|
create 644 clamav clamav |
179 |
|
|
postrotate |
180 |
|
|
killall -HUP clamd 2>/dev/null || : |
181 |
|
|
endscript |
182 |
|
|
} |
183 |
|
|
EOF |
184 |
|
|
|
185 |
|
|
%{__cat} <<EOF >freshclam.logrotate |
186 |
|
|
%{_localstatedir}/log/clamav/freshclam.log { |
187 |
|
|
missingok |
188 |
|
|
notifempty |
189 |
|
|
create 644 clamav clamav |
190 |
|
|
} |
191 |
|
|
EOF |
192 |
|
|
|
193 |
|
|
%{__cat} <<'EOF' >freshclam.cron |
194 |
|
|
#!/bin/sh |
195 |
|
|
|
196 |
|
|
### A simple update script for the clamav virus database. |
197 |
|
|
### This could as well be replaced by a SysV script. |
198 |
|
|
|
199 |
|
|
%{_bindir}/freshclam --quiet |
200 |
|
|
EOF |
201 |
|
|
|
202 |
|
|
%{__cat} <<EOF >clamav-milter.sysconfig |
203 |
|
|
### Simple config file for clamav-milter, you should |
204 |
|
|
### read the documentation and tweak it as you wish. |
205 |
|
|
|
206 |
|
|
CLAMAV_FLAGS="--config-file=%{_sysconfdir}/clamav-milter.conf" |
207 |
|
|
EOF |
208 |
|
|
|
209 |
|
|
%build |
210 |
|
|
%configure \ |
211 |
|
|
--program-prefix="%{?_program_prefix}" \ |
212 |
|
|
--disable-clamav \ |
213 |
|
|
--disable-llvm \ |
214 |
|
|
--disable-static \ |
215 |
|
|
--disable-zlib-vcheck \ |
216 |
|
|
--enable-check \ |
217 |
|
|
--enable-clamdtop \ |
218 |
|
|
--enable-dns \ |
219 |
|
|
--enable-id-check \ |
220 |
|
|
%{!?_without_milter:--enable-milter} \ |
221 |
|
|
--with-dbdir="%{_localstatedir}/clamav" \ |
222 |
|
|
--with-group="clamav" \ |
223 |
|
|
--with-libcurl \ |
224 |
|
|
--with-user="clamav" |
225 |
|
|
### Disable JIT until it is implemented securely (RHbz #573191) |
226 |
|
|
# --enable-llvm \ |
227 |
|
|
%{__make} %{?_smp_mflags} |
228 |
|
|
|
229 |
|
|
%install |
230 |
|
|
%{__rm} -rf %{buildroot} |
231 |
|
|
%{__make} install DESTDIR="%{buildroot}" |
232 |
|
|
|
233 |
|
|
%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/clamd |
234 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/freshclam.conf %{buildroot}%{_sysconfdir}/freshclam.conf |
235 |
slords |
1.1 |
%{__install} -Dp -m0755 freshclam.cron %{buildroot}%{_sysconfdir}/cron.daily/freshclam |
236 |
|
|
%{__install} -Dp -m0644 freshclam.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/freshclam |
237 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/clamd.conf %{buildroot}%{_sysconfdir}/clamd.conf |
238 |
slords |
1.1 |
%{__install} -Dp -m0644 clamd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/clamav |
239 |
|
|
|
240 |
|
|
%if %{!?_without_milter:1}0 |
241 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/clamav-milter.conf %{buildroot}%{_sysconfdir}/clamav-milter.conf |
242 |
slords |
1.1 |
%{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/clamav-milter |
243 |
|
|
%{__install} -Dp -m0644 clamav-milter.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/clamav-milter |
244 |
|
|
%else |
245 |
|
|
%{__rm} %{buildroot}%{_mandir}/man8/clamav-milter.8* |
246 |
|
|
%endif |
247 |
|
|
|
248 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/clamav/ |
249 |
|
|
touch %{buildroot}%{_localstatedir}/log/clamav/freshclam.log |
250 |
|
|
touch %{buildroot}%{_localstatedir}/log/clamav/clamd.log |
251 |
|
|
|
252 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/clamav/ |
253 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/clamav/ |
254 |
|
|
|
255 |
|
|
#touch %{buildroot}%{_localstatedir}/clamav/daily.cld |
256 |
|
|
#touch %{buildroot}%{_localstatedir}/clamav/main.cld |
257 |
|
|
|
258 |
|
|
%{__install} -Dp -m0644 %SOURCE10 %{buildroot}%{_localstatedir}/clamav/main.cvd |
259 |
|
|
%{__install} -Dp -m0644 %SOURCE11 %{buildroot}%{_localstatedir}/clamav/daily.cvd |
260 |
|
|
|
261 |
|
|
%post |
262 |
|
|
/sbin/ldconfig |
263 |
|
|
|
264 |
|
|
ZONES="/usr/share/zoneinfo/zone.tab" |
265 |
|
|
CONFIG="/etc/sysconfig/clock" |
266 |
|
|
|
267 |
|
|
if [ -r "$CONFIG" -a -r "$ZONES" ]; then |
268 |
|
|
source "$CONFIG" |
269 |
|
|
export CODE="$(grep -E "\b$ZONE\b" "$ZONES" | head -1 | cut -f1 | tr '[A-Z]' '[a-z]')" |
270 |
|
|
fi |
271 |
|
|
|
272 |
|
|
if [ -z "$CODE" ]; then |
273 |
|
|
export CODE="local" |
274 |
|
|
fi |
275 |
|
|
|
276 |
|
|
%{__perl} -pi -e ' |
277 |
|
|
s|^(DatabaseMirror) database\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|; |
278 |
|
|
s|^(DatabaseMirror) db\.\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|; |
279 |
|
|
' %{_sysconfdir}/freshclam.conf{,.rpmnew} &>/dev/null || : |
280 |
|
|
|
281 |
|
|
%postun -p /sbin/ldconfig |
282 |
|
|
|
283 |
|
|
%pre -n clamd |
284 |
|
|
/usr/sbin/groupadd -r clamav 2>/dev/null || : |
285 |
|
|
/usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || : |
286 |
|
|
|
287 |
|
|
%post -n clamd |
288 |
|
|
/sbin/chkconfig --add clamd |
289 |
|
|
|
290 |
|
|
%preun -n clamd |
291 |
|
|
if [ $1 -eq 0 ]; then |
292 |
|
|
/sbin/service clamd stop &>/dev/null || : |
293 |
|
|
/sbin/chkconfig --del clamd |
294 |
|
|
fi |
295 |
|
|
|
296 |
|
|
%postun -n clamd |
297 |
|
|
/sbin/service clamd condrestart &>/dev/null || : |
298 |
|
|
|
299 |
|
|
%post milter |
300 |
|
|
/sbin/chkconfig --add clamav-milter |
301 |
|
|
|
302 |
|
|
%preun milter |
303 |
|
|
if [ $1 -eq 0 ]; then |
304 |
|
|
/sbin/service clamav-milter stop &>/dev/null || : |
305 |
|
|
/sbin/chkconfig --del clamav-milter |
306 |
|
|
fi |
307 |
|
|
|
308 |
|
|
%postun milter |
309 |
|
|
/sbin/service clamav-milter condrestart &>/dev/null || : |
310 |
|
|
|
311 |
|
|
%pre db |
312 |
|
|
/usr/sbin/groupadd -r clamav 2>/dev/null || : |
313 |
|
|
/usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || : |
314 |
|
|
|
315 |
|
|
%clean |
316 |
|
|
%{__rm} -rf %{buildroot} |
317 |
|
|
|
318 |
|
|
%files |
319 |
|
|
%defattr(-, root, root, 0755) |
320 |
|
|
%doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README |
321 |
wellsi |
1.4 |
%doc etc/freshclam.conf.sample |
322 |
|
|
%doc docs/*.pdf |
323 |
slords |
1.1 |
### Remove test virus documents as they trigger clamav |
324 |
|
|
#%doc test/ |
325 |
|
|
%doc %{_mandir}/man1/sigtool.1* |
326 |
|
|
%doc %{_mandir}/man1/clambc.1* |
327 |
|
|
%doc %{_mandir}/man1/clamscan.1* |
328 |
|
|
%doc %{_mandir}/man1/freshclam.1* |
329 |
|
|
%doc %{_mandir}/man5/freshclam.conf.5* |
330 |
|
|
%config(noreplace) %{_sysconfdir}/freshclam.conf |
331 |
|
|
%{_bindir}/clambc |
332 |
|
|
%{_bindir}/clamscan |
333 |
|
|
%{_bindir}/freshclam |
334 |
|
|
%{_bindir}/sigtool |
335 |
|
|
%{_libdir}/libclamav.so.* |
336 |
|
|
%{_libdir}/libclamunrar.so.* |
337 |
|
|
%{_libdir}/libclamunrar_iface.so.* |
338 |
|
|
# moved from -devel to here so clamd can work with rars when clamav-devel is not installed. |
339 |
|
|
%{_libdir}/libclamav.so |
340 |
|
|
%{_libdir}/libclamunrar.so |
341 |
|
|
%{_libdir}/libclamunrar_iface.so |
342 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/freshclam.conf.sample |
343 |
slords |
1.1 |
|
344 |
|
|
%files -n clamd |
345 |
|
|
%defattr(-, root, root, 0755) |
346 |
wellsi |
1.4 |
%doc etc/clamd.conf.sample |
347 |
slords |
1.1 |
%doc %{_mandir}/man1/clambc.1* |
348 |
|
|
%doc %{_mandir}/man1/clamconf.1* |
349 |
|
|
%doc %{_mandir}/man1/clamdscan.1* |
350 |
|
|
%doc %{_mandir}/man1/clamdtop.1* |
351 |
|
|
%doc %{_mandir}/man5/clamd.conf.5* |
352 |
|
|
%doc %{_mandir}/man8/clamd.8* |
353 |
|
|
%config(noreplace) %{_sysconfdir}/clamd.conf |
354 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/clamav |
355 |
|
|
%config %{_initrddir}/clamd |
356 |
|
|
%{_sbindir}/clamd |
357 |
|
|
%{_bindir}/clamconf |
358 |
|
|
%{_bindir}/clamdscan |
359 |
|
|
%{_bindir}/clamdtop |
360 |
|
|
|
361 |
|
|
%defattr(0644, clamav, clamav, 0755) |
362 |
|
|
%{_localstatedir}/run/clamav/ |
363 |
|
|
%dir %{_localstatedir}/clamav/ |
364 |
|
|
%dir %{_localstatedir}/log/clamav/ |
365 |
|
|
%ghost %{_localstatedir}/log/clamav/clamd.log |
366 |
wellsi |
1.4 |
|
367 |
slords |
1.1 |
%exclude %{_localstatedir}/clamav/* |
368 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/clamd.conf.sample |
369 |
slords |
1.1 |
|
370 |
|
|
%if %{!?_without_milter:1}0 |
371 |
|
|
%files milter |
372 |
|
|
%defattr(-, root, root, 0755) |
373 |
wellsi |
1.4 |
%doc etc/clamav-milter.conf.sample |
374 |
slords |
1.1 |
%doc %{_mandir}/man5/clamav-milter.conf.5* |
375 |
|
|
%doc %{_mandir}/man8/clamav-milter.8* |
376 |
|
|
%config(noreplace) %{_sysconfdir}/clamav-milter.conf |
377 |
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/clamav-milter |
378 |
|
|
%config %{_initrddir}/clamav-milter |
379 |
|
|
%{_sbindir}/clamav-milter |
380 |
|
|
%else |
381 |
|
|
%exclude %{_mandir}/man5/clamav-milter.conf.5* |
382 |
|
|
%endif |
383 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/clamav-milter.conf.sample |
384 |
slords |
1.1 |
|
385 |
|
|
%files db |
386 |
|
|
%defattr(-, root, root, 0755) |
387 |
|
|
%config(noreplace) %{_sysconfdir}/cron.daily/freshclam |
388 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/freshclam |
389 |
|
|
|
390 |
|
|
%defattr(0644, clamav, clamav, 0755) |
391 |
|
|
%config(noreplace) %verify(user group mode) %{_localstatedir}/clamav/ |
392 |
|
|
%dir %{_localstatedir}/log/clamav/ |
393 |
|
|
%ghost %{_localstatedir}/log/clamav/freshclam.log |
394 |
|
|
|
395 |
|
|
%files devel |
396 |
|
|
%defattr(-, root, root, 0755) |
397 |
|
|
%{_bindir}/clamav-config |
398 |
|
|
%{_includedir}/clamav.h |
399 |
|
|
%{_libdir}/pkgconfig/libclamav.pc |
400 |
|
|
%exclude %{_libdir}/libclamav.la |
401 |
|
|
%exclude %{_libdir}/libclamunrar.la |
402 |
|
|
%exclude %{_libdir}/libclamunrar_iface.la |
403 |
|
|
|
404 |
|
|
%changelog |
405 |
wellsi |
1.7 |
* Sat Feb 1 2014 Ian Wells <esmith@wellsi.com> - 0.98.1-4.sme |
406 |
|
|
- Remove Packager and Vendor from spec file. [SME: 8163] |
407 |
|
|
|
408 |
wellsi |
1.6 |
* Fri Jan 31 2014 Ian Wells <esmith@wellsi.com> - 0.98.1-3.sme |
409 |
|
|
- Revert last change. [SME: 8163] |
410 |
|
|
|
411 |
wellsi |
1.5 |
* Fri Jan 31 2014 Ian Wells <esmith@wellsi.com> - 0.98.1-2.sme |
412 |
|
|
- Sources are local, do not download them. [SME: 8163] |
413 |
|
|
|
414 |
|
|
* Sun Jan 26 2014 David Beveridge <dave@bevhost.com.> - 0.98.1-1.sme |
415 |
|
|
- Updates to release 0.98.1 [SME: 8163] |
416 |
wellsi |
1.4 |
|
417 |
|
|
* Tue Sep 24 2013 Dag Wieers <dag@wieers.com> - 0.98-1 |
418 |
|
|
- Updated to release 0.98. |
419 |
|
|
|
420 |
|
|
* Tue May 07 2013 David Hrbá? <david@hrbac.cz> - 0.97.8-1 |
421 |
wellsi |
1.2 |
- Updated to release 0.97.8. |
422 |
|
|
|
423 |
slords |
1.1 |
* Wed Mar 20 2013 Dag Wieers <dag@wieers.com> - 0.97.7-1 |
424 |
|
|
- Updated to release 0.97.7. |
425 |
|
|
|
426 |
|
|
* Sun Sep 23 2012 Dag Wieers <dag@wieers.com> - 0.97.6-1 |
427 |
|
|
- Updated to release 0.97.6. |
428 |
|
|
|
429 |
wellsi |
1.4 |
* Mon Jun 25 2012 David Hrbá? <david@hrbac.cz> - 0.97.5-2 |
430 |
slords |
1.1 |
- removed missing *.cld files (#183) |
431 |
|
|
|
432 |
wellsi |
1.4 |
* Thu Jun 21 2012 David Hrbá? <david@hrbac.cz> - 0.97.5-1 |
433 |
slords |
1.1 |
- corrected missing DBs |
434 |
|
|
- new upstream release |
435 |
|
|
|
436 |
|
|
* Sat Jun 16 2012 Dag Wieers <dag@wieers.com> - 0.97.5-1 |
437 |
|
|
- Updated to release 0.97.5. |
438 |
|
|
|
439 |
|
|
* Thu Mar 15 2012 Dag Wieers <dag@wieers.com> - 0.97.4-1 |
440 |
|
|
- Updated to release 0.97.4. |
441 |
|
|
|
442 |
|
|
* Sat Dec 13 2011 Philip J Perry <phil@elrepo.org> - 0.97.3-2 |
443 |
|
|
- Fix Requires for clamav-milter to also allow use with Postfix. |
444 |
|
|
|
445 |
|
|
* Mon Oct 17 2011 Dag Wieers <dag@wieers.com> - 0.97.3-1 |
446 |
|
|
- Updated to release 0.97.3. |
447 |
|
|
|
448 |
|
|
* Mon Jul 25 2011 Dag Wieers <dag@wieers.com> - 0.97.2-1 |
449 |
|
|
- Updated to release 0.97.2. |
450 |
|
|
|
451 |
|
|
* Thu Jun 09 2011 Dag Wieers <dag@wieers.com> - 0.97.1-1 |
452 |
|
|
- Updated to release 0.97.1. |
453 |
|
|
|
454 |
|
|
* Tue Feb 08 2011 Dag Wieers <dag@wieers.com> - 0.97-1 |
455 |
|
|
- Updated to release 0.97. |
456 |
|
|
|
457 |
|
|
* Tue Nov 30 2010 Dag Wieers <dag@wieers.com> - 0.96.5-1 |
458 |
|
|
- Updated to release 0.96.5. |
459 |
|
|
|
460 |
|
|
* Mon Oct 25 2010 Dag Wieers <dag@wieers.com> - 0.96.4-1 |
461 |
|
|
- Updated to release 0.96.4. |
462 |
|
|
|
463 |
wellsi |
1.4 |
* Tue Sep 21 2010 David Hrbá? <david@hrbac.cz> - 0.96.3-2 |
464 |
slords |
1.1 |
- Added buildrequires check-devel. |
465 |
|
|
|
466 |
|
|
* Tue Sep 21 2010 Dag Wieers <dag@wieers.com> - 0.96.3-1 |
467 |
|
|
- Updated to release 0.96.3. |
468 |
|
|
|
469 |
|
|
* Tue Aug 17 2010 Dag Wieers <dag@wieers.com> - 0.96.2-2 |
470 |
|
|
- Added patch that fixes segfault when using SELinux. (Beat Siegenthaler) |
471 |
|
|
|
472 |
|
|
* Thu Aug 12 2010 Dag Wieers <dag@wieers.com> - 0.96.2-1 |
473 |
|
|
- Updated to release 0.96.2. |
474 |
|
|
|
475 |
|
|
* Wed May 19 2010 Dag Wieers <dag@wieers.com> - 0.96.1-1 |
476 |
|
|
- Updated to release 0.96.1. |
477 |
|
|
|
478 |
|
|
* Mon May 03 2010 Dag Wieers <dag@wieers.com> - 0.96-3 |
479 |
|
|
- Restored the LocalSocket configuration option to what it used to be. (Chris Butler) |
480 |
|
|
|
481 |
|
|
* Wed Apr 07 2010 Dag Wieers <dag@wieers.com> - 0.96-2 |
482 |
|
|
- Removed test virus documents to prevent triggering clamav itself. (Patrick Mulvany) |
483 |
|
|
|
484 |
|
|
* Wed Mar 31 2010 Dag Wieers <dag@wieers.com> - 0.96-1 |
485 |
|
|
- Updated to release 0.96. |
486 |
|
|
|
487 |
|
|
* Thu Oct 29 2009 Dag Wieers <dag@wieers.com> - 0.95.3-1 |
488 |
|
|
- Updated to release 0.95.3. |
489 |
|
|
|
490 |
|
|
* Fri Jun 12 2009 Christoph Maser <cmr@financial.com> - 0.95.2-1 |
491 |
|
|
- Updated to release 0.95.2. |
492 |
|
|
|
493 |
|
|
* Mon May 04 2009 Dag Wieers <dag@wieers.com> - 0.95.1-4 |
494 |
|
|
- Fix the inconsistency between LocalSocket in clamd.conf and clamav-milter.conf. (Gerald Teschl) |
495 |
|
|
|
496 |
|
|
* Sat May 02 2009 Dag Wieers <dag@wieers.com> - 0.95.1-3 |
497 |
|
|
- Fix the LocalSocket in clamd.conf. (Gerald Teschl) |
498 |
|
|
|
499 |
|
|
* Wed Apr 15 2009 Fabian Arrotin <fabian.arrotin@arrfab.net> - 0.95.1-2 |
500 |
|
|
- Added a missing BuildRequires: ncurses-devel to build clamdtop. |
501 |
|
|
|
502 |
|
|
* Fri Apr 10 2009 Dag Wieers <dag@wieers.com> - 0.95.1-2 |
503 |
|
|
- Corrected LogFile definition. (Vadim Druzhin) |
504 |
|
|
|
505 |
|
|
* Wed Apr 8 2009 Dag Wieers <dag@wieers.com> - 0.95.1-1 |
506 |
|
|
- Updated to release 0.95.1. |
507 |
|
|
|
508 |
|
|
* Tue Apr 7 2009 Dries Verachtert <dries@ulyssis.org> - 0.95-3 |
509 |
|
|
- Ugly fix for clamd which needs the .so files. |
510 |
|
|
|
511 |
|
|
* Tue Mar 24 2009 Dag Wieers <dag@wieers.com> - 0.95-1 |
512 |
|
|
- Updated to release 0.95. |
513 |
|
|
|
514 |
|
|
* Thu Nov 27 2008 Dag Wieers <dag@wieers.com> - 0.94.2-1 |
515 |
|
|
- Updated to release 0.94.2. |
516 |
|
|
|
517 |
|
|
* Mon Nov 03 2008 Dag Wieers <dag@wieers.com> - 0.94.1-1 |
518 |
|
|
- Updated to release 0.94.1. |
519 |
|
|
|
520 |
|
|
* Tue Sep 02 2008 Dag Wieers <dag@wieers.com> - 0.94-1 |
521 |
|
|
- Updated to release 0.94. |
522 |
|
|
|
523 |
|
|
* Wed Jul 09 2008 Dag Wieers <dag@wieers.com> - 0.93.3-1 |
524 |
|
|
- Updated to release 0.93.3. |
525 |
|
|
|
526 |
|
|
* Mon Jul 07 2008 Dag Wieers <dag@wieers.com> - 0.93.2-1 |
527 |
|
|
- Updated to release 0.93.2. |
528 |
|
|
|
529 |
|
|
* Mon Jun 09 2008 Dag Wieers <dag@wieers.com> - 0.93.1-1 |
530 |
|
|
- Updated to release 0.93.1. |
531 |
|
|
|
532 |
|
|
* Wed Apr 16 2008 Dag Wieers <dag@wieers.com> - 0.93-2 |
533 |
|
|
- Normal build causes linkage against installed library. |
534 |
|
|
|
535 |
|
|
* Mon Apr 14 2008 Dag Wieers <dag@wieers.com> - 0.93-1 |
536 |
|
|
- Updated to release 0.93. |
537 |
|
|
|
538 |
|
|
* Wed Feb 27 2008 Dag Wieers <dag@wieers.com> - queued |
539 |
|
|
- Do not require the latest release of clamav-db. (Federico Simoncelli) |
540 |
|
|
|
541 |
|
|
* Mon Feb 11 2008 Dag Wieers <dag@wieers.com> - 0.92.1-1 |
542 |
|
|
- Updated to release 0.92.1. |
543 |
|
|
|
544 |
|
|
* Thu Dec 13 2007 Dag Wieers <dag@wieers.com> - 0.92-1 |
545 |
|
|
- Updated to release 0.92. |
546 |
|
|
|
547 |
|
|
* Tue Aug 21 2007 Dag Wieers <dag@wieers.com> - 0.91.2-1 |
548 |
|
|
- Updated to release 0.91.2. |
549 |
|
|
|
550 |
|
|
* Tue Jul 17 2007 Dag Wieers <dag@wieers.com> - 0.91.1-1 |
551 |
|
|
- Updated to release 0.91.1. |
552 |
|
|
|
553 |
|
|
* Wed Jul 11 2007 Dag Wieers <dag@wieers.com> - 0.91-1 |
554 |
|
|
- Updated to release 0.91. |
555 |
|
|
|
556 |
|
|
* Thu May 31 2007 Dag Wieers <dag@wieers.com> - 0.90.3-1 |
557 |
|
|
- Updated to release 0.90.3. |
558 |
|
|
|
559 |
|
|
* Fri Apr 27 2007 Dag Wieers <dag@wieers.com> - 0.90.2-2 |
560 |
|
|
- Added clamav-milter support for EL2.1 now that it comes with a newer sendmail. (Tom G. Christensen) |
561 |
|
|
|
562 |
|
|
* Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.90.2-1 |
563 |
|
|
- Updated to release 0.90.2. |
564 |
|
|
|
565 |
|
|
* Fri Mar 09 2007 Dag Wieers <dag@wieers.com> - 0.90.1-4 |
566 |
|
|
- Removed circular dependency. |
567 |
|
|
|
568 |
|
|
* Thu Mar 08 2007 Dag Wieers <dag@wieers.com> - 0.90.1-3 |
569 |
|
|
- Cleaned up default options to clamav-milter. (Adam T. Bowen) |
570 |
|
|
- Removed -b/--bounce as it is no longer recognized. (Gerald Teschl) |
571 |
|
|
|
572 |
|
|
* Mon Mar 05 2007 Dag Wieers <dag@wieers.com> - 0.90.1-2 |
573 |
|
|
- Removed the erroneous --dont-clean-log from the clamav-milter sysconfig. (Gerald Teschl) |
574 |
|
|
|
575 |
|
|
* Fri Mar 02 2007 Dag Wieers <dag@wieers.com> - 0.90.1-1 |
576 |
|
|
- Updated to release 0.90.1. |
577 |
|
|
|
578 |
|
|
* Tue Feb 20 2007 Dag Wieers <dag@wieers.com> - 0.90-3 |
579 |
|
|
- Do the right thing... |
580 |
|
|
|
581 |
|
|
* Mon Feb 19 2007 Dag Wieers <dag@wieers.com> - 0.90-2 |
582 |
|
|
- The tarball was re-rolled before public release. Sigh. |
583 |
|
|
|
584 |
|
|
* Tue Feb 13 2007 Dag Wieers <dag@wieers.com> - 0.90-1 |
585 |
|
|
- Updated to release 0.90. |
586 |
|
|
|
587 |
|
|
* Tue Dec 12 2006 Dag Wieers <dag@wieers.com> - 0.88.7-1 |
588 |
|
|
- Updated to release 0.88.7. |
589 |
|
|
|
590 |
|
|
* Sun Nov 05 2006 Dag Wieers <dag@wieers.com> - 0.88.6-1 |
591 |
|
|
- Updated to release 0.88.6. |
592 |
|
|
- Added condrestart to sysv scripts. (Tsai Li Ming) |
593 |
|
|
|
594 |
|
|
* Sat Oct 28 2006 Dag Wieers <dag@wieers.com> - 0.88.5-2 |
595 |
|
|
- Added missing clamav dependency to clamav-db. |
596 |
|
|
|
597 |
|
|
* Sun Oct 15 2006 Dag Wieers <dag@wieers.com> - 0.88.5-1 |
598 |
|
|
- Updated to release 0.88.5. |
599 |
|
|
|
600 |
|
|
* Mon Aug 07 2006 Dag Wieers <dag@wieers.com> - 0.88.4-1 |
601 |
|
|
- Updated to release 0.88.4. |
602 |
|
|
|
603 |
|
|
* Mon Aug 07 2006 Dag Wieers <dag@wieers.com> - 0.88.3-2 |
604 |
|
|
- Incorporated UPX heap overflow fix. |
605 |
|
|
|
606 |
|
|
* Sat Jul 01 2006 Dag Wieers <dag@wieers.com> - 0.88.3-1 |
607 |
|
|
- Updated to release 0.88.3. |
608 |
|
|
|
609 |
|
|
* Sun Apr 30 2006 Dag Wieers <dag@wieers.com> - 0.88.2-1 |
610 |
|
|
- Updated to release 0.88.2. |
611 |
|
|
|
612 |
|
|
* Tue Apr 04 2006 Dag Wieers <dag@wieers.com> - 0.88.1-1 |
613 |
|
|
- Updated to release 0.88.1. |
614 |
|
|
|
615 |
|
|
* Mon Jan 09 2006 Dag Wieers <dag@wieers.com> - 0.88-1 |
616 |
|
|
- Updated to release 0.88. |
617 |
|
|
|
618 |
|
|
* Sun Nov 13 2005 Dries Verachtert <dries@ulyssis.org> - 0.87.1-1 |
619 |
|
|
- Updated to release 0.87.1. |
620 |
|
|
|
621 |
|
|
* Sat Sep 17 2005 Dag Wieers <dag@wieers.com> - 0.87-1 |
622 |
|
|
- Updated to release 0.87. |
623 |
|
|
|
624 |
|
|
* Mon Jul 25 2005 Dag Wieers <dag@wieers.com> - 0.86.2-1 |
625 |
|
|
- Updated to release 0.86.2. |
626 |
|
|
|
627 |
|
|
* Mon Jul 11 2005 Dag Wieers <dag@wieers.com> - 0.86.1-1 |
628 |
|
|
- Updated to release 0.86.1. |
629 |
|
|
|
630 |
|
|
* Mon May 16 2005 Dag Wieers <dag@wieers.com> - 0.85.1-1 |
631 |
|
|
- Updated to release 0.85.1. |
632 |
|
|
|
633 |
|
|
* Fri Apr 29 2005 Dag Wieers <dag@wieers.com> - 0.84-1 |
634 |
|
|
- Updated to release 0.84. |
635 |
|
|
|
636 |
|
|
* Mon Feb 14 2005 Dag Wieers <dag@wieers.com> - 0.83-1 |
637 |
|
|
- Updated to release 0.83. |
638 |
|
|
|
639 |
|
|
* Thu Feb 10 2005 Dag Wieers <dag@wieers.com> - 0.82-2 |
640 |
|
|
- Fix for false positive on RIFF files. (Roger Jochem) |
641 |
|
|
|
642 |
|
|
* Mon Feb 07 2005 Dag Wieers <dag@wieers.com> - 0.82-1 |
643 |
|
|
- Updated to release 0.82. |
644 |
|
|
|
645 |
|
|
* Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 0.81-1 |
646 |
|
|
- Improved logrotate scripts. (Filippo Grassilli) |
647 |
|
|
- Updated to release 0.81. |
648 |
|
|
|
649 |
|
|
* Wed Dec 01 2004 Dag Wieers <dag@wieers.com> - 0.80-2 |
650 |
|
|
- Added %dir /var/clamav/log. (Adam Bowns) |
651 |
|
|
- Changed logrotate script to use clamd.log. (Stuart Schneider) |
652 |
|
|
- Added curl dependency. (Petr Kristof) |
653 |
|
|
- Synchronized some options from Petr. (Petr Kristof) |
654 |
|
|
- Fixed another clamav.conf reference. (Michael Best) |
655 |
|
|
|
656 |
|
|
* Mon Nov 01 2004 Dag Wieers <dag@wieers.com> - 0.80-1 |
657 |
|
|
- Updated package description. (Arvin Troels) |
658 |
|
|
- Incorporated fixes from Jima. (Jima) |
659 |
|
|
- Config clamav.conf renamed to clamd.conf. |
660 |
|
|
- Removed obsolete patch. |
661 |
|
|
- Added macros for building without milter. |
662 |
|
|
- Updated to release 0.80. |
663 |
|
|
|
664 |
|
|
* Fri Jul 30 2004 Dag Wieers <dag@wieers.com> - 0.75.1-1 |
665 |
|
|
- Added obsoletes for fedora.us. |
666 |
|
|
- Updated to release 0.75.1. |
667 |
|
|
|
668 |
|
|
* Mon Jul 26 2004 Dag Wieers <dag@wieers.com> - 0.75-2 |
669 |
|
|
- Fixed a problem where $CODE was empty. |
670 |
|
|
|
671 |
|
|
* Fri Jul 23 2004 Dag Wieers <dag@wieers.com> - 0.75-1 |
672 |
|
|
- Updated to release 0.75. |
673 |
|
|
|
674 |
|
|
* Wed Jun 30 2004 Dag Wieers <dag@wieers.com> - 0.74-1 |
675 |
|
|
- Updated to release 0.74. |
676 |
|
|
|
677 |
|
|
* Tue Jun 15 2004 Dag Wieers <dag@wieers.com> - 0.73-1 |
678 |
|
|
- Updated to release 0.73. |
679 |
|
|
|
680 |
|
|
* Thu Jun 03 2004 Dag Wieers <dag@wieers.com> - 0.72-1 |
681 |
|
|
- Updated to release 0.72. |
682 |
|
|
|
683 |
|
|
* Thu May 20 2004 Dag Wieers <dag@wieers.com> - 0.71-1 |
684 |
|
|
- Updated to release 0.71. |
685 |
|
|
|
686 |
|
|
* Sun May 02 2004 Dag Wieers <dag@wieers.com> - 0.70-2 |
687 |
|
|
- Fixed the installation check for conf files. (Richard Soderberg, Udo Ruecker) |
688 |
|
|
- Changed the init-order of the sysv scripts. (Will McCutcheon) |
689 |
|
|
- Changes to the default configuration files. |
690 |
|
|
|
691 |
|
|
* Sat Mar 17 2004 Dag Wieers <dag@wieers.com> - 0.70-1 |
692 |
|
|
- Updated to release 0.70. |
693 |
|
|
|
694 |
|
|
* Tue Mar 16 2004 Dag Wieers <dag@wieers.com> - 0.68-1 |
695 |
|
|
- Updated to release 0.68. |
696 |
|
|
|
697 |
|
|
* Fri Mar 12 2004 Dag Wieers <dag@wieers.com> - 0.67.1-1 |
698 |
|
|
- Updated to release 0.67-1. |
699 |
|
|
- Added clamdwatch and trashcan to clamd. |
700 |
|
|
|
701 |
|
|
* Mon Mar 08 2004 Dag Wieers <dag@wieers.com> - 0.67-1 |
702 |
|
|
- Personalized SPEC file. |
703 |
|
|
|
704 |
|
|
* Mon Aug 22 2003 Matthias Saou/Che |
705 |
|
|
- Added "--without milter" build option. (Matthias Saou) |
706 |
|
|
- Fixed freshclam cron (Matthias Saou) |
707 |
|
|
- Built the new package. (Che) |
708 |
|
|
|
709 |
|
|
* Tue Jun 24 2003 Che |
710 |
|
|
- clamav-milter introduced. |
711 |
|
|
- a few more smaller fixes. |
712 |
|
|
|
713 |
|
|
* Sun Jun 22 2003 Che |
714 |
|
|
- version upgrade |
715 |
|
|
|
716 |
|
|
* Mon Jun 16 2003 Che |
717 |
|
|
- rh9 build |
718 |
|
|
- various fixes |
719 |
|
|
- got rid of rpm-helper prereq |
720 |
|
|
|
721 |
|
|
* Fri Mar 24 2003 Che |
722 |
|
|
- some cleanups and fixes |
723 |
|
|
- new patch added |
724 |
|
|
|
725 |
|
|
* Fri Nov 22 2002 Che |
726 |
|
|
- fixed a config patch issue |
727 |
|
|
|
728 |
|
|
* Fri Nov 22 2002 Che |
729 |
|
|
- version upgrade and some fixes |
730 |
|
|
|
731 |
|
|
* Sat Nov 02 2002 Che |
732 |
|
|
- version upgrade |
733 |
|
|
|
734 |
|
|
* Wed Oct 24 2002 Che |
735 |
|
|
- some important changes for lsb compliance |
736 |
|
|
|
737 |
|
|
* Wed Oct 23 2002 Che |
738 |
|
|
- initial rpm release |