net-im/mautrix-slack: drop 0_pre20240215

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy 2025-01-11 17:26:49 -05:00
parent 4f4af717bd
commit a9ee15e826
No known key found for this signature in database
GPG Key ID: BEF2297448848842
2 changed files with 0 additions and 66 deletions

View File

@ -2,5 +2,3 @@ DIST mautrix-slack-0.1.3-deps.tar.xz 30422444 BLAKE2B 5a7cb539960b9a4facfc940d5a
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
DIST mautrix-slack-0_pre20240215.gh.tar.gz 98878 BLAKE2B 1c2fe565990d2ab0a1cb39c72b4bd3c8b9fcbb18978e785a1ad6f994d01a59b047f127db4c1dfa291dfae97d81f82c64200d1ccb10b5ade27391fdde40794529 SHA512 68636ee04a41f152f4a7d75e9ad6937ded86da84327031a04a17fdf9260422a2717f133fc6b1c25dc3364877d5f08e8915420a5f1e19a51957d6dcd6d364c697
DIST mautrix-slack-0_pre20240215.tar.xz 15847308 BLAKE2B e8f6b95899cbebab026fc90e76217c1c058baaa18146942feb75c34ca76a081f4d937ea270c076156d247de4e612bedc2eb4d2679d6dbc435723118d69a4000e SHA512 f4ef145e0514de0fb472e1b6bd8793dc6f9042b5ff6454a04ac631aef8f20fca6d5802707811f0bc3961d9b5d86839ec92298b1f87f69bec9ff49bec7a208dde

View File

@ -1,64 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module systemd
COMMIT="a9ba2f9249bdc5df69a1349122d1769e7e48c9e1"
DESCRIPTION="A Matrix-Slack puppeting bridge based on slack-go"
HOMEPAGE="https://github.com/mautrix/slack"
SRC_URI="https://github.com/mautrix/slack/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz
https://jroy.ca/dist/${P}.tar.xz
"
S="${WORKDIR}/slack-${COMMIT}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-user/${PN}
dev-libs/olm
"
DEPEND="${RDEPEND}"
src_compile() {
ego build
}
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/" "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"
}