From 58e285b999454e1781a610d3b5248eb330455778 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 03:25:45 +0000 Subject: automatic import of python-honeypots --- .gitignore | 1 + python-honeypots.spec | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 97 insertions(+) create mode 100644 python-honeypots.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..35e06e6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/honeypots-0.62.tar.gz diff --git a/python-honeypots.spec b/python-honeypots.spec new file mode 100644 index 0000000..9b27df1 --- /dev/null +++ b/python-honeypots.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeypots +Version: 0.62 +Release: 1 +Summary: 27 different honeypots in a single pypi package! (dns, ftp, httpproxy, http, https, imap, mysql, pop3, postgres, redis, smb, smtp, socks5, ssh, telnet, vnc, mssql, elastic, ldap, ntp, memcache, snmp, oracle, dhcp, rdp, sip and irc) +License: AGPL-3.0 +URL: https://github.com/qeeqbox/honeypots +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/60/2d/3c1066349e84f4a1bf1fef13b92bf77b92781354c7af91129209b0ddfc9b/honeypots-0.62.tar.gz +BuildArch: noarch + +Requires: python3-twisted +Requires: python3-psutil +Requires: python3-psycopg2-binary +Requires: python3-pycrypto +Requires: python3-requests +Requires: python3-requests[socks] +Requires: python3-impacket +Requires: python3-paramiko +Requires: python3-scapy +Requires: python3-service-identity +Requires: python3-netifaces +Requires: python3-redis +Requires: python3-mysql-connector +Requires: python3-elasticsearch +Requires: python3-pymssql +Requires: python3-ldap3 +Requires: python3-pysnmp + +%description +The honeypots respond back, non-blocking, can be used as objects, or called directly with the in-built auto-configure scripts! Also, they are easy to setup and customize, it takes 1-2 seconds to spin a honeypot up. You can spin up multiple instances with the same type. The output can be logged to a Postgres database, file[s], terminal or syslog for easy integration. +This honeypots package is the only package that contains all the following: dhcp, dns, elastic, ftp, http_proxy, http, https, imap, ipp, irc, ldap, memcache, mssql, mysql, ntp, oracle, pjl, pop3, postgres, rdp, redis, sip, smb, smtp, snmp, socks5, ssh, telnet, vnc. +Honeypots now is in the awesome `telekom security T-Pot project! `_ + +%package -n python3-honeypots +Summary: 27 different honeypots in a single pypi package! (dns, ftp, httpproxy, http, https, imap, mysql, pop3, postgres, redis, smb, smtp, socks5, ssh, telnet, vnc, mssql, elastic, ldap, ntp, memcache, snmp, oracle, dhcp, rdp, sip and irc) +Provides: python-honeypots +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeypots +The honeypots respond back, non-blocking, can be used as objects, or called directly with the in-built auto-configure scripts! Also, they are easy to setup and customize, it takes 1-2 seconds to spin a honeypot up. You can spin up multiple instances with the same type. The output can be logged to a Postgres database, file[s], terminal or syslog for easy integration. +This honeypots package is the only package that contains all the following: dhcp, dns, elastic, ftp, http_proxy, http, https, imap, ipp, irc, ldap, memcache, mssql, mysql, ntp, oracle, pjl, pop3, postgres, rdp, redis, sip, smb, smtp, snmp, socks5, ssh, telnet, vnc. +Honeypots now is in the awesome `telekom security T-Pot project! `_ + +%package help +Summary: Development documents and examples for honeypots +Provides: python3-honeypots-doc +%description help +The honeypots respond back, non-blocking, can be used as objects, or called directly with the in-built auto-configure scripts! Also, they are easy to setup and customize, it takes 1-2 seconds to spin a honeypot up. You can spin up multiple instances with the same type. The output can be logged to a Postgres database, file[s], terminal or syslog for easy integration. +This honeypots package is the only package that contains all the following: dhcp, dns, elastic, ftp, http_proxy, http, https, imap, ipp, irc, ldap, memcache, mssql, mysql, ntp, oracle, pjl, pop3, postgres, rdp, redis, sip, smb, smtp, snmp, socks5, ssh, telnet, vnc. +Honeypots now is in the awesome `telekom security T-Pot project! `_ + +%prep +%autosetup -n honeypots-0.62 + +%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-honeypots -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.62-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..334b017 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +697055f06369cce91cf43f2c09e5f0b3 honeypots-0.62.tar.gz -- cgit v1.2.3