From 52872ea99e95a563afabf800d9e7d602c7cfb3a2 Mon Sep 17 00:00:00 2001 From: mbalmer Date: Wed, 11 Apr 2007 17:54:10 +0000 Subject: [PATCH] Port maintenance: - Build a new version even if the old one is still installed - Only chmod 700 the /var/clamav/quantine directory From Jeremy Evans --- security/clamav/Makefile | 5 +++-- security/clamav/pkg/PLIST | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 1d106c02c30..9bdedeec280 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.25 2007/03/25 11:24:02 mbalmer Exp $ +# $OpenBSD: Makefile,v 1.26 2007/04/11 17:54:10 mbalmer Exp $ COMMENT= "virus scanner" DISTNAME= clamav-0.90.1 +PKGNAME= ${DISTNAME}p0 CATEGORIES= security SHARED_LIBS= clamav 4.0 @@ -47,7 +48,7 @@ CONFIGURE_ARGS+= --disable-clamav \ NO_REGRESS= Yes -CONFIGURE_ENV+= LDFLAGS="-pthread -L/usr/lib -L${LOCALBASE}/lib" \ +CONFIGURE_ENV+= LDFLAGS="-pthread -L/usr/lib -L../libclamav/.libs -L${LOCALBASE}/lib" \ CPPFLAGS="-I/usr/include -I${LOCALBASE}/include" DOCS= clamav-mirror-howto.pdf clamdoc.pdf signatures.pdf diff --git a/security/clamav/pkg/PLIST b/security/clamav/pkg/PLIST index 42ec4d048ca..bc41adc1795 100644 --- a/security/clamav/pkg/PLIST +++ b/security/clamav/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2007/02/28 20:31:08 mbalmer Exp $ +@comment $OpenBSD: PLIST,v 1.6 2007/04/11 17:54:11 mbalmer Exp $ @newgroup _clamav:539 @newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin bin/clamav-config @@ -37,8 +37,8 @@ share/examples/clamav/freshclam.conf @owner _clamav @group _clamav @sample /var/db/clamav/ -@mode 0700 @sample /var/clamav/ +@mode 0700 @sample /var/clamav/quarantine/ @extraunexec rm -fr /var/db/clamav/* @extraunexec rm -fr /var/clamav/quarantine/*