diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-05-13 15:28:28 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-05-13 15:28:28 +0200 |
commit | dd2b7d65812fe4a1f59a78be939308d7f4aa4900 (patch) | |
tree | 0df37f5bc029704713ff72958597171944cef692 /net-misc/croc | |
parent | www-client/chromium: bump to 92.0.4503.0 (diff) | |
download | gentoo-dd2b7d65812fe4a1f59a78be939308d7f4aa4900.tar.gz gentoo-dd2b7d65812fe4a1f59a78be939308d7f4aa4900.tar.bz2 gentoo-dd2b7d65812fe4a1f59a78be939308d7f4aa4900.zip |
net-misc/croc: bump to 9.1.3
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 | 7 | ||||
-rw-r--r-- | net-misc/croc/croc-9.1.3.ebuild | 151 |
2 files changed, 158 insertions, 0 deletions
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index addf817c1305..966363bfbe30 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,5 +1,6 @@ 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 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 @@ -48,6 +49,8 @@ DIST github.com%2Fschollz%2Fpake%2Fv3%2F@v%2Fv3.0.2.mod 200 BLAKE2B ac3886b13c5b DIST github.com%2Fschollz%2Fpake%2Fv3%2F@v%2Fv3.0.2.zip 11584 BLAKE2B 436025438469ea00bca4fd958a604a29d688bf0c9c205e651d814458a35728d065c7c1af9f5bf3d39b61bf629581656578b9453fb788cbd9c71af83c7f9416be SHA512 c16986d2d0ecda2c9b119abfb4565eab79c829d8eaf0c2be00079f21b4f4988fb13bcd3e61add4a5781511aecbd1411d6a9da3aea12401db89ad41a67c409522 DIST github.com%2Fschollz%2Fpeerdiscovery%2F@v%2Fv1.6.3.mod 216 BLAKE2B cab544fefb07749635d4f00451aececdb02ee3f24a08762f5ce2af7ca356693b2dbadd1190fae5aa0b67564d34faa5afef9882ceffec4389c2ab26b6e5da70c2 SHA512 4ebaa50c73558c972222a6c44f768442542ceef31a1b4372df732b6c634443cdda8dc6ab8e468a53380a4323e05464b995364109ae9f17e215ca2eb55f0b5665 DIST github.com%2Fschollz%2Fpeerdiscovery%2F@v%2Fv1.6.3.zip 9036 BLAKE2B ee36c5c39df2e10c28c6caae3b40c876ab88fd314dfe65809f92914429156cf87eafb0f9709df8a6b9ca45427a69dc62d03591c4d3da00376c4065617f44799c SHA512 a1686577f23bdc2121197742103a4c35685e3aaf4251ee26e2352f830a1244eaaeceb859cba23410a1a12d6d59e9f62b03cd8aeaf287d10c59db6c784d51ac68 +DIST github.com%2Fschollz%2Fpeerdiscovery%2F@v%2Fv1.6.5.mod 216 BLAKE2B cab544fefb07749635d4f00451aececdb02ee3f24a08762f5ce2af7ca356693b2dbadd1190fae5aa0b67564d34faa5afef9882ceffec4389c2ab26b6e5da70c2 SHA512 4ebaa50c73558c972222a6c44f768442542ceef31a1b4372df732b6c634443cdda8dc6ab8e468a53380a4323e05464b995364109ae9f17e215ca2eb55f0b5665 +DIST github.com%2Fschollz%2Fpeerdiscovery%2F@v%2Fv1.6.5.zip 9383 BLAKE2B a703122effe26cb19f7e591c32fb75797b09c9bd9b089f1db4b4d273e7ee6a23927c6db5d9cb0ca9b1e27ac038ce5c0bebb6ca58eb3e4f1672251470e948bd35 SHA512 971532b3a65a0294a96bef3e92f4e3426791c27635cbe359f5e55916ce73bcabfae038864b2e399b6d0d287035bb836935d9cc5424c9569fa834e8c468041f12 DIST github.com%2Fschollz%2Fprogressbar%2Fv3%2F@v%2Fv3.7.6.mod 595 BLAKE2B c96dbd7220e3f018eff0feacd44ae0330edab515a8f5d8b8be1e2e65f429e6b9927a38425f0629ceac2a812773dbf9feeae5c37302e120b4d4bd6ed698d09e16 SHA512 29ec96afa5026e9b5238db5fe506979ae88689e25bec6e76a6acb7d9ef79e6126a642c0ccc11594ac5746654dcfa0104470b99a60068efea44eb01c247265f55 DIST github.com%2Fschollz%2Fprogressbar%2Fv3%2F@v%2Fv3.7.6.zip 606458 BLAKE2B e22a5c544a46b42aff8cdcd1fee43531d63ecd13a25b2b876004ac754c117ade1599ba14b180732361f045a13c31056db84451e98d68cacde7e285e3c86ffc99 SHA512 4548ec4cc5645c7ffbf0eba82a31512711b57368c408aebf884a314a6dfd49035f3e6391fbe526194357ce11c0ac717fd7f1d45a308832dad47e6862b1bcc8f7 DIST github.com%2Fschollz%2Fprogressbar%2Fv3%2F@v%2Fv3.8.0.mod 595 BLAKE2B c96dbd7220e3f018eff0feacd44ae0330edab515a8f5d8b8be1e2e65f429e6b9927a38425f0629ceac2a812773dbf9feeae5c37302e120b4d4bd6ed698d09e16 SHA512 29ec96afa5026e9b5238db5fe506979ae88689e25bec6e76a6acb7d9ef79e6126a642c0ccc11594ac5746654dcfa0104470b99a60068efea44eb01c247265f55 @@ -77,6 +80,8 @@ DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210415231046-e915ea6b2b7d.mod 179 BLAK DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210415231046-e915ea6b2b7d.zip 1565776 BLAKE2B eb0064f562896b0e6ae48369150c663f66ed93ced8d05f355e8c6ad7d53b9e6b7f4b1ff5d4c0dfb6a7e5b23e6344a90e9e02304ece8d669578d56bfa9517d27f SHA512 dae90ddd392edd9d13a21e183c1cd1e8ab37c595172612f499dd264a599cd9ea191e5a84a7ae4f26baca2615c6bd18671a63b9844dd4b84a5af13585582b3fc9 DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210505214959-0714010a04ed.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5 DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210505214959-0714010a04ed.zip 1563787 BLAKE2B dacd05c5aa5769245e305f6a1909d8db3c9aa2fba479965b620ac2e093788f586e57102df3bcccfde8d4a8c13cac4a714c075506ffc5ff9146b339562d7b72a9 SHA512 5d517a263e8a7ec74a84c6306596a26f434bdffa85f3334c77665977a3f8f9359eb21720f1c9ba47f8a253ecc83efd725cacc5301df43948d17dfd1315120dd9 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210510120150-4163338589ed.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210510120150-4163338589ed.zip 1565631 BLAKE2B 80fee98ed18592b39375d95aa4ca99752d13c55ef618414c8983dba3faf1faa8baf8c47b1e1f7350dcc4d2b90093990f2738f3c4638d5cba2a7ec11c7685d3cb SHA512 8b376daeb6c9dbe8ede34b94dd4efd02419151d9a50d92891a8d199393c304b0cba5921e6d990a8f141ed58ec1f1395f0281d3b0ac1fee0c42f84ce2458ac801 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20191026070338-33540a1f6037.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200116001909-b77594299b42.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab @@ -89,6 +94,8 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210415045647-66c3f260301c.zip 1668770 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210423082822-04245dca01da.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210507161434-a76c4d0a0096.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210507161434-a76c4d0a0096.zip 1634364 BLAKE2B d1f30deb0d15aebbf986cc79f797f53db03521e109a8642ca1fc950cf1c94942e2309a7136c42470cad9fedb586afceff4087acad885bebaa6b9f4e7524ebe8f SHA512 e5c0b615cb8161d2efadf58e3c411dff7f62e14a836379d6024924c0dbcfe54ff4d3bc20cad86fb20d0c8a4b391e2061a3d75ac3033ee17d6d804eaad32c40e4 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210511113859-b0526f3d8744.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210511113859-b0526f3d8744.zip 1634357 BLAKE2B a30240d51cb13049e8705df0160afff8fdc3707d2287e32261b5d909e60e02af13e292be839c3731ec3ed75dc3215d809d21ac53d46d5118ce928ad3ec6a2488 SHA512 79105ca14bd2eadd6351300b7adb954129597309246e1a2e8dcd8ca512113e576c3198c28441069bfa6f4ffc4fb4072e86ff679ae4b168dd52a6c36af8698612 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-20210220032956-6a3ed077a48d.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08 diff --git a/net-misc/croc/croc-9.1.3.ebuild b/net-misc/croc/croc-9.1.3.ebuild new file mode 100644 index 000000000000..6b7526df7016 --- /dev/null +++ b/net-misc/croc/croc-9.1.3.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 +} |