diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-15 10:04:48 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-06-15 10:04:48 +0000 |
commit | 4af7c839c87a08df7a2cac56a3aa7ab147c546bf (patch) | |
tree | 2df8eea9814a6de93560b121c0a0b343ef5e7c7d /security/clamav | |
parent | 2defa2b26faa14de4ccc410c0e312267c8b25bdb (diff) | |
download | ports-4af7c839c87a08df7a2cac56a3aa7ab147c546bf.tar.gz ports-4af7c839c87a08df7a2cac56a3aa7ab147c546bf.zip |
Notes
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/Makefile | 5 | ||||
-rw-r--r-- | security/clamav/distinfo | 4 | ||||
-rw-r--r-- | security/clamav/files/clamav-freshclam.sh | 2 | ||||
-rw-r--r-- | security/clamav/pkg-descr | 1 | ||||
-rw-r--r-- | security/clamav/pkg-plist | 5 |
5 files changed, 11 insertions, 6 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index ac7cf33f07c6..69b5d6b1995c 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -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 diff --git a/security/clamav/distinfo b/security/clamav/distinfo index 4949e0ce2b8f..f29530d6ef86 100644 --- a/security/clamav/distinfo +++ b/security/clamav/distinfo @@ -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 diff --git a/security/clamav/files/clamav-freshclam.sh b/security/clamav/files/clamav-freshclam.sh index 82cc04997675..8e723f6eb844 100644 --- a/security/clamav/files/clamav-freshclam.sh +++ b/security/clamav/files/clamav-freshclam.sh @@ -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 diff --git a/security/clamav/pkg-descr b/security/clamav/pkg-descr index 2e0cdab83cab..3017738b4102 100644 --- a/security/clamav/pkg-descr +++ b/security/clamav/pkg-descr @@ -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. diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index e5d7174a6b11..0a555cf27020 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -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 |