commit: 22d7241575c278ed80acda1b1d88da30edfbfa03
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 7 14:07:40 2025 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Oct 7 14:50:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d72415
net-im/synapse: drop 1.136.0
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
net-im/synapse/Manifest | 4 -
net-im/synapse/synapse-1.136.0.ebuild | 355 ----------------------------------
2 files changed, 359 deletions(-)
diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index 02a5f72ecf57..a7045ab29335 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -133,7 +133,6 @@ DIST serde-1.0.224.crate 28268 BLAKE2B
10073484709ce136cd094b0ed92b122cda723511b
DIST serde_core-1.0.224.crate 62766 BLAKE2B
b71f1de590d5ca6b896a3e467418a0ce39dcf96ddb1cbbb9d7dc3128b746c3f326d517d862893c8bca9bf733cb236e50f6fa68936d6b0f7bc4d36f62de8bd1b5
SHA512
128915dfa6088894da24237fa2b7880b063700e18c411ccce72a47d7088940ffa0f90b054fae2e20bb4a122ca511150b02b346ec4d33c3ed0be3e7fbd05ee6b9
DIST serde_derive-1.0.219.crate 57798 BLAKE2B
071f02019f829a2753769ce915d11df8f0d202ca67314fe83b42e1f1f3d07bc91b7e7c38fe498a0513714f80d3a3dbf2b447b1f85762de06dd021119801afa89
SHA512
1676bbf09e11273705a35c540d52d35d1bba7cdf1f347d40a364d7ae9269167f9f0f62ff4fa384aaa613c83e432a8eb3c016587ea643bb11434c00664a5c116b
DIST serde_derive-1.0.224.crate 57909 BLAKE2B
3166166f8defbaada9c0ed120f31be020fc3eb1a74fbe03b5d6d596bdb59c040f2e87502f9f40fca15ae5f0c72fd38f6b6771b6f860dd0f8e08968c04f7129c3
SHA512
e35ce8cace6b17ece91b44efc5d0b0c07b2f9f5908da86fcdfe38c4d21b2c49207ffeccc4fc26341edcc556f8628ed9bb45c7f10352668708d0d9f853f71f58e
-DIST serde_json-1.0.141.crate 155322 BLAKE2B
efa3f32412d8aca8a1a49c186fe12b3f531d90f00a50e974dcd6abae9cc9b0ab595b31d5de57092eefa80aab66d8a61d41453df049076a9d0a7d3ed957710b28
SHA512
0d1d28bb79e3deca01e3e72f431395c8db7c86b9a175979c297d379f1ce3d60014c9cc1cbb688ddee673907717e2690d79178e776a5c2b247c062d1c4e0c4f6b
DIST serde_json-1.0.142.crate 155363 BLAKE2B
e4bea16f092dd38d09d0bd8bb8f375bbab7fbf22c567c19222243bfa181f8103fec872b13552ac5927741146b9dd7d1a1719f84ecf317d7aba258250f5fc46d8
SHA512
dc4dbfd356e7cf3bd82dc463dcae7a563be2146dae22230fc2586e3481a4e5f59314b7b00345da6d9ced2b15557acbe1380b127144c70cb708291f72a19a7ab0
DIST serde_json-1.0.143.crate 155342 BLAKE2B
c01be213f79cad1f3de35a1c5adab75121fb2a49cf261e46a5509d44f02e12a5b56db3cd6bf539e015ce59019faa636dae2f1ded25d7893c7a0e03f0c9d211da
SHA512
084fa35adc0d720c3868d57b2d4a2f30af08b650e876ee88014cf1b98d49079f5ddfe5b14743c63ebc5b9bd8291c6d03fd34f07b770a25874f00ea7c42bdde8b
DIST serde_json-1.0.145.crate 155748 BLAKE2B
fdb06251cf3a18f2f3685823585f4ac16f2f3b762e528e3f815168a6d7991d384eb140698f9f5c39c4ce04e17fbe062f3f9c07cfea9915415a7e1f9046b6a83e
SHA512
e2054b7914e6cde0c58e952d9c129f7fe8c55981b74a9700cb282480688868ebedeb44281c1e3ccef2e2a04a9a18fbdafc8a4d43169f4d09ce905808e4e056be
@@ -141,7 +140,6 @@ DIST serde_urlencoded-0.7.1.crate 12822 BLAKE2B
38c74ea862f041828467dfa586bad9b8
DIST sha1-0.10.6.crate 13517 BLAKE2B
85ad8dcd237125945f6f9c2d7a48bc9802dfe8398a2bac86ddb96763486092fa18e80a2e69f89cfd6e95599d34d60ced33b26a68cbbe39bf158238a79433584b
SHA512
fd37be7e3f1d4b6addd313a36b55215fb70abd21be7831b71de28bd3eb03b7352817d8a7b1a166df002c3a23eadc8224e49edd4a37556c0e5357565305d4128f
DIST sha2-0.10.9.crate 29271 BLAKE2B
1d614e0efe085cdb40e05726578a9b4ca6bce93f6d3324f5dc0444cb37054912cdaf5d28d468eac2c0046030d920fced2ccd006953b80865ce8a2d43ef3daa81
SHA512
963adeeb4ed8b0e7fc19085e8721ea13e9b3aea5d115ca1b3dbca495ad14810c6450991dd3753807c293c415aaeb1054b8b4124c72e7090cd9e86f09fcbb4f80
DIST shlex-1.3.0.crate 18713 BLAKE2B
18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d
SHA512
5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a
-DIST slab-0.4.10.crate 17810 BLAKE2B
eacdd594184053f879dfc8f0e1a14d3404a7698ec60c85e998d46bc18d6bbbf8e345f577ee2895a3a2205c6dfaee207785054f01c9cb62b4411d9d192b8b203d
SHA512
cd1915ba9c7766d5f1f551f6a431ffd768b75d2fbc6956afc8bf40877734ed2d443a0ceb66173c50fbc35fcbee17c1dbf2a336b26d25b2cf3a5105bf1bbaa20c
DIST slab-0.4.11.crate 18549 BLAKE2B
a4895b6dc87790946621e1d52b5bbdc0fd78db238d9164121a380f298b85be94eb3424405067e3a6d96ef42747680a8b2b5341373bf5733d5a62a4ae383fdd5b
SHA512
b2f199651b1d0f0eacca534ac2da714a2e9f642608c4874e7a1440ba7f035d061e117f518c51915f982befa2269da747c9e12e3b0599675e6218cdd8e30bfdcf
DIST smallvec-1.15.1.crate 38116 BLAKE2B
8dd779d7726694672945e928399e0459f4973d284a6c2d664c2fc757ebb1177658f47c812d9800e982479cbd7413fd4283c64a4d248ba5cff6397f96b758676e
SHA512
c26b097a063353beedfcc921129cd0fb838c1c9420218993a05b2655b47b6ec16f11e0054312018658b4abd893beee140c5d2739401a5e5aea2e64575f237047
DIST socket2-0.5.10.crate 58169 BLAKE2B
b3e6c1c4e20fea2951f07f74cc75fc46b81a6a94a02a3aeef27f2be0bd6ef996ef911c421d84f660bae4f2565dd74b8a0e708da965a4c1deaa273d9972974362
SHA512
901ad0549e2702a0062040fb5c9e5664f4456c9f065f8f8ab7ea16342d83c2ff69b087633642e08e2f51a63e2ce186c45428936118a78fd4f15378910bfa9d1f
@@ -149,7 +147,6 @@ DIST socket2-0.6.0.crate 57974 BLAKE2B
ecd0ebe429f1bedc9cc80415c787b061031e321a8
DIST stable_deref_trait-1.2.0.crate 8054 BLAKE2B
287a65c3e5b47213544a43e57c60a54add60b4c2e3c8d042407d860cc950ba7ca01a2e67ce56aed6744992b61ec1f9aed3321e3d88482e33129548b7d51df205
SHA512
a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03
DIST subtle-2.6.1.crate 14562 BLAKE2B
3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd
SHA512
f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd
DIST syn-2.0.104.crate 299699 BLAKE2B
f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7
SHA512
da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f
-DIST synapse-1.136.0.gh.tar.gz 9115501 BLAKE2B
bcca6ed246e0d86f568b45fb90627c10aa3d47968a0b5afee8b4c9cfcae4d5ae7aa8142d84786a9a124723d4798a3fcffcd2f4d675f061c4b215a36261bc9a2d
SHA512
3f7293747b41e6c7603a004cb38c55cdc69fefcdd61ac4e10e95ff9c6d0a5bf5113a13933747bb8fd7c5ca2c2126df2bcfe709807aafc05bd0748e1e9793330d
DIST synapse-1.137.0.gh.tar.gz 9113083 BLAKE2B
6f6a5a7d5058036c9fcce62cd9ca5a6fe0e7c65c54fc2a558568f92c971f2db9dcf060188b3723d7545998c9e2ca53c7de20514d3b52ff5ec5ae02fbd20237d9
SHA512
356ef08bb11dbe11f854dc17efd24c80394bcc4cf0a542ee1f0fb97c9322b2ef2ee80e0b3ab393bf75f98f314fcc391833ed9471963aec82c328defc58b05cbf
DIST synapse-1.138.0.gh.tar.gz 9114217 BLAKE2B
020c88fecdc8253ee5f9c5f6006c7b5fd7d7c2a563f776aaaa65f9ecaba17e85017216330401b93588f1582c5b6157cc9e98c23dd725d4741b6565c0cbbb15b9
SHA512
8f6d10e8c6c3078c2c84229d3d542725c6bc065948587b704faaa2d01b3361a300d76df6823d04dff41b0d6b8296a1dd79eaaf34c606577b29762d7760fb938d
DIST synapse-1.138.2.gh.tar.gz 9116689 BLAKE2B
54b8a30f6dfe3c25802f875025761b4d396efee6ac3dd28210f5354cc1378aa192e2104fd53e75d16793ce34d48a7fd74255c67eba8b6853187ddf5d2b3bed03
SHA512
ae17d1d0b350c8c56dd9df7648ec4e46725d0dc06dcea7851481d47853b3a594026e99fe5211cb549eb14373d800be80b5f4d61a65eb087b9f0c20488633ab29
@@ -164,7 +161,6 @@ DIST thiserror-impl-2.0.12.crate 21141 BLAKE2B
091cfa822bdf6cbe0730ac0ddc19c6102
DIST tinystr-0.8.1.crate 23333 BLAKE2B
59bc4a522d81bc53c7acff215ec711e0f340c3884858fd4e985d655eb620d4a8b2679854e23f035bbcb6d795647fd314e26707eda564f07c05850c010db084a2
SHA512
07e32300424c9adf7e8bb830efdfcb23460b712c72c3eff11b9d00f1496c8082659bab52914cbac0bd26e45c352fcb859fc6b1cfbb2028a49cfc03e75ab0ea2a
DIST tinyvec-1.9.0.crate 54137 BLAKE2B
68a96ec0ffa392586c3bdadf2323b2a3b416ecb81db5d18ae0e05187b097c7882da6678bc881e70f935554862fab5cf41ae590b27e0fab7c1c73995449b84f5f
SHA512
5f42811be51c58c72b80fe9a7199250fb6176f5766dc774b39ff656ae5ebead0d9c91ed7db1046288b8e05e20edba36455e4cc6fc0766c60898187f30c232aab
DIST tinyvec_macros-0.1.1.crate 5865 BLAKE2B
2bf4f68ca11dc19c72232951605a4c809b34ff38ee365ee4f592a3c41360e23c9330cfba961e2692a0ad568fef4aaaac51c40808d491178cf7a0c4b5a1c5d484
SHA512
10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e
-DIST tokio-1.47.0.crate 828980 BLAKE2B
5610300c8ce0ef704e816f550482682f4fbd1f2b05b7ec119a9c72178b27e086ac80d73f150518ad81b523d1a7bdb4835aaeec32e77dce01ec5ca224fd6a5409
SHA512
4744124dc0e50ed1194ba0d013c5235db732023daac63bcc9667ebd4b2e2c38758cdb00b339edff856df9994eb9406aa3dd31fcaecebf2a5732806efeaab4912
DIST tokio-1.47.1.crate 829790 BLAKE2B
7f5ff6a8092648e1643867981c79987da014478f776658666c340b0d5e11aea0aaff5d2402c40134fbc6e53266873dd0d95a75c18cc55bdde2e76da709f4aa88
SHA512
67ee7dbf9ff9cab24092742b0a5fe87d86852f06131e5a610ae603e3071446e06a5efd4b385ee9cfb0ff02c4a04f082f715dab41f12987154af54665e9429daf
DIST tokio-rustls-0.26.2.crate 31655 BLAKE2B
44a569a4aa8c13f2153a18ac56e6ce6b5b9c9adb4ba6d94c1b9579e340233e614cd61da26670f74080c870b54e0d7f5f008692120a823782144cbe42e97bbdb0
SHA512
c0ff373e02c90704d8bff39b634d118143bcdb3d657e491d7d9279bd5a0a166541c759b5a26f5348fecc4d3a1f11c8ce3127df217137f68c57db581714bfc735
DIST tokio-util-0.7.15.crate 124255 BLAKE2B
f24525a3ec474921cc5d8d1dc12355f8ea5e7747be5299eeff00664ec0f6f6edbc33bb1613f64dc47ee6117c0d32cb6f770bec72f3b0bd549aff392969097622
SHA512
032158c36673c589ba09c52fe37bd0c700956fc4f89a7991f3cf93b04c8a12d51d1e05b8c6f493c7ebae7985e653bc3fb8bad590cefe329a1b1fa94182649520
diff --git a/net-im/synapse/synapse-1.136.0.ebuild
b/net-im/synapse/synapse-1.136.0.ebuild
deleted file mode 100644
index 664699d60bf2..000000000000
--- a/net-im/synapse/synapse-1.136.0.ebuild
+++ /dev/null
@@ -1,355 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{11..13} )
-
-RUST_MIN_VER="1.82.0"
-CRATES="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+wasi-snapshot-preview1
- [email protected]+wasi-0.2.4
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-inherit cargo distutils-r1 multiprocessing optfeature systemd
-
-DESCRIPTION="Reference implementation of Matrix homeserver"
-HOMEPAGE="
- https://matrix.org/
- https://github.com/element-hq/synapse
-"
-SRC_URI="
- https://github.com/element-hq/${PN}/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
- ${CARGO_CRATE_URIS}
-"
-
-LICENSE="AGPL-3+"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64"
-IUSE="postgres selinux systemd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- acct-user/synapse
- acct-group/synapse
- dev-python/attrs[${PYTHON_USEDEP}]
- dev-python/bcrypt[${PYTHON_USEDEP}]
- dev-python/bleach[${PYTHON_USEDEP}]
- >=dev-python/canonicaljson-2[${PYTHON_USEDEP}]
- dev-python/cryptography[${PYTHON_USEDEP}]
- dev-python/ijson[${PYTHON_USEDEP}]
- dev-python/immutabledict[${PYTHON_USEDEP}]
- >=dev-python/jinja2-3.0[${PYTHON_USEDEP}]
- dev-python/jsonschema[${PYTHON_USEDEP}]
- >=dev-python/matrix-common-1.3.0[${PYTHON_USEDEP}]
- dev-python/msgpack[${PYTHON_USEDEP}]
- dev-python/netaddr[${PYTHON_USEDEP}]
- dev-python/packaging[${PYTHON_USEDEP}]
- dev-python/phonenumbers[${PYTHON_USEDEP}]
- >=dev-python/pillow-10.0.1[${PYTHON_USEDEP},webp]
- dev-python/prometheus-client[${PYTHON_USEDEP}]
- dev-python/pyasn1-modules[${PYTHON_USEDEP}]
- dev-python/pyasn1[${PYTHON_USEDEP}]
- dev-python/pydantic[${PYTHON_USEDEP}]
- dev-python/pymacaroons[${PYTHON_USEDEP}]
- dev-python/pyopenssl[${PYTHON_USEDEP}]
- >=dev-python/python-multipart-0.0.12-r100[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/service-identity[${PYTHON_USEDEP}]
- dev-python/signedjson[${PYTHON_USEDEP}]
- dev-python/sortedcontainers[${PYTHON_USEDEP}]
- dev-python/treq[${PYTHON_USEDEP}]
- dev-python/twisted[${PYTHON_USEDEP}]
- dev-python/typing-extensions[${PYTHON_USEDEP}]
- dev-python/unpaddedbase64[${PYTHON_USEDEP}]
- postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- selinux? ( sec-policy/selinux-matrixd )
- systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
-"
-BDEPEND="
- acct-user/synapse
- acct-group/synapse
- dev-python/setuptools-rust[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- dev-python/hiredis[${PYTHON_USEDEP}]
- dev-python/idna[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- dev-python/txredisapi[${PYTHON_USEDEP}]
- postgres? ( dev-db/postgresql[server] )
- )
-"
-
-# Rust extension
-QA_FLAGS_IGNORED="usr/lib/python3.*/site-packages/synapse/synapse_rust.abi3.so"
-
-src_test() {
- if use postgres; then
- einfo "Preparing postgres test instance"
- initdb --pgdata="${T}/pgsql" || die
- pg_ctl --wait --pgdata="${T}/pgsql" start \
- --options="-h '' -k '${T}'" || die
- createdb --host="${T}" synapse_test || die
-
- # See
https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#running-tests-under-postgresql
- local -x SYNAPSE_POSTGRES=1
- local -x SYNAPSE_POSTGRES_HOST="${T}"
- fi
-
- # This remove is necessary otherwise python is not able to locate
- # synapse_rust.abi3.so.
- rm -rf synapse || die
-
- nonfatal distutils-r1_src_test
- local ret=${?}
-
- if use postgres; then
- einfo "Stopping postgres test instance"
- pg_ctl --wait --pgdata="${T}/pgsql" stop || die
- fi
-
- [[ ${ret} -ne 0 ]] && die
-}
-
-python_test() {
- "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests
-}
-
-src_install() {
- distutils-r1_src_install
- keepdir /var/{lib,log}/synapse /etc/synapse
- fowners synapse:synapse /var/{lib,log}/synapse /etc/synapse
- fperms 0750 /var/{lib,log}/synapse /etc/synapse
- newinitd "${FILESDIR}/${PN}.initd-r1" "${PN}"
- systemd_dounit "${FILESDIR}/synapse.service"
-}
-
-pkg_postinst() {
- optfeature "Redis support" dev-python/txredisapi
- optfeature "VoIP relaying on your homeserver with turn" net-im/coturn
-
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- einfo
- elog "In order to generate initial configuration run:"
- elog "sudo -u synapse synapse_homeserver \\"
- elog " --server-name matrix.domain.tld \\"
- elog " --config-path /etc/synapse/homeserver.yaml \\"
- elog " --generate-config \\"
- elog " --data-directory /var/lib/synapse \\"
- elog " --report-stats=no"
- einfo
- else
- einfo
- elog "Please refer to upgrade notes if any special steps are
required"
- elog "to upgrade from the version you currently have installed:"
- elog
- elog "
https://github.com/element-hq/synapse/blob/develop/docs/upgrade.md"
- einfo
- fi
-}