From nobody Mon Mar 06 02:43:30 2023 X-Original-To: dev-commits-ports-all@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 4PVNDf2XNMz3wHLx; Mon, 6 Mar 2023 02:43:30 +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 4PVNDf24HJz3FnW; Mon, 6 Mar 2023 02:43:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678070610; 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=Mk9gmdyQCU3R/o+yYP05q8VsjSjGIGIBsOuujxllApQ=; b=fy3F3t5V5/LNTwo/s8IEijbGTg7xzQC0Lcb/1S6bwV9OpnINtbIQJVwOCIBCfTNdwkrHGT xQErWWaFaxse+mY58u3Ix4Hjo/JqtScImw3WFlC5vvk5pU+lDfHSddOsaPtvq0bA619Fa2 jQq3fpkfWtX8t4s3zaS6YF8FA3fecn+cGFFv8B2XSxskdDbpFe0Dilk5Y19sh6b6v11hMX woVboP9LsLSKVeDN0g+es5wY9QV0Jl7Bnc2Pvyz5ljN/OFexGGSsQQvjC4QOEduzll7ieB BrDt+dx4wYLGECEJSzd/UDEOzWI5Z4DzR7KN2DGKzwZdqTnFnZCLH4sJPLCDog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678070610; 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=Mk9gmdyQCU3R/o+yYP05q8VsjSjGIGIBsOuujxllApQ=; b=vSfU/LaNvMl4eabHzQNN2ztDLNQItV/cR+S/bf4HWWd82yyUx3EPrpsSkv5l99furbDKer bfnVXDuZ9Ln6WD4tpnM/hOKBQAZ4tD29AmuC9meT/y9AA/VshsubFKJm6N0b8lW/Pmlq/a tW4EJPZDpjStAWGajspnApklhZbMwLrl8YrHQl0wfIpbbM+0bj1AaNRJvmT83L4zNrEKtC xfkuxAWfBtpeH/zscIQzUK5Zed1Jsl0PuT6XPj1pYH0zeEapByJatJ4cCSdVrs0rXzCLPK w97AQYMJbPi+9+ijNDR0AhL303Px64BxbneSUVDeDITuGzJK3A7kTKrUgjNzwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678070610; a=rsa-sha256; cv=none; b=KOPpkx4z3p/Xkb253cwMe6yelaFuB4Ng3lVH0QZprTvEZSD+med+HTPO8RW5wez1ToAA+I LvvYL6sG9erHTsHf/QC/wvzpSy1hyBTgFhM8qxeKN/58NpdDQcsuIuND8fnx8vw0G01dpU AX3BUms3+BzXl2zabUJntoiAQUUyyZIlRuQ5MG7cgymTJ4RlqkI8R2vcKJfso9zJ+iTioI 9jbvferS9HgXPTl4XXAn8gTdFOSPE2W3CK7KB4Laa0F7j1lWuXRMARVsLVA9QM+qUs+JnJ 7kSA+THn/OkbBQZf/DRY9xUVLJE+TduDUZ6FOlQxSG0bm563kn9MYDrwJDVbxg== 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 4PVNDf0s2kzlLD; Mon, 6 Mar 2023 02:43:30 +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 3262hUgs059143; Mon, 6 Mar 2023 02:43:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3262hUqi059142; Mon, 6 Mar 2023 02:43:30 GMT (envelope-from git) Date: Mon, 6 Mar 2023 02:43:30 GMT Message-Id: <202303060243.3262hUqi059142@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Romain=20Tarti=C3=A8re?= Subject: git: 3cbf478ac8c1 - main - security/pam_u2f: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: romain X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3cbf478ac8c1261f14ba6ebbbb6ff525e3fe0e95 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cbf478ac8c1261f14ba6ebbbb6ff525e3fe0e95 commit 3cbf478ac8c1261f14ba6ebbbb6ff525e3fe0e95 Author: Romain Tartière AuthorDate: 2023-03-05 21:41:00 +0000 Commit: Romain Tartière CommitDate: 2023-03-06 02:42:17 +0000 security/pam_u2f: New port This module implements PAM over U2F and FIDO2, providing an easy way to integrate the YubiKey (or other U2F/FIDO2 compliant authenticators) into your existing infrastructure. --- security/Makefile | 1 + security/pam_u2f/Makefile | 32 ++++++++++++++++++++++++++++++++ security/pam_u2f/distinfo | 3 +++ security/pam_u2f/pkg-descr | 3 +++ 4 files changed, 39 insertions(+) diff --git a/security/Makefile b/security/Makefile index b7d327237686..008983a629cd 100644 --- a/security/Makefile +++ b/security/Makefile @@ -732,6 +732,7 @@ SUBDIR += pam_script SUBDIR += pam_search_list SUBDIR += pam_ssh_agent_auth + SUBDIR += pam_u2f SUBDIR += pam_yubico SUBDIR += pamtester SUBDIR += paperkey diff --git a/security/pam_u2f/Makefile b/security/pam_u2f/Makefile new file mode 100644 index 000000000000..7bff9b5e1ef7 --- /dev/null +++ b/security/pam_u2f/Makefile @@ -0,0 +1,32 @@ +PORTNAME= pam_u2f +DISTVERSIONPREFIX=${PORTNAME}- +DISTVERSION= 1.2.1 +CATEGORIES= security + +MAINTAINER= romain@FreeBSD.org +COMMENT= Pluggable Authentication Module for U2F and FIDO2 +WWW= https://developers.yubico.com/pam-u2f/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= a2x:textproc/asciidoc +LIB_DEPENDS= libfido2.so:security/libfido2 + +USES= autoreconf libtool pkgconfig ssl +USE_GITHUB= yes +GH_ACCOUNT= Yubico +GH_PROJECT= pam-u2f +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pam-dir=${PREFIX}/lib + +PLIST_FILES= bin/pamu2fcfg \ + lib/pam_u2f.so \ + man/man1/pamu2fcfg.1.gz \ + man/man8/pam_u2f.8.gz + +.if !exists(/usr/libdata/pkgconfig/libcrypto.pc) +CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" +.endif + +.include diff --git a/security/pam_u2f/distinfo b/security/pam_u2f/distinfo new file mode 100644 index 000000000000..14a06ca91a67 --- /dev/null +++ b/security/pam_u2f/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678046721 +SHA256 (Yubico-pam-u2f-pam_u2f-1.2.1_GH0.tar.gz) = 2983d9fff6107219c1adcc4cbb2b563bbf6b7975aa642b34c5508f7924bdc450 +SIZE (Yubico-pam-u2f-pam_u2f-1.2.1_GH0.tar.gz) = 81481 diff --git a/security/pam_u2f/pkg-descr b/security/pam_u2f/pkg-descr new file mode 100644 index 000000000000..6b17dd23e50c --- /dev/null +++ b/security/pam_u2f/pkg-descr @@ -0,0 +1,3 @@ +This module implements PAM over U2F and FIDO2, providing an easy way to +integrate the YubiKey (or other U2F/FIDO2 compliant authenticators) into your +existing infrastructure.