metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickal...@apache.org
Subject incubator-metron git commit: METRON-654 Create RPM Installer for Profiler (nickwallen) closes apache/incubator-metron#413
Date Mon, 16 Jan 2017 20:52:11 GMT
Repository: incubator-metron
Updated Branches:
  refs/heads/master 2db6e35b8 -> 56e7f4113


METRON-654 Create RPM Installer for Profiler (nickwallen) closes apache/incubator-metron#413


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

Branch: refs/heads/master
Commit: 56e7f4113e55541c9eafa1fb91a75bec2403b375
Parents: 2db6e35
Author: nickwallen <nick@nickallen.org>
Authored: Mon Jan 16 15:51:44 2017 -0500
Committer: Nick Allen <nick@nickallen.org>
Committed: Mon Jan 16 15:51:44 2017 -0500

----------------------------------------------------------------------
 .../docker/rpm-docker/SPECS/metron.spec         | 27 ++++++++++++++++++++
 .../packaging/docker/rpm-docker/pom.xml         |  6 +++++
 2 files changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/56e7f411/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 3091e2b..ff04154 100644
--- a/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
+++ b/metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
@@ -49,6 +49,7 @@ Source4:        metron-solr-%{full_version}-archive.tar.gz
 Source5:        metron-enrichment-%{full_version}-archive.tar.gz
 Source6:        metron-indexing-%{full_version}-archive.tar.gz
 Source7:        metron-pcap-backend-%{full_version}-archive.tar.gz
+Source8:        metron-profiler-%{full_version}-archive.tar.gz
 
 %description
 Apache Metron provides a scalable advanced security analytics framework
@@ -78,6 +79,7 @@ tar -xzf %{SOURCE4} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE5} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE6} -C %{buildroot}%{metron_home}
 tar -xzf %{SOURCE7} -C %{buildroot}%{metron_home}
+tar -xzf %{SOURCE8} -C %{buildroot}%{metron_home}
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -284,6 +286,31 @@ This package installs the Metron PCAP files %{metron_home}
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+%package        profiler
+Summary:        Metron Profiler
+Group:          Applications/Internet
+Provides:       profiler = %{version}
+
+%description    profiler
+This package installs the Metron Profiler %{metron_home}
+
+%files          profiler
+%defattr(-,root,root,755)
+%dir %{metron_root}
+%dir %{metron_home}
+%dir %{metron_home}/config
+%dir %{metron_home}/bin
+%dir %{metron_home}/flux
+%dir %{metron_home}/flux/profiler
+%dir %{metron_home}/lib
+%{metron_home}/config/profiler.properties
+%{metron_home}/bin/start_profiler_topology.sh
+%{metron_home}/flux/profiler/remote.yaml
+%attr(0644,root,root) %{metron_home}/lib/metron-profiler-%{full_version}-uber.jar
+
+
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 %changelog
 * Thu Nov 03 2016 David Lyle <dlyle65535@gmail.com> - 0.2.1
 - Add ASA parser/enrichment configuration files 

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/56e7f411/metron-deployment/packaging/docker/rpm-docker/pom.xml
----------------------------------------------------------------------
diff --git a/metron-deployment/packaging/docker/rpm-docker/pom.xml b/metron-deployment/packaging/docker/rpm-docker/pom.xml
index 2b5cdc1..8cf28d8 100644
--- a/metron-deployment/packaging/docker/rpm-docker/pom.xml
+++ b/metron-deployment/packaging/docker/rpm-docker/pom.xml
@@ -193,6 +193,12 @@
                                         <include>*.tar.gz</include>
                                     </includes>
                                 </resource>
+                                <resource>
+                                    <directory>${metron_dir}/metron-analytics/metron-profiler/target/</directory>
+                                    <includes>
+                                        <include>*.tar.gz</include>
+                                    </includes>
+                                </resource>
                             </resources>
                         </configuration>
                     </execution>


Mime
View raw message