public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/soju/
Date: Sun, 11 Jun 2023 08:44:34 +0000 (UTC)	[thread overview]
Message-ID: <1686473069.4141cf9c10519adfd589c404dcf18b09371f65d7.juippis@gentoo> (raw)

commit:     4141cf9c10519adfd589c404dcf18b09371f65d7
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Wed Jun  7 02:11:47 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 08:44:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4141cf9c

net-irc/soju: add 0.6.2

Closes: https://bugs.gentoo.org/907811
Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-irc/soju/Manifest          |  2 ++
 net-irc/soju/soju-0.6.2.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-irc/soju/Manifest b/net-irc/soju/Manifest
index 480f7bb0a6ea..ef8aef21dc61 100644
--- a/net-irc/soju/Manifest
+++ b/net-irc/soju/Manifest
@@ -2,3 +2,5 @@ DIST soju-0.6.0-deps.tar.xz 146900140 BLAKE2B 0ecf3844694a6d2dbb8f90fbb44c87e691
 DIST soju-0.6.0.tar.gz 161364 BLAKE2B c8dcf2d8355f90e362f5f1cd5f5f2bb2ab84dce0dbbd07be3d3b492d944f5d8aa35d93038e2d1134f285e248c8bd8b4e83eab27a959bcefcc38198a3de24a4cd SHA512 99e80a82c3ceda6567524bb4b7aab74095b0c4b18d1f268b84e4173770f3ded26bba5092f3adf105c90c28bffd86001801c0bad9f57fd2a3302bb816b77ac423
 DIST soju-0.6.1-deps.tar.xz 147239188 BLAKE2B c76cce444d78f6e1efa92835211af6b3e955f1960103e9b62e8a46f69015ba269ec3142822f726c67ab2d695d44395e7029991b5e229ca46a66d61144b345e3b SHA512 c02cc46c22cc396f7ee56a94376674ec0cc543e7105278c4649ae8d0a0df9d73bbdb0d94add0b402be02fb37511b60a2f03aeebbfe9382928e2bb99221da345d
 DIST soju-0.6.1.tar.gz 161536 BLAKE2B 3e61f13a2f711c9a1a280c158113fd75da53525c32cf8d04cf5459f25e55286e090fbf64c844e19bdf60780a9db37ee45976714500b12e92023330a426706c23 SHA512 12c939a050bf7276ee9e8fec05285533907a2787530ebe113a6be012cbfbcaac3c5cb5c42c3791618136cd45df6c9fb5739bcbec068650bf0d7ea2995443c0bf
+DIST soju-0.6.2-deps.tar.xz 146973828 BLAKE2B 170660a36635859327f7f4f5a03e2fe7feb31e113191dfffeae28a3d5e247454556a76da86743a69c43b4dee8749b117cfcfc231cccf9362efb2b20196f4d023 SHA512 57c4156c781bcb3ea76ec1f1174923d08b95b7c15e6f3b933ab150c64a94f80972dd53020737568a3507a4de2f20b87c2c615be8247c9222bf21a87b42b2ca43
+DIST soju-0.6.2.tar.gz 161636 BLAKE2B c4d05d924b921b5d7ba9a61f0d3f269d6ed1a6ba9935a29b694dbc2a6193d0ff633e7c60e1f182b5dfc5aaeb93e4dfb9c98ee46035fdffe13facc8e9bc236171 SHA512 fb74a3eb732b30f2cc0be2c4ada531e160442e6d9b725672784f0b4e4865c2a52970a086f04255d2213305b4a7d041d6a669201aec365216c6bb7764d2b3b769

diff --git a/net-irc/soju/soju-0.6.2.ebuild b/net-irc/soju/soju-0.6.2.ebuild
new file mode 100644
index 000000000000..11f84c48fbf7
--- /dev/null
+++ b/net-irc/soju/soju-0.6.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit flag-o-matic go-module systemd
+
+DESCRIPTION="soju is a user-friendly IRC bouncer"
+HOMEPAGE="https://soju.im/"
+SRC_URI="https://git.sr.ht/~emersion/${PN}/refs/download/v${PV}/${P}.tar.gz"
+SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="moderncsqlite +sqlite pam"
+REQUIRED_USE="?? ( moderncsqlite sqlite )"
+
+BDEPEND="
+	app-text/scdoc
+"
+RDEPEND="
+	acct-user/soju
+	acct-group/soju
+	sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	# musl removed legacy LFS64 interfaces in version 1.2.4
+	# temporarily reenabled using _LARGEFILE64_SOURCE until
+	# this is resolved upstream
+	# https://github.com/mattn/go-sqlite3/issues/1164
+	append-cflags "-D_LARGEFILE64_SOURCE"
+
+	if use sqlite; then
+		GOFLAGS+=" -tags=libsqlite3"
+	elif use moderncsqlite; then
+		GOFLAGS+=" -tags=moderncsqlite"
+	else
+		GOFLAGS+=" -tags=nosqlite"
+	fi
+	use pam && GOFLAGS+=" -tags=pam"
+
+	ego build ${GOFLAGS} ./cmd/soju
+	ego build ${GOFLAGS} ./cmd/sojudb
+	ego build ${GOFLAGS} ./cmd/sojuctl
+
+	scdoc <doc/soju.1.scd >doc/soju.1 || die
+}
+
+src_install() {
+	dobin soju
+	dobin sojudb
+	dobin sojuctl
+
+	doman doc/soju.1
+	systemd_dounit contrib/soju.service
+	keepdir /etc/soju
+	insinto /etc/soju
+	newins config.in config
+	newinitd "${FILESDIR}"/soju.initd soju
+	einstalldocs
+}
+
+pkg_postinst() {
+	elog "${PN} requires a user database for authenticating clients."
+	elog "As the soju user, create a database using:"
+	elog "$ sojudb -config ${EROOT}/etc/soju/config create-user <username> [-admin]"
+}


             reply	other threads:[~2023-06-11  8:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-11  8:44 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05 19:22 [gentoo-commits] repo/gentoo:master commit in: net-irc/soju/ Sam James
2024-09-05 19:22 Sam James
2024-07-05 10:49 Arthur Zamarin
2024-07-05 10:49 Arthur Zamarin
2024-06-06  8:42 Viorel Munteanu
2024-06-06  8:42 Viorel Munteanu
2023-12-08 11:36 Sam James
2023-12-08 11:36 Sam James
2023-12-08 11:36 Sam James
2023-12-08 11:36 Sam James
2023-11-17 12:07 Sam James
2023-08-18  4:22 Sam James
2023-06-23  2:14 Sam James
2023-04-26  4:03 Sam James
2023-04-26  4:03 Sam James
2023-04-26  4:03 Sam James
2023-04-10  2:54 Sam James
2023-04-10  2:54 Sam James
2023-04-10  2:54 Sam James
2023-04-10  2:54 Sam James
2023-04-10  2:54 Sam James
2023-04-10  2:54 Sam James
2022-12-16  7:24 Sam James
2022-12-15  4:44 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=1686473069.4141cf9c10519adfd589c404dcf18b09371f65d7.juippis@gentoo \
    --to=juippis@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