diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-12-09 17:07:26 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-12-09 17:07:26 +0000 |
commit | b83a30e56fc240c2b7e936f59c66459f5c179b83 (patch) | |
tree | 5b9450a1c4551b9944b69fa2dc38ee871ccbbb97 /security/clamav | |
parent | 785e2e9f0fab62af36d2b6e1b3b0af35e8e74536 (diff) | |
download | ports-b83a30e56fc240c2b7e936f59c66459f5c179b83.tar.gz ports-b83a30e56fc240c2b7e936f59c66459f5c179b83.zip |
Notes
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/Makefile | 7 | ||||
-rw-r--r-- | security/clamav/pkg-plist | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index fcfd0e4de443..c5b0a276b747 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -7,7 +7,7 @@ PORTNAME= clamav PORTVERSION= 0.65 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= clamav @@ -41,7 +41,7 @@ MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1 MAN5= clamav.conf.5 MAN8= clamd.8 clamav-milter.8 -CLAMAV_CLAMD_SOCKE?= /var/run/clamav/clamd +CLAMAV_CLAMD_SOCKET?= /var/run/clamav/clamd CLAMAV_MILTER_SOCKET?= /var/run/clmilter.sock CONFLICTS= clamav-devel-* @@ -110,7 +110,8 @@ pre-install: ${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL post-install: - @${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh ${RC_DIR}/clamd${RC_SUFX} + @${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \ + ${RC_DIR}/clamav-clamd${RC_SUFX} @${CHOWN} -R clamav:clamav ${DATADIR} @[ -f ${PREFIX}/etc/clamav.conf ] || \ ${CP} ${PREFIX}/etc/clamav.conf.default ${PREFIX}/etc/clamav.conf diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index bd5aa5750bb4..a12af6b1d7fd 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -14,7 +14,7 @@ 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%% +etc/rc.d/clamav-clamd%%RC_SUFX%% @owner clamav @group clamav %%DATADIR%%/daily.cvd |