public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stephan Hartmann" <sultan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/
Date: Sat, 20 Aug 2022 09:44:39 +0000 (UTC)	[thread overview]
Message-ID: <1660988672.94bc8221d9c652aebbfa16405338dd7e19cb8261.sultan@gentoo> (raw)

commit:     94bc8221d9c652aebbfa16405338dd7e19cb8261
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 20 09:44:12 2022 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 09:44:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94bc8221

net-misc/croc: add 9.6.0

Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 net-misc/croc/Manifest          |  1 +
 net-misc/croc/croc-9.6.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/net-misc/croc/Manifest b/net-misc/croc/Manifest
index bc13ffce87d9..4b74cc22e741 100644
--- a/net-misc/croc/Manifest
+++ b/net-misc/croc/Manifest
@@ -1,2 +1,3 @@
 DIST croc-9.5.5.tar.gz 2868323 BLAKE2B 52fda421cca32ec2f1f45f0df8e38e44c7dbb161856f9624665816b60957f5906ec01b4bdb0efd769974d2eed6f423adf987397a2e6e064e48382286d5c602a2 SHA512 7bb4f23dc6b0f809da87d67b10cfb1530cb138a3a70c9578b35de602ddf90cd0f61c2ba643a83d990890a07de29588b1387b83ac63b8eac2a75620a221330eb8
 DIST croc-9.5.6.tar.gz 2868248 BLAKE2B db9d2662ce4683767a57b88c7e06240243a93b1e0fadaa2d4ca42427df241afb5c9b290c879f18d59aa2600c8b8efc7b1716acdf1b11f57677d8d4672bd960bd SHA512 3342e0bc6e45c38653d2cca99d6e1b7b79450bdd05c77f3c073f0a4573a99a74b38da36d17950b5da49f99093dbc04c67f03816e3e831770491f0660e78b9266
+DIST croc-9.6.0.tar.gz 2858439 BLAKE2B fb1edc8a7c926894e7402892e029940be63a947ad692ea3f634f07c1c7c56ef687a5a0d6aab8c2814d09e9dc1324ba234f278525e93031ae0a2c889630dd04c1 SHA512 df0ebb71ac1e897864b5a01531a4d9fd20e1f56eb4fb11f8aed25456d6571acf5703d6415669446d239add59ec5510751358768b0ef890b6fded2ac03160d84b

diff --git a/net-misc/croc/croc-9.6.0.ebuild b/net-misc/croc/croc-9.6.0.ebuild
new file mode 100644
index 000000000000..03dce788293d
--- /dev/null
+++ b/net-misc/croc/croc-9.6.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/releases/download/v${PV}/${PN}_${PV}_src.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+	acct-group/croc
+	acct-user/croc
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-disable-network-tests-r1.patch"
+)
+
+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 -work ./...
+}


             reply	other threads:[~2022-08-20  9:44 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-20  9:44 Stephan Hartmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-01 17:57 [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/ Maciej Barć
2024-10-01 17:57 Maciej Barć
2024-10-01 17:57 Maciej Barć
2024-09-12 12:08 Maciej Barć
2024-07-31 22:13 Maciej Barć
2024-05-22  0:53 Sam James
2024-05-21 21:17 Maciej Barć
2024-04-27 22:42 Maciej Barć
2024-04-23  7:30 Maciej Barć
2024-04-23  7:30 Maciej Barć
2024-04-23  7:30 Maciej Barć
2024-03-07 17:38 Maciej Barć
2024-03-07 17:38 Maciej Barć
2024-02-15 11:38 Maciej Barć
2024-02-01 10:10 Maciej Barć
2024-02-01 10:10 Maciej Barć
2023-09-18  9:50 Sam James
2023-07-02 16:30 Stephan Hartmann
2023-07-02 16:30 Stephan Hartmann
2022-12-17 15:20 Stephan Hartmann
2022-12-17 15:20 Stephan Hartmann
2022-08-20  9:44 Stephan Hartmann
2022-05-24 19:00 Stephan Hartmann
2022-05-24 19:00 Stephan Hartmann
2022-05-07 14:04 Stephan Hartmann
2022-05-07 14:04 Stephan Hartmann
2022-04-08 18:30 Stephan Hartmann
2022-04-08 18:29 Stephan Hartmann
2022-02-27 18:19 Stephan Hartmann
2022-02-27 18:19 Stephan Hartmann
2022-02-06 21:26 Stephan Hartmann
2022-02-06 21:25 Stephan Hartmann
2021-11-21 18:01 Stephan Hartmann
2021-11-21 18:01 Stephan Hartmann
2021-10-16 17:29 Stephan Hartmann
2021-08-17  8:26 Stephan Hartmann
2021-08-17  8:26 Stephan Hartmann
2021-08-07 10:08 Stephan Hartmann
2021-08-07 10:07 Stephan Hartmann
2021-08-07  8:33 Yixun Lan
2021-06-22 21:09 Stephan Hartmann
2021-06-22 21:09 Stephan Hartmann
2021-06-16  6:37 Stephan Hartmann
2021-06-16  6:37 Stephan Hartmann
2021-06-11  9:25 Stephan Hartmann
2021-06-11  9:25 Stephan Hartmann
2021-05-13 13:32 Stephan Hartmann
2021-05-13 13:31 Stephan Hartmann
2021-05-13 13:28 Stephan Hartmann
2021-05-10 17:49 Stephan Hartmann
2021-04-30 19:18 Stephan Hartmann
2021-04-30 19:17 Stephan Hartmann
2021-04-28 21:16 Stephan Hartmann
2021-04-28 21:16 Stephan Hartmann
2021-04-19 13:49 Stephan Hartmann
2021-04-19 13:48 Stephan Hartmann
2021-03-27  9:01 Stephan Hartmann
2021-03-27  9:01 Stephan Hartmann
2021-03-19 18:38 Stephan Hartmann
2021-03-19 18:38 Stephan Hartmann
2021-03-19 18:35 Stephan Hartmann
2021-03-06  8:34 Stephan Hartmann
2021-03-06  8:34 Stephan Hartmann
2021-02-23 21:34 Stephan Hartmann
2020-12-29 15:04 Stephan Hartmann
2020-12-28 21:26 Stephan Hartmann
2020-11-19  6:49 Stephan Hartmann
2020-10-31 14:06 Stephan Hartmann
2020-10-30 19:59 Stephan Hartmann
2020-10-14 11:21 Stephan Hartmann
2020-10-13 18:12 Stephan Hartmann
2020-10-05 14:38 Stephan Hartmann
2020-09-20 18:30 Stephan Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660988672.94bc8221d9c652aebbfa16405338dd7e19cb8261.sultan@gentoo \
    --to=sultan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox