Set the correct permissions #141

Merged
manuel merged 2 commits from feature/set-permissions into main 2024-04-26 15:23:44 +02:00
3 changed files with 5 additions and 5 deletions

View file

@ -12,4 +12,4 @@ RDEPEND=acct-user/mautrix-whatsapp-bin postgres? ( >=dev-db/postgresql-10 ) !pos
SLOT=0
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
_md5_=4714090438fbd56e926a2243913ef4e2
_md5_=493014f19b2546490a386b458d87647b

View file

@ -1,5 +1,5 @@
AUX example-config.yaml 26191 BLAKE2B 83444eb498c1373b2e714ad6236bd915ab61e7ef52522765e2ea015eaa27ba5fc81feb260384b932867c6ff7ab99e7d282b6cf288fdd0abb0b9e1586b9ba49bb SHA512 eabc490b6da792ec2731e604501f261732c704bdf98759db4c60f7b405a51f15338e41bebb782684b2d198b43f9864d5b1c51a8d499fce71a390cc1268a78bb9
AUX mautrix-whatsapp.service 754 BLAKE2B c3210c8b944dfa7e49f9a4ddb945beeac388c3f69e357f1e01e0842ce157a1af9b00826095c8961e1d1c768b48eac2c0a8c6cd62161b2128ee537677dec0b44f SHA512 3ba7dd21e2ff5e35bf47a30cc62419f726aaeaf512d2e50b79fd7c7521a3b1b29836925897e3a55006f8bbbf44329279eb4201267aebbb21508633fc984575cb
DIST mautrix-whatsapp-bin-0.10.7 24497264 BLAKE2B a44f96a03510f7797f31c1ad5846944c154c297920e5a850794b1b5ba966d752eab0ce107af9d0a46970304f1782a959954ab98b5ce2f0926734ac6c71bd1e89 SHA512 bb175935336960e01072be22817196308fd770be0c972eccb2ca724c3cb18c9517bec69dccdd1e4500066b6ddb4b2318d23bae8b7faf88319b679dad3c8fb8be
EBUILD mautrix-whatsapp-bin-0.10.7.ebuild 1094 BLAKE2B b3202be603c7b1375cfe5069685ab866643b7d2214dec9ee5ea147884a22c76b316039b411c4209a3eba988eac2b53f3250f0836c70a263b2fad9a5b0608a75c SHA512 7c570798303079629b65aa82b368817dc31e6e2e9134727f7edfb6bebc48ed10dfb1c6693124ff8040d7b5a26f2c75a2d03016d59780f5e741a67d830289ba40
EBUILD mautrix-whatsapp-bin-0.10.7-r1.ebuild 1075 BLAKE2B e9d2b261dce901073b8979167da7cf2d7504d31eb15d79bdfed2c48b01a67c6dd80b2fad14072326ab2ffe37606e2f2551b9db495ae86282c1aeaf22549c44b4 SHA512 cc166dce4571cdb676859b035c1b9505d70390a8e4c1922bd5342e6502e9902030684bf7779a3193433fd6af1c562792f24ea999a7573ca1cf49330895d4840f
MISC metadata.xml 327 BLAKE2B b43501e0f83e76c07376c8ecbbeef40b1edb5541df3863b1d707378b357781e37d73a11bb47ba3e5f4a44ded424900342bc9a9ad5b1e2636a554bcdbbd96c755 SHA512 9974cd49059b27751c44655b90c20b0197e91f2aa42af2a45c4f40023cf23163c2aa8df6fe98e8090f4f92576383da50d7fb2035ea33b8b61cecf671d96af3f1

View file

@ -38,7 +38,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/mautrix-whatsapp.service
# fowners mautrix-whatsapp-bin:mautrix-whatsapp-bin /opt/mautrix-whatsapp/mautrix-whatsapp
# fowners mautrix-whatsapp-bin:mautrix-whatsapp-bin /opt/mautrix-whatsapp/example-config.yaml
# fperms 0640 /opt/mautrix-whatsapp/example-config.yaml
fowners mautrix-whatsapp-bin:mautrix-whatsapp-bin /opt/mautrix-whatsapp/mautrix-whatsapp
fowners mautrix-whatsapp-bin:mautrix-whatsapp-bin /opt/mautrix-whatsapp/config.yaml
fperms 0640 /opt/mautrix-whatsapp/config.yaml
}