From nobody Sat Oct 22 09:35:47 2022 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 4Mvbmg5xHwz4gWN0; Sat, 22 Oct 2022 09:35:47 +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 4Mvbmg5Wjrz3PgM; Sat, 22 Oct 2022 09:35:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666431347; 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=ZVac3sb8oR0eeWldOj1ljrmVWJdFCsJEr7oLIkz53WA=; b=CTBGPP678rLWNEc59RbqcT6qHLAx/MFtLBDOMvPlIIvG2wBS3gfQx88pG0y1EG22Mr3kOv dQg6i8y8msjqO8bzL8KfRDgINFk+jA3x+7NCTRdk2AkgxT5NCJa7680TiDYmv2qAZYmjkQ LWhEEnZt95fc5cMky85duU+9pHYzQrERkezvFe8OFyW07BxNVZ26HLnW7iDawEUXBIPMom KIzhNrejY/Scs5zIm8Dte3Nbmwo9JEFVmdA2gN6ov0Px51wWrlxB8s5cQFVMSb1vImYy6/ wGzp5m14QXFW7W1IXYhBEQk6Didh/rOv4jOOdPmBqfqpTz5H6mEIWM1yWcO/pA== 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 4Mvbmg4HnbzWT7; Sat, 22 Oct 2022 09:35:47 +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 29M9Zl79062976; Sat, 22 Oct 2022 09:35:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29M9ZlfQ062975; Sat, 22 Oct 2022 09:35:47 GMT (envelope-from git) Date: Sat, 22 Oct 2022 09:35:47 GMT Message-Id: <202210220935.29M9ZlfQ062975@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 65240f34c0d8 - main - Add devel/gcli: CLI utility to interact with various Git forges 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65240f34c0d836ec3670e7dcda5f8589aaba6dc1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666431347; 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=ZVac3sb8oR0eeWldOj1ljrmVWJdFCsJEr7oLIkz53WA=; b=i0j8KwqNKp0wRmrXXhOBuEBYa6wQfSO7yG0spqwWhjv/uqOEnQ4XeRIX6qaBhEDKYdlkdN j2g2mKfSUXcNDwxzBRrGK8azpVnB0hksSJ9VThnEiChUw3uNN+X2hj85v8zPKAZT5jTe9U TlAbDyDVrs4JfPBMebZtw0EgyREr2nF2mCnZzwm8hFFBAoe+JZv6vDLNdsuXzmUZ1wbbBt rpi5Yd+E55RhHne3TLg/886ZdtUc1lYxpy25Jbio8HEUvsLwwSVIL24Ipf+HBEHPKpehMG aeA0hadfdW5XpkwP4IWtAMjznZCkCWJmwLXUUTbZCpPg7FAG3MN+iL4cjkqLfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666431347; a=rsa-sha256; cv=none; b=GrLO7f+OWE9fzJy25PtQgj9FKMFnvII+S+dAm7excHdIFPNwWlqvYa1D7hDHw7jsau7ofu 9+fH4I4QugfOTrvJbAb1kHpLs8iJ47wzu8EI0giK+nPQrQXbJ5EvYhPCff6MtB4bImPdAC 2NJWzZjhP07DMz7NDuRjwij4sxrhWRmW3ZDwuXOqRdqLVOTWNESj4N/lQTJYP6SGIxTDjD ohQFy6kpyd8DTP3iE0Mq4JgYdYQ6okWBaBfNCVHP5IpDR6iQ+BjfdFz/RKzYsmottlqhDP oipA/+ScwREyk2ZhAYfuN9EH5WVAeS3AVYWK/mtk36eg9SJRboStlQ1JGrR9Ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=65240f34c0d836ec3670e7dcda5f8589aaba6dc1 commit 65240f34c0d836ec3670e7dcda5f8589aaba6dc1 Author: Robert Clausecker AuthorDate: 2022-10-20 10:50:32 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-22 09:35:19 +0000 Add devel/gcli: CLI utility to interact with various Git forges GCLI is a simple and portable CLI tool for interacting with GitHub, GitLab, and Gitea from the command line. This tool was written because the official GitHub CLI tool only supports GitHub. The author wanted a simple unified tool for various git forges such as GitHub and GitLab because every forge does things differently yet all build on Git and purposefully break with its philosophy. Also, the official tool from Github is written in Go, which does manual DNS resolution which is a massive security vulnerability for people using Tor as it leaks your IP to the DNS server. This program builds upon libcurl, which obeys the operating system's DNS resolution mechanisms and thus also works with Tor. PR: 267224 --- devel/Makefile | 1 + devel/gcli/Makefile | 20 ++++++++++++++++++++ devel/gcli/distinfo | 3 +++ devel/gcli/pkg-descr | 13 +++++++++++++ devel/gcli/pkg-plist | 13 +++++++++++++ 5 files changed, 50 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 192c1eef4c94..2aa1fcb8b6e2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -709,6 +709,7 @@ SUBDIR += gcc-msp430-ti-toolchain SUBDIR += gccmakedep SUBDIR += gcem + SUBDIR += gcli SUBDIR += gconf2 SUBDIR += gconfmm26 SUBDIR += gdb diff --git a/devel/gcli/Makefile b/devel/gcli/Makefile new file mode 100644 index 000000000000..41ee7b3910da --- /dev/null +++ b/devel/gcli/Makefile @@ -0,0 +1,20 @@ +PORTNAME= gcli +DISTVERSION= 0.9.9-beta +CATEGORIES= devel net +MASTER_SITES= https://herrhotzenplotz.de/gcli/releases/gcli-${DISTVERSION}/ + +MAINTAINER= fuz@fuz.su +COMMENT= CLI utility to interact with various Git forges +WWW= https://gitlab.com/herrhotzenplotz/gcli + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcurl.so:ftp/curl + +USES= pkgconfig tar:xz + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gcli + +.include diff --git a/devel/gcli/distinfo b/devel/gcli/distinfo new file mode 100644 index 000000000000..be2d9bcab6f4 --- /dev/null +++ b/devel/gcli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666108576 +SHA256 (gcli-0.9.9-beta.tar.xz) = cf1f270def42b0d794b3a7395f9a0ab09b16458ec7edd1ad44009f1519eee679 +SIZE (gcli-0.9.9-beta.tar.xz) = 122936 diff --git a/devel/gcli/pkg-descr b/devel/gcli/pkg-descr new file mode 100644 index 000000000000..00c5ec897739 --- /dev/null +++ b/devel/gcli/pkg-descr @@ -0,0 +1,13 @@ +GCLI is a simple and portable CLI tool for interacting with GitHub, +GitLab, and Gitea from the command line. + +This tool was written because the official GitHub CLI tool only supports +GitHub. The author wanted a simple unified tool for various git forges +such as GitHub and GitLab because every forge does things differently +yet all build on Git and purposefully break with its philosophy. + +Also, the official tool from Github is written in Go, which does manual +DNS resolution which is a massive security vulnerability for people +using Tor as it leaks your IP to the DNS server. This program builds +upon libcurl, which obeys the operating system's DNS resolution +mechanisms and thus also works with Tor. diff --git a/devel/gcli/pkg-plist b/devel/gcli/pkg-plist new file mode 100644 index 000000000000..025c2ba8dc1c --- /dev/null +++ b/devel/gcli/pkg-plist @@ -0,0 +1,13 @@ +bin/gcli +man/man1/gcli-comment.1.gz +man/man1/gcli-forks.1.gz +man/man1/gcli-gists.1.gz +man/man1/gcli-issues.1.gz +man/man1/gcli-labels.1.gz +man/man1/gcli-pipelines.1.gz +man/man1/gcli-pulls.1.gz +man/man1/gcli-releases.1.gz +man/man1/gcli-repos.1.gz +man/man1/gcli-snippets.1.gz +man/man1/gcli-status.1.gz +man/man1/gcli.1.gz