metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec (698 lines of code) (raw):

# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # %define timestamp %(date +%Y%m%d%H%M) %define version %{?_version}%{!?_version:UNKNOWN} %define full_version %{version}%{?_prerelease} %define prerelease_fmt %{?_prerelease:.%{_prerelease}} %define vendor_version %{?_vendor_version}%{!?_vendor_version: UNKNOWN} %define url http://metron.apache.org/ %define base_name metron %define name %{base_name}-%{vendor_version} %define versioned_app_name %{base_name}-%{version} %define buildroot %{_topdir}/BUILDROOT/%{versioned_app_name}-root %define installpriority %{_priority} # Used by alternatives for concurrent version installs %define __jar_repack %{nil} %define metron_root %{_prefix}/%{base_name} %define metron_home %{metron_root}/%{full_version} %define _binaries_in_noarch_packages_terminate_build 0 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Name: %{base_name} Version: %{version} Release: %{timestamp}%{prerelease_fmt} BuildRoot: %{buildroot} BuildArch: noarch Summary: Apache Metron provides a scalable advanced security analytics framework License: ASL 2.0 Group: Applications/Internet URL: %{url} Source0: metron-common-%{full_version}-archive.tar.gz Source1: metron-parsers-common-%{full_version}-archive.tar.gz Source2: metron-elasticsearch-storm-%{full_version}-archive.tar.gz Source3: metron-data-management-%{full_version}-archive.tar.gz Source4: metron-solr-common-%{full_version}-archive.tar.gz Source5: metron-solr-storm-%{full_version}-archive.tar.gz Source6: metron-enrichment-common-%{full_version}-archive.tar.gz Source7: metron-enrichment-storm-%{full_version}-archive.tar.gz Source8: metron-indexing-common-%{full_version}-archive.tar.gz Source9: metron-indexing-storm-%{full_version}-archive.tar.gz Source10: metron-pcap-backend-%{full_version}-archive.tar.gz Source11: metron-profiler-storm-%{full_version}-archive.tar.gz Source12: metron-rest-%{full_version}-archive.tar.gz Source13: metron-config-%{full_version}-archive.tar.gz Source14: metron-management-%{full_version}-archive.tar.gz Source15: metron-maas-service-%{full_version}-archive.tar.gz Source16: metron-alerts-%{full_version}-archive.tar.gz Source17: metron-performance-%{full_version}-archive.tar.gz Source18: metron-profiler-spark-%{full_version}-archive.tar.gz Source19: metron-profiler-repl-%{full_version}-archive.tar.gz Source20: metron-parsing-storm-%{full_version}-archive.tar.gz Source21: metron-parsers-%{full_version}-archive.tar.gz Source22: metron-hbase-server-%{full_version}-archive.tar.gz Source23: stellar-common-%{full_version}-archive.tar.gz %description Apache Metron provides a scalable advanced security analytics framework %prep rm -rf %{_rpmdir}/%{buildarch}/%{versioned_app_name}* rm -rf %{_srcrpmdir}/%{versioned_app_name}* %build rm -rf %{_builddir} mkdir -p %{_builddir}/%{versioned_app_name} %clean rm -rf %{buildroot} rm -rf %{_builddir}/* %install rm -rf %{buildroot} mkdir -p %{buildroot}%{metron_home} mkdir -p %{buildroot}/etc/init.d # 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} tar -xzf %{SOURCE3} -C %{buildroot}%{metron_home} 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} tar -xzf %{SOURCE9} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE10} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE11} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE12} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE13} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE14} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE15} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE16} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE17} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE18} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE19} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE20} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE21} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE22} -C %{buildroot}%{metron_home} tar -xzf %{SOURCE23} -C %{buildroot}%{metron_home} install %{buildroot}%{metron_home}/bin/metron-management-ui %{buildroot}/etc/init.d/ install %{buildroot}%{metron_home}/bin/metron-alerts-ui %{buildroot}/etc/init.d/ # allows node dependencies to be packaged in the RPMs npm install --prefix="%{buildroot}%{metron_home}/web/expressjs" --only=production # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package common Summary: Metron Common Group: Applications/Internet Provides: common = %{version} %description common This package installs the Metron common files %{metron_home} %files common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/config %dir %{metron_home}/config/zookeeper %dir %{metron_home}/lib %{metron_home}/bin/zk_load_configs.sh %{metron_home}/bin/stellar %{metron_home}/bin/cluster_info.py %{metron_home}/bin/tgt_renew.py %{metron_home}/bin/upgrade_helper.sh %{metron_home}/config/zookeeper/global.json %attr(0644,root,root) %{metron_home}/lib/metron-common-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package parsers-common Summary: Metron Parser Common Files Group: Applications/Internet Provides: parsers-common = %{version} %description parsers-common This package installs the Metron Parser Common files %files parsers-common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/config %dir %{metron_home}/config/zookeeper %dir %{metron_home}/config/zookeeper/parsers %dir %{metron_home}/patterns %dir %{metron_home}/lib %{metron_home}/config/zookeeper/parsers/jsonMap.json %{metron_home}/config/zookeeper/parsers/jsonMapQuery.json %{metron_home}/config/zookeeper/parsers/jsonMapWrappedQuery.json %{metron_home}/config/zookeeper/parsers/syslog3164.json %{metron_home}/config/zookeeper/parsers/syslog5424.json %{metron_home}/patterns/common %attr(0644,root,root) %{metron_home}/lib/metron-parsers-common-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package parsers Summary: Metron Bundled Parser Files Group: Applications/Internet Provides: parsers = %{version} %description parsers This package installs the Metron Bundled Parser files %files parsers %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/config %dir %{metron_home}/config/zookeeper %dir %{metron_home}/config/zookeeper/parsers %dir %{metron_home}/patterns %dir %{metron_home}/lib %{metron_home}/config/zookeeper/parsers/bro.json %{metron_home}/config/zookeeper/parsers/snort.json %{metron_home}/config/zookeeper/parsers/squid.json %{metron_home}/config/zookeeper/parsers/websphere.json %{metron_home}/config/zookeeper/parsers/yaf.json %{metron_home}/config/zookeeper/parsers/asa.json %{metron_home}/config/zookeeper/parsers/leef.json %{metron_home}/patterns/asa %{metron_home}/patterns/fireeye %{metron_home}/patterns/sourcefire %{metron_home}/patterns/squid %{metron_home}/patterns/websphere %{metron_home}/patterns/yaf %attr(0644,root,root) %{metron_home}/lib/metron-parsers-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package parsing-storm Summary: Metron Parser Storm Files Group: Applications/Internet Provides: parsing-storm = %{version} %description parsing-storm This package installs the Metron Parser Storm files %files parsing-storm %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/lib %{metron_home}/bin/start_parser_topology.sh %attr(0644,root,root) %{metron_home}/lib/metron-parsing-storm-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package elasticsearch-storm Summary: Metron Elasticsearch Storm Files Group: Applications/Internet Provides: elasticsearch-storm = %{version} %description elasticsearch-storm This package installs the Metron Elasticsearch Storm files %files elasticsearch-storm %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/config %dir %{metron_home}/lib %{metron_home}/bin/start_elasticsearch_topology.sh %{metron_home}/config/elasticsearch.properties %attr(0644,root,root) %{metron_home}/lib/metron-elasticsearch-storm-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package performance Summary: Metron Performance Tools Group: Applications/Internet Provides: performance = %{version} %description performance This package installs performance tools useful for Metron %files performance %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/lib %{metron_home}/bin/load_tool.sh %attr(0644,root,root) %{metron_home}/lib/metron-performance-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package data-management Summary: Metron Data Management Files Group: Applications/Internet Provides: data-management = %{version} %description data-management This package installs the Metron Parser files %files data-management %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/lib %{metron_home}/bin/Whois_CSV_to_JSON.py %{metron_home}/bin/maxmind_enrichment_load.sh %{metron_home}/bin/flatfile_loader.sh %{metron_home}/bin/flatfile_summarizer.sh %{metron_home}/bin/prune_elasticsearch_indices.sh %{metron_home}/bin/prune_hdfs_files.sh %{metron_home}/bin/threatintel_bulk_prune.sh %{metron_home}/bin/threatintel_taxii_load.sh %attr(0644,root,root) %{metron_home}/lib/metron-data-management-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package solr-common Summary: Metron Solr Common Files Group: Applications/Internet Provides: solr-common = %{version} %description solr-common This package installs the Metron Solr Common files %files solr-common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/config %{metron_home}/bin/create_collection.sh %{metron_home}/bin/delete_collection.sh %{metron_home}/bin/install_solr.sh %{metron_home}/bin/start_solr.sh %{metron_home}/bin/start_solr_topology.sh %{metron_home}/bin/stop_solr.sh %{metron_home}/config/schema/bro/schema.xml %{metron_home}/config/schema/bro/solrconfig.xml %{metron_home}/config/schema/error/schema.xml %{metron_home}/config/schema/error/solrconfig.xml %{metron_home}/config/schema/metaalert/schema.xml %{metron_home}/config/schema/metaalert/solrconfig.xml %{metron_home}/config/schema/snort/schema.xml %{metron_home}/config/schema/snort/solrconfig.xml %{metron_home}/config/schema/yaf/schema.xml %{metron_home}/config/schema/yaf/solrconfig.xml # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package solr-storm Summary: Metron Solr Storm Files Group: Applications/Internet Provides: solr-storm = %{version} %description solr-storm This package installs the Metron Solr Storm files %files solr-storm %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/config %dir %{metron_home}/lib %{metron_home}/bin/start_solr_topology.sh %{metron_home}/config/solr.properties %attr(0644,root,root) %{metron_home}/lib/metron-solr-storm-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package enrichment-common Summary: Metron Enrichment Common Files Group: Applications/Internet Provides: enrichment-common = %{version} %description enrichment-common This package installs the Metron Enrichment Common files %files enrichment-common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/config %dir %{metron_home}/config/zookeeper %dir %{metron_home}/config/zookeeper/enrichments %{metron_home}/bin/latency_summarizer.sh %{metron_home}/config/zookeeper/enrichments/bro.json %{metron_home}/config/zookeeper/enrichments/snort.json %{metron_home}/config/zookeeper/enrichments/websphere.json %{metron_home}/config/zookeeper/enrichments/yaf.json %{metron_home}/config/zookeeper/enrichments/asa.json %attr(0644,root,root) %{metron_home}/lib/metron-enrichment-common-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package enrichment-storm Summary: Metron Enrichment Storm Files Group: Applications/Internet Provides: enrichment-storm = %{version} %description enrichment-storm This package installs the Metron Enrichment Storm files %files enrichment-storm %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/flux %dir %{metron_home}/flux/enrichment %{metron_home}/bin/start_enrichment_topology.sh %{metron_home}/config/enrichment.properties %{metron_home}/flux/enrichment/remote.yaml %attr(0644,root,root) %{metron_home}/lib/metron-enrichment-storm-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package indexing-common Summary: Metron Indexing Files Group: Applications/Internet Provides: indexing-common = %{version} %description indexing-common This package installs the Metron Indexing files %files indexing-common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/flux %dir %{metron_home}/flux/indexing %{metron_home}/config/zookeeper/indexing/bro.json %{metron_home}/config/zookeeper/indexing/snort.json %{metron_home}/config/zookeeper/indexing/websphere.json %{metron_home}/config/zookeeper/indexing/yaf.json %{metron_home}/config/zookeeper/indexing/asa.json %{metron_home}/config/zookeeper/indexing/error.json %{metron_home}/config/zeppelin/metron/metron-yaf-telemetry.json %{metron_home}/config/zeppelin/metron/metron-connection-report.json %{metron_home}/config/zeppelin/metron/metron-ip-report.json %{metron_home}/config/zeppelin/metron/metron-connection-volume-report.json # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package indexing-storm Summary: Metron Indexing Storm Files Group: Applications/Internet Provides: indexing-storm = %{version} %description indexing-storm This package installs the Metron Indexing Storm files %files indexing-storm %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/flux %dir %{metron_home}/flux/indexing %{metron_home}/bin/start_hdfs_topology.sh %{metron_home}/flux/indexing/batch/remote.yaml %{metron_home}/flux/indexing/random_access/remote.yaml # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package metron-management Summary: Metron Management Libary Group: Applications/Internet Provides: metron-management = %{version} %description metron-management This package installs the Metron Management Library %files metron-management %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home}/lib %attr(0644,root,root) %{metron_home}/lib/metron-management-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package pcap Summary: Metron PCAP Group: Applications/Internet Provides: pcap = %{version} %description pcap This package installs the Metron PCAP files %{metron_home} %files pcap %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/pcap %dir %{metron_home}/lib %{metron_home}/config/pcap.properties %{metron_home}/bin/pcap_inspector.sh %{metron_home}/bin/pcap_query.sh %{metron_home}/bin/start_pcap_topology.sh %{metron_home}/bin/pcap_zeppelin_run.sh %{metron_home}/flux/pcap/remote.yaml %{metron_home}/config/zeppelin/metron/metron-pcap.json %attr(0644,root,root) %{metron_home}/lib/metron-pcap-backend-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package profiler-storm Summary: Metron Profiler for Storm Group: Applications/Internet Provides: profiler-storm = %{version} %description profiler-storm This package installs the Metron Profiler for Storm %{metron_home} %files profiler-storm %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-storm-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package rest Summary: Metron Rest Group: Applications/Internet Provides: rest = %{version} %description rest This package installs the Metron Rest %{metron_home} %files rest %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/config %dir %{metron_home}/bin %dir %{metron_home}/lib %{metron_home}/config/rest_application.yml %{metron_home}/config/knox/conf/topologies/metron.xml %{metron_home}/config/knox/conf/topologies/metronsso.xml %{metron_home}/config/knox/data/services/alerts/rewrite.xml %{metron_home}/config/knox/data/services/alerts/service.xml %{metron_home}/config/knox/data/services/management/rewrite.xml %{metron_home}/config/knox/data/services/management/service.xml %{metron_home}/config/knox/data/services/rest/rewrite.xml %{metron_home}/config/knox/data/services/rest/service.xml %{metron_home}/bin/metron-rest.sh %{metron_home}/bin/pcap_to_pdml.sh %{metron_home}/bin/install_metron_knox.sh %attr(0644,root,root) %{metron_home}/lib/metron-rest-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package config Summary: Metron Management UI Group: Applications/Internet Provides: config = %{version} %description config This package installs the Metron Management UI %{metron_home} %files config %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/web %dir %{metron_home}/web/expressjs %dir %{metron_home}/web/expressjs/node_modules %dir %{metron_home}/web/expressjs/node_modules/.bin %dir %{metron_home}/web/management-ui %dir %{metron_home}/web/management-ui/assets %dir %{metron_home}/web/management-ui/assets/ace %dir %{metron_home}/web/management-ui/assets/ace/snippets %dir %{metron_home}/web/management-ui/assets/fonts %dir %{metron_home}/web/management-ui/assets/fonts/Roboto %dir %{metron_home}/web/management-ui/assets/images %dir %{metron_home}/web/management-ui/license %{metron_home}/bin/metron-management-ui /etc/init.d/metron-management-ui %attr(0755,root,root) %{metron_home}/web/expressjs/node_modules/* %attr(0755,root,root) %{metron_home}/web/expressjs/node_modules/.bin/* %attr(0755,root,root) %{metron_home}/web/expressjs/server.js %attr(0644,root,root) %{metron_home}/web/expressjs/package.json %attr(0644,root,root) %{metron_home}/web/expressjs/package-lock.json %attr(0644,root,root) %{metron_home}/web/management-ui/styles.*.css %attr(0644,root,root) %{metron_home}/web/management-ui/favicon.ico %attr(0644,root,root) %{metron_home}/web/management-ui/index.html %attr(0644,root,root) %{metron_home}/web/management-ui/*.js %attr(0644,root,root) %{metron_home}/web/management-ui/*.ttf %attr(0644,root,root) %{metron_home}/web/management-ui/*.svg %attr(0644,root,root) %{metron_home}/web/management-ui/*.eot %attr(0644,root,root) %{metron_home}/web/management-ui/*.woff %attr(0644,root,root) %{metron_home}/web/management-ui/*.woff2 %attr(0644,root,root) %{metron_home}/web/management-ui/3rdpartylicenses.txt %attr(0644,root,root) %{metron_home}/web/management-ui/assets/ace/*.js %attr(0644,root,root) %{metron_home}/web/management-ui/assets/ace/LICENSE %attr(0644,root,root) %{metron_home}/web/management-ui/assets/ace/snippets/*.js %attr(0644,root,root) %{metron_home}/web/management-ui/assets/fonts/Roboto/LICENSE.txt %attr(0644,root,root) %{metron_home}/web/management-ui/assets/fonts/Roboto/*.ttf %attr(0644,root,root) %{metron_home}/web/management-ui/assets/images/* %attr(0644,root,root) %{metron_home}/web/management-ui/assets/app-config.json %attr(0644,root,root) %{metron_home}/web/management-ui/license/* # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package maas-service Summary: Metron MaaS service Group: Application/Internet Provides: maas-service = %{version} %description maas-service This package install the Metron MaaS Service files %{metron_home} %files maas-service %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %{metron_home}/bin/maas_service.sh %{metron_home}/bin/maas_deploy.sh %attr(0644,root,root) %{metron_home}/lib/metron-maas-service-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package alerts Summary: Metron Alerts UI Group: Applications/Internet Provides: alerts = %{version} %description alerts This package installs the Metron Alerts UI %{metron_home} %files alerts %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/bin %dir %{metron_home}/web %dir %{metron_home}/web/alerts-ui %dir %{metron_home}/web/alerts-ui/assets %dir %{metron_home}/web/alerts-ui/assets/ace %dir %{metron_home}/web/alerts-ui/assets/fonts %dir %{metron_home}/web/alerts-ui/assets/fonts/Roboto %dir %{metron_home}/web/alerts-ui/assets/images %{metron_home}/bin/metron-alerts-ui /etc/init.d/metron-alerts-ui %attr(0755,root,root) %{metron_home}/web/expressjs/alerts-server.js %attr(0644,root,root) %{metron_home}/web/alerts-ui/favicon.ico %attr(0644,root,root) %{metron_home}/web/alerts-ui/index.html %attr(0644,root,root) %{metron_home}/web/alerts-ui/styles.*.css %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.js %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.ttf %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.svg %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.jpg %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.eot %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.woff %attr(0644,root,root) %{metron_home}/web/alerts-ui/*.woff2 %attr(0644,root,root) %{metron_home}/web/alerts-ui/3rdpartylicenses.txt %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/ace/*.js %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/ace/LICENSE %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/fonts/font.css %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/fonts/Roboto/LICENSE.txt %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/fonts/Roboto/*.ttf %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/images/* %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/app-config.json %attr(0644,root,root) %{metron_home}/web/alerts-ui/assets/context-menu.conf.json # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package profiler-spark Summary: Metron Profiler for Spark Group: Applications/Internet Provides: profiler-spark = %{version} %description profiler-spark This package installs the Metron Profiler for Spark %{metron_home} %files profiler-spark %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/config %{metron_home}/config/batch-profiler.properties %dir %{metron_home}/bin %{metron_home}/bin/start_batch_profiler.sh %dir %{metron_home}/lib %attr(0644,root,root) %{metron_home}/lib/metron-profiler-spark-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package profiler-repl Summary: Metron Profiler for the Stellar REPL Group: Applications/Internet Provides: profiler-repl = %{version} %description profiler-repl This package installs the Metron Profiler for the Stellar REPL %{metron_home} %files profiler-repl %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/lib %attr(0644,root,root) %{metron_home}/lib/metron-profiler-repl-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package hbase-server Summary: Metron HBase Server Files Group: Applications/Internet Provides: hbase-server = %{version} %description hbase-server This package installs the Metron HBase Server files %files hbase-server %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/coprocessor %dir %{metron_home}/bin %{metron_home}/bin/load_enrichment_coprocessor.sh %attr(0644,root,root) %{metron_home}/coprocessor/metron-hbase-server-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %package stellar-common Summary: Stellar Common Files Group: Applications/Internet Provides: stellar-common = %{version} %description stellar-common This package installs the Stellar Common files %files stellar-common %defattr(-,root,root,755) %dir %{metron_root} %dir %{metron_home} %dir %{metron_home}/lib %attr(0644,root,root) %{metron_home}/lib/stellar-common-%{full_version}-uber.jar # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %post config chkconfig --add metron-management-ui chkconfig --add metron-alerts-ui %preun config chkconfig --del metron-management-ui chkconfig --del metron-alerts-ui %changelog * Tue Nov 19 2019 Shane Ardell <shane.m.ardell@gmail.com> - 0.7.2 - Update metron spec to include package-lock.json file introduced by npm version update * Mon Apr 8 2019 Apache Metron <dev@metron.apache.og> - 0.7.1 - Updat metron SPEC to include metron-hbase-server for enrichment coprocessor * Tue Mar 12 2019 Apache Metron <dev@metron.apache.og> - 0.7.1 - Split metron-enrichment into submodules * Thu Dec 27 2018 Apache Metron <dev@metron.apache.og> - 0.7.1 - Updat metron SPEC to move syslog configurations to right place * Wed Dec 26 2018 Apache Metron <dev@metron.apache.org> - 0.7.1 - Update metron SPEC file to include syslog 3164 parser * Thu Nov 15 2018 Apache Metron <dev@metron.apache.org> - 0.7.0 - Split metron-parsers into metron-parsing and submodules * Wed Oct 31 2018 Apache Metron <dev@metron.apache.org> - 0.7.0 - Update files in Management UI from Angular upgrade * Thu Aug 30 2018 Apache Metron <dev@metron.apache.org> - 0.7.0 - Update compiled css file name for Alerts UI * Fri Aug 24 2018 Apache Metron <dev@metron.apache.org> - 0.7.0 - Add syslog5424 parser * Tue Aug 21 2018 Apache Metron <dev@metron.apache.org> - 0.7.0 - Add Profiler for REPL * Tue Aug 14 2018 Apache Metron <dev@metron.apache.org> - 0.5.1 - Add Profiler for Spark * Thu Feb 1 2018 Apache Metron <dev@metron.apache.org> - 0.4.3 - Add Solr install script to Solr RPM * Tue Sep 25 2017 Apache Metron <dev@metron.apache.org> - 0.4.2 - Add Alerts UI * Tue Sep 19 2017 Apache Metron <dev@metron.apache.org> - 0.4.2 - Updated and renamed metron-rest script * Tue Aug 29 2017 Apache Metron <dev@metron.apache.org> - 0.4.1 - Add Metron MaaS service * Thu Jun 29 2017 Apache Metron <dev@metron.apache.org> - 0.4.1 - Add Metron Management jar * Thu May 15 2017 Apache Metron <dev@metron.apache.org> - 0.4.0 - Added Management UI * Tue May 9 2017 Apache Metron <dev@metron.apache.org> - 0.4.0 - Add Zeppelin Connection Volume Report Dashboard * Thu May 4 2017 Ryan Merriman <merrimanr@gmail.com> - 0.4.0 - Added REST * Tue May 2 2017 David Lyle <dlyle65535@gmail.com> - 0.4.0 - Add Metron IP Report * Fri Apr 28 2017 Apache Metron <dev@metron.apache.org> - 0.4.0 - Add Zeppelin Connection Report Dashboard * Thu Jan 19 2017 Justin Leet <justinjleet@gmail.com> - 0.3.1 - Replace GeoIP files with new implementation * Thu Nov 03 2016 David Lyle <dlyle65535@gmail.com> - 0.2.1 - Add ASA parser/enrichment configuration files * Thu Jul 21 2016 Michael Miklavcic <michael.miklavcic@gmail.com> - 0.2.1 - Remove parser flux files - Add new enrichment files * Thu Jul 14 2016 Michael Miklavcic <michael.miklavcic@gmail.com> - 0.2.1 - Adding PCAP subpackage - Added directory macros to files sections * Thu Jul 14 2016 Justin Leet <justinjleet@gmail.com> - 0.2.1 - Adding Enrichment subpackage * 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 * 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 - First packaging