commit: 778aa26637130637eab73a13ea2087e4475fcb3e Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Jul 1 22:50:40 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Wed Jul 2 00:12:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778aa266
net-misc/croc: drop old 10.1.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> net-misc/croc/Manifest | 2 -- net-misc/croc/croc-10.1.0.ebuild | 47 ---------------------------------------- 2 files changed, 49 deletions(-) diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest index b9695657797c..854854d05ddf 100644 --- a/net-misc/croc/Manifest +++ b/net-misc/croc/Manifest @@ -1,4 +1,2 @@ -DIST croc-10.1.0-deps.tar.xz 18220572 BLAKE2B 3c1513bf9dc52e72e37f34ad843daf30b4d8accb5de6a1073535870dd1e5d7993f9234312208dfae30726e1ce3f23c0c700ebedc6c6f2a7f3c610ce611940224 SHA512 8dd23262d529c66927b0a60b41b7234675577593cddc8c553a367f5203f3d4736b66cb258881a89603233cccc709923268e2ccdd78aa47c38d3dabdf072d0de1 -DIST croc-10.1.0.tar.gz 583893 BLAKE2B d728c8f6dc08179910343e17304b50138c93a7af8ca11c8b1d8fa8a43b4e542f811eec1898948c6c62c99d2f50a96363db0dc15f48fc2b6e98224a9fdf3a040c SHA512 dba6a792c25766056aa851c10ec5a441a66404e41af50f2585ae7b7e35ce0e85972b4fbb93b374589ceb475c3fd35ad413251eb010fadc40cddede07a2831940 DIST croc-10.1.1-deps.tar.xz 18133544 BLAKE2B 3f1640936ac0ada372e56060598caa3bc43fe328223596761d899655a188d944bad717b0e80b859a2e89e4f53c88c1dca1a03ec8bd1a3f45407af983271baf97 SHA512 3fe980990438ff2fc1835f1c413be8799978c1312da6262fbe5e135408b21fd907f6aef4e385b3bfe9694addfdefc09c2aef634181e5b717baccc40d0355ab61 DIST croc-10.1.1.tar.gz 584146 BLAKE2B 8463d916e2fb8ec73d27678f191dc50dbcce25f971495e0f51ded2d964337d311d02988a92c85948b21f2533921250569b4128c185c165d2678e1a4cb009d974 SHA512 1a7038bacc1b4d8235f5193a794e04588f8e17d4d3fa1db463641ca34637c4e81de6fcce1a9805d660f8f2208e563cf2efa37ddd407f43e1fe6032c0a5a06d24 diff --git a/net-misc/croc/croc-10.1.0.ebuild b/net-misc/croc/croc-10.1.0.ebuild deleted file mode 100644 index edfe827fbac5..000000000000 --- a/net-misc/croc/croc-10.1.0.ebuild +++ /dev/null @@ -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 ./... -}
