commit: fcbdd36e5dd67ac587a3122a14576175e74025a6 Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Sun Apr 23 17:22:38 2023 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Sun Apr 23 17:22:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcbdd36e
net-im/mautrix-slack: drop 0_pre20230124 Signed-off-by: Julien Roy <julien <AT> jroy.ca> net-im/mautrix-slack/Manifest | 2 - .../mautrix-slack-0_pre20230124.ebuild | 64 ---------------------- 2 files changed, 66 deletions(-) diff --git a/net-im/mautrix-slack/Manifest b/net-im/mautrix-slack/Manifest index a873e2c8b..d7a2ecbae 100644 --- a/net-im/mautrix-slack/Manifest +++ b/net-im/mautrix-slack/Manifest @@ -1,4 +1,2 @@ -DIST mautrix-slack-0_pre20230124.gh.tar.gz 92932 BLAKE2B 502f633e649e5ce38136593df8ad347de1d7e524c4165f801641951a887412d3b9fd071ef6e19e14684f69f1d17f11689d310021bc0bd850bbef5b607640a597 SHA512 f548673e91a520236f6ec6201758eec28790a2862eeeb8ecec1060ca150203f2a4940563c802eba245066d8e33539fd09fd88fc862f80a0d303b63bf1e0c31fe -DIST mautrix-slack-0_pre20230124.tar.xz 14514900 BLAKE2B 9c8e114606f3656cf6a3996608a1d750f655b8d395787093ad87cbe65f0a3ca6d20b5597dd791af87eeab5813fd83c8f35f7377b2ddb150fe93396f9cb5eb800 SHA512 8e7557ddb6c5479707d14a52410859b56f7068f9932b4f546d0d4d8feda5ba9514c8f5175976b8eb0837f9deb3f761d737268cb3582aa466335bc3cf41a6a12b DIST mautrix-slack-0_pre20230414.gh.tar.gz 94370 BLAKE2B 56cb12269fb6695aaf6ed3485166732b5f526e00f6a0237b2c2d1fe7f36eda15bf2ba26560b31069cda3f1229645f64bb99c9e6ce88d6c8d441af4e338071875 SHA512 7374b87892c92ca7dd493d1886bc24a8916931951be8c3e5799d223931a18bbf2d7a93dc02e4c6714f53e1b3c9005272e278a60578859d48f8882b50488de52b DIST mautrix-slack-0_pre20230414.tar.xz 14805340 BLAKE2B 2fabcacf24edca667143c7dfac108932af7edfe8d991331eb9c06c52de1669184942600224907c4dfe690d85a0a19306398c62d6f3e6b8aba4b243dd72eaffc0 SHA512 0f121cf01565a14e1d692b8d646b83c20ecf0082b3c61300fbfeb8a6e5b8f0631ea7c2fc3a9e64e851abb7cf9ec53e1c8e5e20324cd43d71c7e72cb8275cba24 diff --git a/net-im/mautrix-slack/mautrix-slack-0_pre20230124.ebuild b/net-im/mautrix-slack/mautrix-slack-0_pre20230124.ebuild deleted file mode 100644 index fca96c067..000000000 --- a/net-im/mautrix-slack/mautrix-slack-0_pre20230124.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -COMMIT="67b1e7b1ff9a01d82f46187f2b9bdbadea69b63b" -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" -}
