Index: clamav-devel/Makefile =================================================================== RCS file: /home/pcvs/ports/security/clamav-devel/Makefile,v retrieving revision 1.64 diff -u -r1.64 Makefile --- clamav-devel/Makefile 22 Dec 2004 02:10:12 -0000 1.64 +++ clamav-devel/Makefile 12 Jan 2005 12:21:02 -0000 @@ -6,8 +6,7 @@ # PORTNAME= clamav -PORTVERSION= 20041213 -PORTREVISION= 1 +PORTVERSION= 20050110 CATEGORIES= security MASTER_SITES= http://www.clamav.net/snapshot/ PKGNAMESUFFIX= -devel @@ -42,7 +41,9 @@ PORTDOCS= NEWS ChangeLog html DBDIR= /var/db/clamav -PLIST_SUB+= DBDIR=${DBDIR} +RUNDIR= /var/run/clamav +PLIST_SUB+= DBDIR=${DBDIR} RUNDIR=${RUNDIR} + CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ --with-zlib=/usr \ --disable-zlib-vcheck \ @@ -65,11 +66,12 @@ CLAMAVUSER?= clamav CLAMAVGROUP?= clamav -CLAMAV_CLAMD_SOCKET?= /var/run/clamav/clamd -CLAMAV_MILTER_SOCKET?= /var/run/clamav/clmilter.sock +CLAMAV_CLAMD_SOCKET?= ${RUNDIR}/clamd +CLAMAV_MILTER_SOCKET?= ${RUNDIR}/clmilter.sock SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%DBDIR%%|${DBDIR}|g' \ + -e 's|%%RUNDIR%%|${RUNDIR}|g' \ -e 's|%%CLAMAVUSER%%|${CLAMAVUSER}|g' \ -e 's|%%CLAMAVGROUP%%|${CLAMAVGROUP}|g' \ -e 's|%%CLAMAV_CLAMD_SOCKET%%|${CLAMAV_CLAMD_SOCKET}|g' \ @@ -77,7 +79,7 @@ SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ -e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 /var/log/clamav/\3|' \ - -e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 /var/run/clamav/\2|' \ + -e 's|^\#?(PidFile) .*/([a-z]+\.pid)$$|\1 ${RUNDIR}/\2|' \ -e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ -e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(AllowSupplementaryGroups)$$|\1|' \ Index: clamav-devel/distinfo =================================================================== RCS file: /home/pcvs/ports/security/clamav-devel/distinfo,v retrieving revision 1.45 diff -u -r1.45 distinfo --- clamav-devel/distinfo 15 Dec 2004 09:57:27 -0000 1.45 +++ clamav-devel/distinfo 12 Jan 2005 12:21:02 -0000 @@ -1,2 +1,2 @@ -MD5 (clamav-devel-20041213.tar.gz) = bbd6194cbbc0bd71341e5ecffa5486b7 -SIZE (clamav-devel-20041213.tar.gz) = 1476871 +MD5 (clamav-devel-20050110.tar.gz) = 60d394ae8b6533640adbef9306a35c2f +SIZE (clamav-devel-20050110.tar.gz) = 1542220 Index: clamav-devel/pkg-plist =================================================================== RCS file: /home/pcvs/ports/security/clamav-devel/pkg-plist,v retrieving revision 1.24 diff -u -r1.24 pkg-plist --- clamav-devel/pkg-plist 22 Dec 2004 02:10:12 -0000 1.24 +++ clamav-devel/pkg-plist 12 Jan 2005 12:21:02 -0000 @@ -1,6 +1,7 @@ @comment $FreeBSD: ports/security/clamav-devel/pkg-plist,v 1.24 2004/12/22 02:10:12 edwin Exp $ -@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 +%%CLAMAV-MILTER%%@unexec [ ! -f %%RUNDIR%%/clamav-milter.pid ] || %%RC_DIR%%/clamav-milter%%RC_SUFX%% stop || true +@unexec [ ! -f %%RUNDIR%%/freshclam.pid ] || %%RC_DIR%%/clamav-freshclam%%RC_SUFX%% stop || true +@unexec [ ! -f %%RUNDIR%%/clamd.pid ] || %%RC_DIR%%/clamav-clamd%%RC_SUFX%% stop || true bin/clamav-config bin/clamscan bin/clamdscan @@ -25,5 +26,5 @@ @unexec [ ! -f %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true @unexec [ ! -f %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true @unexec rmdir %%DBDIR%% -@unexec rmdir /var/run/clamav 2>/dev/null || true +@unexec rmdir %%RUNDIR%% 2>/dev/null || true @unexec rmdir /var/log/clamav 2>/dev/null || true Index: clamav-devel/files/patch-configure.in =================================================================== RCS file: /home/pcvs/ports/security/clamav-devel/files/patch-configure.in,v retrieving revision 1.5 diff -u -r1.5 patch-configure.in --- clamav-devel/files/patch-configure.in 15 Dec 2004 09:57:27 -0000 1.5 +++ clamav-devel/files/patch-configure.in 12 Jan 2005 12:21:02 -0000 @@ -1,14 +1,5 @@ ---- configure.in.orig Tue Dec 7 23:46:18 2004 -+++ configure.in Mon Dec 13 23:09:50 2004 -@@ -38,7 +38,7 @@ - AC_DEFINE(FILEBUFF, 8192, [file i/o buffer size]) - - AC_HEADER_STDC --AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h uio.h) -+AC_CHECK_HEADERS(stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h regex.h limits.h sys/filio.h sys/uio.h) - AC_CHECK_HEADER(syslog.h,AC_DEFINE(USE_SYSLOG,1,[use syslog]),) - - AC_TYPE_OFF_T +--- configure.in.o Mon Jan 10 20:13:18 2005 ++++ configure.in Mon Jan 10 20:13:42 2005 @@ -360,9 +360,6 @@ ;; freebsd*)