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