From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 9E02915838C for ; Tue, 16 Jan 2024 11:46:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82B7CE2AA5; Tue, 16 Jan 2024 11:46:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 62F33E2AA5 for ; Tue, 16 Jan 2024 11:46:49 +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 4A72C343270 for ; Tue, 16 Jan 2024 11:46:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C233E11A0 for ; Tue, 16 Jan 2024 11:46:46 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1705405544.674e75dae43ac90e2ced10c615b216da404871fc.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/heisenbridge/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/heisenbridge/heisenbridge-1.14.6-r1.ebuild X-VCS-Directories: net-im/heisenbridge/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 674e75dae43ac90e2ced10c615b216da404871fc X-VCS-Branch: dev Date: Tue, 16 Jan 2024 11:46:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9dafd4e1-6631-4eb8-aacb-8ef41db95506 X-Archives-Hash: 707550677d24ccd03e16eb7b16c1aaf5 commit: 674e75dae43ac90e2ced10c615b216da404871fc Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Jan 16 11:45:44 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue Jan 16 11:45:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=674e75da net-im/heisenbridge: fix 0.0.0 version Closes: https://bugs.gentoo.org/922020 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-im/heisenbridge/heisenbridge-1.14.6-r1.ebuild | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/net-im/heisenbridge/heisenbridge-1.14.6-r1.ebuild b/net-im/heisenbridge/heisenbridge-1.14.6-r1.ebuild new file mode 100644 index 0000000000..f1e440b504 --- /dev/null +++ b/net-im/heisenbridge/heisenbridge-1.14.6-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 systemd + +DESCRIPTION="A bouncer-style Matrix IRC bridge" +HOMEPAGE="https://github.com/hifi/heisenbridge/" +SRC_URI="https://github.com/hifi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/heisenbridge + ${PN}/version.txt || die +} + +src_install() { + distutils-r1_src_install + + newinitd "${FILESDIR}"/heisenbridge.initd ${PN} + newconfd "${FILESDIR}"/heisenbridge.confd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service +} + +pkg_postinst() { + [[ -f /var/lib/${PN}/registration.yaml ]] && return 0 + + einfo + elog "Before you can use ${PN}, you have to configure it correctly." + elog "The configuration file is located at /etc/conf.d/${PN}" + elog + elog "Then, you must generate the registration file using the following command:" + elog "* If you are using Synapse:" + elog "\t${PN} -c /var/lib/${PN}/registration.yaml --generate https://example.com" + elog "* If you are using Dendrite, Conduit or others:" + elog "\t${PN} -c /var/lib/${PN}/registration.yaml --generate-compat https://example.com" + elog + elog "Notice the URL at the end, replace it with your homeserver's URL." + elog "Then, you must register the bridge with your homeserver." + elog "Refer to your homeserver's documentation for instructions." + elog "The registration file is located at /var/lib/${PN}/registration.yaml" + elog "Finally, you may start the ${PN} daemon." + einfo + +}