Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 20:26:29 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354367 - head/security/clamav
Message-ID:  <201405172026.s4HKQTeZ071510@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Sat May 17 20:26:29 2014
New Revision: 354367
URL: http://svnweb.freebsd.org/changeset/ports/354367
QAT: https://qat.redports.org/buildarchive/r354367/

Log:
  Fix plist with old pkg_ tools

Modified:
  head/security/clamav/Makefile
  head/security/clamav/pkg-plist

Modified: head/security/clamav/Makefile
==============================================================================
--- head/security/clamav/Makefile	Sat May 17 20:17:25 2014	(r354366)
+++ head/security/clamav/Makefile	Sat May 17 20:26:29 2014	(r354367)
@@ -3,7 +3,7 @@
 
 PORTNAME=	clamav
 PORTVERSION=	0.98.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF
 
@@ -58,11 +58,12 @@ PORTDOCS=	*
 DBDIR=		/var/db/clamav
 LOGDIR=		/var/log/clamav
 RUNDIR=		/var/run/clamav
-PLIST_SUB+=	DBDIR=${DBDIR} \
-		LOGDIR=${LOGDIR} \
-		RUNDIR=${RUNDIR} \
+PLIST_SUB+=	DBDIR=${DBDIR:S/^\///} \
+		LOGDIR=${LOGDIR:S/^\///} \
+		RUNDIR=${RUNDIR:S/^\///} \
 		CLAMAVUSER=${CLAMAVUSER} \
-		CLAMAVGROUP=${CLAMAVGROUP}
+		CLAMAVGROUP=${CLAMAVGROUP} \
+		RESETPREFIX=${PREFIX}
 PY_NO_THREAD=	${WRKDIR}/.python-has-no-threads
 USE_AUTOTOOLS=	libltdl
 OPTIONS_SUB=	yes

Modified: head/security/clamav/pkg-plist
==============================================================================
--- head/security/clamav/pkg-plist	Sat May 17 20:17:25 2014	(r354366)
+++ head/security/clamav/pkg-plist	Sat May 17 20:26:29 2014	(r354367)
@@ -45,3 +45,4 @@ man/man8/clamd.8.gz
 @dirrmtry %%RUNDIR%%
 @group
 @owner
+@cwd %%RESETPREFIX%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405172026.s4HKQTeZ071510>