diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /net-im/mautrix-slack | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'net-im/mautrix-slack')
| -rw-r--r-- | net-im/mautrix-slack/Manifest | 4 | ||||
| -rw-r--r-- | net-im/mautrix-slack/files/mautrix-slack.initd | 25 | ||||
| -rw-r--r-- | net-im/mautrix-slack/files/mautrix-slack.service | 12 | ||||
| -rw-r--r-- | net-im/mautrix-slack/mautrix-slack-0.1.3.ebuild | 63 | ||||
| -rw-r--r-- | net-im/mautrix-slack/mautrix-slack-0.1.4.ebuild | 66 | ||||
| -rw-r--r-- | net-im/mautrix-slack/metadata.xml | 18 |
6 files changed, 0 insertions, 188 deletions
diff --git a/net-im/mautrix-slack/Manifest b/net-im/mautrix-slack/Manifest deleted file mode 100644 index 2a3a362b41ad..000000000000 --- a/net-im/mautrix-slack/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST mautrix-slack-0.1.3-deps.tar.xz 30422444 BLAKE2B 5a7cb539960b9a4facfc940d5ace829ec182e43af4c92d3d79ad8ced436293fbc74d29464f0e9c4e023b0ad2113ba57ddc93c8fac2d94f9c3a6aaad7bdccd472 SHA512 37bd80f215b5bcce647d4b0b9540fac30ecc149826f3fb800a5a21ccaf220e9ce767c2259f6577de30b079b3a9cf0ccac2613359d51dd929eedfae98e7850e5a -DIST mautrix-slack-0.1.3.gh.tar.gz 98604 BLAKE2B a88d559a02547300085262178074a05cfb394c820068602444e0f91c8981e1e8dc8635f51592ff7e9d0fe0501895fd7c65826e49590ee91a86904b06957bbdb8 SHA512 c5a1620d6df80f1c2aae7f7390a31de1dc3dc962792a8582f910499aad89dd4951ac1b6c778388da1fe32ee86c13091f37fc4907847f4ed8d4a01241654ac780 -DIST mautrix-slack-0.1.4-deps.tar.xz 30124992 BLAKE2B e2166b78c2e255b2613268d9c9466b9dcce4854d1ee4d6c6aeb4861bb1255ddb5015ca9abad4f83ae129e023a8de9ed9d960c89cf821c7bce2a35f4a4f5b31c3 SHA512 e68ca6c2d0cc6e31fa5d77338c043c73a256a99d7a5121c856404b51b7f0b4de7be8605b7006b108d889a6f1926ef1ea430d42cb9c0d2b7c16613991df1cf488 -DIST mautrix-slack-0.1.4.gh.tar.gz 98761 BLAKE2B 021f9b8724f65e052305a062ec1feb9b075753ec3dfffead3d4a8e60b6fa01c5a71af28b78a6e521edcebbc9865294d76bf62d006bca6868051a4d31b5e0363a SHA512 56a288e0ae97da1a5e022e901e82b95c7e4855241b7b4db1a08855a03766238cea7e42322f41bd32447693b6ef78042c71c25e2a8b04a7108f23f8d2cd5ddc30 diff --git a/net-im/mautrix-slack/files/mautrix-slack.initd b/net-im/mautrix-slack/files/mautrix-slack.initd deleted file mode 100644 index d971fc549cd9..000000000000 --- a/net-im/mautrix-slack/files/mautrix-slack.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="mautrix-slack daemon" -description="A Matrix-Slack puppeting bridge" -module="mautrix_slack" - -pidfile="/run/${RC_SVCNAME}.pid" -command="/usr/bin/mautrix-slack" -command_args="-c /etc/mautrix/${module}.yaml -r /var/lib/mautrix/slack/registration.yaml" -command_background=true -command_user="mautrix-slack:mautrix" - -output_log="/var/log/mautrix/slack/daemon.log" -error_log="/var/log/mautrix/slack/daemon.log" - -depend() { - need net -} - -start_pre() { - checkpath -d -m 0755 -o "$command_user" /var/lib/mautrix/slack - checkpath -f -m 0644 -o "$command_user" "$output_log" -} diff --git a/net-im/mautrix-slack/files/mautrix-slack.service b/net-im/mautrix-slack/files/mautrix-slack.service deleted file mode 100644 index 331d2555b818..000000000000 --- a/net-im/mautrix-slack/files/mautrix-slack.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=A Matrix-Slack puppeting bridge -After=network.target - -[Service] -User=mautrix-slack -Group=mautrix -Restart=always -ExecStart=/usr/bin/mautrix-slack -c /etc/mautrix/mautrix_slack.yaml -r /var/lib/mautrix/slack/registration.yaml - -[Install] -WantedBy=multi-user.target
\ No newline at end of file diff --git a/net-im/mautrix-slack/mautrix-slack-0.1.3.ebuild b/net-im/mautrix-slack/mautrix-slack-0.1.3.ebuild deleted file mode 100644 index 9aa9e426982b..000000000000 --- a/net-im/mautrix-slack/mautrix-slack-0.1.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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-Slack puppeting bridge based on slack-go" -HOMEPAGE="https://github.com/mautrix/slack" -SRC_URI="https://github.com/mautrix/slack/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz - https://jroy.ca/dist/${P}-deps.tar.xz -" -S="${WORKDIR}/slack-${PV}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - acct-user/${PN} - dev-libs/olm -" -DEPEND="${RDEPEND}" - -src_compile() { - ego build "${S}"/cmd/"${PN}" -} - -src_install() { - dobin mautrix-slack - - keepdir /var/log/mautrix/slack - fowners -R root:mautrix /var/log/mautrix - fperms -R 770 /var/log/mautrix - sed -i -e "s/\.\/logs/\/var\/log\/mautrix\/slack/" "${S}/pkg/connector/example-config.yaml" || die - - insinto "/etc/mautrix" - newins "${S}/pkg/connector/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" -} diff --git a/net-im/mautrix-slack/mautrix-slack-0.1.4.ebuild b/net-im/mautrix-slack/mautrix-slack-0.1.4.ebuild deleted file mode 100644 index 726329b0db29..000000000000 --- a/net-im/mautrix-slack/mautrix-slack-0.1.4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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-Slack puppeting bridge based on slack-go" -HOMEPAGE="https://github.com/mautrix/slack" -SRC_URI="https://github.com/mautrix/slack/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz - https://jroy.ca/dist/${P}-deps.tar.xz -" -S="${WORKDIR}/slack-${PV}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - acct-user/${PN} - dev-libs/olm -" -DEPEND="${RDEPEND}" - -src_compile() { - ego build "${S}"/cmd/"${PN}" -} - -src_install() { - dobin mautrix-slack - - keepdir /var/log/mautrix/slack - fowners -R root:mautrix /var/log/mautrix - fperms -R 770 /var/log/mautrix - - insinto "/etc/mautrix" - newins "${S}/pkg/connector/example-config.yaml" "${PN/-/_}.yaml" - - 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" -} diff --git a/net-im/mautrix-slack/metadata.xml b/net-im/mautrix-slack/metadata.xml deleted file mode 100644 index 9141d51c1f48..000000000000 --- a/net-im/mautrix-slack/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <name>Julien Roy</name> - <email>julien@jroy.ca</email> - </maintainer> - <upstream> - <maintainer> - <name>Tulir Asokan</name> - <email>tulir@maunium.net</email> - </maintainer> - <changelog>https://github.com/mautrix/slack/releases</changelog> - <doc>https://docs.mau.fi/bridges/go/slack/index.html</doc> - <bugs-to>https://github.com/mautrix/slack/issues</bugs-to> - <remote-id type="github">mautrix/slack</remote-id> - </upstream> -</pkgmetadata> |
