freebsd-ports/security/clamav-devel/pkg-plist
Dirk Meyer 35de7eb27a - update to 20040210
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port

You have to run freshclam manually once after upgrade to restore the database.

PR:		62653
Submitted by:	rob@debank.tv

- Fix deinstall when no database was installed.
Submitted by:	dinoex
2004-02-11 10:39:34 +00:00

32 lines
1.2 KiB
Text

bin/clamscan
bin/clamdscan
bin/freshclam
bin/sigtool
etc/rc.d/clamav-clamd%%RC_SUFX%%
etc/rc.d/freshclam%%RC_SUFX%%
%%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
%%PORTDOCS%%%%DOCSDIR%%-devel/clamav-mirror-howto.pdf
%%PORTDOCS%%%%DOCSDIR%%-devel/clamdoc.pdf
%%PORTDOCS%%%%DOCSDIR%%-devel/signatures.pdf
@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
@unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.default; then rm -f %D/etc/freshclam.conf; fi
etc/freshclam.conf.default
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf
@owner %%CLAMAVUSER%%
@group %%CLAMAVGROUP%%
%%DATADIR%%/mirrors.txt
@exec chown %%CLAMAVUSER%%:%%CLAMAVGROUP%% %B
@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/main.cvd
@unexec [ -s %D/%%DATADIR%%/daily.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
@unexec rmdir /var/run/clamav 2>/dev/null || true
@unexec rmdir /var/log/clamav 2>/dev/null || true
%%PORTDOCS%%@dirrm %%DOCSDIR%%-devel