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