git: c639efd99026 - main - sysutils/py-salt: Add py311-setproctitle as mandatory dependency

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Thu, 27 Feb 2025 15:31:44 UTC
The branch main has been updated by krion:

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

commit c639efd990267a3970299c0c5b2444d46a4bd29c
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2025-02-27 15:30:42 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2025-02-27 15:30:42 +0000

    sysutils/py-salt: Add py311-setproctitle as mandatory dependency
    
    The salt-minion process sets its process title differently when
    py311-setproctitle is installed, changing from "/usr/local/bin/salt-minion"
    to "python3.11: MultiMinionProcessManager MinionProcessManager". This affects
    the RC script's ability to properly check process status and stop the service.
    
    Making py311-setproctitle a mandatory dependency ensures consistent process
    naming behavior, fixing the "service salt_minion status" and
    "service salt_minion stop" commands.
    
    PR:             285053
    Reported by:    asomers
---
 sysutils/py-salt/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index f14d90afa006..16c3913c606b 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	salt
 PORTVERSION=	3006.9
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
@@ -26,7 +26,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}looseversion>0:devel/py-looseversion@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}croniter>0:sysutils/py-croniter@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}croniter>0:sysutils/py-croniter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR}
 
 USES=		cpe python