Revision: 25008
          http://sourceforge.net/p/gar/code/25008
Author:   dmichelsen
Date:     2015-05-21 14:03:33 +0000 (Thu, 21 May 2015)
Log Message:
-----------
logstash/trunk: Add SMF service

Modified Paths:
--------------
    csw/mgar/pkg/logstash/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/logstash/trunk/files/cswlogstash.xml

Modified: csw/mgar/pkg/logstash/trunk/Makefile
===================================================================
--- csw/mgar/pkg/logstash/trunk/Makefile        2015-05-21 10:10:27 UTC (rev 
25007)
+++ csw/mgar/pkg/logstash/trunk/Makefile        2015-05-21 14:03:33 UTC (rev 
25008)
@@ -10,6 +10,7 @@
 MASTER_SITES = https://download.elasticsearch.org/logstash/logstash/
 DISTFILES += $(DISTNAME).tar.gz
 DISTFILES += logstash
+DISTFILES += cswlogstash.xml
 
 PATCHFILES += 0001-Use-correct-grep.patch
 
@@ -39,10 +40,16 @@
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = custom
 
+PROTOTYPE_MODIFIERS += smf
+PROTOTYPE_FILES_smf += /var/opt/csw/svc/manifest/cswlogstash.xml
+PROTOTYPE_CLASS_smf = manifest
+
 include gar/category.mk
 
 install-custom:
        ginstall -D -m 0755 $(WORKDIR)/logstash $(DESTDIR)$(bindir)/logstash
        ginstall -d -m 0755 $(DESTDIR)$(sharedstatedir)/logstash
        cd $(WORKSRC) && tar cf - . | (cd $(DESTDIR)$(sharedstatedir)/logstash; 
tar xf -)
+       ginstall -d -m 0755 $(DESTDIR)$(sysconfdir)/logstash/conf.d
+       ginstall -D -m 0644 $(WORKDIR)/cswlogstash.xml 
$(DESTDIR)/var/opt/csw/svc/manifest/cswlogstash.xml
        @$(MAKECOOKIE)

Copied: csw/mgar/pkg/logstash/trunk/files/cswlogstash.xml (from rev 24979, 
csw/mgar/pkg/elasticsearch/trunk/files/cswelasticsearch.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