mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
security/pam_howdy: Point to howdy and correct Python.
Sponsored by: Serenity Cybersecurity, LLC
This commit is contained in:
parent
79d0b5f18b
commit
56c5f882e6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user