git: a75ba7b59a39 - main - sysutils/py-salt: Fix python path in the pam module code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Mar 2024 10:14:44 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a75ba7b59a399278570d35bb026e8d5f00ef476d
commit a75ba7b59a399278570d35bb026e8d5f00ef476d
Author: Michele Possamai <michele@possamai.nl>
AuthorDate: 2024-03-30 10:09:43 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-30 10:13:20 +0000
sysutils/py-salt: Fix python path in the pam module code
PR: 274975
Approved by: krion (maintainer timeout)
---
sysutils/py-salt/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index f14471599f82..7c9e38290e16 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -1,6 +1,6 @@
PORTNAME= salt
PORTVERSION= 3006.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -103,6 +103,7 @@ post-patch:
-e 's|/srv/pillar|${ETCDIR}/pillar|' ${WRKSRC}/${file}
.endfor
@${REINPLACE_CMD} -e 's|yumpkg5|pkgng|' ${WRKSRC}/conf/minion
+ @${REINPLACE_CMD} -e 's|"/usr/bin/python3"|"${PYTHON_CMD}"|' ${WRKSRC}/salt/auth/pam.py
do-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/