1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

update to 0.73

use freshclam pid file

PR:		67962
Submitted by:	Rob Evers <rob@debank.tv> (maintainer)
This commit is contained in:
Oliver Eikemeier 2004-06-15 10:04:48 +00:00
parent 2defa2b26f
commit 4af7c839c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111528
5 changed files with 11 additions and 6 deletions

View File

@ -23,11 +23,10 @@ RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \
arc:${PORTSDIR}/archivers/arc \
unzip:${PORTSDIR}/archivers/unzip
DISTVERSION= 0.72
DISTVERSION= 0.73
OPTIONS= MILTER "Compile the milter interface" off
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
@ -108,6 +107,8 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|/usr/lib/sendmail|/usr/sbin/sendmail|g' \
${WRKSRC}/clamav-milter/clamav-milter.c
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
post-build:
@${REINPLACE_CMD} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf

View File

@ -1,2 +1,2 @@
MD5 (clamav-0.72.tar.gz) = f859f9ba5d156a8be92585f6e7f26cca
SIZE (clamav-0.72.tar.gz) = 2623397
MD5 (clamav-0.73.tar.gz) = e96f007e9156b41b5f07707e3b004465
SIZE (clamav-0.73.tar.gz) = 2646169

View File

@ -28,7 +28,7 @@ required_files=%%PREFIX%%/etc/freshclam.conf
# set defaults
clamav_freshclam_enable=${clamav_freshclam_enable:-"NO"}
clamav_freshclam_flags=${clamav_freshclam_flags:-"--daemon-notify=%%PREFIX%%/etc/clamav.conf"}
clamav_freshclam_flags=${clamav_freshclam_flags:-"--pid=/var/run/clamav/freshclam.pid --daemon-notify=%%PREFIX%%/etc/clamav.conf"}
load_rc_config $name

View File

@ -1,3 +1,4 @@
This the stable version of Clam Antivirus.
Clam Antivirus is command line virus scanner written entirely in C
and its database is kept up to date. It also detects polymorphic
viruses, scans compressed files and supported by AMaViS.

View File

@ -1,5 +1,7 @@
@comment $FreeBSD$
@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamd%%RC_SUFX%% stop || true
@unexec [ ! -f /var/run/clamav/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true
@unexec [ ! -f /var/run/clamav/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true
bin/clamav-config
bin/clamscan
bin/clamdscan
bin/freshclam
@ -13,6 +15,7 @@ include/clamav.h
lib/libclamav.so.1
lib/libclamav.so
lib/libclamav.a
libdata/pkgconfig/libclamav.pc
@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