From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1669825-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 73E5F158083
	for <garchives@archives.gentoo.org>; Thu, 12 Sep 2024 12:08:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C19A8E29B7;
	Thu, 12 Sep 2024 12:08:25 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A636AE29B7
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2024 12:08:25 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E432333C4EE
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2024 12:08:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C1E114D0
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Sep 2024 12:08:23 +0000 (UTC)
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1726141744.13cd5827948f897a1a4dc1f8b0f785f205748b39.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/croc/Manifest net-misc/croc/croc-10.0.12.ebuild
X-VCS-Directories: net-misc/croc/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: 13cd5827948f897a1a4dc1f8b0f785f205748b39
X-VCS-Branch: master
Date: Thu, 12 Sep 2024 12:08:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d4c0266f-e0db-48d7-93d9-4b5a2ab0fc2f
X-Archives-Hash: f9cf23e8e1fdeb4fe3c705fdc2080cfa

commit:     13cd5827948f897a1a4dc1f8b0f785f205748b39
Author:     Armas Spann <zappel <AT> simple-co <DOT> de>
AuthorDate: Wed Sep 11 22:28:52 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 11:49:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cd5827

net-misc/croc: add 10.0.12

Signed-off-by: Armas Spann <zappel <AT> simple-co.de>
Closes: https://github.com/gentoo/gentoo/pull/38572
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 net-misc/croc/Manifest            |  2 ++
 net-misc/croc/croc-10.0.12.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
index 2d6f4f30c518..4fa70050462f 100644
--- a/net-misc/croc/Manifest
+++ b/net-misc/croc/Manifest
@@ -1,5 +1,7 @@
 DIST croc-10.0.11-deps.tar.xz 41579476 BLAKE2B 2323f1886cb8c4c6f11d406f97ff420c38af185e65572e2c9e37d3095eee1909253c73aec1bcc9015c87b06648e9a1f5ea5818492c3f1c96962944175c5f89db SHA512 5fe825a66ce745eff41c77643c594ad3406d25e8079405b34110d96dc33ac015dd68528071d8354bb44fdf68247915365f530ccc10743d014e4d6bf96d1803b9
 DIST croc-10.0.11.tar.gz 575860 BLAKE2B cd0c43adcf509edb009a28ba7bfc871a6280e8ce4d4f529502ee2ff1547e957e551ea8184ff24c1097050cc7fd449f399b2849c4803b27d82b5b1e72bde5c9f1 SHA512 1cdfc5823e29406ec92ad4b24526e30032b89787d77382a0179c558cb2f0dd99556d93c7523ebfbb1dd4cac15ec596b3ddd0ce58ac5b9491f34b94436a20fbef
+DIST croc-10.0.12-deps.tar.xz 41942616 BLAKE2B f49a250965dbb94cc8b4282912b4b557457e0f90bc018dde1fe73d78d425689fbcd7554adf9995e8be12f371c6775db7858c3da67bade31e04335b240da969d4 SHA512 f0d34c1b5770ca744243d7f5c2abfec6baba51de503c0e1bff3d2c6082521596391728597edd90b33691e53a3e3449ffcbea39e60294688934e7f3098c0d2ce2
+DIST croc-10.0.12.tar.gz 576733 BLAKE2B 31ba26c69eed23685ee7bc9512549b8b0b2f5194177f11b3ad0ed94b432e2a122811ac436ae0c1280a6715c06624988f0138a9f63a6e22522d30dd8d62d27f04 SHA512 4f012c9a9749e26afc5823b38223a2ca22d50b9aa2f6cf68733847c00a7331eec0330109d8837facaed77d11fa8e2ac9e96ddd2d22962d209b62de499df31b27
 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
 DIST croc-9.6.17-deps.tar.xz 29935608 BLAKE2B 1bdcd2e86f09f3a112faa9f671705a5cabb3f6d9037ba71f0947ee2ce3863d840a8e6847167017c7e02de422900bfbfc8ca285933dd23b95a4232e67c0e30c50 SHA512 0787600d6ca9d46da1e66b27e5f3cc2c88020fa8bb9119c1455209680eb886245f05a7650727759f7624ec59e4b4cec7910f58e83b79d0f87b26375de17b13b2

diff --git a/net-misc/croc/croc-10.0.12.ebuild b/net-misc/croc/croc-10.0.12.ebuild
new file mode 100644
index 000000000000..edfe827fbac5
--- /dev/null
+++ b/net-misc/croc/croc-10.0.12.ebuild
@@ -0,0 +1,47 @@
+# 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 ./...
+}