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 4DF9315800F for ; Sat, 18 Feb 2023 21:58:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59AC3E0867; Sat, 18 Feb 2023 21:58:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E501E0867 for ; Sat, 18 Feb 2023 21:58:10 +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 4F0C9340F32 for ; Sat, 18 Feb 2023 21:58:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5EDE888 for ; Sat, 18 Feb 2023 21:58:07 +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: <1676757438.9552d436d29fb6c0eee8d16da97ad0469dc1716b.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/kbfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/kbfs/Manifest app-crypt/kbfs/kbfs-6.0.2.ebuild app-crypt/kbfs/kbfs-9999.ebuild app-crypt/kbfs/metadata.xml X-VCS-Directories: app-crypt/kbfs/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 9552d436d29fb6c0eee8d16da97ad0469dc1716b X-VCS-Branch: master Date: Sat, 18 Feb 2023 21:58:07 +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: fa5d5403-4804-46d2-916a-bcb57f0acbf0 X-Archives-Hash: 8c2d0965c95ccd3223899d7390dc20f2 commit: 9552d436d29fb6c0eee8d16da97ad0469dc1716b Author: Randall T. Vasquez icloud com> AuthorDate: Thu Nov 3 02:09:49 2022 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Sat Feb 18 21:57:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9552d436 app-crypt/kbfs: new package, add 6.0.2, 9999 Closes: https://github.com/gentoo/gentoo/pull/27372 Signed-off-by: Randall T. Vasquez icloud.com> Signed-off-by: Nicolas Bock gentoo.org> app-crypt/kbfs/Manifest | 2 ++ app-crypt/kbfs/kbfs-6.0.2.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++ app-crypt/kbfs/kbfs-9999.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++ app-crypt/kbfs/metadata.xml | 19 ++++++++++++ 4 files changed, 155 insertions(+) diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest new file mode 100644 index 000000000000..084c14bbd06a --- /dev/null +++ b/app-crypt/kbfs/Manifest @@ -0,0 +1,2 @@ +DIST kbfs-6.0.2-deps.tar.xz 205729260 BLAKE2B d58d1b6615c9195ad3b4eb82bbbb3f3ff4729683b6d4b69dd35222089fa9477710a59c75af830a4f74ca6ccf3eae2fe6d880a72b74d15478fe29db268f333f64 SHA512 39afab3647ea766ed86059548eddc910195ec39b71897a92cdc927d9c0025297254950c0a85434ce9a1e90a189b6f84504445e1d6152ec4bd8441dd55ae4e6c0 +DIST kbfs-6.0.2.tar.gz 57283593 BLAKE2B 272dd3c9e2e855e1979a620f5a600cb1352632fca055ba36140d2cc63013e8f8b7e66c5f9fe74ab2c71dac2df7cc27aac9a8387f7444eff4c469659ff1aece2e SHA512 0a3fe3f8b9fc7a3099696699268bec54aed898d0692a3033e54f816b87ef2616b83a0817d365b87a77ecb489ae5d11bae15597c3bcd23819422ec384ae63f6a0 diff --git a/app-crypt/kbfs/kbfs-6.0.2.ebuild b/app-crypt/kbfs/kbfs-6.0.2.ebuild new file mode 100644 index 000000000000..b43cf2f164e1 --- /dev/null +++ b/app-crypt/kbfs/kbfs-6.0.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" + +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="BSD" +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/kbfs/kbfsfuse || die + ego build -tags production -o "${T}/kbfsfuse" + popd || die + pushd ./go/kbfs/kbfsgit/git-remote-keybase || die + ego build -tags production -o "${T}/git-remote-keybase" + popd || die + pushd ./go/kbfs/redirector || die + ego build -tags production -o "${T}/keybase-redirector" + popd || die +} + +src_test() { + pushd ./go/kbfs/kbfsfuse || die + ego test + popd || die +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" + systemd_douserunit "${S}/packaging/linux/systemd/keybase-redirector.service" +} diff --git a/app-crypt/kbfs/kbfs-9999.ebuild b/app-crypt/kbfs/kbfs-9999.ebuild new file mode 100644 index 000000000000..7ebdcb88ebf8 --- /dev/null +++ b/app-crypt/kbfs/kbfs-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" + +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+=" ${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="BSD" +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/kbfs/kbfsfuse || die + ego build -tags production -o "${T}/kbfsfuse" + popd || die + pushd ./go/kbfs/kbfsgit/git-remote-keybase || die + ego build -tags production -o "${T}/git-remote-keybase" + popd || die + pushd ./go/kbfs/redirector || die + ego build -tags production -o "${T}/keybase-redirector" + popd || die +} + +src_test() { + pushd ./go/kbfs/kbfsfuse || die + ego test + popd || die +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" + systemd_douserunit "${S}/packaging/linux/systemd/keybase-redirector.service" +} diff --git a/app-crypt/kbfs/metadata.xml b/app-crypt/kbfs/metadata.xml new file mode 100644 index 000000000000..4ce1f52b1ca5 --- /dev/null +++ b/app-crypt/kbfs/metadata.xml @@ -0,0 +1,19 @@ + + + + + ran.dall@icloud.com + Randall T. Vasquez + + + nicolasbock@gentoo.org + Nicolas Bock + + + The official Keybase implementation of the client-side code for the + Keybase filesystem (KBFS), a cryptographically secure filesystem. + + + keybase/client + +