Date: Tue, 4 Apr 2023 15:26:37 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 56c5f882e689 - main - security/pam_howdy: Point to howdy and correct Python. Message-ID: <202304041526.334FQbnU097546@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=56c5f882e689be9cfec0b1310242e17d75cde780 commit 56c5f882e689be9cfec0b1310242e17d75cde780 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-04-04 15:25:44 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-04-04 15:26:22 +0000 security/pam_howdy: Point to howdy and correct Python. Sponsored by: Serenity Cybersecurity, LLC --- security/pam_howdy/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/security/pam_howdy/Makefile b/security/pam_howdy/Makefile index 31ab47355563..86c7be83a412 100644 --- a/security/pam_howdy/Makefile +++ b/security/pam_howdy/Makefile @@ -1,5 +1,6 @@ PORTNAME= pam_howdy PORTVERSION= 3.0.0.b.20230306 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= arrowd@FreeBSD.org @@ -14,8 +15,9 @@ LIB_DEPENDS= libevdev.so:devel/libevdev \ libinih.so:devel/inih \ libINIReader.so:devel/inih \ libepoll-shim.so:devel/libepoll-shim +RUN_DEPENDS= ${HOWDY_CMD}:security/howdy -USES= gettext-runtime localbase:ldflags pkgconfig meson ninja +USES= gettext-runtime localbase:ldflags pkgconfig python:env meson ninja USE_GITHUB= yes GH_ACCOUNT= boltgolt @@ -25,9 +27,15 @@ GH_TAGNAME= 30728a6d36 WRKSRC_SUBDIR= howdy/src/pam PLIST_FILES= lib/pam_howdy.so +HOWDY_CMD= ${LOCALBASE}/libexec/howdy/compare.py + post-patch: ${REINPLACE_CMD} \ -e 's|/lib/security|${LOCALBASE}/lib|' \ ${WRKSRC}/meson.build + ${REINPLACE_CMD} \ + -e 's|"python3"|"${PYTHON_CMD}"|' \ + -e 's|"/lib/security/howdy/compare.py"|"${HOWDY_CMD}"|' \ + ${WRKSRC}/main.cc .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304041526.334FQbnU097546>