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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 879FB1382C5 for ; Fri, 19 Mar 2021 18:35:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBFC0E0863; Fri, 19 Mar 2021 18:35:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E682E0863 for ; Fri, 19 Mar 2021 18:35:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E08F4335C77 for ; Fri, 19 Mar 2021 18:35:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48F4F5B4 for ; Fri, 19 Mar 2021 18:35:01 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1616178883.892956d55a5984e305e44ff44790bb44d19823d3.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/croc/Manifest net-misc/croc/croc-8.6.10.ebuild X-VCS-Directories: net-misc/croc/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: 892956d55a5984e305e44ff44790bb44d19823d3 X-VCS-Branch: master Date: Fri, 19 Mar 2021 18:35:01 +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: e34f8e9f-d907-43c6-8642-741f03e7ccf7 X-Archives-Hash: 4830607c771ea981a299b47d79492921 commit: 892956d55a5984e305e44ff44790bb44d19823d3 Author: Stephan Hartmann gentoo org> AuthorDate: Fri Mar 19 18:34:43 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Fri Mar 19 18:34:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=892956d5 net-misc/croc: bump to 8.6.10 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Stephan Hartmann gentoo.org> net-misc/croc/Manifest | 3 + net-misc/croc/croc-8.6.10.ebuild | 145 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index c470c067c47..528059e7f76 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,3 +1,4 @@ +DIST croc-8.6.10.tar.gz 2756887 BLAKE2B 8c18ce57c470611d265ec3aa122380a24238c2f5cfe55837c4aec45577e882e888ee6595d4641acbde69c6bfb80d52f33f3d8471c262ef6dca143b3554ba879d SHA512 abcd71377c9f22376e901ceb08441c6b7ae1ae4aa444b1f52086ca06a78f3f33e8718a94829b12a49c34c17ee5fc4afa60370f02e423de37366eb7b713caded1 DIST croc-8.6.8.tar.gz 2659872 BLAKE2B a865529d44027167da83994bc682c9df789c7db8912bbf954f2a28b73990392894463da4a619ed341901939c4f6933486ccfed9aec27fbba19c993633044de1c SHA512 a94460beb120b2d15e3930f50ef0870ba82ece5cd69ce6f1af994ed9d5ed1855f7ab8bd4dcdbd76950d167e6cc66a1aff6e4b2d46a7a48ff76cceb615a568cde DIST croc-8.6.9.tar.gz 2755193 BLAKE2B 2cae20fa5e965bf9bb547216affcacafec25f6b24bc224d13854b876aefc35a9b442d1fdaac6af8b7ee62987a86881e6083ba3d0d19fc227f17c80902e6ccaef SHA512 474cf105e636e8c0221beca49372bf127f967b54ebc75c12642eb984f60678d17e352efe314ba16304486545c007997afc1fbd53e95c2e8b2a804a120227eece DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 @@ -76,6 +77,8 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210223095934-7937bea0104d.mod 33 BLAKE DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210223095934-7937bea0104d.zip 1561943 BLAKE2B 444b6ecf973f41ba36c3aaeefefe416cc2df06bea1fa9a097388f0b0e916efc90b6c3eaf98da3a3414e2eed364987a0ea27be323343ed5f49367a922941a90a4 SHA512 8fac1d3aa3a5f858a342215fa94efc8b699a8729f637cdc9aef61958bc34f2c5aa2ebab83cb0fac9cf8e3360d781e67aa963068c3f92e8fa396c77f4d51a4df9 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210305034016-7844c3c200c3.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210305034016-7844c3c200c3.zip 1672132 BLAKE2B 9bf08ec2e64ef42ea0247462512f5106aab03570d90c23c924f30cef721909d1985a138e62d21e11996fe16e8e9ad97b5fbe572093d644e56e57538b559d62f8 SHA512 1013fc72b01a96d232e611c1cf5c46ae884c30d294fafe53b0d8536f0de0204f55992d8af1d0ac3c68039a5c081ed09c3378b1250e8be7cd18290f2743638a25 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210305230114-8fe3ee5dd75b.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210305230114-8fe3ee5dd75b.zip 1672831 BLAKE2B 52abdc9448149a1def99bce77eaddb2481897636fe2181488ada584d15e4a6703f8f27447ae1cc2e8fa345f7f4e78d7d918032c3fbd40a83b2b66d65c9b95143 SHA512 6efa521056d306ce6ff9b135942b1b36515bd69d0481a729dfd78a1c0a7136ca65972d38a4d0df7962a6f1ec950186bb8ce58f5032567cf98c600803ff8ac5f9 DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201117132131-f5c789dd3221.mod 95 BLAKE2B d86fb6e63016a8645cdec646a8ea85e1ab94e8be82123ebbe037124f353f21474e3396a64dc5f18299dc97c395759914a737699097f371c16806cc8b1e0eee64 SHA512 3295d1778ba3160c8360d99fbc648bbb4356fadd7947466f8b2f493a3c4c406515033268cf3525bdf50430b0cc31169838b5d3223842c7b1cd881e155744506e DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201210144234-2321bbc49cbf.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 diff --git a/net-misc/croc/croc-8.6.10.ebuild b/net-misc/croc/croc-8.6.10.ebuild new file mode 100644 index 00000000000..c2779660e2b --- /dev/null +++ b/net-misc/croc/croc-8.6.10.ebuild @@ -0,0 +1,145 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 go-module systemd + +DESCRIPTION="Easily and securely send things from one computer to another" +HOMEPAGE="https://github.com/schollz/croc" + +EGO_SUM=( + "github.com/BurntSushi/toml v0.3.1/go.mod" + "github.com/OneOfOne/xxhash v1.2.2/go.mod" + "github.com/OneOfOne/xxhash v1.2.5" + "github.com/OneOfOne/xxhash v1.2.5/go.mod" + "github.com/cespare/xxhash v1.1.0" + "github.com/cespare/xxhash v1.1.0/go.mod" + "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod" + "github.com/cpuguy83/go-md2man/v2 v2.0.0" + "github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/denisbrodbeck/machineid v1.0.1" + "github.com/denisbrodbeck/machineid v1.0.1/go.mod" + "github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod" + "github.com/kalafut/imohash v1.0.0" + "github.com/kalafut/imohash v1.0.0/go.mod" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pretty v0.1.0/go.mod" + "github.com/kr/pty v1.1.1/go.mod" + "github.com/kr/text v0.1.0" + "github.com/kr/text v0.1.0/go.mod" + "github.com/mattn/go-isatty v0.0.12/go.mod" + "github.com/mattn/go-runewidth v0.0.10" + "github.com/mattn/go-runewidth v0.0.10/go.mod" + "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db" + "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/rivo/uniseg v0.1.0/go.mod" + "github.com/rivo/uniseg v0.2.0" + "github.com/rivo/uniseg v0.2.0/go.mod" + "github.com/russross/blackfriday/v2 v2.0.1/go.mod" + "github.com/russross/blackfriday/v2 v2.1.0" + "github.com/russross/blackfriday/v2 v2.1.0/go.mod" + "github.com/schollz/cli/v2 v2.2.1" + "github.com/schollz/cli/v2 v2.2.1/go.mod" + "github.com/schollz/logger v1.2.0" + "github.com/schollz/logger v1.2.0/go.mod" + "github.com/schollz/mnemonicode v1.0.1" + "github.com/schollz/mnemonicode v1.0.1/go.mod" + "github.com/schollz/pake/v2 v2.0.6" + "github.com/schollz/pake/v2 v2.0.6/go.mod" + "github.com/schollz/peerdiscovery v1.6.3" + "github.com/schollz/peerdiscovery v1.6.3/go.mod" + "github.com/schollz/progressbar/v3 v3.7.4" + "github.com/schollz/progressbar/v3 v3.7.4/go.mod" + "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod" + "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod" + "github.com/spaolacci/murmur3 v1.1.0" + "github.com/spaolacci/murmur3 v1.1.0/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/testify v1.3.0/go.mod" + "github.com/stretchr/testify v1.6.1" + "github.com/stretchr/testify v1.6.1/go.mod" + "github.com/tscholl2/siec v0.0.0-20191122224205-8da93652b094" + "github.com/tscholl2/siec v0.0.0-20191122224205-8da93652b094/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod" + "golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83" + "golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod" + "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110" + "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" + "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod" + "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" + "golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod" + "golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b" + "golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod" + "golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod" + "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" + "golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod" + "golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d" + "golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.3/go.mod" + "golang.org/x/text v0.3.5" + "golang.org/x/text v0.3.5/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15" + "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod" + "gopkg.in/tylerb/is.v1 v1.1.2" + "gopkg.in/tylerb/is.v1 v1.1.2/go.mod" + "gopkg.in/yaml.v2 v2.2.2/go.mod" + "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c" + "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" + ) +go-module_set_globals + +SRC_URI="https://github.com/schollz/croc/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + acct-group/croc + acct-user/croc +" + +PATCHES=( + "${FILESDIR}/${PN}-disable-network-tests.patch" +) + +DOCS=( README.md ) + +src_prepare() { + default + # Replace User=nobody with User=croc + sed -i -e "s|\(^User=\).*|\1croc|g" croc.service || die + # Rename bash completion function + sed -i -e "s|_cli_bash_autocomplete|_croc|g" \ + src/install/bash_autocomplete || die +} + +src_compile() { + go build || die +} + +src_install() { + dobin croc + systemd_dounit croc.service + newbashcomp src/install/bash_autocomplete croc + einstalldocs +} + +src_test() { + go test -work ./... || die +}