net-im/mautrix-signal: drop 0.7.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
cc8d81979b
commit
ccd55b74f3
3 changed files with 0 additions and 80 deletions
|
@ -1,15 +0,0 @@
|
|||
BDEPEND=~dev-libs/libsignal-ffi-0.55.0 dev-libs/olm >=dev-lang/go-1.20:= app-arch/unzip virtual/pkgconfig
|
||||
DEFINED_PHASES=compile config install postinst unpack
|
||||
DEPEND=acct-user/mautrix-signal
|
||||
DESCRIPTION=A Matrix-Signal puppeting bridge
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/mautrix/signal
|
||||
INHERIT=go-module systemd
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=AGPL-3
|
||||
RDEPEND=acct-user/mautrix-signal
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/mautrix/signal/archive/v0.7.3.tar.gz -> mautrix-signal-0.7.3.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/mautrix-signal-0.7.3-deps.tar.xz
|
||||
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
|
||||
_md5_=fc0244420f6c569a5c34746a4d5b040c
|
|
@ -1,4 +1,2 @@
|
|||
DIST mautrix-signal-0.7.3-deps.tar.xz 32213664 BLAKE2B afb8412a1cf8018eeba75fb0149b9484ad6941ac5fb1721a8eccab569fa5ca622c28f5c30c7041840168b97c0ed1f2dfa509f1cda5d4517736b4fc6b34b517ce SHA512 27c299d1e150b1644a431d01b6f0a6ba3c224ac9e72c2924f1d48765617d4c9c757f1c0d4f71f13775b490988ae8c35cdaa5c7cde35ae453780a9df208ee3c9a
|
||||
DIST mautrix-signal-0.7.3.gh.tar.gz 268741 BLAKE2B 4b07ff54663b7895e84c1baf5fc5f2db5b35e115d69a72cb1a218bbfaa10c3f38c026cc53008178df70dc9373187e31c9977ef7e8820f0b55a1e4abf63bf2d80 SHA512 34b9e9e2acdee1d2a68081befa11bf1972c936972c72575a28c149a6620cc10a9381287d5d6553d34bc06b2e77a35ab23070f4f3f7c4e2594454fa24e7548913
|
||||
DIST mautrix-signal-0.7.4-deps.tar.xz 32207696 BLAKE2B d31c4f6ac35bae2019a0a785c95b59116cbf0e1d16da2cc7b83ddc24671c96e6898769a7af284c00c96dff9115c36df1131a2667d81d3a20beeb8bb19d310bf6 SHA512 0c5d04512797a61278802ef9916f7bc04983c28858337f3591c167eb5f55e57473e10ce769b805a440c3a77e7ae6329e03753083a4581e297715c705970f7af9
|
||||
DIST mautrix-signal-0.7.4.gh.tar.gz 270059 BLAKE2B a01a47c8456fd60d7275b15427e3aaaec4df89e05934f822e5ad31392fdf2abff4fb58fc907fc07e818a66828243d58b38386a647439aff53eff4b64192ef808 SHA512 9bee450a8c18b75a0b8f9df623f51eb6b6e327a44237ba4e0c74c961ee966a25fa1acdbcabda54100d955d6074582980bbab094f9b086dc51d1b8fcdafb4b0ca
|
||||
|
|
|
@ -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-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://herbizarre.swordarmor.fr/garbage/${P}-deps.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/signal-${PV}"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/${PN}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
~dev-libs/libsignal-ffi-0.55.0
|
||||
dev-libs/olm
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
ego build ${GOFLAGS} ./cmd/mautrix-signal
|
||||
}
|
||||
|
||||
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 "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"
|
||||
}
|
Loading…
Reference in a new issue