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: Sun, 06 Feb 2022 21:26:45
Message-Id: 1644182767.6384e0d3786ede68513b1405f1ae2cd7ba8ee7b7.sultan@gentoo
1 commit: 6384e0d3786ede68513b1405f1ae2cd7ba8ee7b7
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 6 21:26:07 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 6 21:26:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6384e0d3
7
8 net-misc/croc: remove old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 net-misc/croc/Manifest | 1 -
14 net-misc/croc/croc-9.4.2.ebuild | 147 ----------------------------------------
15 2 files changed, 148 deletions(-)
16
17 diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
18 index a152b2ba5682..075710188ee9 100644
19 --- a/net-misc/croc/Manifest
20 +++ b/net-misc/croc/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST croc-9.4.2.tar.gz 2807224 BLAKE2B dce3d065e9e367f9ed472728692f624b759930eb1dd6fa96dbe901efc17d1cf88073ccc68d690610bd5db498f18dc245d2b4f74e56c4f42f3028b68bd5c5afcb SHA512 8207c5c25e9775ec25bdbab7d87ac353e459bda93874122b014e618d173ccff0fbe54a547ba7a36da93e47a6f7532dba5e21df9f1b7339e11d2faf7977eb8b33
23 DIST croc-9.5.0.tar.gz 2806464 BLAKE2B 56a15469f31c86a0fd26ba938768fb7a759813a3c974b5f99081231a2da99e5bd517c493338cdf6710ec4d7a37a5bf6af3a723fa360bb84e64f02bd076cb30f0 SHA512 a12b47c1d6fc5ddeac903d7020d82cf21ba8d0efc3275c7282b7a9498632a1ec5b1032b840cc7a66435f17d224f7a499721166d6028594e1f2c59c8aa231a717
24 DIST croc-9.5.1.tar.gz 2830832 BLAKE2B 22b70fee5861ce73ba5e1c289008a8af4069527215349830896830fac7e44c137ed7cee1df2c0536fbc8a331059832ab638457d00103f06118d3d3be4bdc3db1 SHA512 a3403681c17bbca9a9ec189d67486ada1c30844f4bbd595bb7961416f602bab827e4130fd45975694af99411d436693368e473f9fe3248d81c771482bfa12bfb
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.4.2.ebuild b/net-misc/croc/croc-9.4.2.ebuild
28 deleted file mode 100644
29 index 0b58de198139..000000000000
30 --- a/net-misc/croc/croc-9.4.2.ebuild
31 +++ /dev/null
32 @@ -1,147 +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.1"
52 - "github.com/cpuguy83/go-md2man/v2 v2.0.1/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.2"
60 - "github.com/kalafut/imohash v1.0.2/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.14/go.mod"
67 - "github.com/mattn/go-runewidth v0.0.13"
68 - "github.com/mattn/go-runewidth v0.0.13/go.mod"
69 - "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db"
70 - "github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod"
71 - "github.com/pmezard/go-difflib v1.0.0"
72 - "github.com/pmezard/go-difflib v1.0.0/go.mod"
73 - "github.com/rivo/uniseg v0.2.0"
74 - "github.com/rivo/uniseg v0.2.0/go.mod"
75 - "github.com/russross/blackfriday/v2 v2.0.1/go.mod"
76 - "github.com/russross/blackfriday/v2 v2.1.0"
77 - "github.com/russross/blackfriday/v2 v2.1.0/go.mod"
78 - "github.com/schollz/cli/v2 v2.2.1"
79 - "github.com/schollz/cli/v2 v2.2.1/go.mod"
80 - "github.com/schollz/logger v1.2.0"
81 - "github.com/schollz/logger v1.2.0/go.mod"
82 - "github.com/schollz/mnemonicode v1.0.1"
83 - "github.com/schollz/mnemonicode v1.0.1/go.mod"
84 - "github.com/schollz/pake/v3 v3.0.2"
85 - "github.com/schollz/pake/v3 v3.0.2/go.mod"
86 - "github.com/schollz/peerdiscovery v1.6.9"
87 - "github.com/schollz/peerdiscovery v1.6.9/go.mod"
88 - "github.com/schollz/progressbar/v3 v3.8.3"
89 - "github.com/schollz/progressbar/v3 v3.8.3/go.mod"
90 - "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod"
91 - "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod"
92 - "github.com/spaolacci/murmur3 v1.1.0"
93 - "github.com/spaolacci/murmur3 v1.1.0/go.mod"
94 - "github.com/stretchr/objx v0.1.0/go.mod"
95 - "github.com/stretchr/testify v1.3.0/go.mod"
96 - "github.com/stretchr/testify v1.6.1"
97 - "github.com/stretchr/testify v1.6.1/go.mod"
98 - "github.com/tscholl2/siec v0.0.0-20191122224205-8da93652b094/go.mod"
99 - "github.com/tscholl2/siec v0.0.0-20210707234609-9bdfc483d499"
100 - "github.com/tscholl2/siec v0.0.0-20210707234609-9bdfc483d499/go.mod"
101 - "github.com/twmb/murmur3 v1.1.5/go.mod"
102 - "github.com/twmb/murmur3 v1.1.6"
103 - "github.com/twmb/murmur3 v1.1.6/go.mod"
104 - "golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod"
105 - "golang.org/x/crypto v0.0.0-20210921155107-089bfa567519"
106 - "golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod"
107 - "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
108 - "golang.org/x/net v0.0.0-20210929193557-e81a3d93ecf6"
109 - "golang.org/x/net v0.0.0-20210929193557-e81a3d93ecf6/go.mod"
110 - "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
111 - "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
112 - "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
113 - "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
114 - "golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0/go.mod"
115 - "golang.org/x/sys v0.0.0-20211002104244-808efd93c36d"
116 - "golang.org/x/sys v0.0.0-20211002104244-808efd93c36d/go.mod"
117 - "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
118 - "golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod"
119 - "golang.org/x/term v0.0.0-20210927222741-03fcf44c2211"
120 - "golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod"
121 - "golang.org/x/text v0.3.0/go.mod"
122 - "golang.org/x/text v0.3.3/go.mod"
123 - "golang.org/x/text v0.3.6/go.mod"
124 - "golang.org/x/text v0.3.7"
125 - "golang.org/x/text v0.3.7/go.mod"
126 - "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
127 - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
128 - "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
129 - "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
130 - "gopkg.in/tylerb/is.v1 v1.1.2"
131 - "gopkg.in/tylerb/is.v1 v1.1.2/go.mod"
132 - "gopkg.in/yaml.v2 v2.2.2/go.mod"
133 - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c"
134 - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
135 - )
136 -go-module_set_globals
137 -
138 -SRC_URI="https://github.com/schollz/croc/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz
139 - ${EGO_SUM_SRC_URI}"
140 -
141 -LICENSE="Apache-2.0 BSD BSD-2 MIT"
142 -SLOT="0"
143 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
144 -
145 -RDEPEND="
146 - acct-group/croc
147 - acct-user/croc
148 -"
149 -
150 -PATCHES=(
151 - "${FILESDIR}/${PN}-disable-network-tests-r1.patch"
152 - "${FILESDIR}/${P}-tcp-const.patch"
153 -)
154 -
155 -DOCS=( README.md )
156 -
157 -src_prepare() {
158 - default
159 - # Replace User=nobody with User=croc
160 - sed -i -e "s|\(^User=\).*|\1croc|g" croc.service || die
161 - # Rename bash completion function
162 - sed -i -e "s|_cli_bash_autocomplete|_croc|g" \
163 - src/install/bash_autocomplete || die
164 -}
165 -
166 -src_compile() {
167 - go build || die
168 -}
169 -
170 -src_install() {
171 - dobin croc
172 - systemd_dounit croc.service
173 - newbashcomp src/install/bash_autocomplete croc
174 - einstalldocs
175 -}
176 -
177 -src_test() {
178 - go test -work ./... || die
179 -}