From nobody Tue Jun 28 18:50:27 2022 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 A67F587ECBE; Tue, 28 Jun 2022 18:50:27 +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 4LXYZC4J5lz3jfS; Tue, 28 Jun 2022 18:50:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656442227; 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=advqZY8G8QtLlWGCVrTX+USfOyzDACjeIxm5Ma789Os=; b=n3bXancPUVi75ZGxiF9IWD4Wu1gpU4W5mEXjKj7R2+UtDacAK2x1GczRVvHnRwlm/zaWxT IQLTClODxBgnQAnpD6+R0lYe0RZaP+m6kyQSNSx9qG0gBk6mOIsb+8zhMOykgWI9D0mchZ wRqE/rGdN/Dalxx5U0hdcLlck2Rio5m6ipAKy3Tq9mx01LU3+ko9nBiQyRgG/1deFrNHeu oDxg+NcymYn0Sp6psYfW2lVhI+gke4hKyhjarI02pS+x3n5IQfJ2Y8T4xRs5/N1zKlACgU B747/rbi5dF1lq+nFQY8OUy1Ohjf0jBEvGHTAnY/vVsJFV7Dqhxaq2/7252IAg== 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 73DFF22537; Tue, 28 Jun 2022 18:50:27 +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 25SIoR4Y017614; Tue, 28 Jun 2022 18:50:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25SIoRxr017613; Tue, 28 Jun 2022 18:50:27 GMT (envelope-from git) Date: Tue, 28 Jun 2022 18:50:27 GMT Message-Id: <202206281850.25SIoRxr017613@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 5774e493c4cb - main - security/unix-selfauth-helper: Add new port 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: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5774e493c4cbd700f0f850b3efeb8ca49302bf97 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656442227; 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=advqZY8G8QtLlWGCVrTX+USfOyzDACjeIxm5Ma789Os=; b=rh1/VIqICxxyeEgKhHCTZnExxPaOK4MpLRn2KPq5ouNCfgjHFooQKm935k7JKmjbIUJvTb iQ+EsjCo7tJMSU7t4CQqvsIpz0WrbE5DD7gzG4UMI62MKJA2cdvcMJlNOt38E5T9RYWBon 2EmwOBfiQVw+x5aSjYc03Ugk63lAunbkFCwHu/CpHzS6SZFf0CvpuJsetIdwT6Rk554TEQ 9/WOZNi5gd0GSuKScJjksg1g9t2NKeJhduoZUPytE6aejsl+QizqidS8J7bQf/Eol6+oAV sVeXOBYA800Cd02F2OCNF1ZI4PQpbSnU4jbillTQzwgH9v8UHfgAq+Wu7Oq7WQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656442227; a=rsa-sha256; cv=none; b=r25I5UyQj4l5L9GidDGBiVnrhyyv8YSMbmbhSMH2hVfJIaKS8yPYrA1nqyPU5wpRCQZvTW l7CoM2+B8+ca2D8Nsl1mw1EfM/Vput4A06ulwv2gjMkvPsPVsKJaLVsxAbRbrYupXRGRX6 d0+xVJJyvoc0zWR4LAkzGCjq71NXOJ9pCiFY1BGe1auoh0wP7QGlHvOR8psgS+gH8Cz4d5 bUFZyJShH8UHjd4YwHWHQbp3LdYcuJOXBMS05kL4ro2HneykAN2kdc7a0gOo1PuKew0Kx6 CSe9AOsW1tvSKHhQLuB0/kmah6DVRGZUUzO9NBQmsghWXdA4jqDRcjOhbStlbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=5774e493c4cbd700f0f850b3efeb8ca49302bf97 commit 5774e493c4cbd700f0f850b3efeb8ca49302bf97 Author: Felix Palmen AuthorDate: 2022-06-28 18:47:46 +0000 Commit: Tobias C. Berner CommitDate: 2022-06-28 18:49:53 +0000 security/unix-selfauth-helper: Add new port This little helper enables self-authentication against the local passwd database using pam_exec. Differential Revision: https://reviews.freebsd.org/D35347 --- security/Makefile | 1 + security/unix-selfauth-helper/Makefile | 21 +++++++++++++++++++++ security/unix-selfauth-helper/distinfo | 3 +++ security/unix-selfauth-helper/pkg-descr | 5 +++++ 4 files changed, 30 insertions(+) diff --git a/security/Makefile b/security/Makefile index 9b35072627f6..e31dd17fcb71 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1247,6 +1247,7 @@ SUBDIR += uacme SUBDIR += ubuntu-keyring SUBDIR += unhide + SUBDIR += unix-selfauth-helper SUBDIR += vanguards-tor SUBDIR += vault SUBDIR += vaultwarden diff --git a/security/unix-selfauth-helper/Makefile b/security/unix-selfauth-helper/Makefile new file mode 100644 index 000000000000..2d4909ced787 --- /dev/null +++ b/security/unix-selfauth-helper/Makefile @@ -0,0 +1,21 @@ +# Created by: Felix Palmen + +PORTNAME= unix-selfauth-helper +PORTVERSION= 1.0 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= felix@palmen-it.de +COMMENT= Local self-authentication for pam_exec + +LICENSE= BSD2CLAUSE + +USES= uidfix + +USE_GITHUB= yes +GH_ACCOUNT= Zirias + +PLIST_FILES= libexec/unix-selfauth-helper \ + man/man8/unix-selfauth-helper.8.gz + +.include diff --git a/security/unix-selfauth-helper/distinfo b/security/unix-selfauth-helper/distinfo new file mode 100644 index 000000000000..b544eeb0fea9 --- /dev/null +++ b/security/unix-selfauth-helper/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655634372 +SHA256 (Zirias-unix-selfauth-helper-v1.0_GH0.tar.gz) = 5a1aff046fb9e76555d7289afbe9c54d73269b5903a2f77f40b456840149a6ef +SIZE (Zirias-unix-selfauth-helper-v1.0_GH0.tar.gz) = 3924 diff --git a/security/unix-selfauth-helper/pkg-descr b/security/unix-selfauth-helper/pkg-descr new file mode 100644 index 000000000000..0648dbd5da24 --- /dev/null +++ b/security/unix-selfauth-helper/pkg-descr @@ -0,0 +1,5 @@ +This is a little suid-root helper allowing self-authentication against the +local unix passwd database using pam_exec on a FreeBSD system. As a result, +the behavior of LinuxPAM is mimicked without changes to the pam_unix module. + +WWW: https://github.com/Zirias/unix-selfauth-helper