Revision: 25024
          http://sourceforge.net/p/gar/code/25024
Author:   dmichelsen
Date:     2015-05-27 11:41:47 +0000 (Wed, 27 May 2015)
Log Message:
-----------
lang-python/carbon/trunk: Add SMF manifest for carbon-cache

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/carbon/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/carbon/trunk/files/cswcarbon-cache.xml

Modified: csw/mgar/pkg/lang-python/carbon/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/carbon/trunk/Makefile      2015-05-26 14:02:54 UTC 
(rev 25023)
+++ csw/mgar/pkg/lang-python/carbon/trunk/Makefile      2015-05-27 11:41:47 UTC 
(rev 25024)
@@ -8,7 +8,8 @@
 DESCRIPTION = Backend data caching and persistence daemon for Graphite
 
 MASTER_SITES = $(PYPI_MIRROR)
-DISTFILES  = $(DISTNAME).tar.gz
+DISTFILES += $(DISTNAME).tar.gz
+DISTFILES += cswcarbon-cache.xml
 
 PACKAGES += CSWpy-carbon
 SPKG_DESC_CSWpy-carbon = Backend data caching and persistence daemon for 
Graphite
@@ -23,6 +24,9 @@
 CHECKPKG_OVERRIDES_CSWpy-carbon += surplus-dependency|CSWpy-twisted
 CHECKPKG_OVERRIDES_CSWpy-carbon += surplus-dependency|CSWpy-txamqp
 
+# This is for the SMF DTD
+CHECKPKG_OVERRIDES_CSWpy-carbon += 
file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/cswcarbon-cache.xml
+
 CONFDIR = $(sysconfdir)/graphite
 STORAGEDIR = $(localstatedir)/graphite
 
@@ -81,6 +85,10 @@
 REINPLACE_WITH_stor = "$(STORAGEDIR)"
 REINPLACE_FILES_stor += lib/carbon/conf.py
 
+PROTOTYPE_MODIFIERS += smf
+PROTOTYPE_FILES_smf += /var/opt/csw/svc/manifest/cswcarbon-cache.xml
+PROTOTYPE_CLASS_smf = manifest
+
 include gar/category.mk
 
 post-extract:
@@ -93,4 +101,5 @@
        ginstall -d -m 0755 $(DESTDIR)$(STORAGEDIR)
        mv $(DESTDIR)$(CONFDIR)/storage/* $(DESTDIR)$(STORAGEDIR)
        rmdir $(DESTDIR)$(CONFDIR)/storage
+       ginstall -D -m 0644 $(WORKDIR)/cswcarbon-cache.xml 
$(DESTDIR)/var/opt/csw/svc/manifest/cswcarbon-cache.xml
        @$(MAKECOOKIE)

Copied: csw/mgar/pkg/lang-python/carbon/trunk/files/cswcarbon-cache.xml (from 
rev 25012, csw/mgar/pkg/logstash/trunk/files/cswlogstash.xml)
===================================================================
(Binary files differ)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

Reply via email to