summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-05-13 15:31:33 +0200
committerStephan Hartmann <sultan@gentoo.org>2021-05-13 15:31:33 +0200
commit48456dffda303a1f5114ae0e039949601f38c097 (patch)
tree63c356631df3eb5bfc213e179da629601e38920e /net-misc/croc
parentnet-misc/croc: bump to 9.1.3 (diff)
downloadgentoo-48456dffda303a1f5114ae0e039949601f38c097.tar.gz
gentoo-48456dffda303a1f5114ae0e039949601f38c097.tar.bz2
gentoo-48456dffda303a1f5114ae0e039949601f38c097.zip
net-misc/croc: bump to 9.1.4
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'net-misc/croc')
-rw-r--r--net-misc/croc/Manifest1
-rw-r--r--net-misc/croc/croc-9.1.4.ebuild151
2 files changed, 152 insertions, 0 deletions
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
index 966363bfbe30..d666a4b0a35b 100644
--- a/net-misc/croc/Manifest
+++ b/net-misc/croc/Manifest
@@ -1,6 +1,7 @@
DIST croc-9.1.1.tar.gz 2820437 BLAKE2B 55cd043fee62c27e28261826e11c96fec355463850ae459d1709439f74153a8e6f87a65607232a51cc9d0fa0682e7e65f73eb885aee8ce06a46969040784e24a SHA512 88c4399cf64fc7f539ce40599785517dfcc97dd05caeb7d9976e39bf011dfecf8d04b2501bd8b94442ceba56c7515d15cd69b3ee4969cc61cac59e048e8e3bba
DIST croc-9.1.2.tar.gz 2784568 BLAKE2B e0bc32f5d8e72fafd04d6c10797906f4f5d627dc0bf5a2bfdcd0d1fd55d3ede50332f0e628f147b3c0c99f3da38750ffe318642b3bbfee206b2b954a446fdeb9 SHA512 ca6e45db48eb1fe652fbaa48c0cdd580ea25e5094c462ff9d3dcb545b1f868bb78f91b7c079c7299d2efebb72d41a805b0971f6b2f011a1f642cdc3ea5503885
DIST croc-9.1.3.tar.gz 2784231 BLAKE2B 844e3b3db6e65ab88fed9162ecfa5ba7e0018f95e466f73314423127557dffb10a3dce46b307c45f7e1b635b7f90edc18af8a42f95b36c17b8f80c24a52e1a5f SHA512 f81230be44f5462a7e92fccdeb63570c9ccca2f02405f4e06019822c6a8c2d5b48c7622dc779bacb5d4120a36c92acff1e7689aed182e7b8db467a3cf4d9ad06
+DIST croc-9.1.4.tar.gz 2785285 BLAKE2B 401f4c033831490e50fefe9c6a49e9296a6dd47d6ab675e2426115a600b019196f1455e71fe8747557bc469ff5b14a7b9a05466872143c916f1c4b152bbad6bd SHA512 667cb636a8fea54997a734f46f2002b179361f54cc5b16f67dcc469645f85a46bfb4b587d720c599654358ea1e6a2ec4a46829f4a6e5c74fc9a574a24d316ce1
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.2.mod 34 BLAKE2B 83966cb7de9bb687f99f17c5c89c03718258d2df34e3dda01b96a2fcb1273a0ba0e3253ba5950d5458193d3e54962371317a8fe85020ae338b44e864bd96667f SHA512 9081c69a2480ef726f547047306dc9136211ac7550882e68d458e2c04e5343366cb08f20525a51c804ab9a554dfe8363a1d9660bc0f9e501e1d996f7b6f320e4
DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.5.mod 43 BLAKE2B 60ec6257dc0098e3dabfb32b6c668db9159d69dfc7daa06b9d7f9089f4a6dfc11d2b6d39393e1b990f6ca126019baa1b3d99364fe8a6df9ae323626c8d82494c SHA512 be1111b482157b8c8dda0f45a71e587b51ef78cc9676db4cb560bf0e71c112f45bd048bab7f1b0a64651777bb395c0ce210cf3df20a4afe08e66a42b6da89765
diff --git a/net-misc/croc/croc-9.1.4.ebuild b/net-misc/croc/croc-9.1.4.ebuild
new file mode 100644
index 000000000000..6b7526df7016
--- /dev/null
+++ b/net-misc/croc/croc-9.1.4.ebuild
@@ -0,0 +1,151 @@
+# 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.2"
+ "github.com/kalafut/imohash v1.0.2/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/go.mod"
+ "github.com/mattn/go-runewidth v0.0.12"
+ "github.com/mattn/go-runewidth v0.0.12/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/v3 v3.0.2"
+ "github.com/schollz/pake/v3 v3.0.2/go.mod"
+ "github.com/schollz/peerdiscovery v1.6.5"
+ "github.com/schollz/peerdiscovery v1.6.5/go.mod"
+ "github.com/schollz/progressbar/v3 v3.8.0"
+ "github.com/schollz/progressbar/v3 v3.8.0/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"
+ "github.com/twmb/murmur3 v1.1.5"
+ "github.com/twmb/murmur3 v1.1.5/go.mod"
+ "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+ "golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod"
+ "golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf"
+ "golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf/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/go.mod"
+ "golang.org/x/net v0.0.0-20210510120150-4163338589ed"
+ "golang.org/x/net v0.0.0-20210510120150-4163338589ed/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-20210223095934-7937bea0104d/go.mod"
+ "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
+ "golang.org/x/sys v0.0.0-20210511113859-b0526f3d8744"
+ "golang.org/x/sys v0.0.0-20210511113859-b0526f3d8744/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-20210220032956-6a3ed077a48d/go.mod"
+ "golang.org/x/term v0.0.0-20210503060354-a79de5458b56"
+ "golang.org/x/term v0.0.0-20210503060354-a79de5458b56/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.6"
+ "golang.org/x/text v0.3.6/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-r1.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
+}