diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-09-28 13:29:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-09-28 13:29:28 +0000 |
commit | 5e2bc95fa1f0bd453129c777beb94396393dda0a (patch) | |
tree | cf7e544c9bcad15e703bcdc275554076c4fc2d69 /security/clamav/pkg-plist | |
parent | Update port: security/pf - OpenBSD 3.4 pf (diff) |
- don't remove clamav account on deinstall
- 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
Diffstat (limited to 'security/clamav/pkg-plist')
-rw-r--r-- | security/clamav/pkg-plist | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index cac5ce5be29f..f427110a6f4e 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -1,16 +1,25 @@ +@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 +%%CLAMAV-MILTER%%sbin/clamav-milter sbin/clamd include/clamav.h lib/libclamav.so.1 lib/libclamav.so -lib/libclamav.la lib/libclamav.a -share/clamav/mirrors.txt -share/clamav/viruses.db -share/clamav/viruses.db2 -@dirrm share/clamav -@unexec rmuser -y clamav +@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 |