Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2025 07:59:07 GMT
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bb7385d03317 - main - security/py-python-nmap: Add new port
Message-ID:  <202509280759.58S7x7Kn056186@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb7385d0331751936aa5de411b12e877a0438c8f

commit bb7385d0331751936aa5de411b12e877a0438c8f
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-09-28 07:57:39 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2025-09-28 07:57:39 +0000

    security/py-python-nmap: Add new port
    
    PR:             289288
    Event:          EuroBSDCon 2025
---
 security/Makefile                 |  1 +
 security/py-python-nmap/Makefile  | 18 ++++++++++++++++++
 security/py-python-nmap/distinfo  |  3 +++
 security/py-python-nmap/pkg-descr |  7 +++++++
 4 files changed, 29 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 9446ec4e5837..e46ad8c394b5 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1045,6 +1045,7 @@
     SUBDIR += py-python-gnupg
     SUBDIR += py-python-gvm
     SUBDIR += py-python-jose
+    SUBDIR += py-python-nmap
     SUBDIR += py-python-nss
     SUBDIR += py-python-openid
     SUBDIR += py-python-pam
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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509280759.58S7x7Kn056186>