metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject [2/7] incubator-metron git commit: METRON-305: Adding Solr Subpackage to RPM spec
Date Wed, 20 Jul 2016 15:00:49 GMT
METRON-305: Adding Solr 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/8b9d9388
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/8b9d9388
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/8b9d9388

Branch: refs/heads/master
Commit: 8b9d938861af86ac0fe89e563e788b16467d9ac2
Parents: dd92bd4
Author: justinjleet <justinjleet@gmail.com>
Authored: Thu Jul 14 12:50:21 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/8b9d9388/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 9513903..60878a2 100644
--- a/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
+++ b/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
@@ -44,6 +44,7 @@ Source0:        metron-common-%{full_version}-archive.tar.gz
 Source1:        metron-parsers-%{full_version}-archive.tar.gz
 Source2:        metron-elasticsearch-%{full_version}-archive.tar.gz
 Source3:        metron-data-management-%{full_version}-archive.tar.gz
+Source4:        metron-solr-%{full_version}-archive.tar.gz
 
 %description
 Apache Metron provides a scalable advanced security analytics framework
@@ -69,6 +70,7 @@ tar -xzf %{SOURCE0} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE1} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE2} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE3} -C %{buildroot}%{metron_home}
+tar -xzf %{SOURCE4} -C %{buildroot}%{metron_home}
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -167,8 +169,26 @@ This package installs the Metron Parser files
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+%package        solr
+Summary:        Metron Solr Files
+Group:          Applications/Internet
+Provides:       solr = %{version}
+
+%description    solr
+This package installs the Metron Solr files
+
+%files          solr
+%defattr(-,root,root,755)
+%{metron_home}/bin/start_solr_topology.sh
+%{metron_home}/config/solr.properties
+%attr(0644, root, root) %{metron_home}/lib/metron-solr-%{full_version}.jar
+
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 %changelog
 * Thu Jul 14 2016 Justin Leet <justinjleet@gmail.com> - 0.2.1
+- Adding Solr subpackage
+* Thu Jul 14 2016 Justin Leet <justinjleet@gmail.com> - 0.2.1
 - Adding Data Management subpackage
 * Thu Jul 14 2016 Justin Leet <jsutinjleet@gmail.com> - 0.2.1
 - Adding Elasticsearch subpackage


Mime
View raw message