From nobody Thu Oct 7 11:31:49 2021 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 478E312D0705; Thu, 7 Oct 2021 11:31:50 +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 4HQ8Ky1ZlSz4lQR; Thu, 7 Oct 2021 11:31:50 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 1623913199; Thu, 7 Oct 2021 11:31:50 +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 197BVnCu011923; Thu, 7 Oct 2021 11:31:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 197BVn9A011922; Thu, 7 Oct 2021 11:31:49 GMT (envelope-from git) Date: Thu, 7 Oct 2021 11:31:49 GMT Message-Id: <202110071131.197BVn9A011922@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: a95dab961496 - main - security/linux-bitwarden-cli: Add a 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: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a95dab961496b5a1b771916b4ffddacbb5c0ff80 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=a95dab961496b5a1b771916b4ffddacbb5c0ff80 commit a95dab961496b5a1b771916b4ffddacbb5c0ff80 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-10-07 11:24:53 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-10-07 11:31:37 +0000 security/linux-bitwarden-cli: Add a new port The Bitwarden CLI is a powerful, full-featured command-line interface (CLI) tool to access and manage a Bitwarden vault. The CLI is written with TypeScript and Node.js and can be run on Windows, macOS, and Linux distributions. This port is using the Linux binary thanks to the Linux binary compatibility provided by FreeBSD. WWW: https://github.com/bitwarden/cli --- security/Makefile | 1 + security/linux-bitwarden-cli/Makefile | 34 ++++++++++++++++++++++++++++++++++ security/linux-bitwarden-cli/distinfo | 3 +++ security/linux-bitwarden-cli/pkg-descr | 7 +++++++ 4 files changed, 45 insertions(+) diff --git a/security/Makefile b/security/Makefile index ca6e5b123dbc..dc3776f75379 100644 --- a/security/Makefile +++ b/security/Makefile @@ -338,6 +338,7 @@ SUBDIR += libwhisker SUBDIR += libyubikey SUBDIR += libzrtpcppcore + SUBDIR += linux-bitwarden-cli SUBDIR += linux-c7-cyrus-sasl2 SUBDIR += linux-c7-gnutls SUBDIR += linux-c7-libgcrypt diff --git a/security/linux-bitwarden-cli/Makefile b/security/linux-bitwarden-cli/Makefile new file mode 100644 index 000000000000..05e2252b843b --- /dev/null +++ b/security/linux-bitwarden-cli/Makefile @@ -0,0 +1,34 @@ +PORTNAME= bitwarden +DISTVERSIONPREFIX= v +DISTVERSION= 1.18.1 +CATEGORIES= security linux +MASTER_SITES= https://github.com/bitwarden/cli/releases/download/${DISTVERSIONFULL}/ +PKGNAMEPREFIX= linux- +PKGNAMESUFFIX= -cli +DISTNAME= bw-linux-${DISTVERSION} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Bitwarden CLI + +LICENSE= GPLv3 + +USES= linux zip + +# install(1) fails with the following messages when stripping: +# strip: elf_update() failed: Layout constraint violation +# strip: elf_update() failed: Layout constraint violation +STRIP= + +NO_WRKSUBDIR= yes +PLIST_FILES= bin/bw + +do-build: + ${BRANDELF} -t Linux ${WRKSRC}/bw + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bw ${STAGEDIR}${PREFIX}/bin/ + +do-test: + ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/bw help >/dev/null + +.include diff --git a/security/linux-bitwarden-cli/distinfo b/security/linux-bitwarden-cli/distinfo new file mode 100644 index 000000000000..fdd330831719 --- /dev/null +++ b/security/linux-bitwarden-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633604286 +SHA256 (bw-linux-1.18.1.zip) = e8713b1d0d75f41c5077bbbcb81fbc6536d95cdf919f702fe23a66ecdae979dd +SIZE (bw-linux-1.18.1.zip) = 21351588 diff --git a/security/linux-bitwarden-cli/pkg-descr b/security/linux-bitwarden-cli/pkg-descr new file mode 100644 index 000000000000..a1a99882456d --- /dev/null +++ b/security/linux-bitwarden-cli/pkg-descr @@ -0,0 +1,7 @@ +The Bitwarden CLI is a powerful, full-featured command-line interface +(CLI) tool to access and manage a Bitwarden vault. The CLI is written +with TypeScript and Node.js and can be run on Windows, macOS, and Linux +distributions. This port is using the Linux binary thanks to the Linux +binary compatibility provided by FreeBSD. + +WWW: https://github.com/bitwarden/cli