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 077AE15852A for ; Tue, 20 Aug 2024 20:46:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F061AE2A59; Tue, 20 Aug 2024 20:46:05 +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 D430DE2A59 for ; Tue, 20 Aug 2024 20:46:05 +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 E19E533BEBE for ; Tue, 20 Aug 2024 20:46:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 046031F0D for ; Tue, 20 Aug 2024 20:46:01 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1724145406.711c79802aa2c97d0d8b15f36c0f651f385d9cef.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/heisenbridge/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/heisenbridge/Manifest net-im/heisenbridge/heisenbridge-1.15.0.ebuild X-VCS-Directories: net-im/heisenbridge/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 711c79802aa2c97d0d8b15f36c0f651f385d9cef X-VCS-Branch: master Date: Tue, 20 Aug 2024 20:46:01 +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: 54015f44-f452-41b1-a338-82f5c6858d19 X-Archives-Hash: be82975f3816f058355a9934361745af commit: 711c79802aa2c97d0d8b15f36c0f651f385d9cef Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Aug 20 09:16:46 2024 +0000 Commit: David Roman gmail com> CommitDate: Tue Aug 20 09:16:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=711c7980 net-im/heisenbridge: add 1.15.0 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> net-im/heisenbridge/Manifest | 1 + net-im/heisenbridge/heisenbridge-1.15.0.ebuild | 67 ++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/net-im/heisenbridge/Manifest b/net-im/heisenbridge/Manifest index 484076c2f..7b9c08a89 100644 --- a/net-im/heisenbridge/Manifest +++ b/net-im/heisenbridge/Manifest @@ -1 +1,2 @@ DIST heisenbridge-1.14.6.gh.tar.gz 68513 BLAKE2B ae0a588c90f4dac36ab04665c67c8e9ca7b16fd66dfa3d5cc577a65eb638b23c69a49771323761bb3a7404200fbd72e221a46a964ab0700acf8d03d55a2fa04e SHA512 6e89679f87b4774c035981360b155590c0bd238e575be5673a447a4b348d85ef9f4c7557d6ebaed27a2e6f7823322a0641959f252e8e3c33559e5b68ccf6f252 +DIST heisenbridge-1.15.0.gh.tar.gz 69967 BLAKE2B 4e6b766ab0ba4734fb7c1bf6342ac2697f7830d41a3542f32672a1a9486c9c19d1443304c2df32c05845453d1c2a14adf69431e650ead87185f1331bcf5cd64d SHA512 2679a8113a9596769a5932c341559a5d9ad3c893b6ea739e9516be26f1b36695953a500972c627eb1adb3cfefcc5f2cb5ed4ffd0fac8cf05fc4e2b05ae3fcfd2 diff --git a/net-im/heisenbridge/heisenbridge-1.15.0.ebuild b/net-im/heisenbridge/heisenbridge-1.15.0.ebuild new file mode 100644 index 000000000..034d986b5 --- /dev/null +++ b/net-im/heisenbridge/heisenbridge-1.15.0.ebuild @@ -0,0 +1,67 @@ +# 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..12} ) +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 "${EPREFIX}"/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 + +}