diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-04-28 23:16:05 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-04-28 23:16:05 +0200 |
commit | 71f585ba85a9696adb49c008a707cdf8c3e46aab (patch) | |
tree | 1d996a02928ece3c313c291114169a52d1f4b5bb /net-misc/croc | |
parent | www-client/opera: bump to 76.0.4017.94 (diff) | |
download | gentoo-71f585ba85a9696adb49c008a707cdf8c3e46aab.tar.gz gentoo-71f585ba85a9696adb49c008a707cdf8c3e46aab.tar.bz2 gentoo-71f585ba85a9696adb49c008a707cdf8c3e46aab.zip |
net-misc/croc: bump to 9.1.0
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/Manifest | 1 | ||||
-rw-r--r-- | net-misc/croc/croc-9.1.0.ebuild | 149 |
2 files changed, 150 insertions, 0 deletions
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index 78ad0301d0f8..218089a3d5e2 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,5 +1,6 @@ DIST croc-8.6.12.tar.gz 2754360 BLAKE2B e8c9c3c724c542b051a49eddaac71242527dbaaf7efe3e18aa4097aca4be26195d4b1d8a8e688d87173791874026d5f183cb5f3b66a95f495745deacb821ef91 SHA512 36f69bb4b2a33d774141d082f06f702890add252f9ba2b1baf34c745fdca0832a9d1bd40684ed84a50c06b74dd363f71b06b86c7052540a346e603bf42deb1b8 DIST croc-9.0.0.tar.gz 2744585 BLAKE2B 87b9cd6455cae18e422652f3633d1047f873ca86504b715af90740015fccb0f060fc2af94a5600b902f25dfd45ba1a285502ffc36065dc5f626925d02f4e14a3 SHA512 978085df85e813a9502ce15d9ece7f06718061ce3cc9a2274c5af0ac8a2db78b28c2bfeb3210361bb8c6011b91528bfcede6185a897c5a1a548356a434876f36 +DIST croc-9.1.0.tar.gz 2744612 BLAKE2B db189efe91cba9265de9114a8df97482789659bebfe4c374197b003262af3b91a8622099cccbc255bd6441d05148a10af4f0bf5f06f59ac7986a830489ba8bea SHA512 a5a048448b9890907499240c0aa0707db53da45cbb51e2e7e1f5b78537118ff83ce2e91ae1ef6e1a57c8a9d0e682265621e23613cd0dad5ae9158d57df67a0be 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.0.ebuild b/net-misc/croc/croc-9.1.0.ebuild new file mode 100644 index 000000000000..346132b16e5d --- /dev/null +++ b/net-misc/croc/croc-9.1.0.ebuild @@ -0,0 +1,149 @@ +# 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/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.1" + "github.com/schollz/pake/v3 v3.0.1/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.6" + "github.com/schollz/progressbar/v3 v3.7.6/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-20210220033148-5ea612d1eb83/go.mod" + "golang.org/x/crypto v0.0.0-20210415154028-4f45737414dc" + "golang.org/x/crypto v0.0.0-20210415154028-4f45737414dc/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-20210415231046-e915ea6b2b7d" + "golang.org/x/net v0.0.0-20210415231046-e915ea6b2b7d/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-20210330210617-4fbd30eecc44/go.mod" + "golang.org/x/sys v0.0.0-20210415045647-66c3f260301c" + "golang.org/x/sys v0.0.0-20210415045647-66c3f260301c/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-20210406210042-72f3dc4e9b72" + "golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72/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.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 +} |