1 |
commit: 4f765e04b3adcee94bfbf9467e5b2da02944098f |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 18:18:41 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 18:19:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f765e04 |
7 |
|
8 |
net-misc/croc: bump to 9.5.2 |
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.5.2.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest |
18 |
index 075710188ee9..c8edc1914130 100644 |
19 |
--- a/net-misc/croc/Manifest |
20 |
+++ b/net-misc/croc/Manifest |
21 |
@@ -1,5 +1,6 @@ |
22 |
DIST croc-9.5.0.tar.gz 2806464 BLAKE2B 56a15469f31c86a0fd26ba938768fb7a759813a3c974b5f99081231a2da99e5bd517c493338cdf6710ec4d7a37a5bf6af3a723fa360bb84e64f02bd076cb30f0 SHA512 a12b47c1d6fc5ddeac903d7020d82cf21ba8d0efc3275c7282b7a9498632a1ec5b1032b840cc7a66435f17d224f7a499721166d6028594e1f2c59c8aa231a717 |
23 |
DIST croc-9.5.1.tar.gz 2830832 BLAKE2B 22b70fee5861ce73ba5e1c289008a8af4069527215349830896830fac7e44c137ed7cee1df2c0536fbc8a331059832ab638457d00103f06118d3d3be4bdc3db1 SHA512 a3403681c17bbca9a9ec189d67486ada1c30844f4bbd595bb7961416f602bab827e4130fd45975694af99411d436693368e473f9fe3248d81c771482bfa12bfb |
24 |
+DIST croc-9.5.2.tar.gz 2833379 BLAKE2B de4623932b03b2c882bfa3f31aba45a6cf6383853a429a1bf5f28330ac8ca264fc3bffb9097c2eb2bc4ec3a8ba1a2ea2fe120cb0da2f6a5adf0180150b73e002 SHA512 d407379da195a0fb69b3fdd2b220e3c700d16380e495a30012628e08e5876cccb09ce3eb285285a1c4c63bfe08d0f7c3d6d64d28edc5332b0f4cd6c87b90a0f3 |
25 |
DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146 |
26 |
DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.2.mod 34 BLAKE2B 83966cb7de9bb687f99f17c5c89c03718258d2df34e3dda01b96a2fcb1273a0ba0e3253ba5950d5458193d3e54962371317a8fe85020ae338b44e864bd96667f SHA512 9081c69a2480ef726f547047306dc9136211ac7550882e68d458e2c04e5343366cb08f20525a51c804ab9a554dfe8363a1d9660bc0f9e501e1d996f7b6f320e4 |
27 |
DIST github.com%2F!one!of!one%2Fxxhash%2F@v%2Fv1.2.5.mod 43 BLAKE2B 60ec6257dc0098e3dabfb32b6c668db9159d69dfc7daa06b9d7f9089f4a6dfc11d2b6d39393e1b990f6ca126019baa1b3d99364fe8a6df9ae323626c8d82494c SHA512 be1111b482157b8c8dda0f45a71e587b51ef78cc9676db4cb560bf0e71c112f45bd048bab7f1b0a64651777bb395c0ce210cf3df20a4afe08e66a42b6da89765 |
28 |
|
29 |
diff --git a/net-misc/croc/croc-9.5.2.ebuild b/net-misc/croc/croc-9.5.2.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..03dce788293d |
32 |
--- /dev/null |
33 |
+++ b/net-misc/croc/croc-9.5.2.ebuild |
34 |
@@ -0,0 +1,50 @@ |
35 |
+# Copyright 2020-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit bash-completion-r1 go-module systemd |
41 |
+ |
42 |
+DESCRIPTION="Easily and securely send things from one computer to another" |
43 |
+HOMEPAGE="https://github.com/schollz/croc" |
44 |
+ |
45 |
+SRC_URI="https://github.com/schollz/croc/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0 BSD BSD-2 MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ acct-group/croc |
53 |
+ acct-user/croc |
54 |
+" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}/${PN}-disable-network-tests-r1.patch" |
58 |
+) |
59 |
+ |
60 |
+DOCS=( README.md ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ # Replace User=nobody with User=croc |
65 |
+ sed -i -e "s|\(^User=\).*|\1croc|g" croc.service || die |
66 |
+ # Rename bash completion function |
67 |
+ sed -i -e "s|_cli_bash_autocomplete|_croc|g" \ |
68 |
+ src/install/bash_autocomplete || die |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ ego build |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ dobin croc |
77 |
+ systemd_dounit croc.service |
78 |
+ newbashcomp src/install/bash_autocomplete croc |
79 |
+ einstalldocs |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ ego test -work ./... |
84 |
+} |