From nobody Mon May 29 19:02:00 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 4QVPyw2sz2z4Wkjt; Mon, 29 May 2023 19:02:00 +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 4QVPyw1tsGz4CYh; Mon, 29 May 2023 19:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685386920; 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=newgmN7sxX1adldnN/aaLwduwTi6KN3KF/e+Kyj5CKM=; b=BtbRHvOEsEyhHeKkxzyerd4cZI0vyeqbPjXmxW8VLJmpc4hhjm+RBsD1aWVouFFYl170M0 5I49UsYqDATBE67k/acQe92OPjF0rAhmtf+B6/EN86H2+KR+B+T2GsNrE/mY5QRm05cH0I Zma5T0B024ESK3gsMhhVL7GrVrV4nm7io7RC5hX7i6mhBjHgAmF9+FdaL3z0oB1uet2EWu 4LXCcj1kC6QWg0IJtYrvXn+btm8p/n2sTV6vYHdQoOTqGZAjIqwkTSJtgRTirg6xiJV2vr HBiCkJcIG6MZ4O1EDB4VyFMg4Bo/Fs2Y2LVLr/4YZS0xO31Lr5/afRoRTWHQ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685386920; 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=newgmN7sxX1adldnN/aaLwduwTi6KN3KF/e+Kyj5CKM=; b=VNTtIdG4Hs4iJShsg5xNGH1ni/UyhM5zRW3P609q4QjWMpJzSSlOzrtFGmFXSJNZ3t44Rf x4d0E2VL+W410uLZ0k3HPu09jP2UaglR6DvvKpVHp4NDe+UAQQDEol0TMMFEoDJV1dAZkw uNbys+H3/QnI9dGvoNLe5wRzahSPqNGscXRjsA6OfpmO6liVFy8S88kmqJC22tZ0+MFpZU Ru+K3O0BC83i+IM0crZ/0JLQhv5FCMYn0PW18frRnr1+bU9uiHZquxu3h+CIXnLUfetcF8 LeiIGDNG97bjJE/eryE9RKRpyWyi54wSvpQOSDOLvl+HzwpNQfpXE0qWNp8z0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685386920; a=rsa-sha256; cv=none; b=pi3T609ZNhVqrKutGkWNDjNbVII/v4gDze8TkfsxwHxNeknYwdsKB0U3+Zxl9eT8K6zQ23 /fviiyqGquka4N0IGH+QuG+s9H65NC5887qX4SLB75jcrpPdUlCUaQK0tzlBrVJkjZmvfs fg+TLdXeE6NPi5b9PwtcrBu8h+trAY+5UMjyMrvwpk6EUMNxEzpcDMY50wdtnAFpYEhuD0 at8nyl8pHwk/JNtd2nJgb5vFLQovoPQAobfJyXLSDKV8wvrrPH0S/Xm5u75/+A/fi2DHEz wiYY4ya2bp8R8OZUJFw9QGY9kzDMlJ6lNXy2lySgmpe/B0fi5ObCTgNPvLOJjA== 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 4QVPyw101DzNfH; Mon, 29 May 2023 19:02:00 +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 34TJ20FE033626; Mon, 29 May 2023 19:02:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34TJ20Ft033625; Mon, 29 May 2023 19:02:00 GMT (envelope-from git) Date: Mon, 29 May 2023 19:02:00 GMT Message-Id: <202305291902.34TJ20Ft033625@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 633a5f5ffc36 - main - security/git-credential-oauth: 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 633a5f5ffc364577126b433059a92f207a3146b6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=633a5f5ffc364577126b433059a92f207a3146b6 commit 633a5f5ffc364577126b433059a92f207a3146b6 Author: Emanuel Haupt AuthorDate: 2023-05-29 18:52:38 +0000 Commit: Emanuel Haupt CommitDate: 2023-05-29 18:52:38 +0000 security/git-credential-oauth: Add new port git-credential-oauth is a Git credential helper that securely authenticates to GitHub, GitLab, BitBucket and Gerrit using OAuth. The first time you push, the helper will open a browser window to authenticate. Subsequent pushes within storage lifetime require no interaction. --- security/Makefile | 1 + security/git-credential-oauth/Makefile | 21 +++++++++++++++++++++ security/git-credential-oauth/distinfo | 7 +++++++ security/git-credential-oauth/pkg-descr | 6 ++++++ 4 files changed, 35 insertions(+) diff --git a/security/Makefile b/security/Makefile index a62a8b5a6355..18e52d4f8bc6 100644 --- a/security/Makefile +++ b/security/Makefile @@ -169,6 +169,7 @@ SUBDIR += gcr SUBDIR += gef SUBDIR += git-credential-gopass + SUBDIR += git-credential-oauth SUBDIR += git-crypt SUBDIR += git-remote-gcrypt SUBDIR += git-secret diff --git a/security/git-credential-oauth/Makefile b/security/git-credential-oauth/Makefile new file mode 100644 index 000000000000..12bb2c79ee7c --- /dev/null +++ b/security/git-credential-oauth/Makefile @@ -0,0 +1,21 @@ +PORTNAME= git-credential-oauth +PORTVERSION= 0.7.0 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Git credential helper for GitHub and other forges using OAuth +WWW= https://github.com/hickford/git-credential-oauth + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= hickford + +GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} + +PLIST_FILES= bin/git-credential-oauth + +.include diff --git a/security/git-credential-oauth/distinfo b/security/git-credential-oauth/distinfo new file mode 100644 index 000000000000..4b1a1521523b --- /dev/null +++ b/security/git-credential-oauth/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1685306482 +SHA256 (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/v0.7.0.mod) = 57753258083c865582da0485aa5d9597b482f364892e4e7379a188dc1f30f2ba +SIZE (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/v0.7.0.mod) = 331 +SHA256 (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/v0.7.0.zip) = 23eef7a2c0943ed185ae6d7f6f1e894ca889d5f5b9aada9fe73f18fbb44aa8f3 +SIZE (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/v0.7.0.zip) = 16559 +SHA256 (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/hickford-git-credential-oauth-v0.7.0_GH0.tar.gz) = 017bd47edc0dd3057323d8b9ccca008b7ebca7aedf6862b1ebca5e54f5a62496 +SIZE (go/security_git-credential-oauth/hickford-git-credential-oauth-v0.7.0_GH0/hickford-git-credential-oauth-v0.7.0_GH0.tar.gz) = 13981 diff --git a/security/git-credential-oauth/pkg-descr b/security/git-credential-oauth/pkg-descr new file mode 100644 index 000000000000..d0db9639aaad --- /dev/null +++ b/security/git-credential-oauth/pkg-descr @@ -0,0 +1,6 @@ +git-credential-oauth is a Git credential helper that securely +authenticates to GitHub, GitLab, BitBucket and Gerrit using OAuth. + +The first time you push, the helper will open a browser window to +authenticate. Subsequent pushes within storage lifetime require no +interaction.