diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-beeswarm.spec | 87 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 89 insertions, 0 deletions
@@ -0,0 +1 @@ +/Beeswarm-0.7.18.tar.gz diff --git a/python-beeswarm.spec b/python-beeswarm.spec new file mode 100644 index 0000000..1125a07 --- /dev/null +++ b/python-beeswarm.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Beeswarm +Version: 0.7.18 +Release: 1 +Summary: Honeytoken transmission, reception and analysis. +License: GPL 3 +URL: https://github.com/honeynet/beeswarm +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/3f/6c5e8ad1862e160a7bcbbcd92cae85068a82478ee4463d06fd7b5d50a70f/Beeswarm-0.7.18.tar.gz +BuildArch: noarch + + +%description +Beeswarm is a honeypot project which provides easy configuration, deployment and managment of honeypots. +Beeswarm operates by deploying fake end-user systems (clients) and services (honeypots). Beeswarm uses these systems to provides +IoC (Indication of Compromise) by observing the difference between expected and actual traffic. +An IoC could be a certificate mismatch or the unexpected reuse of credentials (honeytokens). +For detailed setup information check `the offical website +<http://www.beeswarm-ids.org/>`_. + +%package -n python3-Beeswarm +Summary: Honeytoken transmission, reception and analysis. +Provides: python-Beeswarm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Beeswarm +Beeswarm is a honeypot project which provides easy configuration, deployment and managment of honeypots. +Beeswarm operates by deploying fake end-user systems (clients) and services (honeypots). Beeswarm uses these systems to provides +IoC (Indication of Compromise) by observing the difference between expected and actual traffic. +An IoC could be a certificate mismatch or the unexpected reuse of credentials (honeytokens). +For detailed setup information check `the offical website +<http://www.beeswarm-ids.org/>`_. + +%package help +Summary: Development documents and examples for Beeswarm +Provides: python3-Beeswarm-doc +%description help +Beeswarm is a honeypot project which provides easy configuration, deployment and managment of honeypots. +Beeswarm operates by deploying fake end-user systems (clients) and services (honeypots). Beeswarm uses these systems to provides +IoC (Indication of Compromise) by observing the difference between expected and actual traffic. +An IoC could be a certificate mismatch or the unexpected reuse of credentials (honeytokens). +For detailed setup information check `the offical website +<http://www.beeswarm-ids.org/>`_. + +%prep +%autosetup -n Beeswarm-0.7.18 + +%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-Beeswarm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.18-1 +- Package Spec generated @@ -0,0 +1 @@ +bf1c52f95edf1675037d68817aef401b Beeswarm-0.7.18.tar.gz |