Bug 291353 - security/py-python-nmap: Fix port by adding required dependency nmap
Summary: security/py-python-nmap: Fix port by adding required dependency nmap
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks: 291352
  Show dependency treegraph
 
Reported: 2025-12-02 15:17 UTC by Yusuf Yaman
Modified: 2025-12-03 14:22 UTC (History)
2 users (show)

See Also:


Attachments
0001-security-py-python-nmap-Fix-port-by-adding-required-.patch (1.01 KB, patch)
2025-12-02 15:18 UTC, Yusuf Yaman
nxjoseph: maintainer-approval+
Details | Diff
0001-security-py-python-nmap-Fix-port-by-adding-required-.patch (1.01 KB, patch)
2025-12-02 15:23 UTC, Yusuf Yaman
nxjoseph: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuf Yaman 2025-12-02 15:17:55 UTC

    
Comment 1 Yusuf Yaman 2025-12-02 15:18:35 UTC
Created attachment 265779 [details]
0001-security-py-python-nmap-Fix-port-by-adding-required-.patch

Thanks in advance.
Comment 2 Yusuf Yaman 2025-12-02 15:22:17 UTC
Comment on attachment 265779 [details]
0001-security-py-python-nmap-Fix-port-by-adding-required-.patch

>From e8f3353f93ab76d983f7c35b3a5d1758b87d2c0e Mon Sep 17 00:00:00 2001
>From: Yusuf Yaman <nxjoseph@protonmail.com>
>Date: Tue, 2 Dec 2025 18:15:05 +0300
>Subject: [PATCH] security/py-python-nmap: Fix port by adding required
> dependency nmap
>
>PR:		291353
>Reported by:	Yusuf Yaman <nxjoseph@protonmail.com> (maintainer)
>Fixes:		bb7385d0331751936aa5de411b12e877a0438c8f
>---
> security/py-python-nmap/Makefile | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/security/py-python-nmap/Makefile b/security/py-python-nmap/Makefile
>index 9f26c9cdb..a0b946641 100644
>--- a/security/py-python-nmap/Makefile
>+++ b/security/py-python-nmap/Makefile
>@@ -1,5 +1,6 @@
> PORTNAME=	python-nmap
> DISTVERSION=	0.7.1
>+PORTREVISION=	1
> CATEGORIES=	security python
> MASTER_SITES=	PYPI
> PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
>@@ -12,6 +13,8 @@ WWW=		https://pypi.org/project/python-nmap/ \
> LICENSE=	GPLv3+
> LICENSE_FILE=	${WRKSRC}/gpl-3.0.txt
> 
>+RUN_DEPENDS=	nmap:security/nmap
>+
> USES=		python:build,run
> USE_PYTHON=	autoplist distutils flavors
> 
>-- 
>2.51.2
>
Comment 3 Yusuf Yaman 2025-12-02 15:23:16 UTC
Created attachment 265781 [details]
0001-security-py-python-nmap-Fix-port-by-adding-required-.patch

Oops, typo in the title, sorry for the noise :(.
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-12-03 14:14:55 UTC
A commit in branch main references this bug:

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

commit c9515df8f6a4065d9cac8fe7d56d90175975c7ec
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-12-03 14:13:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-12-03 14:13:24 +0000

    security/py-python-nmap: Fix port by adding required dependency nmap

    PR:     291353
    Fixes:  bb7385d03317 (Add new port)

 security/py-python-nmap/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-12-03 14:22:39 UTC
Thanks.