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 <jeremyevans0@gmail.com>
This commit is contained in:
mbalmer 2007-04-11 17:54:10 +00:00
parent 297300f898
commit 52872ea99e
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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/*