[csw-devel] SF.net SVN: gar:[10822] csw/mgar/pkg/clamavsigs/trunk
bonivart at users.sourceforge.net
bonivart at users.sourceforge.net
Fri Aug 27 12:54:45 CEST 2010
Revision: 10822
http://gar.svn.sourceforge.net/gar/?rev=10822&view=rev
Author: bonivart
Date: 2010-08-27 10:54:45 +0000 (Fri, 27 Aug 2010)
Log Message:
-----------
clamavsigs: fix defaults
Modified Paths:
--------------
csw/mgar/pkg/clamavsigs/trunk/Makefile
csw/mgar/pkg/clamavsigs/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/clamavsigs/trunk/files/0002-make-defaults-match-csw-clamav.patch
Modified: csw/mgar/pkg/clamavsigs/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/Makefile 2010-08-27 09:57:42 UTC (rev 10821)
+++ csw/mgar/pkg/clamavsigs/trunk/Makefile 2010-08-27 10:54:45 UTC (rev 10822)
@@ -12,19 +12,20 @@
MASTER_SITES = http://www.inetmsg.com/pub/
DISTFILES = clamav-unofficial-sigs-$(GARVERSION).tar.gz
PATCHFILES = 0001-use-ksh-instead-of-sh-on-solaris.patch
+PATCHFILES += 0002-make-defaults-match-csw-clamav.patch
LICENSE = LICENSE
ARCHALL = 1
-#RUNTIME_DEP_PKGS = CSWgnupg CSWrsync CSWsocat
-RUNTIME_DEP_PKGS = CSWgnupg CSWrsync
+RUNTIME_DEP_PKGS = CSWgnupg CSWrsync CSWcurl CSWsocat
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
CHECKPKG_OVERRIDES_CSWclamavsigs += surplus-dependency|CSWrsync
CHECKPKG_OVERRIDES_CSWclamavsigs += surplus-dependency|CSWgnupg
-#CHECKPKG_OVERRIDES_CSWclamavsigs += surplus-dependency|CSWsocat
+CHECKPKG_OVERRIDES_CSWclamavsigs += surplus-dependency|CSWsocat
+CHECKPKG_OVERRIDES_CSWclamavsigs += surplus-dependency|CSWcurl
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
Modified: csw/mgar/pkg/clamavsigs/trunk/checksums
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/checksums 2010-08-27 09:57:42 UTC (rev 10821)
+++ csw/mgar/pkg/clamavsigs/trunk/checksums 2010-08-27 10:54:45 UTC (rev 10822)
@@ -1,2 +1,3 @@
94eb4d03fefa038bc05c404e631464f4 0001-use-ksh-instead-of-sh-on-solaris.patch
+e5ec9ce29aab113c74ad01d11fd774a0 0002-make-defaults-match-csw-clamav.patch
c00f38cd0ff51672e3cbb638aec8d124 clamav-unofficial-sigs-3.7.1.tar.gz
Added: csw/mgar/pkg/clamavsigs/trunk/files/0002-make-defaults-match-csw-clamav.patch
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/files/0002-make-defaults-match-csw-clamav.patch (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/files/0002-make-defaults-match-csw-clamav.patch 2010-08-27 10:54:45 UTC (rev 10822)
@@ -0,0 +1,56 @@
+From 67723bc685d6e163406f95665b1046d583177b22 Mon Sep 17 00:00:00 2001
+From: Peter Bonivart <bonivart at opencsw.org>
+Date: Fri, 27 Aug 2010 12:40:16 +0200
+Subject: [PATCH] make-defaults-match-csw-clamav
+
+---
+ clamav-unofficial-sigs.conf | 10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/clamav-unofficial-sigs.conf b/clamav-unofficial-sigs.conf
+index d18f2c4..3267f04 100644
+--- a/clamav-unofficial-sigs.conf
++++ b/clamav-unofficial-sigs.conf
+@@ -31,7 +31,7 @@
+ # and optionally socat. It's been reported that on Sun systems, the GNU utilities
+ # should be used rather than the default Sun OS versions of these utilities.
+
+-PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
++PATH="/opt/csw/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
+ export PATH
+
+ # Set the appropriate ClamD user and group accounts for your system.
+@@ -42,10 +42,10 @@ clam_group="clamav"
+
+ # Set path to ClamAV database files location. If unsure, check
+ # your clamd.conf file for the "DatabaseDirectory" path setting.
+-clam_dbs="/var/lib/clamav"
++clam_dbs="/var/opt/csw/clamav/db"
+
+ # Set path to clamd.pid file (see clamd.conf for path location).
+-clamd_pid="/var/run/clamd.pid"
++clamd_pid="/var/opt/csw/clamav/clamd.pid"
+
+ # To enable "ham" (non-spam) directory scanning and removal of
+ # signatures that trigger on ham messages, uncomment the following
+@@ -76,7 +76,7 @@ reload_opt="clamdscan --reload" # Default
+ # 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).
+-#clamd_socket="/var/run/clamd.socket"
++clamd_socket="/tmp/clamd.socket"
+
+ # 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
+@@ -256,7 +256,7 @@ curl_proxy=""
+
+ # After you have completed the configuration of this file, set the
+ # following variable to "yes".
+-user_configuration_complete="no"
++user_configuration_complete="yes"
+
+ ################################################################################
+ # END OF USER CONFIGURATION #
+--
+1.7.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list