git: 79d0b5f18b46 - main - security/howdy: Point to the newly-added misc/dlib-models port.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Apr 2023 15:26:35 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=79d0b5f18b467a9b69ab382edc6c55f2cc49638d commit 79d0b5f18b467a9b69ab382edc6c55f2cc49638d Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-04-04 15:13:40 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-04-04 15:26:22 +0000 security/howdy: Point to the newly-added misc/dlib-models port. Sponsored by: Serenity Cybersecurity, LLC --- security/howdy/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/security/howdy/Makefile b/security/howdy/Makefile index f9c91d856fb0..05b4813b38ed 100644 --- a/security/howdy/Makefile +++ b/security/howdy/Makefile @@ -1,5 +1,6 @@ PORTNAME= howdy PORTVERSION= 3.0.0.b.20230306 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= arrowd@FreeBSD.org @@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= opencv>0:graphics/opencv \ ${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dlib>0:science/py-dlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${LOCALBASE}/share/dlib-models/shape_predictor_5_face_landmarks.dat:misc/dlib-models USES= python:3.7-3.10,run shebangfix @@ -29,7 +31,7 @@ STRIP= post-patch: ${ECHO_CMD} 'config_dir = "${ETCDIR}"' >> ${WRKSRC}/howdy/src/paths.py - ${ECHO_CMD} 'dlib_data_dir = "${LOCALBASE}/share/dlib-data/"' >> ${WRKSRC}/howdy/src/paths.py + ${ECHO_CMD} 'dlib_data_dir = "${LOCALBASE}/share/dlib-models/"' >> ${WRKSRC}/howdy/src/paths.py ${ECHO_CMD} 'user_models_dir = "/var/db/howdy/models/"' >> ${WRKSRC}/howdy/src/paths.py do-install: