diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-04-30 21:16:49 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-04-30 21:16:58 +0200 |
commit | 7a4b2965bec2c12117867e31797612df0aa38276 (patch) | |
tree | 7347a3ab8c87e6691bfd642c310b4f3a5dd3d26d /net-misc | |
parent | sys-kernel/gentoo-sources: Clean-up of 5.11.X series (diff) | |
download | gentoo-7a4b2965bec2c12117867e31797612df0aa38276.tar.gz gentoo-7a4b2965bec2c12117867e31797612df0aa38276.tar.bz2 gentoo-7a4b2965bec2c12117867e31797612df0aa38276.zip |
net-misc/croc: bump to 9.1.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/croc/Manifest | 5 | ||||
-rw-r--r-- | net-misc/croc/croc-9.1.1.ebuild | 151 |
2 files changed, 156 insertions, 0 deletions
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index 5fcf854bb49f..3877b5f3bd8e 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,5 +1,6 @@ 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 croc-9.1.1.tar.gz 2820437 BLAKE2B 55cd043fee62c27e28261826e11c96fec355463850ae459d1709439f74153a8e6f87a65607232a51cc9d0fa0682e7e65f73eb885aee8ce06a46969040784e24a SHA512 88c4399cf64fc7f539ce40599785517dfcc97dd05caeb7d9976e39bf011dfecf8d04b2501bd8b94442ceba56c7515d15cd69b3ee4969cc61cac59e048e8e3bba 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 @@ -17,6 +18,8 @@ DIST github.com%2Fdenisbrodbeck%2Fmachineid%2F@v%2Fv1.0.1.zip 32312 BLAKE2B 37cf DIST github.com%2Fk0kubun%2Fgo-ansi%2F@v%2Fv0.0.0-20180517002512-3bf9e2903213.mod 34 BLAKE2B 86aaf734f424439c38d57c59bb08da879781d897196a6f1c6486fe74677d055bc301fdfd72825e079b50bb04ef2a12db0c0e65a0a59f0be65db12f03c731bed9 SHA512 8664f01b08e210d9f70e72a1c8add0547055979561ebc689e9b7f601f4ee8359d00649a5f8a0bc0c9715009ef8066a1924f5311377b7346685b3bef676481dcc DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.0.mod 142 BLAKE2B 61dc9cff180fdd116136f37018e74635e19370e37f237c8cf7b52cc026d91ca0e97c1da39232828405f26b786fc39a81b70a2ffa09a9279bdff711a0f219072f SHA512 33c28ef3ee2d71f8f2a4c02a443bf9f40c6b7bab1e56a686e5f7e0e497eae7f2878d3e725be8cf15ad1be26716ab0d783404529f082a36056173f718f4bdd68a DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.0.zip 9682 BLAKE2B 8257caa4722ca71e9155888b9b483aabd2f5ebd4d561ebf263c40c260c9feea01f57844e0952ff890806b2d434dcf3731d859b7d7e5cf08aa8c086bd9522f9b7 SHA512 a297bdc807d24ed88953c86aa0ac320851977324dbff9e00d4e5b813a0a8467b9cf12f6536759a4d87c7695579d2a3efd050991d488dfef4c85c996f9e6005ee +DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.2.mod 109 BLAKE2B d1745ea6be8862914fbec8575738c7b68bbb210bafc3e385126b8bbb7a553ed60c8a96b2cdc3af3f30b8b492d9741281f8d296c219bc821c0e212912ba9039a0 SHA512 83c81af5529aa71b8465e8b18f402f067b030dbab794fda6d04a872ab6e170598f3ff360d81bf54d150bfea1e63cbc12b09c4ad83826f34db25dc64f2caaacea +DIST github.com%2Fkalafut%2Fimohash%2F@v%2Fv1.0.2.zip 9680 BLAKE2B a1a9179beef0f7564ede0986f43fe6ac05c93e7766c99d76471cf1bfe65efbac25ee794564e65dfd7862289143b9cb26a19048cec7488153c78a2380e12c6d99 SHA512 d457b81d745e94be4ded5739ea2d15e34118033610f01228b821af8084837bcf493e661df6b875264ae02ebf54a80d84d59868cde3d755bb7e2b0e834396580c DIST github.com%2Fkr%2Fpretty%2F@v%2Fv0.1.0.mod 67 BLAKE2B 2e1b4a8a38998179a32db321d331db54f881770a89719410876cdde1799cb8558ca2862bc70838d606540606d05918c4b115cf1c125945a77ed376c2efc4aa85 SHA512 4d841fc7a022e4e09e0a95925ad92a75809a67c30fb88de9190e4a2196383038dab9a5b3294b6a0b4786248977a0e09eea857a34100cbf22f8a52912ce9fa58d DIST github.com%2Fkr%2Fpretty%2F@v%2Fv0.1.0.zip 11159 BLAKE2B c176e4bc9b5534b0df153e027f22be7d28eefbea1c0adab10979f19d601b95d300c54086b5ee388f453c73b9931339b9b04208fc5e6512385b348c49faff5488 SHA512 bad73f3c47f70de55a90a977a1e2b4a68de545a8425c71533de081c7a8f71d7ab1b489001c56ba2e88dcb78c08804275f7f8128c812f50d005a074ed6dd9286f DIST github.com%2Fkr%2Fpty%2F@v%2Fv1.1.1.mod 25 BLAKE2B 63db8520df2f699bca5a7ccecc44ee04973307d86099cfe66ded30e2ca1bdd76fc3db48cfca0138673c20c6f94061caf219f018b21b9d67231fe959eef338596 SHA512 967fcdce835c12afbf3b12bb204a256f32d46a3da535e2a7250159f62781a163ee107dd2a4fa20743b76bbf52b97e627e11e895c8d5ef73aede37d6a89e326eb @@ -58,6 +61,8 @@ DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.mod 216 BLAKE2B c597010cf6690 DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.zip 98541 BLAKE2B 369a625a7b05ee56619698e8067ee7b99a9d0508db655aefd23cf42f5ee1abb150a6b262be089fce6951f84fe9f1cc0fa46b75830b851888fd17f123852558e7 SHA512 073f44125d4bbce27d69b914385e05028c4d275585e275ff1ee2ffe299059646394163dde2b6b5c175ac9379d388fe34c1c874deda4138121541e2a639d7635f DIST github.com%2Ftscholl2%2Fsiec%2F@v%2Fv0.0.0-20191122224205-8da93652b094.mod 32 BLAKE2B 714a7fdeaaa7ea25dedf0279e7edc1939ae954f9214851f3b8ca0baf2be779b323f79dcf86c34026dc48a9c12f448d5b70f0088292a0f5d7e77706eccd7167df SHA512 dbf23e08092d028c7f03935ddf3e1f63b2ab16781d713f1339a0dfd1199217e80e01a4183f1b18c25db99077b9f059baee8016ec069cac6252839f79008ad09f DIST github.com%2Ftscholl2%2Fsiec%2F@v%2Fv0.0.0-20191122224205-8da93652b094.zip 72830 BLAKE2B 5ce514604ab22c4d54b49be8b79448ccd2218c7d189acf746b74b2bf6869ff3dc74a99306b89bc7ee198cb78f717f05640ba6ca365c5f54b999730283354e4eb SHA512 72c9fdf871d60349e2dddc1dc70ba27b22632b0f0f992e7fa53ac89fdb7daf952fe5ac2c2a93a3875ca036cb7f14dff7c555267468fe9f533901d3766ee674bb +DIST github.com%2Ftwmb%2Fmurmur3%2F@v%2Fv1.1.5.mod 40 BLAKE2B 0d12dc1fd09b245563e86708118ecc00ddb9712b290b444c1239c190358ff523f24118c5f69c5ad1861d9056bbeafc5d04f038d6ab4df82d64019c489175716b SHA512 1cece428d8224cbbb52f74138f441ba00fdaa13105a523d6374c7674c6b40e1c784782f105ce6ef9dcf3fcbebd4c8342a81674cace5211d73e5d108d1e9f16a7 +DIST github.com%2Ftwmb%2Fmurmur3%2F@v%2Fv1.1.5.zip 18374 BLAKE2B 6e50720c2fab931d282011fa0025c42f26942871a932fd0631aeae3ff256a18a7bdee8cd254e1cde12af4e65f56f0c6588505832e5e181fee23c2e5342eabef6 SHA512 e2270a2e07692e777b933b64b72dcf47b2cd1b24c2d1eaac3d9190f2d4cea930202e67ed73c23e29e4c0e7ca52671266de027ef2e9e034913ffdc6f09b33278d DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20210220033148-5ea612d1eb83.mod 209 BLAKE2B ce8c2a54376fa42fbd394e92db1f08d4c639eb7b5e1b33ba41c8a6ad212ccaf4bc7a7c761c43449177761b06296cce60aed17b0f542978a892b1de054b23286d SHA512 d43d530154c2fda6d171696efbe118c4c021d4f3cb5d8ac9262465e0cc906257330a489f6b950465196bf30c91afeb4d4946b3aada3dc182b5c7307a8e702fc7 DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20210415154028-4f45737414dc.mod 209 BLAKE2B ae212ac1167b75a96c3b74f33594fa85e980530886edcf3bb58fb5e077793d24e69d1015e8581caafcc78b2d41cc75e4e17e82b2d3f76f10058ff5a715f00641 SHA512 c2a45c244884d6ccc5c4f73b6b3852d28c9ed1d3acd4805ff36292681e5011284af42ab75ebf6274cda4cc3bcd426496515db7eaca2a529500c0e896190f26a8 diff --git a/net-misc/croc/croc-9.1.1.ebuild b/net-misc/croc/croc-9.1.1.ebuild new file mode 100644 index 000000000000..78ffabf503ab --- /dev/null +++ b/net-misc/croc/croc-9.1.1.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.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" + "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-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 +} |