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: Sat, 07 May 2022 14:04:58
Message-Id: 1651932289.c21ad7576dab20f762cc8a69128bfae472b5c59d.sultan@gentoo
1 commit: c21ad7576dab20f762cc8a69128bfae472b5c59d
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 14:04:49 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 14:04:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21ad757
7
8 net-misc/croc: drop 9.5.2
9
10 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
11
12 net-misc/croc/Manifest | 1 -
13 net-misc/croc/croc-9.5.2.ebuild | 50 -----------------------------------------
14 2 files changed, 51 deletions(-)
15
16 diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
17 index 42dde757358f..756eb472d77e 100644
18 --- a/net-misc/croc/Manifest
19 +++ b/net-misc/croc/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST croc-9.5.2.tar.gz 2833379 BLAKE2B de4623932b03b2c882bfa3f31aba45a6cf6383853a429a1bf5f28330ac8ca264fc3bffb9097c2eb2bc4ec3a8ba1a2ea2fe120cb0da2f6a5adf0180150b73e002 SHA512 d407379da195a0fb69b3fdd2b220e3c700d16380e495a30012628e08e5876cccb09ce3eb285285a1c4c63bfe08d0f7c3d6d64d28edc5332b0f4cd6c87b90a0f3
22 DIST croc-9.5.3.tar.gz 2847753 BLAKE2B 7ba9f321f3e6edb3e9332ca1e71ef3bcd9ec96ec2040ea00b861e5caa4427035ac4ffd1fbb01ebd944cd77f37e52789f2d6f0fe589646725b25ef2c59a4668e1 SHA512 b4f237af9d36cdf72b993ebbfcb9502f13f383d45888057394a9fe78ac778eefbf9a61268df6e584e8880879195ab1f30cf59ff2b74bfdd16b1d451c8670af5d
23 DIST croc-9.5.5.tar.gz 2868323 BLAKE2B 52fda421cca32ec2f1f45f0df8e38e44c7dbb161856f9624665816b60957f5906ec01b4bdb0efd769974d2eed6f423adf987397a2e6e064e48382286d5c602a2 SHA512 7bb4f23dc6b0f809da87d67b10cfb1530cb138a3a70c9578b35de602ddf90cd0f61c2ba643a83d990890a07de29588b1387b83ac63b8eac2a75620a221330eb8
24
25 diff --git a/net-misc/croc/croc-9.5.2.ebuild b/net-misc/croc/croc-9.5.2.ebuild
26 deleted file mode 100644
27 index 03dce788293d..000000000000
28 --- a/net-misc/croc/croc-9.5.2.ebuild
29 +++ /dev/null
30 @@ -1,50 +0,0 @@
31 -# Copyright 2020-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit bash-completion-r1 go-module systemd
37 -
38 -DESCRIPTION="Easily and securely send things from one computer to another"
39 -HOMEPAGE="https://github.com/schollz/croc"
40 -
41 -SRC_URI="https://github.com/schollz/croc/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="Apache-2.0 BSD BSD-2 MIT"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
46 -
47 -RDEPEND="
48 - acct-group/croc
49 - acct-user/croc
50 -"
51 -
52 -PATCHES=(
53 - "${FILESDIR}/${PN}-disable-network-tests-r1.patch"
54 -)
55 -
56 -DOCS=( README.md )
57 -
58 -src_prepare() {
59 - default
60 - # Replace User=nobody with User=croc
61 - sed -i -e "s|\(^User=\).*|\1croc|g" croc.service || die
62 - # Rename bash completion function
63 - sed -i -e "s|_cli_bash_autocomplete|_croc|g" \
64 - src/install/bash_autocomplete || die
65 -}
66 -
67 -src_compile() {
68 - ego build
69 -}
70 -
71 -src_install() {
72 - dobin croc
73 - systemd_dounit croc.service
74 - newbashcomp src/install/bash_autocomplete croc
75 - einstalldocs
76 -}
77 -
78 -src_test() {
79 - ego test -work ./...
80 -}