public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-im/mautrix-signal/
Date: Sat, 11 Jan 2025 22:19:45 +0000 (UTC)	[thread overview]
Message-ID: <1736633970.ac4e53a78f9c65cb7ae4b2b2084568256ed1d690.julien@gentoo> (raw)

commit:     ac4e53a78f9c65cb7ae4b2b2084568256ed1d690
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat Jan 11 15:39:18 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jan 11 22:19:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac4e53a7

net-im/mautrix-signal: add 0.7.4

Closes: https://bugs.gentoo.org/945526
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 net-im/mautrix-signal/Manifest                    |  2 +
 net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild | 67 +++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/net-im/mautrix-signal/Manifest b/net-im/mautrix-signal/Manifest
index 32576de83..76d57d59f 100644
--- a/net-im/mautrix-signal/Manifest
+++ b/net-im/mautrix-signal/Manifest
@@ -2,3 +2,5 @@ DIST mautrix-signal-0.6.1-deps.tar.xz 20518340 BLAKE2B 5329b1b839a20160e10736b2c
 DIST mautrix-signal-0.6.1.gh.tar.gz 330028 BLAKE2B d2474ffa525f738e739e3bfce2fdfc9725e339a7615c75c468b3704a755e32c64eca6ca72a30719586f97b777e916e2777bd450f9217631a26e5b45b311c2acf SHA512 36d15e65d916ddbb97d3bfb62c73b5c481fecd65d145c41d7580f5eb3f575daeb057aa6a8b9ad8b35bfc20117a2adcfe7d239aa30802e04dd2f8c9ff9a2b34ce
 DIST mautrix-signal-0.7.3-deps.tar.xz 32503216 BLAKE2B c92ddfb270bf8a86eb7f30b034127a4f240b2558658fa6709197b7eadcd92c54d7e98f48ae5330ceeae55bb0d31fe64895fd40fe08776eaa0a0aead45fafd3af SHA512 e4bb490e0347bfe000b65cacc16e6fd837fe18f88a0d03f31d6197f7fdb745bdf81347fe051906bbb5e685a306ae964d71fb50f375fa26acf7d9b59559609c26
 DIST mautrix-signal-0.7.3.gh.tar.gz 268741 BLAKE2B 4b07ff54663b7895e84c1baf5fc5f2db5b35e115d69a72cb1a218bbfaa10c3f38c026cc53008178df70dc9373187e31c9977ef7e8820f0b55a1e4abf63bf2d80 SHA512 34b9e9e2acdee1d2a68081befa11bf1972c936972c72575a28c149a6620cc10a9381287d5d6553d34bc06b2e77a35ab23070f4f3f7c4e2594454fa24e7548913
+DIST mautrix-signal-0.7.4-deps.tar.xz 32458020 BLAKE2B 6afa4858922426d973f737eac11528899a07aad453ac46b10218b7ba54e499b6fe1fff194329b5d47c2dafa6f1517684557bd639378b97f3dd632fa1941228b3 SHA512 138c2dbc3a4579af10f7fd27cd3897d012fb8070c69a061b1f0fa6806fca17fbf56e0781e1a9593dd73c5a2f478e7d20deb9fc8f29d578529e5ed5d9813472c5
+DIST mautrix-signal-0.7.4.gh.tar.gz 270059 BLAKE2B a01a47c8456fd60d7275b15427e3aaaec4df89e05934f822e5ad31392fdf2abff4fb58fc907fc07e818a66828243d58b38386a647439aff53eff4b64192ef808 SHA512 9bee450a8c18b75a0b8f9df623f51eb6b6e327a44237ba4e0c74c961ee966a25fa1acdbcabda54100d955d6074582980bbab094f9b086dc51d1b8fcdafb4b0ca

diff --git a/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild b/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild
new file mode 100644
index 000000000..dbf2f8b8a
--- /dev/null
+++ b/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="A Matrix-Signal puppeting bridge"
+HOMEPAGE="https://github.com/mautrix/signal"
+SRC_URI="https://github.com/mautrix/signal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${P}-deps.tar.xz
+"
+S="${WORKDIR}/signal-${PV}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	acct-user/${PN}
+	dev-libs/olm
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	~dev-libs/libsignal-ffi-0.64.1
+	dev-libs/olm
+"
+
+src_compile() {
+	ego build "${S}"/cmd/"${PN}"
+}
+
+src_install() {
+	dobin mautrix-signal
+
+	keepdir /var/log/mautrix/signal
+	fowners -R root:mautrix /var/log/mautrix
+	fperms -R 770 /var/log/mautrix
+
+	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+	systemd_dounit "${FILESDIR}/${PN}.service"
+
+	keepdir /etc/mautrix
+	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 "To generate the configuration file, use the following command:"
+	elog "mautrix-signal -e"
+	elog "Then move the config.yaml file to /etc/mautrix/${PN/-/_}.yaml"
+	elog "Configure the file according to your homeserver"
+	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"
+}


WARNING: multiple messages have this Message-ID (diff)
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/mautrix-signal/
Date: Sat, 11 Jan 2025 23:38:10 +0000 (UTC)	[thread overview]
Message-ID: <1736633970.ac4e53a78f9c65cb7ae4b2b2084568256ed1d690.julien@gentoo> (raw)
Message-ID: <20250111233810.CdqwDENVODCayEzA4I7yZJ4MbJs0pP2DgcA8UguRAJ4@z> (raw)

commit:     ac4e53a78f9c65cb7ae4b2b2084568256ed1d690
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat Jan 11 15:39:18 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jan 11 22:19:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac4e53a7

net-im/mautrix-signal: add 0.7.4

