Compare commits
2 commits
5b8508e599
...
a508230e8c
Author | SHA1 | Date | |
---|---|---|---|
a508230e8c | |||
c33639debd |
4 changed files with 11 additions and 10 deletions
|
@ -5,11 +5,11 @@ DESCRIPTION=A Matrix-WhatsApp puppeting bridge.
|
||||||
EAPI=8
|
EAPI=8
|
||||||
HOMEPAGE=https://docs.mau.fi/bridges/go/whatsapp/index.html
|
HOMEPAGE=https://docs.mau.fi/bridges/go/whatsapp/index.html
|
||||||
INHERIT=systemd
|
INHERIT=systemd
|
||||||
IUSE=postgres
|
IUSE=+ffmpeg postgres
|
||||||
KEYWORDS=~amd64
|
KEYWORDS=~amd64
|
||||||
LICENSE=AGPL-3
|
LICENSE=AGPL-3
|
||||||
RDEPEND=acct-user/mautrix-whatsapp-bin postgres? ( >=dev-db/postgresql-10 ) !postgres? ( dev-db/sqlite )
|
RDEPEND=acct-user/mautrix-whatsapp-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/whatsapp/releases/download/v0.10.7/mautrix-whatsapp-amd64 -> mautrix-whatsapp-bin-0.10.7
|
SRC_URI=https://github.com/mautrix/whatsapp/releases/download/v0.10.7/mautrix-whatsapp-amd64 -> mautrix-whatsapp-bin-0.10.7
|
||||||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 systemd c8b03e8df84486aa991d4396686e8942
|
||||||
_md5_=493014f19b2546490a386b458d87647b
|
_md5_=6dd16315d60a8634b58f30d6ec418eac
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
AUX example-config.yaml 26191 BLAKE2B 83444eb498c1373b2e714ad6236bd915ab61e7ef52522765e2ea015eaa27ba5fc81feb260384b932867c6ff7ab99e7d282b6cf288fdd0abb0b9e1586b9ba49bb SHA512 eabc490b6da792ec2731e604501f261732c704bdf98759db4c60f7b405a51f15338e41bebb782684b2d198b43f9864d5b1c51a8d499fce71a390cc1268a78bb9
|
AUX example-config.yaml 26191 BLAKE2B 83444eb498c1373b2e714ad6236bd915ab61e7ef52522765e2ea015eaa27ba5fc81feb260384b932867c6ff7ab99e7d282b6cf288fdd0abb0b9e1586b9ba49bb SHA512 eabc490b6da792ec2731e604501f261732c704bdf98759db4c60f7b405a51f15338e41bebb782684b2d198b43f9864d5b1c51a8d499fce71a390cc1268a78bb9
|
||||||
AUX mautrix-whatsapp.service 754 BLAKE2B c3210c8b944dfa7e49f9a4ddb945beeac388c3f69e357f1e01e0842ce157a1af9b00826095c8961e1d1c768b48eac2c0a8c6cd62161b2128ee537677dec0b44f SHA512 3ba7dd21e2ff5e35bf47a30cc62419f726aaeaf512d2e50b79fd7c7521a3b1b29836925897e3a55006f8bbbf44329279eb4201267aebbb21508633fc984575cb
|
AUX mautrix-whatsapp.service 764 BLAKE2B 74d193674eee510839aa27ce21050ab1829a7d66834309ba2260e1824ca74596320da9bfc5faee92e39ad158bf6b21f879286d22f839d8e5924fc63e1f636e4b SHA512 cd2a8c85232e216271c140720d9124bcedc9b60aa6958c1c170a4bc74ebe4205d63807e32277c8a77fdf2d603c7e619ea86dc5708a5fe3a52f806bd1dd1777c5
|
||||||
DIST mautrix-whatsapp-bin-0.10.7 24497264 BLAKE2B a44f96a03510f7797f31c1ad5846944c154c297920e5a850794b1b5ba966d752eab0ce107af9d0a46970304f1782a959954ab98b5ce2f0926734ac6c71bd1e89 SHA512 bb175935336960e01072be22817196308fd770be0c972eccb2ca724c3cb18c9517bec69dccdd1e4500066b6ddb4b2318d23bae8b7faf88319b679dad3c8fb8be
|
DIST mautrix-whatsapp-bin-0.10.7 24497264 BLAKE2B a44f96a03510f7797f31c1ad5846944c154c297920e5a850794b1b5ba966d752eab0ce107af9d0a46970304f1782a959954ab98b5ce2f0926734ac6c71bd1e89 SHA512 bb175935336960e01072be22817196308fd770be0c972eccb2ca724c3cb18c9517bec69dccdd1e4500066b6ddb4b2318d23bae8b7faf88319b679dad3c8fb8be
|
||||||
EBUILD mautrix-whatsapp-bin-0.10.7-r1.ebuild 1075 BLAKE2B e9d2b261dce901073b8979167da7cf2d7504d31eb15d79bdfed2c48b01a67c6dd80b2fad14072326ab2ffe37606e2f2551b9db495ae86282c1aeaf22549c44b4 SHA512 cc166dce4571cdb676859b035c1b9505d70390a8e4c1922bd5342e6502e9902030684bf7779a3193433fd6af1c562792f24ea999a7573ca1cf49330895d4840f
|
EBUILD mautrix-whatsapp-bin-0.10.7-r1.ebuild 1121 BLAKE2B 87796a59e8468163ed122f00fe814fd58ad508807f264de901bd7b1e6dae36658dba17dcef5a0f30a35e9668c74b0b0fe2948936cdcc2381f8955e74f99181b9 SHA512 12aed332372c8d9526c348c4d91f9b54ec7d78963e04d76ce688efbacc6a9898fcba4148089992ad8f65046f395937af725db8ade4ba3c892103d332f26ff3e5
|
||||||
MISC metadata.xml 327 BLAKE2B b43501e0f83e76c07376c8ecbbeef40b1edb5541df3863b1d707378b357781e37d73a11bb47ba3e5f4a44ded424900342bc9a9ad5b1e2636a554bcdbbd96c755 SHA512 9974cd49059b27751c44655b90c20b0197e91f2aa42af2a45c4f40023cf23163c2aa8df6fe98e8090f4f92576383da50d7fb2035ea33b8b61cecf671d96af3f1
|
MISC metadata.xml 327 BLAKE2B b43501e0f83e76c07376c8ecbbeef40b1edb5541df3863b1d707378b357781e37d73a11bb47ba3e5f4a44ded424900342bc9a9ad5b1e2636a554bcdbbd96c755 SHA512 9974cd49059b27751c44655b90c20b0197e91f2aa42af2a45c4f40023cf23163c2aa8df6fe98e8090f4f92576383da50d7fb2035ea33b8b61cecf671d96af3f1
|
||||||
|
|
|
@ -3,14 +3,14 @@ Description=mautrix-whatsapp bridge
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
User=mautrix-signal-bin
|
User=mautrix-whatsapp-bin
|
||||||
WorkingDirectory=/opt/mautrix-signal
|
WorkingDirectory=/opt/mautrix-whatsapp
|
||||||
ExecStart=/opt/mautrix-signal/mautrix-signal
|
ExecStart=/opt/mautrix-whatsapp/mautrix-whatsapp
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=30s
|
RestartSec=30s
|
||||||
|
|
||||||
# Optional hardening to improve security
|
# Optional hardening to improve security
|
||||||
ReadWritePaths=/opt/mautrix-signal
|
ReadWritePaths=/opt/mautrix-whatsapp
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
MemoryDenyWriteExecute=true
|
MemoryDenyWriteExecute=true
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
|
|
@ -8,7 +8,7 @@ DESCRIPTION="A Matrix-WhatsApp puppeting bridge."
|
||||||
HOMEPAGE="https://docs.mau.fi/bridges/go/whatsapp/index.html"
|
HOMEPAGE="https://docs.mau.fi/bridges/go/whatsapp/index.html"
|
||||||
SRC_URI="https://github.com/mautrix/whatsapp/releases/download/v${PV}/mautrix-whatsapp-amd64 -> ${P}"
|
SRC_URI="https://github.com/mautrix/whatsapp/releases/download/v${PV}/mautrix-whatsapp-amd64 -> ${P}"
|
||||||
|
|
||||||
IUSE="postgres"
|
IUSE="+ffmpeg postgres"
|
||||||
|
|
||||||
LICENSE="AGPL-3"
|
LICENSE="AGPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
@ -16,6 +16,7 @@ KEYWORDS="~amd64"
|
||||||
|
|
||||||
DEPEND="acct-user/mautrix-whatsapp-bin"
|
DEPEND="acct-user/mautrix-whatsapp-bin"
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
|
ffmpeg? ( media-video/ffmpeg[opus] )
|
||||||
postgres? ( >=dev-db/postgresql-10 )
|
postgres? ( >=dev-db/postgresql-10 )
|
||||||
!postgres? ( dev-db/sqlite )"
|
!postgres? ( dev-db/sqlite )"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue