diff --git a/devel/gcli/Makefile b/devel/gcli/Makefile new file mode 100644 index 0000000000..c8002cf858 --- /dev/null +++ b/devel/gcli/Makefile @@ -0,0 +1,28 @@ +COMMENT = portable and secure CLI utility to interact with Git forges + +V = 1.0.3.1 +DISTNAME = gcli-${V} +CATEGORIES = devel net +HOMEPAGE = https://gitlab.com/herrhotzenplotz/gcli + +MAINTAINER = Moritz Buhl + +# BSD 2-clause +PERMIT_PACKAGE = Yes + +MASTER_SITES = https://herrhotzenplotz.de/gcli/releases/gcli-${V}/ + +WANTLIB = c curl nghttp3 ngtcp2_crypto_openssl ngtcp2 ssl crypto \ + nghttp2 z pthread + +LIB_DEPENDS = net/curl \ + net/ngtcp2 \ + www/nghttp2 \ + www/nghttp3 + +AUTOCONF_VERSION = 2.69 +AUTOMAKE_VERSION = 1.16 +AUTORECONF = ./autogen.sh +CONFIGURE_STYLE = autoreconf + +.include diff --git a/devel/gcli/distinfo b/devel/gcli/distinfo new file mode 100644 index 0000000000..a05a636bf2 --- /dev/null +++ b/devel/gcli/distinfo @@ -0,0 +1,2 @@ +SHA256 (gcli-1.0.3.1.tar.gz) = etj6kIBGaMLuWFS/M3WtTZdUERjxFcNFKnp2C2MTe5M= +SIZE (gcli-1.0.3.1.tar.gz) = 203409 diff --git a/devel/gcli/pkg/DESCR b/devel/gcli/pkg/DESCR new file mode 100644 index 0000000000..4bb43c8f99 --- /dev/null +++ b/devel/gcli/pkg/DESCR @@ -0,0 +1,15 @@ +Simple and portable CLI tool for interacting with GitHub, GitLab +and Gitea from the command line. + +Why? + +The official GitHub CLI tool only supports GitHub. I 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 0000000000..dd197899d9 --- /dev/null +++ b/devel/gcli/pkg/PLIST @@ -0,0 +1,15 @@ +@bin bin/gcli +@man man/man1/gcli-api.1 +@man man/man1/gcli-comment.1 +@man man/man1/gcli-forks.1 +@man man/man1/gcli-gists.1 +@man man/man1/gcli-issues.1 +@man man/man1/gcli-labels.1 +@man man/man1/gcli-milestones.1 +@man man/man1/gcli-pipelines.1 +@man man/man1/gcli-pulls.1 +@man man/man1/gcli-releases.1 +@man man/man1/gcli-repos.1 +@man man/man1/gcli-snippets.1 +@man man/man1/gcli-status.1 +@man man/man1/gcli.1