metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject [5/7] incubator-metron git commit: METRON-301: Adding Elasticsearch Subpackage to RPM spec
Date Wed, 20 Jul 2016 15:00:52 GMT
METRON-301: Adding Elasticsearch Subpackage to RPM spec


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/2d0c76ac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/2d0c76ac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/2d0c76ac

Branch: refs/heads/master
Commit: 2d0c76ac9f9581ca2a284fb22143564c08218f72
Parents: 78b4525
Author: justinjleet <justinjleet@gmail.com>
Authored: Thu Jul 14 12:37:57 2016 -0400
Committer: David Lyle <dlyle65535@gmail.com>
Committed: Wed Jul 20 10:59:53 2016 -0400

----------------------------------------------------------------------
 .../docker/rpm-docker/SPECS/metron.spec         | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/2d0c76ac/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
----------------------------------------------------------------------
diff --git a/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec b/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
index 0a3cf31..d369fc0 100644
--- a/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
+++ b/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
@@ -42,6 +42,7 @@ Group:          Applications/Internet
 URL:            %{url}
 Source0:        metron-common-%{full_version}-archive.tar.gz
 Source1:        metron-parsers-%{full_version}-archive.tar.gz
+Source2:        metron-elasticsearch-%{full_version}-archive.tar.gz
 
 %description
 Apache Metron provides a scalable advanced security analytics framework
@@ -65,6 +66,7 @@ mkdir -p %{buildroot}%{metron_home}
 # copy source files and untar
 tar -xzf %{SOURCE0} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE1} -C %{buildroot}%{metron_home}
+tar -xzf %{SOURCE2} -C %{buildroot}%{metron_home}
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -126,7 +128,25 @@ This package installs the Metron Parser files
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+%package        elasticsearch
+Summary:        Metron Elasticsearch Files
+Group:          Applications/Internet
+Provides:       elasticsearch = %{version}
+
+%description    elasticsearch
+This package installs the Metron Elasticsearch files
+
+%files          elasticsearch
+%defattr(-,root,root,755)
+%{metron_home}/bin/start_elasticsearch_topology.sh
+%{metron_home}/config/elasticsearch.properties
+%attr(0644, root, root) %{metron_home}/lib/metron-elasticsearch-%{full_version}.jar
+
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 %changelog
+* Thu Jul 14 2016 Justin Leet <jsutinjleet@gmail.com> - 0.2.1
+- Adding Elasticsearch subpackage
 * Wed Jul 13 2016 Justin Leet <justinjleet@gmail.com> - 0.2.1
 - Adding Parsers subpackage
 * Tue Jul 12 2016 Michael Miklavcic <michael.miklavcic@gmail.com> - 0.2.1


Mime
View raw message