From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/oragono/
Date: Sun, 18 Apr 2021 23:05:33 +0000 (UTC) [thread overview]
Message-ID: <1618787117.604f00925c54bf3ea89974e2abf32e6ed720c8c0.sam@gentoo> (raw)
commit: 604f00925c54bf3ea89974e2abf32e6ed720c8c0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 21:42:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 23:05:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604f0092
net-irc/oragono: add 2.6.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-irc/oragono/Manifest | 1 +
net-irc/oragono/oragono-2.6.0.ebuild | 68 ++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/net-irc/oragono/Manifest b/net-irc/oragono/Manifest
index 90d1a81846c..80def38b708 100644
--- a/net-irc/oragono/Manifest
+++ b/net-irc/oragono/Manifest
@@ -1 +1,2 @@
DIST oragono-2.5.1.tar.gz 3079990 BLAKE2B 0b2c0e330cac974e311ff711b28e7f5cc5548355bcafb14fc903a63e0442e513a890f4ce890c49316603ba1dc7214d8953b3fc62f2aa40fb34e787348900de81 SHA512 684b697a97fb0274e35f8ae491841e5f8c564f778ff19294ff2353e75416e7283295668bff5db57e4950cb991ead5215c501ba1a2c517a12bbbbe85efe983bea
+DIST oragono-2.6.0.tar.gz 3099379 BLAKE2B c26a99669f74192d9b9b31609e13ce4f4c59c6e1d6eb0dc254d6999f974721c747ccdfcb90cbaa0d8c23283d852a483af7c9cda52ca07bd8d0fa9a4d1a11e315 SHA512 a2e0603318d18b6470f6eb6cbf381f9e56989ce50cab596c4181af63cef135022547cc641e195419bea00e2768ee30b9fa0db76a897b277291595d43ff117788
diff --git a/net-irc/oragono/oragono-2.6.0.ebuild b/net-irc/oragono/oragono-2.6.0.ebuild
new file mode 100644
index 00000000000..2f2b1a51efd
--- /dev/null
+++ b/net-irc/oragono/oragono-2.6.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module systemd
+
+DESCRIPTION="A modern IRC server written in Go"
+HOMEPAGE="https://oragono.io/ https://github.com/oragono/oragono"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# No test files are included in release tarballs
+# We may even want to package irctest
+RESTRICT="test"
+
+BDEPEND=">=dev-lang/go-1.14"
+RDEPEND="
+ acct-user/oragono
+ acct-group/oragono
+"
+
+DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
+
+src_prepare() {
+ default
+
+ # Minor fiddling with paths
+ sed -i \
+ -e 's:/home/oragono/oragono:/usr/bin/oragono:' \
+ -e 's:/home/oragono:/var/lib/oragono:' \
+ -e 's:/var/lib/oragono/ircd.yaml:/etc/oragono/ircd.yaml:' \
+ distrib/systemd/oragono.service || die
+}
+
+src_compile() {
+ go build -mod=vendor . || die
+}
+
+src_install() {
+ einstalldocs
+
+ dobin oragono
+
+ insinto /etc/oragono
+ doins default.yaml
+
+ newinitd "${FILESDIR}"/oragono.initd oragono
+ newconfd "${FILESDIR}"/oragono.confd oragono
+
+ keepdir /var/lib/oragono
+ fowners oragono:oragono /var/lib/oragono
+
+ insinto /var/lib/oragono
+ doins -r languages/
+
+ systemd_dounit distrib/systemd/oragono.service
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ elog "Please copy the example config in ${EROOT}/etc/oragono:"
+ elog "e.g. cp ${EROOT}/etc/oragono/default.yaml ${EROOT}/etc/oragono/ircd.yaml"
+ fi
+}
next reply other threads:[~2021-04-18 23:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-18 23:05 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-26 15:37 [gentoo-commits] repo/gentoo:master commit in: net-irc/oragono/ Sam James
2021-04-26 15:37 Sam James
2021-03-04 11:08 Sam James
2021-03-04 6:15 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=1618787117.604f00925c54bf3ea89974e2abf32e6ed720c8c0.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