diff options
| author | Gleb Popov <arrowd@FreeBSD.org> | 2023-04-04 18:25:44 +0300 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-04-04 18:26:22 +0300 |
| commit | 56c5f882e689be9cfec0b1310242e17d75cde780 (patch) | |
| tree | 7d87e391f575775c988c83cdea06be64b65dd253 | |
| parent | security/howdy: Point to the newly-added misc/dlib-models port. (diff) | |
security/pam_howdy: Point to howdy and correct Python.
Sponsored by: Serenity Cybersecurity, LLC
| -rw-r--r-- | security/pam_howdy/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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> |
