freebsd-ports/security/clamav/pkg-plist
Alexander Leidinger b83a30e56f Fix some bugs in the previous commit...
- correct typo in the name of the socket variable (used to remove a stale
   socket)
 - install the startup script with the correct name (important if you use
   clamav-milter too)

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
Approved by:	maintainer (implizit, this is a bugfix for the previous
		version)
2003-12-09 17:07:26 +00:00

26 lines
780 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%%etc/rc.d/clamav-milter%%RC_SUFX%%
%%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/clamav-clamd%%RC_SUFX%%
@owner clamav
@group clamav
%%DATADIR%%/daily.cvd
%%DATADIR%%/main.cvd
%%DATADIR%%/mirrors.txt
@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