From owner-svn-ports-head@FreeBSD.ORG Sat Dec 20 13:01:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B37D3105; Sat, 20 Dec 2014 13:01:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DFD71D23; Sat, 20 Dec 2014 13:01:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBKD11bZ006272; Sat, 20 Dec 2014 13:01:01 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBKD10IS006262; Sat, 20 Dec 2014 13:01:00 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201412201301.sBKD10IS006262@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 20 Dec 2014 13:01:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375001 - in head/security/clamav-unofficial-sigs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2014 13:01:01 -0000 Author: riggs Date: Sat Dec 20 13:00:59 2014 New Revision: 375001 URL: https://svnweb.freebsd.org/changeset/ports/375001 QAT: https://qat.redports.org/buildarchive/r375001/ Log: - Make port work on recent 10.x (does no longer assume BIND is present) - Revert previous change that installs a default configuration file. Maintainer explains the rationale behind this: "Users must configure it themselves so that they are aware of what additional databases are being downloaded and only way to make sure that they read everything is to force them to manually copy the sample configuration file." PR: 195764 Submitted by: 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/pkg-message.in head/security/clamav-unofficial-sigs/pkg-plist Modified: head/security/clamav-unofficial-sigs/Makefile ============================================================================== --- head/security/clamav-unofficial-sigs/Makefile Sat Dec 20 12:40:44 2014 (r375000) +++ head/security/clamav-unofficial-sigs/Makefile Sat Dec 20 13:00:59 2014 (r375001) @@ -3,7 +3,7 @@ PORTNAME= clamav-unofficial-sigs PORTVERSION= 3.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF/unofficial-sigs/ Modified: head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh ============================================================================== --- head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Sat Dec 20 12:40:44 2014 (r375000) +++ head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Sat Dec 20 13:00:59 2014 (r375001) @@ -1,5 +1,5 @@ --- clamav-unofficial-sigs.sh 2013-08-27 18:08:25.000000000 +0200 -+++ clamav-unofficial-sigs.sh.patched 2013-09-04 16:10:35.000000000 +0200 ++++ clamav-unofficial-sigs.sh.patched 2014-12-06 23:55:50.000000000 +0100 @@ -16,7 +16,7 @@ # # ################################################################################ @@ -18,3 +18,15 @@ if [ -n "$pkg_mgr" -a -n "$pkg_rm" ] then echo " This script (clamav-unofficial-sigs) was installed on the system" +@@ -1016,9 +1018,9 @@ + comment "======================================================================" + comment "Sanesecurity Database & GPG Signature File Updates" + comment "======================================================================" +- ss_mirror_ips=`dig +ignore +short $ss_url` ++ ss_mirror_ips=`host $ss_url | sed 's/.*\s//'` + for ss_mirror_ip in $ss_mirror_ips ; do +- ss_mirror_name=`dig +short -x $ss_mirror_ip | sed 's/\.$//'` ++ ss_mirror_name=`host $ss_mirror_ip | sed 's/.*\s//' | sed 's/\.$//'` + ss_mirror_site_info="$ss_mirror_name $ss_mirror_ip" + comment "" + comment "Sanesecurity mirror site used: $ss_mirror_site_info" Modified: head/security/clamav-unofficial-sigs/files/pkg-message.in ============================================================================== --- head/security/clamav-unofficial-sigs/files/pkg-message.in Sat Dec 20 12:40:44 2014 (r375000) +++ head/security/clamav-unofficial-sigs/files/pkg-message.in Sat Dec 20 13:00:59 2014 (r375001) @@ -1,7 +1,11 @@ ********************************************************************** In order to start using clamav-unofficial-sigs, you need to configure -modify the configuration file according to your needs: +it first. A sample configuration file has been installed to: + +%%PREFIX%%/etc/clamav-unofficial-sigs.conf.sample + +Modify it according to your needs and copy to: %%PREFIX%%/etc/clamav-unofficial-sigs.conf Modified: head/security/clamav-unofficial-sigs/pkg-plist ============================================================================== --- head/security/clamav-unofficial-sigs/pkg-plist Sat Dec 20 12:40:44 2014 (r375000) +++ head/security/clamav-unofficial-sigs/pkg-plist Sat Dec 20 13:00:59 2014 (r375001) @@ -1,5 +1,5 @@ bin/clamav-unofficial-sigs.sh -@sample etc/clamav-unofficial-sigs.conf.sample +etc/clamav-unofficial-sigs.conf.sample man/man8/clamav-unofficial-sigs.8.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/INSTALL