From 4f03be7a14fedf8714229f9eb1c21dc124b366c9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 03:40:15 +0000 Subject: automatic import of python-assemblyline-core --- .gitignore | 1 + python-assemblyline-core.spec | 189 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 191 insertions(+) create mode 100644 python-assemblyline-core.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..a866f2a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/assemblyline-core-4.4.0.4.tar.gz diff --git a/python-assemblyline-core.spec b/python-assemblyline-core.spec new file mode 100644 index 0000000..9bba933 --- /dev/null +++ b/python-assemblyline-core.spec @@ -0,0 +1,189 @@ +%global _empty_manifest_terminate_build 0 +Name: python-assemblyline-core +Version: 4.4.0.4 +Release: 1 +Summary: Assemblyline 4 - Core components +License: MIT +URL: https://github.com/CybercentreCanada/assemblyline-core/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7e/6e/4cf85ce9c8debfd5e36b5ae9297b5df982c2873a07e5af1df5efaaa6c1ce/assemblyline-core-4.4.0.4.tar.gz +BuildArch: noarch + + +%description +# Assemblyline 4 - Core services + +This repository provides cores services for Assemblyline 4. + +#### Core Services + +##### Alerter + +Create alerts for the different submissions in the system. + +##### Dispatcher + +Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services. + +##### Expiry + +Delete submissions and their results when their TTL expires. + +##### Ingester + +Move ingested files from the priority queues to the processing queues. + +##### Metrics + +Generates metrics of the different components in the system. + +##### Scaler + +Spin up and down services in the system depending on the load. + +##### Updater + +Make sure the different services get their latest update files. + +##### Workflow + +Run the different workflows in the system and apply their labels, priority and status. + + + + +%package -n python3-assemblyline-core +Summary: Assemblyline 4 - Core components +Provides: python-assemblyline-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-assemblyline-core +# Assemblyline 4 - Core services + +This repository provides cores services for Assemblyline 4. + +#### Core Services + +##### Alerter + +Create alerts for the different submissions in the system. + +##### Dispatcher + +Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services. + +##### Expiry + +Delete submissions and their results when their TTL expires. + +##### Ingester + +Move ingested files from the priority queues to the processing queues. + +##### Metrics + +Generates metrics of the different components in the system. + +##### Scaler + +Spin up and down services in the system depending on the load. + +##### Updater + +Make sure the different services get their latest update files. + +##### Workflow + +Run the different workflows in the system and apply their labels, priority and status. + + + + +%package help +Summary: Development documents and examples for assemblyline-core +Provides: python3-assemblyline-core-doc +%description help +# Assemblyline 4 - Core services + +This repository provides cores services for Assemblyline 4. + +#### Core Services + +##### Alerter + +Create alerts for the different submissions in the system. + +##### Dispatcher + +Route the files in the system while a submission is tacking place. Make sure all files during a submission are completed by all required services. + +##### Expiry + +Delete submissions and their results when their TTL expires. + +##### Ingester + +Move ingested files from the priority queues to the processing queues. + +##### Metrics + +Generates metrics of the different components in the system. + +##### Scaler + +Spin up and down services in the system depending on the load. + +##### Updater + +Make sure the different services get their latest update files. + +##### Workflow + +Run the different workflows in the system and apply their labels, priority and status. + + + + +%prep +%autosetup -n assemblyline-core-4.4.0.4 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-assemblyline-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 4.4.0.4-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..b9eea4d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3c8fdbe965d5a09b55825cac7cb92700 assemblyline-core-4.4.0.4.tar.gz -- cgit v1.2.3