summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:59:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:59:50 +0000
commit5585d2ed6bc0aad42130f586363b2dc2125b30ce (patch)
tree3dbab9b66c0c0a9c7c6c90722b166d7516c8b33b
parent0f034a9fed515d1a056114400356d39dd7e2415f (diff)
automatic import of python-cbinterfaceopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-cbinterface.spec171
-rw-r--r--sources1
3 files changed, 173 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dd948be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cbinterface-2.3.35.tar.gz
diff --git a/python-cbinterface.spec b/python-cbinterface.spec
new file mode 100644
index 0000000..0e9c71e
--- /dev/null
+++ b/python-cbinterface.spec
@@ -0,0 +1,171 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cbinterface
+Version: 2.3.35
+Release: 1
+Summary: command line tool for interfacing with multiple carbonblack environments to perform analysis and live response functions
+License: Apache-2.0
+URL: https://github.com/ace-ecosystem/cbinterface2
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3a/f6/5436ce29b3bafdae38cb67c450c1fb3485958174efa25484bf6e4124d509/cbinterface-2.3.35.tar.gz
+BuildArch: noarch
+
+Requires: python3-argcomplete
+Requires: python3-cbapi
+Requires: python3-coloredlogs
+
+%description
+# cbinterface
+
+`cbinterface` is a command line tool and library for interfacing with one or more Carbon Black environments.
+
+As of now, `cbinterface` primarily supports Carbon Black PSC EDR (Threathunter) and Carbon Black Response. However, a lot of functionality should also work with other CBC products, like Enterprise Standard. If you're using Enterprise Standard and something doesn't work, open an issue and I can likely swap out an underlying object and have it working quickly.
+
+# Install & Setup
+
+## Install Via pip
+
+```bash
+pip install cbinterface
+```
+
+## Install Direct from Github
+
+```
+pip install git+https://github.com/ace-ecosystem/cbinterface2
+```
+
+## Setup & Configure
+
+[Look here](https://github.com/ace-ecosystem/cbinterface2/wiki/Configuration) for help setting up and configuring `cbinterface` to work with your Carbon Black enviroments and according to your preferences.
+
+
+# The Wiki
+
+Check out the [Wiki Page](https://github.com/ace-ecosystem/cbinterface2/wiki) for detailed documentation and help.
+
+That said, if you don't find what you need, have a question about anything, or encounter an issue, open an issue here on Github and I'll help or fix it. If there is interest, I'll create more documentation around any subject.
+
+
+
+
+%package -n python3-cbinterface
+Summary: command line tool for interfacing with multiple carbonblack environments to perform analysis and live response functions
+Provides: python-cbinterface
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cbinterface
+# cbinterface
+
+`cbinterface` is a command line tool and library for interfacing with one or more Carbon Black environments.
+
+As of now, `cbinterface` primarily supports Carbon Black PSC EDR (Threathunter) and Carbon Black Response. However, a lot of functionality should also work with other CBC products, like Enterprise Standard. If you're using Enterprise Standard and something doesn't work, open an issue and I can likely swap out an underlying object and have it working quickly.
+
+# Install & Setup
+
+## Install Via pip
+
+```bash
+pip install cbinterface
+```
+
+## Install Direct from Github
+
+```
+pip install git+https://github.com/ace-ecosystem/cbinterface2
+```
+
+## Setup & Configure
+
+[Look here](https://github.com/ace-ecosystem/cbinterface2/wiki/Configuration) for help setting up and configuring `cbinterface` to work with your Carbon Black enviroments and according to your preferences.
+
+
+# The Wiki
+
+Check out the [Wiki Page](https://github.com/ace-ecosystem/cbinterface2/wiki) for detailed documentation and help.
+
+That said, if you don't find what you need, have a question about anything, or encounter an issue, open an issue here on Github and I'll help or fix it. If there is interest, I'll create more documentation around any subject.
+
+
+
+
+%package help
+Summary: Development documents and examples for cbinterface
+Provides: python3-cbinterface-doc
+%description help
+# cbinterface
+
+`cbinterface` is a command line tool and library for interfacing with one or more Carbon Black environments.
+
+As of now, `cbinterface` primarily supports Carbon Black PSC EDR (Threathunter) and Carbon Black Response. However, a lot of functionality should also work with other CBC products, like Enterprise Standard. If you're using Enterprise Standard and something doesn't work, open an issue and I can likely swap out an underlying object and have it working quickly.
+
+# Install & Setup
+
+## Install Via pip
+
+```bash
+pip install cbinterface
+```
+
+## Install Direct from Github
+
+```
+pip install git+https://github.com/ace-ecosystem/cbinterface2
+```
+
+## Setup & Configure
+
+[Look here](https://github.com/ace-ecosystem/cbinterface2/wiki/Configuration) for help setting up and configuring `cbinterface` to work with your Carbon Black enviroments and according to your preferences.
+
+
+# The Wiki
+
+Check out the [Wiki Page](https://github.com/ace-ecosystem/cbinterface2/wiki) for detailed documentation and help.
+
+That said, if you don't find what you need, have a question about anything, or encounter an issue, open an issue here on Github and I'll help or fix it. If there is interest, I'll create more documentation around any subject.
+
+
+
+
+%prep
+%autosetup -n cbinterface-2.3.35
+
+%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-cbinterface -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.35-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7ce3155
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d6dd6921eda3bb01c71795d9b4c39606 cbinterface-2.3.35.tar.gz