[csw-devel] SF.net SVN: gar:[8733] csw/mgar/pkg/botnet/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Feb 22 15:06:24 CET 2010


Revision: 8733
          http://gar.svn.sourceforge.net/gar/?rev=8733&view=rev
Author:   bonivart
Date:     2010-02-22 14:06:24 +0000 (Mon, 22 Feb 2010)

Log Message:
-----------
botnet: migrate to /etc/opt/csw/spamassassin

Modified Paths:
--------------
    csw/mgar/pkg/botnet/trunk/Makefile
    csw/mgar/pkg/botnet/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/botnet/trunk/files/CSWbotnet.gspec

Modified: csw/mgar/pkg/botnet/trunk/Makefile
===================================================================
--- csw/mgar/pkg/botnet/trunk/Makefile	2010-02-22 13:17:00 UTC (rev 8732)
+++ csw/mgar/pkg/botnet/trunk/Makefile	2010-02-22 14:06:24 UTC (rev 8733)
@@ -12,40 +12,38 @@
 
 MASTER_SITES = http://people.ucsc.edu/~jrudd/spamassassin/
 DISTFILES  = Botnet-$(GARVERSION).tar
-DISTFILES += $(call admfiles,CSWbotnet,)
 
-SPKG_DESC_CSWspamassassin = mail filter with a wide range of tests
-RUNTIME_DEP_PKGS = CSWspamassassin CSWcswclassutils
+RUNTIME_DEP_PKGS = CSWspamassassin CSWperl
 
-# We define upstream file regex so we can be notifed of new upstream software release
+ARCHALL	= 1
+
 UFILES_REGEX = -(\d+(?:\.\d+)*).tar
 
-SPKG_CLASSES = none cswcpsampleconf
+SAMPLECONF = /etc/opt/csw/spamassassin/Botnet.cf
 
+MIGRATE_FILES = Botnet.cf
+MIGRATE_SOURCE_DIR = /opt/csw/etc/spamassassin
+MIGRATE_DEST_DIR = /etc/opt/csw/spamassassin
+
 CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS =
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = custom
 
-#ENABLE_CHECK = 0
-
-PROTOTYPE_FILTER  = awk '$$$$3 ~ /\/Botnet.cf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } { print }'
-
 include gar/category.mk
 
 WORKSRC = $(WORKDIR)
-MAINFILES =  Botnet.pm Botnet.cf.CSW
+MAINFILES =  Botnet.pm Botnet.cf
 DOCFILES = Botnet.api.txt Botnet.credits.txt Botnet.txt Botnet.variants.txt INSTALL
 
 install-custom:
 	@echo " ==> Installing $(GARNAME) (custom)"
-	@mv $(WORKSRC)/Botnet.cf $(WORKSRC)/Botnet.cf.CSW
 	@rm -rf $(DESTDIR)
 	@ginstall -d $(DESTDIR)$(bindir)
 	@cp $(WORKSRC)/Botnet.pl $(DESTDIR)$(bindir)
-	@ginstall -d $(DESTDIR)$(sysconfdir)/spamassassin
-	@$(foreach FILE, $(MAINFILES), cp $(WORKSRC)/$(FILE) $(DESTDIR)$(sysconfdir)/spamassassin ;)
+	@ginstall -d $(DESTDIR)/etc/opt/csw/spamassassin
+	@$(foreach FILE, $(MAINFILES), cp $(WORKSRC)/$(FILE) $(DESTDIR)/etc/opt/csw/spamassassin ;)
+	@chmod 644 $(DESTDIR)/etc/opt/csw/spamassassin/Botnet.cf
 	@ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
 	@$(foreach FILE, $(DOCFILES), cp $(WORKSRC)/$(FILE) $(DESTDIR)$(docdir)/$(GARNAME) ;)
-	@cp -r $(WORKSRC)/COPYING $(DESTDIR)$(docdir)/$(GARNAME)/LICENSE
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/botnet/trunk/checksums
===================================================================
--- csw/mgar/pkg/botnet/trunk/checksums	2010-02-22 13:17:00 UTC (rev 8732)
+++ csw/mgar/pkg/botnet/trunk/checksums	2010-02-22 14:06:24 UTC (rev 8733)
@@ -1,2 +1 @@
-1bf1b358e7b1802c2ac15ca6bb084621  download/Botnet-0.8.tar
-2ff988f4d47eba1da4cd3d28a37664c3  download/CSWbotnet.gspec
+1bf1b358e7b1802c2ac15ca6bb084621  Botnet-0.8.tar

Deleted: csw/mgar/pkg/botnet/trunk/files/CSWbotnet.gspec
===================================================================
--- csw/mgar/pkg/botnet/trunk/files/CSWbotnet.gspec	2010-02-22 13:17:00 UTC (rev 8732)
+++ csw/mgar/pkg/botnet/trunk/files/CSWbotnet.gspec	2010-02-22 14:06:24 UTC (rev 8733)
@@ -1,8 +0,0 @@
-%var            bitname botnet
-%var            pkgname CSWbotnet
-%var		arch all
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright
-
-Please see /opt/csw/share/doc/botnet/LICENSE for license information
-


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