Closes: https://bugs.gentoo.org/945526
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 net-im/mautrix-signal/Manifest                    |  2 +
 net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild | 67 +++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/net-im/mautrix-signal/Manifest b/net-im/mautrix-signal/Manifest
index 32576de83..76d57d59f 100644
--- a/net-im/mautrix-signal/Manifest
+++ b/net-im/mautrix-signal/Manifest
@@ -2,3 +2,5 @@ DIST mautrix-signal-0.6.1-deps.tar.xz 20518340 BLAKE2B 5329b1b839a20160e10736b2c
 DIST mautrix-signal-0.6.1.gh.tar.gz 330028 BLAKE2B d2474ffa525f738e739e3bfce2fdfc9725e339a7615c75c468b3704a755e32c64eca6ca72a30719586f97b777e916e2777bd450f9217631a26e5b45b311c2acf SHA512 36d15e65d916ddbb97d3bfb62c73b5c481fecd65d145c41d7580f5eb3f575daeb057aa6a8b9ad8b35bfc20117a2adcfe7d239aa30802e04dd2f8c9ff9a2b34ce
 DIST mautrix-signal-0.7.3-deps.tar.xz 32503216 BLAKE2B c92ddfb270bf8a86eb7f30b034127a4f240b2558658fa6709197b7eadcd92c54d7e98f48ae5330ceeae55bb0d31fe64895fd40fe08776eaa0a0aead45fafd3af SHA512 e4bb490e0347bfe000b65cacc16e6fd837fe18f88a0d03f31d6197f7fdb745bdf81347fe051906bbb5e685a306ae964d71fb50f375fa26acf7d9b59559609c26
 DIST mautrix-signal-0.7.3.gh.tar.gz 268741 BLAKE2B 4b07ff54663b7895e84c1baf5fc5f2db5b35e115d69a72cb1a218bbfaa10c3f38c026cc53008178df70dc9373187e31c9977ef7e8820f0b55a1e4abf63bf2d80 SHA512 34b9e9e2acdee1d2a68081befa11bf1972c936972c72575a28c149a6620cc10a9381287d5d6553d34bc06b2e77a35ab23070f4f3f7c4e2594454fa24e7548913
+DIST mautrix-signal-0.7.4-deps.tar.xz 32458020 BLAKE2B 6afa4858922426d973f737eac11528899a07aad453ac46b10218b7ba54e499b6fe1fff194329b5d47c2dafa6f1517684557bd639378b97f3dd632fa1941228b3 SHA512 138c2dbc3a4579af10f7fd27cd3897d012fb8070c69a061b1f0fa6806fca17fbf56e0781e1a9593dd73c5a2f478e7d20deb9fc8f29d578529e5ed5d9813472c5
+DIST mautrix-signal-0.7.4.gh.tar.gz 270059 BLAKE2B a01a47c8456fd60d7275b15427e3aaaec4df89e05934f822e5ad31392fdf2abff4fb58fc907fc07e818a66828243d58b38386a647439aff53eff4b64192ef808 SHA512 9bee450a8c18b75a0b8f9df623f51eb6b6e327a44237ba4e0c74c961ee966a25fa1acdbcabda54100d955d6074582980bbab094f9b086dc51d1b8fcdafb4b0ca

diff --git a/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild b/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild
new file mode 100644
index 000000000..dbf2f8b8a
--- /dev/null
+++ b/net-im/mautrix-signal/mautrix-signal-0.7.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="A Matrix-Signal puppeting bridge"
+HOMEPAGE="https://github.com/mautrix/signal"
+SRC_URI="https://github.com/mautrix/signal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${P}-deps.tar.xz
+"
+S="${WORKDIR}/signal-${PV}"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	acct-user/${PN}
+	dev-libs/olm
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	~dev-libs/libsignal-ffi-0.64.1
+	dev-libs/olm
+"
+
+src_compile() {
+	ego build "${S}"/cmd/"${PN}"
+}
+
+src_install() {
+	dobin mautrix-signal
+
+	keepdir /var/log/mautrix/signal
+	fowners -R root:mautrix /var/log/mautrix
+	fperms -R 770 /var/log/mautrix
+
+	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+	systemd_dounit "${FILESDIR}/${PN}.service"
+
+	keepdir /etc/mautrix
+	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 "To generate the configuration file, use the following command:"
+	elog "mautrix-signal -e"
+	elog "Then move the config.yaml file to /etc/mautrix/${PN/-/_}.yaml"
+	elog "Configure the file according to your homeserver"
+	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"
+}


             reply	other threads:[~2025-01-11 22:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11 22:19 Julien Roy [this message]
2025-01-11 23:38 ` [gentoo-commits] repo/proj/guru:master commit in: net-im/mautrix-signal/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22 15:29 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-22 15:29 Julien Roy
2024-11-22 20:13 Julien Roy
2024-11-20 23:53 Julien Roy
2024-11-20 23:46 Julien Roy
2024-11-19 10:42 Julien Roy
2024-11-19 10:42 Julien Roy
2024-10-13  9:21 Takuya Wakazono
2024-06-21 10:59 Takuya Wakazono
2024-06-17 23:05 Alarig Le Lay
2024-06-17 21:40 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-06-17 21:31 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-06-17  9:49 Alarig Le Lay
2024-05-30  8:34 Alarig Le Lay
2024-05-21 21:33 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-21 21:29 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-21 21:29 Julien Roy
2024-05-14 19:12 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-14 19:07 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 22:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 22:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 21:30 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-19 21:24 Julien Roy
2023-09-12 19:15 Julien Roy
2023-06-18 16:43 Julien Roy
2023-06-04 15:38 Julien Roy

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=1736633970.ac4e53a78f9c65cb7ae4b2b2084568256ed1d690.julien@gentoo \
    --to=julien@jroy.ca \
    --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