Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 14:56:36 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412230 - in head/security/clamav-unofficial-sigs: . files
Message-ID:  <201603311456.u2VEuac4024734@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Thu Mar 31 14:56:36 2016
New Revision: 412230
URL: https://svnweb.freebsd.org/changeset/ports/412230

Log:
  security/clamav-unofficial-sigs: fix PREFIX in two patches
  
  PR:		208326
  Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>
  Approved by:	Marko Njezic <sf@maxempire.com> (maintainer)

Modified:
  head/security/clamav-unofficial-sigs/Makefile
  head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh
  head/security/clamav-unofficial-sigs/files/patch-cron.d_clamav-unofficial-sigs

Modified: head/security/clamav-unofficial-sigs/Makefile
==============================================================================
--- head/security/clamav-unofficial-sigs/Makefile	Thu Mar 31 14:54:45 2016	(r412229)
+++ head/security/clamav-unofficial-sigs/Makefile	Thu Mar 31 14:56:36 2016	(r412230)
@@ -3,6 +3,7 @@
 
 PORTNAME=	clamav-unofficial-sigs
 PORTVERSION=	5.0.4
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	sf@maxempire.com

Modified: head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh
==============================================================================
--- head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh	Thu Mar 31 14:54:45 2016	(r412229)
+++ head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh	Thu Mar 31 14:56:36 2016	(r412230)
@@ -1,11 +1,11 @@
---- clamav-unofficial-sigs.sh.orig	2016-03-31 13:04:08 UTC
+--- clamav-unofficial-sigs.sh.orig	2016-03-31 14:38:13 UTC
 +++ clamav-unofficial-sigs.sh
 @@ -158,7 +158,7 @@ minimum_required_config_version="56"
  version_date="31 March 2016"
  
  #default config files
 -config_dir="/etc/clamav-unofficial-sigs"
-+config_dir="/usr/local/etc/clamav-unofficial-sigs"
++config_dir="%%PREFIX%%/etc/clamav-unofficial-sigs"
  config_files=("$config_dir/master.conf" "$config_dir/os.conf" "$config_dir/user.conf")
  
  

Modified: head/security/clamav-unofficial-sigs/files/patch-cron.d_clamav-unofficial-sigs
==============================================================================
--- head/security/clamav-unofficial-sigs/files/patch-cron.d_clamav-unofficial-sigs	Thu Mar 31 14:54:45 2016	(r412229)
+++ head/security/clamav-unofficial-sigs/files/patch-cron.d_clamav-unofficial-sigs	Thu Mar 31 14:56:36 2016	(r412230)
@@ -1,8 +1,8 @@
---- cron.d/clamav-unofficial-sigs.orig	2016-03-31 01:16:02 UTC
+--- cron.d/clamav-unofficial-sigs.orig	2016-03-31 14:40:05 UTC
 +++ cron.d/clamav-unofficial-sigs
 @@ -22,4 +22,4 @@
  # 60 - 600 seconds.  Adjust the cron start time, user account to run the
  # script under, and path information shown below to meet your own needs.
  
 -45 * * * * root /bin/bash /usr/local/bin/clamav-unofficial-sigs.sh  > /dev/null
-+45 * * * * root /usr/local/bin/bash /usr/local/bin/clamav-unofficial-sigs.sh  > /dev/null
++45 * * * * root %%PREFIX%%/bin/bash %%PREFIX%%/bin/clamav-unofficial-sigs.sh  > /dev/null



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