[csw-devel] SF.net SVN: gar:[10814] csw/mgar/pkg

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Thu Aug 26 17:03:05 CEST 2010


Revision: 10814
          http://gar.svn.sourceforge.net/gar/?rev=10814&view=rev
Author:   bonivart
Date:     2010-08-26 15:03:05 +0000 (Thu, 26 Aug 2010)

Log Message:
-----------
clamavsigs: initial commit

Added Paths:
-----------
    csw/mgar/pkg/clamavsigs/
    csw/mgar/pkg/clamavsigs/branches/
    csw/mgar/pkg/clamavsigs/tags/
    csw/mgar/pkg/clamavsigs/trunk/
    csw/mgar/pkg/clamavsigs/trunk/Makefile
    csw/mgar/pkg/clamavsigs/trunk/checksums
    csw/mgar/pkg/clamavsigs/trunk/files/
    csw/mgar/pkg/clamavsigs/trunk/files/0001-use-ksh-instead-of-sh-on-solaris.patch
    csw/mgar/pkg/clamavsigs/trunk/files/README.CSW
    csw/mgar/pkg/clamavsigs/trunk/files/crontab.root


Property changes on: csw/mgar/pkg/clamavsigs/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/clamavsigs/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/Makefile	2010-08-26 15:03:05 UTC (rev 10814)
@@ -0,0 +1,54 @@
+GARNAME = clamavsigs
+GARVERSION = 3.7.1
+DISTNAME = clamav-unofficial-sigs-$(GARVERSION)
+WORKSRC = $(WORKDIR)/$(DISTNAME)
+CATEGORIES = utils
+
+DESCRIPTION = ClamAV Unofficial Signature Databases Update Script
+define BLURB
+  ClamAV Unofficial Signature Databases Update Script
+endef
+
+MASTER_SITES = http://www.inetmsg.com/pub/
+DISTFILES  = clamav-unofficial-sigs-$(GARVERSION).tar.gz
+PATCHFILES = 0001-use-ksh-instead-of-sh-on-solaris.patch
+
+LICENSE = LICENSE
+ARCHALL = 1
+
+#RUNTIME_DEP_PKGS = CSWgnupg CSWrsync CSWsocat
+RUNTIME_DEP_PKGS = CSWgnupg CSWrsync
+
+# 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
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+SAMPLECONF = /etc/opt/csw/clamav-unofficial-sigs.conf
+POSTMSG = /opt/csw/share/doc/clamavsigs/README.CSW
+
+include gar/category.mk
+
+DOCLIST = CHANGELOG INSTALL README
+
+install-custom:
+	@echo " ==> Installing $(GARNAME) (custom)"
+	@echo worksrc: $(WORKSRC)
+	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/CSWclamavsigs/crontabs
+	@ginstall -m 644 $(WORKSRC)/clamav-unofficial-sigs.conf $(DESTDIR)/etc/opt/csw
+	@ginstall -m 644 $(FILEDIR)/crontab.root $(DESTDIR)/etc/opt/csw/CSWclamavsigs/crontabs/root
+	@ginstall -m 755 -d $(DESTDIR)$(docdir)/$(GARNAME)
+	@$(foreach DOC,$(DOCLIST),cp $(WORKSRC)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
+	@ginstall -m 644 $(FILEDIR)/README.CSW $(DESTDIR)$(docdir)/$(GARNAME)
+	@ginstall -m 755 -d $(DESTDIR)$(bindir)
+	@ginstall -m 755 $(WORKSRC)/clamav-unofficial-sigs.sh $(DESTDIR)$(bindir)
+	@ginstall -m 755 -d $(DESTDIR)$(mandir)/man8
+	@ginstall -m 755 $(WORKSRC)/clamav-unofficial-sigs.8 $(DESTDIR)$(mandir)/man8
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/clamavsigs/trunk/checksums
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/checksums	2010-08-26 15:03:05 UTC (rev 10814)
@@ -0,0 +1,2 @@
+94eb4d03fefa038bc05c404e631464f4  0001-use-ksh-instead-of-sh-on-solaris.patch
+c00f38cd0ff51672e3cbb638aec8d124  clamav-unofficial-sigs-3.7.1.tar.gz

Added: csw/mgar/pkg/clamavsigs/trunk/files/0001-use-ksh-instead-of-sh-on-solaris.patch
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/files/0001-use-ksh-instead-of-sh-on-solaris.patch	                        (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/files/0001-use-ksh-instead-of-sh-on-solaris.patch	2010-08-26 15:03:05 UTC (rev 10814)
@@ -0,0 +1,22 @@
+From 94a7fce468968cbf1d23619408c72ec57f73404c Mon Sep 17 00:00:00 2001
+From: Peter Bonivart <bonivart at opencsw.org>
+Date: Thu, 26 Aug 2010 16:25:41 +0200
+Subject: [PATCH] use-ksh-instead-of-sh-on-solaris
+
+---
+ clamav-unofficial-sigs.sh |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/clamav-unofficial-sigs.sh b/clamav-unofficial-sigs.sh
+index fa801f4..9d4aafc 100755
+--- a/clamav-unofficial-sigs.sh
++++ b/clamav-unofficial-sigs.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/ksh
+ 
+ # This script freely provided by Bill Landry (bill at inetmsg.com).
+ # Comments, suggestions, and recommendations for improving this
+-- 
+1.7.1
+

Added: csw/mgar/pkg/clamavsigs/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/files/README.CSW	                        (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/files/README.CSW	2010-08-26 15:03:05 UTC (rev 10814)
@@ -0,0 +1,11 @@
+README.CSW
+==========
+- You can find signature databases to download at http://sanesecurity.co.uk.
+
+- You can adjust the time of the download to ease the load on the servers.
+  Please do not use even hours since so many others already do, use a random
+  minute every hour instead. DO NOT DOWNLOAD MORE THAN ONCE EVERY HOUR!
+
+- You should probably set up log rotation.
+
+2010-08-26/Peter Bonivart, OpenCSW

Added: csw/mgar/pkg/clamavsigs/trunk/files/crontab.root
===================================================================
--- csw/mgar/pkg/clamavsigs/trunk/files/crontab.root	                        (rev 0)
+++ csw/mgar/pkg/clamavsigs/trunk/files/crontab.root	2010-08-26 15:03:05 UTC (rev 10814)
@@ -0,0 +1 @@
+33 * * * * /opt/csw/bin/clamav-unofficial-sigs.sh -c /etc/opt/csw/clamav-unofficial-sigs.conf


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