From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FCF115800F for ; Mon, 20 Feb 2023 18:11:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A51CE0BBA; Mon, 20 Feb 2023 18:11:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62305E0BBA for ; Mon, 20 Feb 2023 18:11:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EC4C335D1B for ; Mon, 20 Feb 2023 18:11:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCBBD7D0 for ; Mon, 20 Feb 2023 18:11:34 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1676916687.e1605578dc69e43fa6c2c155f645e103cf2fdb93.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/keybase/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/keybase/Manifest app-crypt/keybase/keybase-6.0.2.ebuild app-crypt/keybase/keybase-9999.ebuild app-crypt/keybase/metadata.xml X-VCS-Directories: app-crypt/keybase/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: e1605578dc69e43fa6c2c155f645e103cf2fdb93 X-VCS-Branch: master Date: Mon, 20 Feb 2023 18:11:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9cf04451-8892-411c-818a-adca7d6526b8 X-Archives-Hash: 470b84ad803bc381e895bf1e7db13c02 commit: e1605578dc69e43fa6c2c155f645e103cf2fdb93 Author: Randall T. Vasquez icloud com> AuthorDate: Thu Nov 3 02:05:56 2022 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Mon Feb 20 18:11:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1605578 app-crypt/keybase: bump to 6.0.2, update ebuilds, new maintainer Closes: https://github.com/gentoo/gentoo/pull/27373 Signed-off-by: Randall T. Vasquez icloud.com> Signed-off-by: Nicolas Bock gentoo.org> app-crypt/keybase/Manifest | 2 + app-crypt/keybase/keybase-6.0.2.ebuild | 69 ++++++++++++++++++++++++++++++++++ app-crypt/keybase/keybase-9999.ebuild | 69 ++++++++++++++++++++++++++++++++++ app-crypt/keybase/metadata.xml | 19 ++++++++++ 4 files changed, 159 insertions(+) diff --git a/app-crypt/keybase/Manifest b/app-crypt/keybase/Manifest new file mode 100644 index 000000000000..55dcb4b87bc2 --- /dev/null +++ b/app-crypt/keybase/Manifest @@ -0,0 +1,2 @@ +DIST keybase-6.0.2-deps.tar.xz 202450984 BLAKE2B da3ec411dc06203da08bd472c9842258ad58de9caac9948a84c4a840f1503bb5959a2ce9ddfdec966c6c20a0729fb562666898d21c799fc8c263d6a8924c2fef SHA512 8c22eb2036987ccd131c0b68e126cecf8bf795d4e8366e1f9d2f07d947556094977e1066449dc82fb955f3f8773217822574d70675212d568fc0900f9127b6e6 +DIST keybase-6.0.2.tar.gz 57283593 BLAKE2B 272dd3c9e2e855e1979a620f5a600cb1352632fca055ba36140d2cc63013e8f8b7e66c5f9fe74ab2c71dac2df7cc27aac9a8387f7444eff4c469659ff1aece2e SHA512 0a3fe3f8b9fc7a3099696699268bec54aed898d0692a3033e54f816b87ef2616b83a0817d365b87a77ecb489ae5d11bae15597c3bcd23819422ec384ae63f6a0 diff --git a/app-crypt/keybase/keybase-6.0.2.ebuild b/app-crypt/keybase/keybase-6.0.2.ebuild new file mode 100644 index 000000000000..a8dd68ddad93 --- /dev/null +++ b/app-crypt/keybase/keybase-6.0.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase client" +HOMEPAGE="https://keybase.io/" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/keybase/client.git" + inherit git-r3 +else + SRC_URI="https://github.com/keybase/client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~nicolasbock/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" + +RDEPEND=" + app-crypt/gnupg + sys-fs/fuse:0= +" + +src_unpack() { + default + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + GOMODCACHE="${S}/go/go-mod" + pushd "${S}/go" || die + ego mod download + popd || die + else + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die + fi +} + +src_compile() { + pushd go/keybase || die + ego build -tags production -o "${T}/keybase" + popd || die +} + +src_test() { + pushd go/keybase || die + ego test + popd || die +} + +src_install() { + dobin "${T}/keybase" + dobin "${S}/packaging/linux/run_keybase" + systemd_douserunit "${S}/packaging/linux/systemd/keybase.service" + insinto "/opt/keybase" + doins "${S}/packaging/linux/crypto_squirrel.txt" + dodir "/opt/keybase" +} + +pkg_postinst() { + elog "Start/Restart keybase: run_keybase" + elog "Run the service: keybase service" + elog "Run the client: keybase login" + ewarn "Note that the user keybasehelper is obsolete and can be removed" +} diff --git a/app-crypt/keybase/keybase-9999.ebuild b/app-crypt/keybase/keybase-9999.ebuild new file mode 100644 index 000000000000..a8dd68ddad93 --- /dev/null +++ b/app-crypt/keybase/keybase-9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase client" +HOMEPAGE="https://keybase.io/" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/keybase/client.git" + inherit git-r3 +else + SRC_URI="https://github.com/keybase/client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~nicolasbock/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" + +RDEPEND=" + app-crypt/gnupg + sys-fs/fuse:0= +" + +src_unpack() { + default + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + GOMODCACHE="${S}/go/go-mod" + pushd "${S}/go" || die + ego mod download + popd || die + else + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die + fi +} + +src_compile() { + pushd go/keybase || die + ego build -tags production -o "${T}/keybase" + popd || die +} + +src_test() { + pushd go/keybase || die + ego test + popd || die +} + +src_install() { + dobin "${T}/keybase" + dobin "${S}/packaging/linux/run_keybase" + systemd_douserunit "${S}/packaging/linux/systemd/keybase.service" + insinto "/opt/keybase" + doins "${S}/packaging/linux/crypto_squirrel.txt" + dodir "/opt/keybase" +} + +pkg_postinst() { + elog "Start/Restart keybase: run_keybase" + elog "Run the service: keybase service" + elog "Run the client: keybase login" + ewarn "Note that the user keybasehelper is obsolete and can be removed" +} diff --git a/app-crypt/keybase/metadata.xml b/app-crypt/keybase/metadata.xml new file mode 100644 index 000000000000..6c47b44141f7 --- /dev/null +++ b/app-crypt/keybase/metadata.xml @@ -0,0 +1,19 @@ + + + + + ran.dall@icloud.com + Randall T. Vasquez + + + nicolasbock@gentoo.org + Nicolas Bock + + + The official Keybase secure messaging, file-sharing, and key directory + client for Linux. + + + keybase/client + +