aboutsummaryrefslogtreecommitdiff
path: root/security/py-python-nmap
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-python-nmap')
-rw-r--r--security/py-python-nmap/Makefile18
-rw-r--r--security/py-python-nmap/distinfo3
-rw-r--r--security/py-python-nmap/pkg-descr7
3 files changed, 28 insertions, 0 deletions
diff --git a/security/py-python-nmap/Makefile b/security/py-python-nmap/Makefile
new file mode 100644
index 000000000000..9f26c9cdb659
--- /dev/null
+++ b/security/py-python-nmap/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= python-nmap
+DISTVERSION= 0.7.1
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= Use nmap and access scan results from Python3
+WWW= https://pypi.org/project/python-nmap/ \
+ http://xael.org/pages/python-nmap-en.html
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt
+
+USES= python:build,run
+USE_PYTHON= autoplist distutils flavors
+
+.include <bsd.port.mk>
diff --git a/security/py-python-nmap/distinfo b/security/py-python-nmap/distinfo
new file mode 100644
index 000000000000..d5fe5e6a3c33
--- /dev/null
+++ b/security/py-python-nmap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756968165
+SHA256 (python-nmap-0.7.1.tar.gz) = f75af6b91dd8e3b0c31f869db32163f62ada686945e5b7c25f84bc0f7fad3b64
+SIZE (python-nmap-0.7.1.tar.gz) = 44366
diff --git a/security/py-python-nmap/pkg-descr b/security/py-python-nmap/pkg-descr
new file mode 100644
index 000000000000..fdb5cf792d3e
--- /dev/null
+++ b/security/py-python-nmap/pkg-descr
@@ -0,0 +1,7 @@
+python-nmap is a python library which helps in using nmap port scanner.
+It allows to easilly manipulate nmap scan results and will be a perfect
+tool for systems administrators who want to automatize scanning task
+and reports. It also supports nmap script outputs.
+
+It can even be used asynchronously. Results are returned one
+host at a time to a callback function defined by the user.