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.6 |
Release: 3%{?dist} |
18 |
slords |
1.1 |
License: GPL |
19 |
|
|
Group: Applications/System |
20 |
|
|
URL: http://www.clamav.net/ |
21 |
|
|
|
22 |
wellsi |
1.4 |
Packager: Dag Wieers <dag@wieers.com> |
23 |
|
|
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
24 |
|
|
|
25 |
wellsi |
1.6 |
Source: http://downloads.sourceforge.net/project/clamav/clamav/%{version}/clamav-%{version}.tar.gz |
26 |
slords |
1.1 |
Source1: clamav.init |
27 |
|
|
Source2: clamav-milter.init |
28 |
wellsi |
1.6 |
Source10: http://db.local.clamav.net/main.cvd |
29 |
|
|
Source11: http://db.local.clamav.net/daily.cvd |
30 |
slords |
1.1 |
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 |
wellsi |
1.4 |
%{__perl} -pi -e ' |
126 |
slords |
1.1 |
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 |
wellsi |
1.4 |
' etc/clamd.conf.sample >etc/clamd.conf |
154 |
slords |
1.1 |
|
155 |
wellsi |
1.4 |
%{__perl} -pi -e ' |
156 |
slords |
1.1 |
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 |
wellsi |
1.4 |
' etc/clamav-milter.conf.sample >etc/clamav-milter.conf |
166 |
slords |
1.1 |
|
167 |
wellsi |
1.4 |
%{__perl} -p -e ' |
168 |
slords |
1.1 |
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 |
wellsi |
1.4 |
' etc/freshclam.conf.sample >etc/freshclam.conf |
176 |
slords |
1.1 |
|
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 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/freshclam.conf %{buildroot}%{_sysconfdir}/freshclam.conf |
238 |
slords |
1.1 |
%{__install} -Dp -m0755 freshclam.cron %{buildroot}%{_sysconfdir}/cron.daily/freshclam |
239 |
|
|
%{__install} -Dp -m0644 freshclam.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/freshclam |
240 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/clamd.conf %{buildroot}%{_sysconfdir}/clamd.conf |
241 |
slords |
1.1 |
%{__install} -Dp -m0644 clamd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/clamav |
242 |
|
|
|
243 |
|
|
%if %{!?_without_milter:1}0 |
244 |
wellsi |
1.4 |
%{__install} -Dp -m0644 etc/clamav-milter.conf %{buildroot}%{_sysconfdir}/clamav-milter.conf |
245 |
slords |
1.1 |
%{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/clamav-milter |
246 |
|
|
%{__install} -Dp -m0644 clamav-milter.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/clamav-milter |
247 |
|
|
%else |
248 |
|
|
%{__rm} %{buildroot}%{_mandir}/man8/clamav-milter.8* |
249 |
|
|
%endif |
250 |
|
|
|
251 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/clamav/ |
252 |
|
|
touch %{buildroot}%{_localstatedir}/log/clamav/freshclam.log |
253 |
|
|
touch %{buildroot}%{_localstatedir}/log/clamav/clamd.log |
254 |
|
|
|
255 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/clamav/ |
256 |
|
|
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/clamav/ |
257 |
|
|
|
258 |
|
|
#touch %{buildroot}%{_localstatedir}/clamav/daily.cld |
259 |
|
|
#touch %{buildroot}%{_localstatedir}/clamav/main.cld |
260 |
|
|
|
261 |
|
|
%{__install} -Dp -m0644 %SOURCE10 %{buildroot}%{_localstatedir}/clamav/main.cvd |
262 |
|
|
%{__install} -Dp -m0644 %SOURCE11 %{buildroot}%{_localstatedir}/clamav/daily.cvd |
263 |
|
|
|
264 |
|
|
%post |
265 |
|
|
/sbin/ldconfig |
266 |
|
|
|
267 |
|
|
ZONES="/usr/share/zoneinfo/zone.tab" |
268 |
|
|
CONFIG="/etc/sysconfig/clock" |
269 |
|
|
|
270 |
|
|
if [ -r "$CONFIG" -a -r "$ZONES" ]; then |
271 |
|
|
source "$CONFIG" |
272 |
|
|
export CODE="$(grep -E "\b$ZONE\b" "$ZONES" | head -1 | cut -f1 | tr '[A-Z]' '[a-z]')" |
273 |
|
|
fi |
274 |
|
|
|
275 |
|
|
if [ -z "$CODE" ]; then |
276 |
|
|
export CODE="local" |
277 |
|
|
fi |
278 |
|
|
|
279 |
|
|
%{__perl} -pi -e ' |
280 |
|
|
s|^(DatabaseMirror) database\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|; |
281 |
|
|
s|^(DatabaseMirror) db\.\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|; |
282 |
|
|
' %{_sysconfdir}/freshclam.conf{,.rpmnew} &>/dev/null || : |
283 |
|
|
|
284 |
|
|
%postun -p /sbin/ldconfig |
285 |
|
|
|
286 |
|
|
%pre -n clamd |
287 |
|
|
/usr/sbin/groupadd -r clamav 2>/dev/null || : |
288 |
|
|
/usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || : |
289 |
|
|
|
290 |
|
|
%post -n clamd |
291 |
|
|
/sbin/chkconfig --add clamd |
292 |
|
|
|
293 |
|
|
%preun -n clamd |
294 |
|
|
if [ $1 -eq 0 ]; then |
295 |
|
|
/sbin/service clamd stop &>/dev/null || : |
296 |
|
|
/sbin/chkconfig --del clamd |
297 |
|
|
fi |
298 |
|
|
|
299 |
|
|
%postun -n clamd |
300 |
|
|
/sbin/service clamd condrestart &>/dev/null || : |
301 |
|
|
|
302 |
|
|
%post milter |
303 |
|
|
/sbin/chkconfig --add clamav-milter |
304 |
|
|
|
305 |
|
|
%preun milter |
306 |
|
|
if [ $1 -eq 0 ]; then |
307 |
|
|
/sbin/service clamav-milter stop &>/dev/null || : |
308 |
|
|
/sbin/chkconfig --del clamav-milter |
309 |
|
|
fi |
310 |
|
|
|
311 |
|
|
%postun milter |
312 |
|
|
/sbin/service clamav-milter condrestart &>/dev/null || : |
313 |
|
|
|
314 |
|
|
%pre db |
315 |
|
|
/usr/sbin/groupadd -r clamav 2>/dev/null || : |
316 |
|
|
/usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || : |
317 |
|
|
|
318 |
|
|
%clean |
319 |
|
|
%{__rm} -rf %{buildroot} |
320 |
|
|
|
321 |
|
|
%files |
322 |
|
|
%defattr(-, root, root, 0755) |
323 |
|
|
%doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README |
324 |
wellsi |
1.4 |
%doc etc/freshclam.conf.sample |
325 |
|
|
%doc docs/*.pdf |
326 |
slords |
1.1 |
### Remove test virus documents as they trigger clamav |
327 |
|
|
#%doc test/ |
328 |
|
|
%doc %{_mandir}/man1/sigtool.1* |
329 |
|
|
%doc %{_mandir}/man1/clambc.1* |
330 |
|
|
%doc %{_mandir}/man1/clamscan.1* |
331 |
|
|
%doc %{_mandir}/man1/freshclam.1* |
332 |
|
|
%doc %{_mandir}/man5/freshclam.conf.5* |
333 |
|
|
%config(noreplace) %{_sysconfdir}/freshclam.conf |
334 |
|
|
%{_bindir}/clambc |
335 |
|
|
%{_bindir}/clamscan |
336 |
|
|
%{_bindir}/freshclam |
337 |
|
|
%{_bindir}/sigtool |
338 |
|
|
%{_libdir}/libclamav.so.* |
339 |
|
|
%{_libdir}/libclamunrar.so.* |
340 |
|
|
%{_libdir}/libclamunrar_iface.so.* |
341 |
|
|
# moved from -devel to here so clamd can work with rars when clamav-devel is not installed. |
342 |
|
|
%{_libdir}/libclamav.so |
343 |
|
|
%{_libdir}/libclamunrar.so |
344 |
|
|
%{_libdir}/libclamunrar_iface.so |
345 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/freshclam.conf.sample |
346 |
slords |
1.1 |
|
347 |
|
|
%files -n clamd |
348 |
|
|
%defattr(-, root, root, 0755) |
349 |
wellsi |
1.4 |
%doc etc/clamd.conf.sample |
350 |
slords |
1.1 |
%doc %{_mandir}/man1/clambc.1* |
351 |
|
|
%doc %{_mandir}/man1/clamconf.1* |
352 |
|
|
%doc %{_mandir}/man1/clamdscan.1* |
353 |
|
|
%doc %{_mandir}/man1/clamdtop.1* |
354 |
|
|
%doc %{_mandir}/man5/clamd.conf.5* |
355 |
|
|
%doc %{_mandir}/man8/clamd.8* |
356 |
|
|
%config(noreplace) %{_sysconfdir}/clamd.conf |
357 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/clamav |
358 |
|
|
%config %{_initrddir}/clamd |
359 |
|
|
%{_sbindir}/clamd |
360 |
|
|
%{_bindir}/clamconf |
361 |
|
|
%{_bindir}/clamdscan |
362 |
|
|
%{_bindir}/clamdtop |
363 |
|
|
|
364 |
|
|
%defattr(0644, clamav, clamav, 0755) |
365 |
|
|
%{_localstatedir}/run/clamav/ |
366 |
|
|
%dir %{_localstatedir}/clamav/ |
367 |
|
|
%dir %{_localstatedir}/log/clamav/ |
368 |
|
|
%ghost %{_localstatedir}/log/clamav/clamd.log |
369 |
wellsi |
1.4 |
|
370 |
slords |
1.1 |
%exclude %{_localstatedir}/clamav/* |
371 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/clamd.conf.sample |
372 |
slords |
1.1 |
|
373 |
|
|
%if %{!?_without_milter:1}0 |
374 |
|
|
%files milter |
375 |
|
|
%defattr(-, root, root, 0755) |
376 |
wellsi |
1.4 |
%doc etc/clamav-milter.conf.sample |
377 |
slords |
1.1 |
%doc %{_mandir}/man5/clamav-milter.conf.5* |
378 |
|
|
%doc %{_mandir}/man8/clamav-milter.8* |
379 |
|
|
%config(noreplace) %{_sysconfdir}/clamav-milter.conf |
380 |
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/clamav-milter |
381 |
|
|
%config %{_initrddir}/clamav-milter |
382 |
|
|
%{_sbindir}/clamav-milter |
383 |
|
|
%else |
384 |
|
|
%exclude %{_mandir}/man5/clamav-milter.conf.5* |
385 |
|
|
%endif |
386 |
wellsi |
1.4 |
%exclude %{_sysconfdir}/clamav-milter.conf.sample |
387 |
slords |
1.1 |
|
388 |
|
|
%files db |
389 |
|
|
%defattr(-, root, root, 0755) |
390 |
|
|
%config(noreplace) %{_sysconfdir}/cron.daily/freshclam |
391 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/freshclam |
392 |
|
|
|
393 |
|
|
%defattr(0644, clamav, clamav, 0755) |
394 |
|
|
%config(noreplace) %verify(user group mode) %{_localstatedir}/clamav/ |
395 |
|
|
%dir %{_localstatedir}/log/clamav/ |
396 |
|
|
%ghost %{_localstatedir}/log/clamav/freshclam.log |
397 |
|
|
|
398 |
|
|
%files devel |
399 |
|
|
%defattr(-, root, root, 0755) |
400 |
|
|
%{_bindir}/clamav-config |
401 |
|
|
%{_includedir}/clamav.h |
402 |
|
|
%{_libdir}/pkgconfig/libclamav.pc |
403 |
|
|
%exclude %{_libdir}/libclamav.la |
404 |
|
|
%exclude %{_libdir}/libclamunrar.la |
405 |
|
|
%exclude %{_libdir}/libclamunrar_iface.la |
406 |
|
|
|
407 |
|
|
%changelog |
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 |