From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ergo/
Date: Wed, 17 Jul 2024 05:54:21 +0000 (UTC) [thread overview]
Message-ID: <1721195585.7a17ef4dd4007cbea04835f686476be4b740977c.sam@gentoo> (raw)
commit: 7a17ef4dd4007cbea04835f686476be4b740977c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 05:35:43 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 05:53:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a17ef4d
net-irc/ergo: add 2.13.1
Bug: https://bugs.gentoo.org/936197
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-irc/ergo/Manifest | 1 +
net-irc/ergo/ergo-2.13.1.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/net-irc/ergo/Manifest b/net-irc/ergo/Manifest
index 8e25cc27959c..de7892a2864f 100644
--- a/net-irc/ergo/Manifest
+++ b/net-irc/ergo/Manifest
@@ -1 +1,2 @@
DIST ergo-2.13.0.tar.gz 3668775 BLAKE2B 81f1f75e359a7796a434e1f556d563223ac892ac190e90b50b8d81367f6c1d2bf73139a8b29f974195d882dba7f569a963dde28a30bd10e55fe018ae524be70f SHA512 870e852e1d4a9bbeb9485de33bcf027bfbf92f7fffa125640cbb28798441e52c334a5e14b3a5ba009094eb8f31d24f664601394b1d22fe30828116c55da28826
+DIST ergo-2.13.1.tar.gz 3668644 BLAKE2B b22d56b3425b57c987d87240e1a6b5dcb409ab2177d3553f3fd2d7ddf615dc49ea78d35402bbe20f6f97aa24acd81fae88bea3f99f3f377c243ef7e992ecd511 SHA512 dcaec6e9c9f8871633862740980eca7e07f92b0d41c1d8becad09fe20f3ab9c5920a966286b577523e6fdc683018bec1938ed5237eacbe922b70cbfb19ed2bca
diff --git a/net-irc/ergo/ergo-2.13.1.ebuild b/net-irc/ergo/ergo-2.13.1.ebuild
new file mode 100644
index 000000000000..95f83d85f0ca
--- /dev/null
+++ b/net-irc/ergo/ergo-2.13.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit go-module python-any-r1 systemd
+
+DESCRIPTION="A modern IRC server written in Go"
+HOMEPAGE="https://ergo.chat/ https://github.com/ergochat/ergo"
+SRC_URI="https://github.com/ergochat/ergo/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${P/_/-}
+
+LICENSE="Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
+SLOT="0"
+if [[ ${PV} != *_rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64"
+fi
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# We may even want to package irctest in future?
+RDEPEND="
+ acct-user/oragono
+ acct-group/oragono
+"
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+
+DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ sed -i -e 's:ERGO_USERNAME="ergo":ERGO_USERNAME="oragono":' distrib/openrc/ergo.confd || die
+
+ # Minor fiddling with paths
+ sed -i \
+ -e 's:/home/ergo/ergo:/usr/bin/ergo:' \
+ -e 's:/home/ergo:/var/lib/ergo:' \
+ -e 's:/var/lib/ergo/ircd.yaml:/etc/ergo/ircd.yaml:' \
+ -e 's:User=ergo:User=oragono:' \
+ distrib/systemd/ergo.service || die
+}
+
+src_compile() {
+ ego build .
+}
+
+src_install() {
+ einstalldocs
+
+ dobin ergo
+
+ insinto /etc/ergo
+ doins default.yaml
+
+ newinitd distrib/openrc/ergo.initd ergo
+ newconfd distrib/openrc/ergo.confd ergo
+
+ keepdir /var/lib/ergo
+ fowners oragono:oragono /var/lib/ergo
+
+ insinto /var/lib/ergo
+ doins -r languages/
+
+ systemd_dounit distrib/systemd/ergo.service
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ elog "Please copy the example config in ${EROOT}/etc/ergo:"
+ elog "e.g. cp ${EROOT}/etc/ergo/default.yaml ${EROOT}/etc/ergo/ircd.yaml"
+ fi
+}
next reply other threads:[~2024-07-17 5:54 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-17 5:54 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 5:26 [gentoo-commits] repo/gentoo:master commit in: net-irc/ergo/ Sam James
2025-03-13 1:09 Sam James
2025-02-09 7:30 Sam James
2025-02-09 7:30 Sam James
2024-08-29 5:10 Jakov Smolić
2024-07-17 8:41 Sam James
2024-07-17 5:54 Sam James
2024-07-17 5:54 Sam James
2024-07-17 5:54 Sam James
2024-03-14 7:54 Arthur Zamarin
2024-02-02 1:51 Sam James
2023-12-28 14:58 Sam James
2023-12-28 14:58 Sam James
2023-10-12 5:48 Sam James
2023-02-03 12:20 Sam James
2023-01-27 6:24 Sam James
2023-01-23 3:17 Sam James
2022-12-25 17:19 Sam James
2022-12-18 6:30 Sam James
2022-11-21 8:14 Sam James
2022-09-23 1:35 Sam James
2022-07-03 10:48 Agostino Sarubbo
2022-05-31 8:43 Sam James
2022-03-12 12:08 Jakov Smolić
2022-03-12 12:01 Arthur Zamarin
2022-03-12 10:35 Arthur Zamarin
2022-02-20 5:51 Sam James
2022-01-10 13:28 Sam James
2022-01-10 13:28 Sam James
2022-01-09 7:34 Sam James
2021-11-20 8:38 Sam James
2021-06-29 4:52 Sam James
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=1721195585.7a17ef4dd4007cbea04835f686476be4b740977c.sam@gentoo \
--to=sam@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