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 9CD3C1581D3 for ; Tue, 14 May 2024 19:13:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A417E2A20; Tue, 14 May 2024 19:13:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 00245E2A20 for ; Tue, 14 May 2024 19:13:00 +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 B2611342FF8 for ; Tue, 14 May 2024 19:12:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C2881AD3 for ; Tue, 14 May 2024 19:12:57 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1715710718.64ecee3c0d0b40c381bb028f3c71c301bec54bab.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/mautrix-meta/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/mautrix-meta/Manifest net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild X-VCS-Directories: net-im/mautrix-meta/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 64ecee3c0d0b40c381bb028f3c71c301bec54bab X-VCS-Branch: master Date: Tue, 14 May 2024 19:12:57 +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: 3a598ae3-1087-4c2f-addc-11a004ad21e2 X-Archives-Hash: e0d0282b7d01821ff42d8e4314451eba commit: 64ecee3c0d0b40c381bb028f3c71c301bec54bab Author: Julien Roy jroy ca> AuthorDate: Tue May 14 18:18:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue May 14 18:18:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64ecee3c net-im/mautrix-meta: add 0.3.0 Signed-off-by: Julien Roy jroy.ca> net-im/mautrix-meta/Manifest | 2 + net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild | 63 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-im/mautrix-meta/Manifest b/net-im/mautrix-meta/Manifest index b2e47a5e79..e1e440c83a 100644 --- a/net-im/mautrix-meta/Manifest +++ b/net-im/mautrix-meta/Manifest @@ -1,2 +1,4 @@ DIST mautrix-meta-0.2.0.gh.tar.gz 198829 BLAKE2B 0dd9f02d5518d8fa3839c3df9388618a4051b41501fbc1b99ec5c0d213ab8482b0b909d9d7f572471429e441ab12d3f545d4a6ba5b67d3ae885e67b3685a35ae SHA512 76831c21a81c0b8e9ba9df144e938a647ac264e3dd2584df8190cd0bf9e875d8384b46c04e79486d923dc73aea909f585a0879ed7446009d1524e80490c9c7e0 DIST mautrix-meta-0.2.0.tar.xz 28251872 BLAKE2B bca146d5da3093742fa8a6cb218251c75ba213c1dac48a9a8535971a38baf43c854f90882f40b0797029785bb40785d305d48feeab7cea6d985dfbf86614f00b SHA512 a5c267b49127ddc0052e2f823ed784951d5347567f31ec284516c8abab72a2f209069cfd378385075f86fd87416608d7d9dccb80247d7a44f46f4a037cc74b7e +DIST mautrix-meta-0.3.0-deps.tar.xz 32145360 BLAKE2B 0c3c5a987d602067b9431637589d4d448580a3ce21d179f051c9ad45acb24f1f54d9e12d096f7223f3591b6335bc8e103302eb647f34b9cd98e7d5c225aa9c6e SHA512 cb6048c33b19fcfeb0dad78510a44bea3b907726b20e62280f66339f9d57168b259fb1f075a49d27d9e973683b0cb737d8a5439d56d336304be104e24be809a0 +DIST mautrix-meta-0.3.0.gh.tar.gz 202451 BLAKE2B cf3a7cd2bd27d8a497c42fd960993d1df7714500abc67b9e30d2853e71070262238272ddbec513f056560a57e3e6028183b90a862139bbb6407028c482c2569b SHA512 099c105ad8834f585215d0d9e3db16c1fe6d6064fe480b944e895527e44c069623f7667db8e84f90004df72dd49bdd1e1359b46e7987814e7c41a0b344ec3a67 diff --git a/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild b/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild new file mode 100644 index 0000000000..3eae17ffed --- /dev/null +++ b/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="A Matrix-Facebook puppeting bridge" +HOMEPAGE="https://github.com/mautrix/meta" +SRC_URI="https://github.com/mautrix/meta/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://jroy.ca/dist/${P}-deps.tar.xz +" +S="${WORKDIR}/meta-${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/${PN} + dev-libs/olm +" +DEPEND="${RDEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin mautrix-meta + + keepdir /var/log/mautrix/meta + fowners -R root:mautrix /var/log/mautrix + fperms -R 770 /var/log/mautrix + sed -i -e "s/\.\/logs/\/var\/log\/${PN/-/\\\/}/" "example-config.yaml" || die + + insinto "/etc/mautrix" + newins "example-config.yaml" "${PN/-/_}.yaml" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners -R root:mautrix /etc/mautrix + fperms -R 770 /etc/mautrix +} + +pkg_postinst() { + einfo + elog "" + elog "Before you can use ${PN}, you must configure it correctly" + elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\"" + elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}" + elog "Then, you must register the bridge with your homeserver" + elog "Refer 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 +} + +pkg_config() { + su - "${PN}" -s /bin/sh -c \ + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" +} 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 8AC771581D3 for ; Tue, 14 May 2024 19:07:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F4F4E2A21; Tue, 14 May 2024 19:07:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E734EE2A21 for ; Tue, 14 May 2024 19:07:35 +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 D3DF8340906 for ; Tue, 14 May 2024 19:07:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48F051AD2 for ; Tue, 14 May 2024 19:07:32 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1715710718.64ecee3c0d0b40c381bb028f3c71c301bec54bab.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-meta/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/mautrix-meta/Manifest net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild X-VCS-Directories: net-im/mautrix-meta/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 64ecee3c0d0b40c381bb028f3c71c301bec54bab X-VCS-Branch: dev Date: Tue, 14 May 2024 19:07:32 +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: 040a1e69-c3de-48da-94eb-1e073889051b X-Archives-Hash: 2772ac0fcd6c239ea020474f2e29739f Message-ID: <20240514190732.AhQRHOg15em22XmlOBwpBAuKzZlItSd67O0_KO9jKzg@z> commit: 64ecee3c0d0b40c381bb028f3c71c301bec54bab Author: Julien Roy jroy ca> AuthorDate: Tue May 14 18:18:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue May 14 18:18:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64ecee3c net-im/mautrix-meta: add 0.3.0 Signed-off-by: Julien Roy jroy.ca> net-im/mautrix-meta/Manifest | 2 + net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild | 63 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-im/mautrix-meta/Manifest b/net-im/mautrix-meta/Manifest index b2e47a5e79..e1e440c83a 100644 --- a/net-im/mautrix-meta/Manifest +++ b/net-im/mautrix-meta/Manifest @@ -1,2 +1,4 @@ DIST mautrix-meta-0.2.0.gh.tar.gz 198829 BLAKE2B 0dd9f02d5518d8fa3839c3df9388618a4051b41501fbc1b99ec5c0d213ab8482b0b909d9d7f572471429e441ab12d3f545d4a6ba5b67d3ae885e67b3685a35ae SHA512 76831c21a81c0b8e9ba9df144e938a647ac264e3dd2584df8190cd0bf9e875d8384b46c04e79486d923dc73aea909f585a0879ed7446009d1524e80490c9c7e0 DIST mautrix-meta-0.2.0.tar.xz 28251872 BLAKE2B bca146d5da3093742fa8a6cb218251c75ba213c1dac48a9a8535971a38baf43c854f90882f40b0797029785bb40785d305d48feeab7cea6d985dfbf86614f00b SHA512 a5c267b49127ddc0052e2f823ed784951d5347567f31ec284516c8abab72a2f209069cfd378385075f86fd87416608d7d9dccb80247d7a44f46f4a037cc74b7e +DIST mautrix-meta-0.3.0-deps.tar.xz 32145360 BLAKE2B 0c3c5a987d602067b9431637589d4d448580a3ce21d179f051c9ad45acb24f1f54d9e12d096f7223f3591b6335bc8e103302eb647f34b9cd98e7d5c225aa9c6e SHA512 cb6048c33b19fcfeb0dad78510a44bea3b907726b20e62280f66339f9d57168b259fb1f075a49d27d9e973683b0cb737d8a5439d56d336304be104e24be809a0 +DIST mautrix-meta-0.3.0.gh.tar.gz 202451 BLAKE2B cf3a7cd2bd27d8a497c42fd960993d1df7714500abc67b9e30d2853e71070262238272ddbec513f056560a57e3e6028183b90a862139bbb6407028c482c2569b SHA512 099c105ad8834f585215d0d9e3db16c1fe6d6064fe480b944e895527e44c069623f7667db8e84f90004df72dd49bdd1e1359b46e7987814e7c41a0b344ec3a67 diff --git a/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild b/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild new file mode 100644 index 0000000000..3eae17ffed --- /dev/null +++ b/net-im/mautrix-meta/mautrix-meta-0.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="A Matrix-Facebook puppeting bridge" +HOMEPAGE="https://github.com/mautrix/meta" +SRC_URI="https://github.com/mautrix/meta/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://jroy.ca/dist/${P}-deps.tar.xz +" +S="${WORKDIR}/meta-${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/${PN} + dev-libs/olm +" +DEPEND="${RDEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin mautrix-meta + + keepdir /var/log/mautrix/meta + fowners -R root:mautrix /var/log/mautrix + fperms -R 770 /var/log/mautrix + sed -i -e "s/\.\/logs/\/var\/log\/${PN/-/\\\/}/" "example-config.yaml" || die + + insinto "/etc/mautrix" + newins "example-config.yaml" "${PN/-/_}.yaml" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners -R root:mautrix /etc/mautrix + fperms -R 770 /etc/mautrix +} + +pkg_postinst() { + einfo + elog "" + elog "Before you can use ${PN}, you must configure it correctly" + elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\"" + elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}" + elog "Then, you must register the bridge with your homeserver" + elog "Refer 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 +} + +pkg_config() { + su - "${PN}" -s /bin/sh -c \ + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" +}