5e2bc95fa1
- use included libtool (seems heavily patched) - make packageable and include a working configure file - add a rcNG start/stop script - added web site - don't install useless .la files - use DATADIR - 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100 - minor cleanup PR: 57256 Submitted by: eikemeier@fillmore-labs.com
25 lines
726 B
Text
25 lines
726 B
Text
@comment $FreeBSD$
|
|
@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamd%%RC_SUFX%% stop || true
|
|
bin/clamscan
|
|
bin/clamdscan
|
|
bin/freshclam
|
|
bin/sigtool
|
|
%%CLAMAV-MILTER%%sbin/clamav-milter
|
|
sbin/clamd
|
|
include/clamav.h
|
|
lib/libclamav.so.1
|
|
lib/libclamav.so
|
|
lib/libclamav.a
|
|
@unexec if cmp -s %D/etc/clamav.conf %D/etc/clamav.conf.default; then rm -f %D/etc/clamav.conf; fi
|
|
etc/clamav.conf.default
|
|
@exec [ -f %B/clamav.conf ] || cp %B/%f %B/clamav.conf
|
|
etc/rc.d/clamd%%RC_SUFX%%
|
|
@owner clamav
|
|
@group clamav
|
|
%%DATADIR%%/mirrors.txt
|
|
%%DATADIR%%/viruses.db
|
|
%%DATADIR%%/viruses.db2
|
|
@exec chown clamav:clamav %B
|
|
@dirrm %%DATADIR%%
|
|
@unexec rmdir /var/run/clamav 2>/dev/null || true
|
|
@unexec rmdir /var/log/clamav 2>/dev/null || true
|