mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
net-misc/croc: drop 9.6.15
Removal off obsolete croc-9.6.15, which was the last version containing some known CVEs which are fixed in croc >=9.6.16. See https://github.com/schollz/croc/releases/tag/v9.6.16 as a reference. Bug: https://bugs.gentoo.org/918091 Signed-off-by: Armas Spann <zappel@simple-co.de> Closes: https://github.com/gentoo/gentoo/pull/38989 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -2,5 +2,3 @@ DIST croc-10.0.12-deps.tar.xz 41942616 BLAKE2B f49a250965dbb94cc8b4282912b4b5574
|
||||
DIST croc-10.0.12.tar.gz 576733 BLAKE2B 31ba26c69eed23685ee7bc9512549b8b0b2f5194177f11b3ad0ed94b432e2a122811ac436ae0c1280a6715c06624988f0138a9f63a6e22522d30dd8d62d27f04 SHA512 4f012c9a9749e26afc5823b38223a2ca22d50b9aa2f6cf68733847c00a7331eec0330109d8837facaed77d11fa8e2ac9e96ddd2d22962d209b62de499df31b27
|
||||
DIST croc-10.0.13-deps.tar.xz 17631568 BLAKE2B b4b0a511f6f8b2d53421adbe34af5f427b92c151c82b8bd4e7ac320641cf38302d83cefc342a57f137f25602ca04806eaebc2807a5f18b5ef881c538d45c2df6 SHA512 ab03fe21400ebd9ff42923be2c76a2e10d3388d0f05815b5edccfc8165529a1cbd3afffffcaa32f7243bbdc80efce78321faf6aae109423c055512ba18fa15f6
|
||||
DIST croc-10.0.13.tar.gz 584046 BLAKE2B 5604d7f8473da2e0648e33a3512ab0f9cedc4d995386570aa9b85428e9729ccc4153fe57b9487bffdb3d1c8e71210478887bff023215c31ac986fd4168484eb0 SHA512 b018fd1d26b84456d792c0d7e7c1a4cbcd796d7bac5acc802afea1d6c5082310a11d6d91efef721506e35bd3f1a35bea85382f2a041c81d875a404df02c3f5d7
|
||||
DIST croc-9.6.15-deps.tar.xz 30217856 BLAKE2B 87c34fa60f0bda194ca022648be2ce11da7b4b9a3f3a5f5b16a5127d5b25197ec99bdba1ef388c38b9e632ed4ef0f89a68e3b58368d9df7b07a1f3129b2b9145 SHA512 caa944dc9e8fb0d4883f4447c979282826e2364fe8b196e412861189953c23a09b6de38306aa00eabfeeb12fb4d3ab9e9794494da8ece10c3ee5a0cd72161d17
|
||||
DIST croc-9.6.15.tar.gz 512614 BLAKE2B 2a87593b5d944c2b5ea970d30f0b64b2a8325cca672421aaa58e6fd07e440aad88de6acad564fcb9963256a9f499421dd9343f51395babd724deeffe875cc6f7 SHA512 8ae76dc5029e7adc809b0083e147c57c7249e9fbb07f263a0b10d21539ebfc69c5d9d8e60811cca06bbb313ec9a3a143baaef73f77ca599dc102626dc9fccf29
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module systemd
|
||||
|
||||
DESCRIPTION="Easily and securely send things from one computer to another"
|
||||
HOMEPAGE="https://github.com/schollz/croc"
|
||||
SRC_URI="https://github.com/schollz/croc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/croc
|
||||
acct-user/croc
|
||||
"
|
||||
|
||||
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() {
|
||||
ego build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin croc
|
||||
systemd_dounit croc.service
|
||||
newbashcomp src/install/bash_autocomplete croc
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test -skip "Test(Comm|Send|PublicIP|LocalIP)" -work ./...
|
||||
}
|
||||
Reference in New Issue
Block a user