diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-11-21 19:00:53 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-11-21 19:01:07 +0100 |
commit | 3cff8b276496721ba4a3e0ff77e6e4985ffc2d9b (patch) | |
tree | 6d21e3bae6a9479e180a874fc7f7a3f63335bab5 /net-misc/croc | |
parent | www-apps/roundup: version bumps (diff) | |
download | gentoo-3cff8b276496721ba4a3e0ff77e6e4985ffc2d9b.tar.gz gentoo-3cff8b276496721ba4a3e0ff77e6e4985ffc2d9b.tar.bz2 gentoo-3cff8b276496721ba4a3e0ff77e6e4985ffc2d9b.zip |
net-misc/croc: bump to 9.5.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'net-misc/croc')
-rw-r--r-- | net-misc/croc/Manifest | 3 | ||||
-rw-r--r-- | net-misc/croc/croc-9.5.0.ebuild | 148 |
2 files changed, 151 insertions, 0 deletions
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index 22517d566845..af5cd323dab0 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,5 +1,6 @@ DIST croc-9.3.0.tar.gz 2792714 BLAKE2B eaedd895ec6965567bed75cdce39bce215b343f837a656541f300eae5e9ac551fb2159f8ec96563dd88a4d7e6e7275b8bd32197ac4ce526e35209aad76dba85c SHA512 732a1f1252e2958ea7c9e8273c6c2930da01a4ea71a2ac1056711371235caf6b8200ffafcb73086903ee80fe83948d452e783f49a1c25fdee1089830c148337f DIST croc-9.4.2.tar.gz 2807224 BLAKE2B dce3d065e9e367f9ed472728692f624b759930eb1dd6fa96dbe901efc17d1cf88073ccc68d690610bd5db498f18dc245d2b4f74e56c4f42f3028b68bd5c5afcb SHA512 8207c5c25e9775ec25bdbab7d87ac353e459bda93874122b014e618d173ccff0fbe54a547ba7a36da93e47a6f7532dba5e21df9f1b7339e11d2faf7977eb8b33 +DIST croc-9.5.0.tar.gz 2806464 BLAKE2B 56a15469f31c86a0fd26ba938768fb7a759813a3c974b5f99081231a2da99e5bd517c493338cdf6710ec4d7a37a5bf6af3a723fa360bb84e64f02bd076cb30f0 SHA512 a12b47c1d6fc5ddeac903d7020d82cf21ba8d0efc3275c7282b7a9498632a1ec5b1032b840cc7a66435f17d224f7a499721166d6028594e1f2c59c8aa231a717 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 @@ -100,6 +101,8 @@ DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.3.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25 DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.mod 97 BLAKE2B cba29395bf9693152732776bde498cfd90a27c053feb5d1ca655e5e792ff68b9cd0a519bdff559450491e918a171c8a4fdbd4c0b4bcc9b578182f63ca37754db SHA512 e77211a503c35d8b6c392fc1b44daed580659b997673cd312ae8e579d1d715d7a53f8f0f0dd2d4dedbc6c5ca5ab7e3d52269a6536a42824cce267c89eb29cbbd DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.zip 8610883 BLAKE2B 768763b6da537c25448ff274da90261ad33a527e58a5749108d9d889b326051f7bb86a64ffea0a8dc2850260223a8b60ada4615290a9ba1b9a0725bb03c3323c SHA512 fb5d646d5f23fbb33acfe486714d647d7da091fc47cc7ec805afa4f78b070ed3ccc0022428f4672280ff85a7b4d8af3543647647f00ce62f2f3a18a6d425f863 +DIST golang.org%2Fx%2Ftime%2F@v%2Fv0.0.0-20211116232009-f0f3c7e86c11.mod 25 BLAKE2B ba9e31cf2a4ab0f78a5c67d78026c2ef9571bcff7c820ce212637c8360420af274bfc47cb14bbc3df24457a4d3acb5dee38448a848abbd4e82232bef05b6b2e9 SHA512 6e51811c33b84ddd4a7548013579204266e466bd2e87aa9b6e34892570aa09c607ffa806f8a420474e26ca0e277ab23c81bb07b0ebf2c3b6ed193014c1bc37a7 +DIST golang.org%2Fx%2Ftime%2F@v%2Fv0.0.0-20211116232009-f0f3c7e86c11.zip 12003 BLAKE2B f3bfdbb691fc949be84a56ab90648ed0ed8dfbdbc8760dd6864da303292dbb1aeb9dca26e968dd476e9a6b288489f70535c5f5c28059a84b619de6a59ab6f10e SHA512 7461106702042165b44c725ff038e0307b959d843097f8ab28dac0a22ba606741f31052af3eb9fb8caaf6fa1439991cda336de83588812035e3b5209dd80f083 DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0 DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20190902080502-41f04d3bba15.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 diff --git a/net-misc/croc/croc-9.5.0.ebuild b/net-misc/croc/croc-9.5.0.ebuild new file mode 100644 index 000000000000..c8aedcc71fc8 --- /dev/null +++ b/net-misc/croc/croc-9.5.0.ebuild @@ -0,0 +1,148 @@ +# 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.1" + "github.com/cpuguy83/go-md2man/v2 v2.0.1/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.14/go.mod" + "github.com/mattn/go-runewidth v0.0.13" + "github.com/mattn/go-runewidth v0.0.13/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.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.9" + "github.com/schollz/peerdiscovery v1.6.9/go.mod" + "github.com/schollz/progressbar/v3 v3.8.3" + "github.com/schollz/progressbar/v3 v3.8.3/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/go.mod" + "github.com/tscholl2/siec v0.0.0-20210707234609-9bdfc483d499" + "github.com/tscholl2/siec v0.0.0-20210707234609-9bdfc483d499/go.mod" + "github.com/twmb/murmur3 v1.1.5/go.mod" + "github.com/twmb/murmur3 v1.1.6" + "github.com/twmb/murmur3 v1.1.6/go.mod" + "golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod" + "golang.org/x/crypto v0.0.0-20210921155107-089bfa567519" + "golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod" + "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod" + "golang.org/x/net v0.0.0-20210929193557-e81a3d93ecf6" + "golang.org/x/net v0.0.0-20210929193557-e81a3d93ecf6/go.mod" + "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" + "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod" + "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod" + "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod" + "golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0/go.mod" + "golang.org/x/sys v0.0.0-20211002104244-808efd93c36d" + "golang.org/x/sys v0.0.0-20211002104244-808efd93c36d/go.mod" + "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" + "golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod" + "golang.org/x/term v0.0.0-20210927222741-03fcf44c2211" + "golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/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/go.mod" + "golang.org/x/text v0.3.7" + "golang.org/x/text v0.3.7/go.mod" + "golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11" + "golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11/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 ~riscv ~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 +} |