SF.net SVN: gar:[24844] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Apr 10 23:11:05 CEST 2015


Revision: 24844
          http://sourceforge.net/p/gar/code/24844
Author:   dmichelsen
Date:     2015-04-10 21:11:05 +0000 (Fri, 10 Apr 2015)
Log Message:
-----------
elasticsearch/trunk: Initial commit, SMF manifest and startscript tweaking still missing

Added Paths:
-----------
    csw/mgar/pkg/elasticsearch/
    csw/mgar/pkg/elasticsearch/Makefile
    csw/mgar/pkg/elasticsearch/branches/
    csw/mgar/pkg/elasticsearch/tags/
    csw/mgar/pkg/elasticsearch/trunk/
    csw/mgar/pkg/elasticsearch/trunk/Makefile
    csw/mgar/pkg/elasticsearch/trunk/checksums
    csw/mgar/pkg/elasticsearch/trunk/files/

Added: csw/mgar/pkg/elasticsearch/Makefile
===================================================================
--- csw/mgar/pkg/elasticsearch/Makefile	                        (rev 0)
+++ csw/mgar/pkg/elasticsearch/Makefile	2015-04-10 21:11:05 UTC (rev 24844)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*

Index: csw/mgar/pkg/elasticsearch/trunk
===================================================================
--- csw/mgar/pkg/elasticsearch/trunk	2015-04-10 18:19:19 UTC (rev 24843)
+++ csw/mgar/pkg/elasticsearch/trunk	2015-04-10 21:11:05 UTC (rev 24844)

Property changes on: csw/mgar/pkg/elasticsearch/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/elasticsearch/trunk/Makefile
===================================================================
--- csw/mgar/pkg/elasticsearch/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/elasticsearch/trunk/Makefile	2015-04-10 21:11:05 UTC (rev 24844)
@@ -0,0 +1,55 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = elasticsearch
+VERSION = 1.5.1
+GARTYPE = v2
+
+DESCRIPTION = Search & Analyze Data in Real Time
+
+MASTER_SITES += https://download.elastic.co/elasticsearch/elasticsearch/
+DISTFILES += $(DISTNAME).tar.gz
+
+VENDOR_URL = https://www.elastic.co/products/elasticsearch
+LICENSE = LICENSE.txt
+
+PACKAGES += CSWelasticsearch
+SPKG_DESC_CSWelasticsearch =
+# PKGFILES is catchall
+
+CHECKPKG_OVERRIDES_CSWelasticsearch-sparc += binary-architecture-does-not-match-placement|file=opt/csw/lib/elasticsearch/sigar/libsigar-sparc64-solaris.so|arch_id=43|arch_name=sparcv9
+CHECKPKG_OVERRIDES_CSWelasticsearch-i386 += binary-architecture-does-not-match-placement|file=opt/csw/lib/elasticsearch/sigar/libsigar-amd64-solaris.so|arch_id=62|arch_name=amd64
+
+CHECKPKG_OVERRIDES_CSWelasticsearch-sparc += no-direct-binding|/opt/csw/lib/elasticsearch/sigar/libsigar-sparc-solaris.so|is|not|directly|bound|to|soname|libkstat.so.1
+CHECKPKG_OVERRIDES_CSWelasticsearch-sparc += no-direct-binding|/opt/csw/lib/elasticsearch/sigar/libsigar-sparc64-solaris.so|is|not|directly|bound|to|soname|libkstat.so.1
+CHECKPKG_OVERRIDES_CSWelasticsearch-i386 += no-direct-binding|/opt/csw/lib/elasticsearch/sigar/libsigar-x86-solaris.so|is|not|directly|bound|to|soname|libkstat.so.1
+CHECKPKG_OVERRIDES_CSWelasticsearch-i386 += no-direct-binding|/opt/csw/lib/elasticsearch/sigar/libsigar-amd64-solaris.so|is|not|directly|bound|to|soname|libkstat.so.1
+
+# Where does this come from?!?
+CHECKPKG_OVERRIDES_CSWelasticsearch-i386 += bad-rpath-entry|/usr/sfw/lib|opt/csw/lib/elasticsearch/sigar/libsigar-amd64-solaris.so
+
+CHECKPKG_OVERRIDES_CSWelasticsearch += $(CHECKPKG_OVERRIDES_CSWelasticsearch-$(GARCH))
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+PRESERVECONF += $(sysconfdir)/elasticsearch.yml
+SIGAR_i386 += libsigar-x86-solaris.so
+SIGAR_i386 += libsigar-amd64-solaris.so
+SIGAR_sparc += libsigar-sparc-solaris.so
+SIGAR_sparc += libsigar-sparc64-solaris.so
+
+include gar/category.mk
+
+install-custom:
+	ginstall -D -m 0755 $(WORKSRC)/bin/elasticsearch $(DESTDIR)$(bindir)/elasticsearch
+	ginstall -D -m 0755 $(WORKSRC)/config/elasticsearch.yml $(DESTDIR)$(sysconfdir)/elasticsearch/elasticsearch.yml
+	ginstall -D -m 0755 $(WORKSRC)/config/logging.yml $(DESTDIR)$(sysconfdir)/elasticsearch/logging.yml
+	ginstall -D -m 0755 $(WORKSRC)/README.textile $(DESTDIR)$(docdir)/elasticsearch/README.textile
+	ginstall -d -m 0755 $(DESTDIR)$(libdir)/elasticsearch
+	cp -rp $(WORKSRC)/lib/* $(DESTDIR)$(libdir)/elasticsearch/
+	cd $(DESTDIR)$(libdir)/elasticsearch/sigar && rm -f *freebsd* *linux* *macosx* *winnt* \
+	  $(filter-out $(SIGAR_$(GARCH)),$(SIGAR_sparc) $(SIGAR_i386))
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/elasticsearch/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: csw/mgar/pkg/elasticsearch/trunk/checksums
===================================================================
--- csw/mgar/pkg/elasticsearch/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/elasticsearch/trunk/checksums	2015-04-10 21:11:05 UTC (rev 24844)
@@ -0,0 +1 @@
+897f5c820bda7317ca19ca790b99074e  elasticsearch-1.5.1.tar.gz

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