From owner-svn-ports-head@FreeBSD.ORG Thu Sep 5 15:33:40 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D0DF7EAE; Thu, 5 Sep 2013 15:33:40 +0000 (UTC) (envelope-from wg@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFE022A4B; Thu, 5 Sep 2013 15:33:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r85FXekb009241; Thu, 5 Sep 2013 15:33:40 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r85FXdQT009235; Thu, 5 Sep 2013 15:33:39 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201309051533.r85FXdQT009235@svn.freebsd.org> From: William Grzybowski Date: Thu, 5 Sep 2013 15:33:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326407 - 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.14 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: Thu, 05 Sep 2013 15:33:40 -0000 Author: wg Date: Thu Sep 5 15:33:39 2013 New Revision: 326407 URL: http://svnweb.freebsd.org/changeset/ports/326407 Log: security/clamav-unofficial-sigs: updte to 3.7.2 - Update to 3.7.2 [1] - USES perl5 - Add DOCS to options - NOPORTDOCS -> PORT_OPTIONS:MDOCS PR: ports/181814 Submitted by: Marko Njezic (maintainer) Modified: head/security/clamav-unofficial-sigs/Makefile head/security/clamav-unofficial-sigs/distinfo head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.conf head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh head/security/clamav-unofficial-sigs/files/patch-clamd-status.sh head/security/clamav-unofficial-sigs/pkg-descr Modified: head/security/clamav-unofficial-sigs/Makefile ============================================================================== --- head/security/clamav-unofficial-sigs/Makefile Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/Makefile Thu Sep 5 15:33:39 2013 (r326407) @@ -2,12 +2,9 @@ # $FreeBSD$ PORTNAME= clamav-unofficial-sigs -PORTVERSION= 3.7.1 -PORTREVISION= 1 +PORTVERSION= 3.7.2 CATEGORIES= security -MASTER_SITES= http://www.inetmsg.com/pub/ \ - http://www.inetmsg.com/pub/archive/ \ - SF/unofficial-sigs/ +MASTER_SITES= SF/unofficial-sigs/ MAINTAINER= sf@maxempire.com COMMENT= Update script for third-party ClamAV databases @@ -17,7 +14,8 @@ RUN_DEPENDS= clamscan:${PORTSDIR}/securi curl:${PORTSDIR}/ftp/curl \ gpg:${PORTSDIR}/security/gnupg -USE_PERL5_RUN= yes +USES= perl5 +USE_PERL5= run NO_BUILD= yes SUB_FILES= pkg-message @@ -31,6 +29,10 @@ SED_CONF= -e 's|%%CLAM_DBS%%|/var/db/cla -e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \ -e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g' +OPTIONS_DEFINE= DOCS + +.include + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh @${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf @@ -41,7 +43,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/clamav-unofficial-sigs.8 ${MANPREFIX}/man/man8 ${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${PREFIX}/etc/clamav-unofficial-sigs.conf.sample -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG INSTALL LICENSE README ${DOCSDIR} .endif Modified: head/security/clamav-unofficial-sigs/distinfo ============================================================================== --- head/security/clamav-unofficial-sigs/distinfo Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/distinfo Thu Sep 5 15:33:39 2013 (r326407) @@ -1,2 +1,2 @@ -SHA256 (clamav-unofficial-sigs-3.7.1.tar.gz) = 7f8de46da43d8edd06ee1dcd1bc4563e61b23c9bbd368ccf0265576e46f4d90c -SIZE (clamav-unofficial-sigs-3.7.1.tar.gz) = 36594 +SHA256 (clamav-unofficial-sigs-3.7.2.tar.gz) = 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 +SIZE (clamav-unofficial-sigs-3.7.2.tar.gz) = 38549 Modified: head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.conf ============================================================================== --- head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.conf Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.conf Thu Sep 5 15:33:39 2013 (r326407) @@ -1,6 +1,6 @@ ---- clamav-unofficial-sigs.conf 2010-06-06 18:43:07.000000000 +0200 -+++ clamav-unofficial-sigs.conf.patched 2010-06-07 18:41:56.000000000 +0200 -@@ -42,10 +42,10 @@ +--- clamav-unofficial-sigs.conf 2013-08-27 18:08:25.000000000 +0200 ++++ clamav-unofficial-sigs.conf.patched 2013-09-04 16:19:11.000000000 +0200 +@@ -50,10 +50,10 @@ # Set path to ClamAV database files location. If unsure, check # your clamd.conf file for the "DatabaseDirectory" path setting. @@ -13,7 +13,7 @@ # To enable "ham" (non-spam) directory scanning and removal of # signatures that trigger on ham messages, uncomment the following -@@ -76,7 +76,7 @@ +@@ -84,7 +84,7 @@ # the script will still run). You will also need to set the correct # path to your clamd socket file (if unsure of the path, check the # "LocalSocket" setting in your clamd.conf file for socket location). @@ -22,7 +22,7 @@ # If you would like to attempt to restart ClamD if detected not running, # uncomment the next 2 lines. Confirm the path to the "clamd_lock" file -@@ -86,8 +86,8 @@ +@@ -94,8 +94,8 @@ # NOTE: these 2 variables are dependant on the "clamd_socket" variable # shown above - if not enabled, then the following 2 variables will be # ignored, whether enabled or not. @@ -33,7 +33,7 @@ # Enable or disable download time randomization. This allows the script to # be executed via cron, but the actual database file checking will pause -@@ -219,7 +219,7 @@ +@@ -227,7 +227,7 @@ # Set working directory paths (edit to meet your own needs). If these # directories do not exist, the script will attempt to create them. # Top level working directory path: @@ -42,3 +42,12 @@ # Sub-directory names: ss_dir="$work_dir/ss-dbs" # Sanesecurity sub-directory si_dir="$work_dir/si-dbs" # SecuriteInfo sub-directory +@@ -252,7 +252,7 @@ + comment_silence="no" # Default is "no" to report script comments + + # Log update information to '$log_file_path/$log_file_name'. +-enable_logging="yes" ++enable_logging="no" + log_file_path="/var/log" + log_file_name="clamav-unofficial-sigs.log" + Modified: head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh ============================================================================== --- head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/files/patch-clamav-unofficial-sigs.sh Thu Sep 5 15:33:39 2013 (r326407) @@ -1,15 +1,15 @@ ---- clamav-unofficial-sigs.sh 2010-06-06 18:43:07.000000000 +0200 -+++ clamav-unofficial-sigs.sh.patched 2010-06-07 18:42:17.000000000 +0200 -@@ -19,7 +19,7 @@ +--- 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 +@@ -16,7 +16,7 @@ # # ################################################################################ -default_config="/etc/clamav-unofficial-sigs.conf" +default_config="%%PREFIX%%/etc/clamav-unofficial-sigs.conf" - version="v3.7.1 (updated 2010-06-06)" + version="v3.7.2 (updated 2013-08-25)" output_ver=" -@@ -407,6 +407,8 @@ +@@ -418,6 +418,8 @@ exit ;; r) no_default_config Modified: head/security/clamav-unofficial-sigs/files/patch-clamd-status.sh ============================================================================== --- head/security/clamav-unofficial-sigs/files/patch-clamd-status.sh Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/files/patch-clamd-status.sh Thu Sep 5 15:33:39 2013 (r326407) @@ -1,5 +1,5 @@ ---- clamd-status.sh 2010-01-24 02:38:29.000000000 +0100 -+++ clamd-status.sh.patched 2010-03-06 09:57:03.000000000 +0100 +--- clamd-status.sh 2013-08-27 18:08:25.000000000 +0200 ++++ clamd-status.sh.patched 2013-09-04 16:09:58.000000000 +0200 @@ -24,7 +24,7 @@ export PATH Modified: head/security/clamav-unofficial-sigs/pkg-descr ============================================================================== --- head/security/clamav-unofficial-sigs/pkg-descr Thu Sep 5 14:59:29 2013 (r326406) +++ head/security/clamav-unofficial-sigs/pkg-descr Thu Sep 5 15:33:39 2013 (r326407) @@ -1,3 +1,3 @@ The clamav-unofficial-sigs script provides the capability to download, test, and update the third-party ClamAV signature databases provided by -Sanesecurity, SecuriteInfo, MalwarePatrol, OITC, INetMsg and ScamNailer. +Sanesecurity, SecuriteInfo, MalwarePatrol, OITC, etc.