Compare commits
2 commits
843252efe1
...
5b8508e599
Author | SHA1 | Date | |
---|---|---|---|
5b8508e599 | |||
4d4f4d5564 |
4 changed files with 16 additions and 13 deletions
|
@ -5,11 +5,11 @@ DESCRIPTION=A Matrix-Signal puppeting bridge.
|
||||||
EAPI=8
|
EAPI=8
|
||||||
HOMEPAGE=https://docs.mau.fi/bridges/go/signal/index.html
|
HOMEPAGE=https://docs.mau.fi/bridges/go/signal/index.html
|
||||||
INHERIT=systemd
|
INHERIT=systemd
|
||||||
IUSE=+ffmpeg
|
IUSE=+ffmpeg postgres
|
||||||
KEYWORDS=~amd64
|
KEYWORDS=~amd64
|
||||||
LICENSE=AGPL-3
|
LICENSE=AGPL-3
|
||||||
RDEPEND=acct-user/mautrix-signal-bin ffmpeg? ( media-video/ffmpeg[opus] )
|
RDEPEND=acct-user/mautrix-signal-bin ffmpeg? ( media-video/ffmpeg[opus] ) postgres? ( >=dev-db/postgresql-10 ) !postgres? ( dev-db/sqlite )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=https://github.com/mautrix/signal/releases/download/v0.5.1/mautrix-signal-amd64 -> mautrix-signal-bin-0.5.1
|
SRC_URI=https://github.com/mautrix/signal/releases/download/v0.6.0/mautrix-signal-amd64 -> mautrix-signal-bin-0.6.0
|
||||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
||||||
_md5_=ad83bd630a58ada81dffce873be81d38
|
_md5_=b31c38ea793717828266d71347c44b79
|
|
@ -1,5 +1,5 @@
|
||||||
AUX example-config.yaml 16358 BLAKE2B 8398daaa7ba496f52e1cab6c39ca3db278640cca207c24d13aab7106fc2b8c1e78b2bbc2689faf2daa13e7e5094f30006dc4d1340117d8fa1963a37ace079279 SHA512 882168dc62d8e45310c31b60424e2401b4f777e90012cbafda68af0d86c09e51ea864ad6dc28a400d18d83e33d8ca97841c4f75ec17192c705662830b6751427
|
AUX example-config.yaml 16458 BLAKE2B a61ee998de5d9f12d267dce16905777337bf0ef2d7f085e1a9dc22e5d05fd84e0312f8903587d8382f93e4a52fc3e4251320b319077ffec17577ff8f7820906b SHA512 d56f19bb94bcfc26ec87ee3ae1a85ef9826d596f9223dd8320333bd4a01d8b26214ea00af2783fac85e8c3cb501aa4f6fee7e3eec0eeace642ffab6906f9b6d2
|
||||||
AUX mautrix-signal.service 752 BLAKE2B a6ede48e7e59ce5d845b14346a417673833e8dec6a764f5ada951d10e39a7412beed5663746bc47dcaefcab9a9521fb02e516f828cad252b508e56ae992e13e3 SHA512 2d9fa8ad00cc5b607668789e5493475ad012bc62b9928ecbdbd19738dee6ccc7d98b8558f1e624764cd76b134cea126430cf3f682efa019a0a4cce7007276db2
|
AUX mautrix-signal.service 752 BLAKE2B a6ede48e7e59ce5d845b14346a417673833e8dec6a764f5ada951d10e39a7412beed5663746bc47dcaefcab9a9521fb02e516f828cad252b508e56ae992e13e3 SHA512 2d9fa8ad00cc5b607668789e5493475ad012bc62b9928ecbdbd19738dee6ccc7d98b8558f1e624764cd76b134cea126430cf3f682efa019a0a4cce7007276db2
|
||||||
DIST mautrix-signal-bin-0.5.1 33327672 BLAKE2B ac4bea98b1a20b1b22429c4452356623576c11779ce6d1ad3d5977c7e0314efee4cdc4d74611e8b0113d23545007686bbf4d1e305e5af130f14383fb638cfe7b SHA512 4a7cc89eff8181acb009f2afa205035894662b963672199e5a4d8f1ef780417082ca6bdb00a589307af9cce6013add8afce3892e8db1249cf0576a1e9322a5c7
|
DIST mautrix-signal-bin-0.6.0 34229112 BLAKE2B d230a1770779bd174d05945d032162c77d5cdf66767711b96f8bc35ea7862d94e68cc93906422ca1d15f05d6b95401b243424c5b61d54532936433b3e8733b86 SHA512 80608a2712a9893b9e94bc0df9e3d3290a22e14139c382ee555cebdb9b32627bb93f15164194628a4c6d6ded2553b049b3e981a99cf76ec7d4b0a755e1eba60e
|
||||||
EBUILD mautrix-signal-bin-0.5.1-r1.ebuild 1011 BLAKE2B 090cb9325945d39a9bb1aa6ae0a71ab36ae3aecdfb7836b0cff6c34e7a3ca25f2e9c4bcdf9bd23ed2382256342fa9e934294aa71476b8eeea15b2797688cb312 SHA512 dca89fc2b4c1b3377333c01fd9e5222371d77d2299ccaa00e916acc086463a7453d12d8ded846a1e2d9c25f5014a7b9807b5947b8fe58e32a7e2114f80912633
|
EBUILD mautrix-signal-bin-0.6.0.ebuild 1085 BLAKE2B 767448125e3d33c33fb1afb601789fd468b2fc8555061efdeb086d72f6ba5ad264dbf06066c023184a1ff46b62c5ff0bcb37c86d5d260ebdbbd0863bcf31ec2a SHA512 f5fa952d4114420438924cab0c38d48b5eb22170dc644c726be538cce9571009c361e7c62e7e36cb3ca38dd9aab7669e8700dff5b998e7d3bd47e7e70e2bbc21
|
||||||
MISC metadata.xml 419 BLAKE2B 2266b6db5dd7f21725112ada4aec9658c95fbf00cc1673497a12478bf8ad975de5cb4716097a84c6db3847a9239160b5f29f607384efc8be2fc6a2e8646e1ad9 SHA512 038ea7d0764eabd581dd9259b237aa05073405b0fccccc1113ab4b54ae14876050013baf62ab5664039af86c4651016d58f538f1eb789c58b1326118a7511135
|
MISC metadata.xml 419 BLAKE2B 2266b6db5dd7f21725112ada4aec9658c95fbf00cc1673497a12478bf8ad975de5cb4716097a84c6db3847a9239160b5f29f607384efc8be2fc6a2e8646e1ad9 SHA512 038ea7d0764eabd581dd9259b237aa05073405b0fccccc1113ab4b54ae14876050013baf62ab5664039af86c4651016d58f538f1eb789c58b1326118a7511135
|
||||||
|
|
|
@ -255,7 +255,8 @@ bridge:
|
||||||
# Disable rotating keys when a user's devices change?
|
# Disable rotating keys when a user's devices change?
|
||||||
# You should not enable this option unless you understand all the implications.
|
# You should not enable this option unless you understand all the implications.
|
||||||
disable_device_change_key_rotation: false
|
disable_device_change_key_rotation: false
|
||||||
|
# Should leaving the room on Matrix make the user leave on Signal?
|
||||||
|
bridge_matrix_leave: true
|
||||||
# Settings for provisioning API
|
# Settings for provisioning API
|
||||||
provisioning:
|
provisioning:
|
||||||
# Prefix for the provisioning API paths.
|
# Prefix for the provisioning API paths.
|
||||||
|
|
|
@ -8,7 +8,7 @@ DESCRIPTION="A Matrix-Signal puppeting bridge."
|
||||||
HOMEPAGE="https://docs.mau.fi/bridges/go/signal/index.html"
|
HOMEPAGE="https://docs.mau.fi/bridges/go/signal/index.html"
|
||||||
SRC_URI="https://github.com/mautrix/signal/releases/download/v${PV}/mautrix-signal-amd64 -> ${P}"
|
SRC_URI="https://github.com/mautrix/signal/releases/download/v${PV}/mautrix-signal-amd64 -> ${P}"
|
||||||
|
|
||||||
IUSE="+ffmpeg"
|
IUSE="+ffmpeg postgres"
|
||||||
|
|
||||||
LICENSE="AGPL-3"
|
LICENSE="AGPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
@ -16,7 +16,9 @@ KEYWORDS="~amd64"
|
||||||
|
|
||||||
DEPEND="acct-user/mautrix-signal-bin"
|
DEPEND="acct-user/mautrix-signal-bin"
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
ffmpeg? ( media-video/ffmpeg[opus] )"
|
ffmpeg? ( media-video/ffmpeg[opus] )
|
||||||
|
postgres? ( >=dev-db/postgresql-10 )
|
||||||
|
!postgres? ( dev-db/sqlite )"
|
||||||
|
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
@ -33,11 +35,11 @@ src_install() {
|
||||||
doexe mautrix-signal
|
doexe mautrix-signal
|
||||||
|
|
||||||
insinto /opt/mautrix-signal
|
insinto /opt/mautrix-signal
|
||||||
doins "${FILESDIR}/example-config.yaml"
|
newins "${FILESDIR}/example-config.yaml" config.yaml
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/mautrix-signal.service
|
systemd_dounit "${FILESDIR}"/mautrix-signal.service
|
||||||
|
|
||||||
fowners mautrix-signal-bin:mautrix-signal-bin /opt/mautrix-signal/mautrix-signal
|
fowners mautrix-signal-bin:mautrix-signal-bin /opt/mautrix-signal/mautrix-signal
|
||||||
fowners mautrix-signal-bin:mautrix-signal-bin /opt/mautrix-signal/example-config.yaml
|
fowners mautrix-signal-bin:mautrix-signal-bin /opt/mautrix-signal/config.yaml
|
||||||
fperms 0640 /opt/mautrix-signal/example-config.yaml
|
fperms 0640 /opt/mautrix-signal/config.yaml
|
||||||
}
|
}
|
Loading…
Reference in a new issue