net-im/mautrix-signal: drop 0.7.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
ac44612160
commit
688a915f95
4 changed files with 1 additions and 81 deletions
|
@ -1,15 +0,0 @@
|
|||
BDEPEND=~dev-libs/libsignal-ffi-0.57.1 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.1.tar.gz -> mautrix-signal-0.7.1.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/mautrix-signal-0.7.1-deps.tar.xz
|
||||
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs d3d42b22a610ce81c267b644bcec9b87 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
|
||||
_md5_=38175e56099d4ddfd47bd54e31bc7d22
|
|
@ -11,5 +11,5 @@ 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 d3d42b22a610ce81c267b644bcec9b87 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
|
||||
_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.1-deps.tar.xz 53016000 BLAKE2B 578e37b0bccd646bd40c5a8ebb6a396dca922807f8a2283c2f1d14c622993a2accff6a08b44f616bed2aa98ac8812810003471e429f19c64d82fa19e516d410e SHA512 96f9a42c59c9bfa5f35c9c28cf8f3607528ac74f1948b5dafa4892d750f8cd1eea34d8072d5aa3e876812f5eb2a0bf7e5dd2cd1f551eba581956f0f09689e2e9
|
||||
DIST mautrix-signal-0.7.1.gh.tar.gz 268165 BLAKE2B 37680c913e7b9bb13c3fb558aeaf4bacf83856b7646c1aa4c700a62d388f0188bf21fc5bcedf3fbebbf6e9b468923fde0c1558a99874f1e6c66abbbe1ac6e0fe SHA512 1f0324d59a996da9b1f79d957c4497171523e3ce4e3e20795951fc1949dcb7897b0b2027fa98b67ebf4e9542288d56220a26abb447459c5e3e22405a098562ac
|
||||
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
|
||||
|
|
|
@ -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.57.1
|
||||
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