Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2023 19:02:00 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 633a5f5ffc36 - main - security/git-credential-oauth: Add new port
Message-ID:  <202305291902.34TJ20Ft033625@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=633a5f5ffc364577126b433059a92f207a3146b6

commit 633a5f5ffc364577126b433059a92f207a3146b6
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-05-29 18:52:38 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
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 <bsd.port.mk>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305291902.34TJ20Ft033625>