aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-12-30 23:42:38 +0800
committerdinoex <dinoex@FreeBSD.org>2003-12-30 23:42:38 +0800
commitd21660280505d358581c278c4d9a604a658ea845 (patch)
treeddc4cee6f522d93aaed35e997e99d4489b4b1d21 /security
parentc82e05196fbe2df3ce1bb8c8eb0d1812c2ac1c8f (diff)
downloadfreebsd-ports-graphics-d21660280505d358581c278c4d9a604a658ea845.tar.gz
freebsd-ports-graphics-d21660280505d358581c278c4d9a604a658ea845.tar.zst
freebsd-ports-graphics-d21660280505d358581c278c4d9a604a658ea845.zip
- update to 20031229
- new config file freshclam.conf Fix problem with clamscan --mbox Approved by: rob@debank.tv
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile8
-rw-r--r--security/clamav-devel/distinfo2
-rw-r--r--security/clamav-devel/pkg-plist3
3 files changed, 11 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index f3ff2cc0863..310ef92fa4d 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= clamav
-PORTVERSION= 20031222
+PORTVERSION= 20031229
CATEGORIES= security
MASTER_SITES= http://clamav.sourceforge.net/snapshot/
PKGNAMESUFFIX= -devel
@@ -96,12 +96,15 @@ post-patch:
pre-configure:
@${REINPLACE_CMD} -e 's|clamav.conf|&.default|' \
+ -e 's|freshclam.conf|&.default|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
${CONFIGURE_WRKSRC}/etc/Makefile.in
post-build:
@${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/clamav.conf \
> ${BUILD_WRKSRC}/etc/clamav.conf.default
+ @${SED} ${SED_CONF} ${BUILD_WRKSRC}/etc/freshclam.conf \
+ > ${BUILD_WRKSRC}/etc/freshclam.conf.default
@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-clamd.sh \
> ${WRKDIR}/clamav-clamd.sh
@${SED} ${SED_SCRIPT} ${FILESDIR}/clamav-milter.sh \
@@ -115,6 +118,9 @@ post-install:
@[ -f ${PREFIX}/etc/clamav.conf ] || \
${CP} ${PREFIX}/etc/clamav.conf.default \
${PREFIX}/etc/clamav.conf
+ @[ -f ${PREFIX}/etc/freshclam.conf ] || \
+ ${CP} ${PREFIX}/etc/freshclam.conf.default \
+ ${PREFIX}/etc/freshclam.conf
@${CHOWN} -R ${CLAMAVUSER}:${CLAMAVGROUP} ${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \
${RC_DIR}/clamav-clamd${RC_SUFX}
diff --git a/security/clamav-devel/distinfo b/security/clamav-devel/distinfo
index f75360823e5..1bef4070c20 100644
--- a/security/clamav-devel/distinfo
+++ b/security/clamav-devel/distinfo
@@ -1 +1 @@
-MD5 (clamav-devel-20031222.tar.gz) = 976351f0669a406cf9022eb2e52c4c99
+MD5 (clamav-devel-20031229.tar.gz) = 30f399d402d6805b8908da02182e83ec
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist
index 39ab856d80c..cb37c365da9 100644
--- a/security/clamav-devel/pkg-plist
+++ b/security/clamav-devel/pkg-plist
@@ -13,6 +13,9 @@ 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
+@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