From nobody Tue Apr 4 15:26:37 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PrWnn2YTwz43kRg; Tue, 4 Apr 2023 15:26:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrWnn1xCLz3kHb; Tue, 4 Apr 2023 15:26:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680621997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TWX3fn8Zeo+50BDIM31HdUm26hCsvAUIf5O6xawfJYo=; b=OmdL5wx4YpCHMHFY9v+dYwG1xjMho2/aYIHCqdB/1zaochb8rx9p30pcZJrppnTOAaYWGE oET0UTLUHotqXEI0z6REIjfiEZI7ZPB8BEhViY9uObK3YhTNx7dGftpN3/rNADWrkyQyfD TbM2qWKb6c3KtRKKAdFBVjjl3bEmkMtFJgK45LeRcYRv8MrYgolTgpZUDjdyiU07CIKMMR jvYuQ8ELtS/XcVTClkLVl5MKx0a/BiwAJfA5XQYRMB7wU8omU2oJ9BLbA0hEjyID9XWb8Q C6hRAp+tayUYycTgeDaQNgegdOxmp8D1Ia/I8GL0J+/59X3DWbH+r3CLu069Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680621997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TWX3fn8Zeo+50BDIM31HdUm26hCsvAUIf5O6xawfJYo=; b=dZm03zznAWBBevxK9QATWFL3+hTbpsSUu0FkBYV3WIq39JaJWyTcwDitx6HIjHUW0JoEod 5+5LSXcsjs15QUwLsHAEBy6E1O5lGRv4Rj+x+QMI08sT3OjKK4RYTBFthYhzXrMCCcoo1k d7aYje6LgDQ4zdBlFMz9XyUsJxjfs+ZjzC1+m04YiYibGz0m8IXsStznALxQfyl5k/2YSC 2bIuZ1XrxfIlDzgXHTF654FhRhi/EFwK50KjMQnDeEqnXNVHwMTSPec73akYna73D+dMIC 2bRFnksUUD6lDMH7N5IBv4QIc22816kHjJcWruA/n8aJTWWZ4SXMuLVuQ6c7Ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680621997; a=rsa-sha256; cv=none; b=mwwrh92Jq4DHuiSnC+ks8dqev/gI90xWwBRfUPnlPhXKqBzF0cH4ShnzXOK59WLm3URvJ6 EkD70l7QH2ODvo4SNdfAiekRR4BM/ahzIce4kC6ldUCIfu3q1mn4XfCNpQ0zjFJolLA0qm zIHs/CwcnfQxBW8eyu840NioVC5PfqGwDAXVqb6SETuVVVr3iFIgwbUv7EjC2aKwn1YcAA m1oq1z93w5/hPUEdvMufuu+jFKlCXexC0cepONQyIXM4fPi5fTmYK3AkMQfKNQoQmHhYPj fclLnwTopf0dMZYmBKpRpG5YR3NzF5gayjxK1/NjhvXuO+Ax3frGJ9CT+GbNrA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PrWnn117bzlTN; Tue, 4 Apr 2023 15:26:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 334FQbbv097547; Tue, 4 Apr 2023 15:26:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 334FQbnU097546; Tue, 4 Apr 2023 15:26:37 GMT (envelope-from git) Date: Tue, 4 Apr 2023 15:26:37 GMT Message-Id: <202304041526.334FQbnU097546@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 56c5f882e689 - main - security/pam_howdy: Point to howdy and correct Python. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56c5f882e689be9cfec0b1310242e17d75cde780 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=56c5f882e689be9cfec0b1310242e17d75cde780 commit 56c5f882e689be9cfec0b1310242e17d75cde780 Author: Gleb Popov AuthorDate: 2023-04-04 15:25:44 +0000 Commit: Gleb Popov 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