Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/
Date: Fri, 30 Apr 2021 19:18:04
Message-Id: 1619810266.629fa6a1a786e5a945b827a8d910572a5affcea4.sultan@gentoo
1 commit: 629fa6a1a786e5a945b827a8d910572a5affcea4
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 19:17:46 2021 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 19:17:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629fa6a1
7
8 net-misc/croc: remove old
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 net-misc/croc/Manifest | 1 -
14 net-misc/croc/croc-9.0.0.ebuild | 149 ----------------------------------------
15 2 files changed, 150 deletions(-)
16
17 diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
18 index 3877b5f3bd8..31fde7c11d1 100644
19 --- a/net-misc/croc/Manifest
20 +++ b/net-misc/croc/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST croc-9.0.0.tar.gz 2744585 BLAKE2B 87b9cd6455cae18e422652f3633d1047f873ca86504b715af90740015fccb0f060fc2af94a5600b902f25dfd45ba1a285502ffc36065dc5f626925d02f4e14a3 SHA512 978085df85e813a9502ce15d9ece7f06718061ce3cc9a2274c5af0ac8a2db78b28c2bfeb3210361bb8c6011b91528bfcede6185a897c5a1a548356a434876f36
23 DIST croc-9.1.0.tar.gz 2744612 BLAKE2B db189efe91cba9265de9114a8df97482789659bebfe4c374197b003262af3b91a8622099cccbc255bd6441d05148a10af4f0bf5f06f59ac7986a830489ba8bea SHA512 a5a048448b9890907499240c0aa0707db53da45cbb51e2e7e1f5b78537118ff83ce2e91ae1ef6e1a57c8a9d0e682265621e23613cd0dad5ae9158d57df67a0be
24 DIST croc-9.1.1.tar.gz 2820437 BLAKE2B 55cd043fee62c27e28261826e11c96fec355463850ae459d1709439f74153a8e6f87a65607232a51cc9d0fa0682e7e65f73eb885aee8ce06a46969040784e24a SHA512 88c4399cf64fc7f539ce40599785517dfcc97dd05caeb7d9976e39bf011dfecf8d04b2501bd8b94442ceba56c7515d15cd69b3ee4969cc61cac59e048e8e3bba
25 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
26
27 diff --git a/net-misc/croc/croc-9.0.0.ebuild b/net-misc/croc/croc-9.0.0.ebuild
28 deleted file mode 100644
29 index 346132b16e5..00000000000
30 --- a/net-misc/croc/croc-9.0.0.ebuild
31 +++ /dev/null
32 @@ -1,149 +0,0 @@
33 -# Copyright 2020-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit bash-completion-r1 go-module systemd
39 -
40 -DESCRIPTION="Easily and securely send things from one computer to another"
41 -HOMEPAGE="https://github.com/schollz/croc"
42 -
43 -EGO_SUM=(
44 - "github.com/BurntSushi/toml v0.3.1/go.mod"
45 - "github.com/OneOfOne/xxhash v1.2.2/go.mod"
46 - "github.com/OneOfOne/xxhash v1.2.5"
47 - "github.com/OneOfOne/xxhash v1.2.5/go.mod"
48 - "github.com/cespare/xxhash v1.1.0"
49 - "github.com/cespare/xxhash v1.1.0/go.mod"
50 - "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod"
51 - "github.com/cpuguy83/go-md2man/v2 v2.0.0"
52 - "github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod"
53 - "github.com/davecgh/go-spew v1.1.0/go.mod"
54 - "github.com/davecgh/go-spew v1.1.1"
55 - "github.com/davecgh/go-spew v1.1.1/go.mod"
56 - "github.com/denisbrodbeck/machineid v1.0.1"
57 - "github.com/denisbrodbeck/machineid v1.0.1/go.mod"
58 - "github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod"
59 - "github.com/kalafut/imohash v1.0.0"
60 - "github.com/kalafut/imohash v1.0.0/go.mod"
61 - "github.com/kr/pretty v0.1.0"
62 - "github.com/kr/pretty v0.1.0/go.mod"
63 - "github.com/kr/pty v1.1.1/go.mod"
64 - "github.com/kr/text v0.1.0"
65 - "github.com/kr/text v0.1.0/go.mod"
66 - "github.com/mattn/go-isatty v0.0.12/go.mod"
67 - "github.com/mattn/go-runewidth v0.0.10/go.mod"
68 - "github.com/mattn/go-runewidth v0.0.12"
69 - "github.com/mattn/go-runewidth v0.0.12/go.mod"
70 - "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db"
71 - "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod"
72 - "github.com/pmezard/go-difflib v1.0.0"
73 - "github.com/pmezard/go-difflib v1.0.0/go.mod"
74 - "github.com/rivo/uniseg v0.1.0/go.mod"
75 - "github.com/rivo/uniseg v0.2.0"
76 - "github.com/rivo/uniseg v0.2.0/go.mod"
77 - "github.com/russross/blackfriday/v2 v2.0.1/go.mod"
78 - "github.com/russross/blackfriday/v2 v2.1.0"
79 - "github.com/russross/blackfriday/v2 v2.1.0/go.mod"
80 - "github.com/schollz/cli/v2 v2.2.1"
81 - "github.com/schollz/cli/v2 v2.2.1/go.mod"
82 - "github.com/schollz/logger v1.2.0"
83 - "github.com/schollz/logger v1.2.0/go.mod"
84 - "github.com/schollz/mnemonicode v1.0.1"
85 - "github.com/schollz/mnemonicode v1.0.1/go.mod"
86 - "github.com/schollz/pake/v3 v3.0.1"
87 - "github.com/schollz/pake/v3 v3.0.1/go.mod"
88 - "github.com/schollz/peerdiscovery v1.6.3"
89 - "github.com/schollz/peerdiscovery v1.6.3/go.mod"
90 - "github.com/schollz/progressbar/v3 v3.7.6"
91 - "github.com/schollz/progressbar/v3 v3.7.6/go.mod"
92 - "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod"
93 - "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod"
94 - "github.com/spaolacci/murmur3 v1.1.0"
95 - "github.com/spaolacci/murmur3 v1.1.0/go.mod"
96 - "github.com/stretchr/objx v0.1.0/go.mod"
97 - "github.com/stretchr/testify v1.3.0/go.mod"
98 - "github.com/stretchr/testify v1.6.1"
99 - "github.com/stretchr/testify v1.6.1/go.mod"
100 - "github.com/tscholl2/siec v0.0.0-20191122224205-8da93652b094"
101 - "github.com/tscholl2/siec v0.0.0-20191122224205-8da93652b094/go.mod"
102 - "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
103 - "golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod"
104 - "golang.org/x/crypto v0.0.0-20210415154028-4f45737414dc"
105 - "golang.org/x/crypto v0.0.0-20210415154028-4f45737414dc/go.mod"
106 - "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
107 - "golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod"
108 - "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
109 - "golang.org/x/net v0.0.0-20210415231046-e915ea6b2b7d"
110 - "golang.org/x/net v0.0.0-20210415231046-e915ea6b2b7d/go.mod"
111 - "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
112 - "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
113 - "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
114 - "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
115 - "golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod"
116 - "golang.org/x/sys v0.0.0-20210223095934-7937bea0104d/go.mod"
117 - "golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod"
118 - "golang.org/x/sys v0.0.0-20210415045647-66c3f260301c"
119 - "golang.org/x/sys v0.0.0-20210415045647-66c3f260301c/go.mod"
120 - "golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod"
121 - "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
122 - "golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod"
123 - "golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72"
124 - "golang.org/x/term v0.0.0-20210406210042-72f3dc4e9b72/go.mod"
125 - "golang.org/x/text v0.3.0/go.mod"
126 - "golang.org/x/text v0.3.3/go.mod"
127 - "golang.org/x/text v0.3.6"
128 - "golang.org/x/text v0.3.6/go.mod"
129 - "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
130 - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
131 - "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
132 - "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
133 - "gopkg.in/tylerb/is.v1 v1.1.2"
134 - "gopkg.in/tylerb/is.v1 v1.1.2/go.mod"
135 - "gopkg.in/yaml.v2 v2.2.2/go.mod"
136 - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c"
137 - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
138 - )
139 -go-module_set_globals
140 -
141 -SRC_URI="https://github.com/schollz/croc/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz
142 - ${EGO_SUM_SRC_URI}"
143 -
144 -LICENSE="Apache-2.0 BSD BSD-2 MIT"
145 -SLOT="0"
146 -KEYWORDS="~amd64 ~arm64 ~x86"
147 -
148 -RDEPEND="
149 - acct-group/croc
150 - acct-user/croc
151 -"
152 -
153 -PATCHES=(
154 - "${FILESDIR}/${PN}-disable-network-tests.patch"
155 -)
156 -
157 -DOCS=( README.md )
158 -
159 -src_prepare() {
160 - default
161 - # Replace User=nobody with User=croc
162 - sed -i -e "s|\(^User=\).*|\1croc|g" croc.service || die
163 - # Rename bash completion function
164 - sed -i -e "s|_cli_bash_autocomplete|_croc|g" \
165 - src/install/bash_autocomplete || die
166 -}
167 -
168 -src_compile() {
169 - go build || die
170 -}
171 -
172 -src_install() {
173 - dobin croc
174 - systemd_dounit croc.service
175 - newbashcomp src/install/bash_autocomplete croc
176 - einstalldocs
177 -}
178 -
179 -src_test() {
180 - go test -work ./... || die
181 -}