summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-30 04:55:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-30 04:55:37 +0000
commite984f0bb49fed14c51c7c15ed8d7b8bd2cca4b1d (patch)
tree99c30d1c04aa29f440b825a7bf68be3c8f9e75d1 /net-im
parente7b6f003e8384cdfc8c0e7603329e969d8806c24 (diff)
gentoo auto-resync : 30:11:2023 - 04:55:37
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Manifest.gzbin9413 -> 9407 bytes
-rw-r--r--net-im/synapse/Manifest5
-rw-r--r--net-im/synapse/synapse-1.97.0.ebuild210
3 files changed, 215 insertions, 0 deletions
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz
index ff98714bbe1b..5221aa486273 100644
--- a/net-im/Manifest.gz
+++ b/net-im/Manifest.gz
Binary files differ
diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index 3c85683ea970..7a3236e0c1d6 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -51,10 +51,13 @@ DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017a
DIST serde-1.0.188.crate 76230 BLAKE2B 81e92adf17e3f2ce73c82e3069b8fd656211cfeb6755abd338b74d52f748f5bba6690abf5c83ea2a126fbd6187bc587b539f0ebcf621e928085876f28fbb9513 SHA512 7d42ce834bcd1034f8ccbcd6646cc93f8e189e344f29f4d7b0ab148ba11ce7848d0ab986dce7a0245fcd6893243f5768f7bc0ca9c24c75c53585ecc899d312d2
DIST serde-1.0.189.crate 76276 BLAKE2B e4cf8d9608f341007f9a92af434395659511238040ddd2cec137539a51c05b949f79c4965ad9ec25f67a72fe8341573f2d1075766f7ab5842a107b12e0468a3a SHA512 3fb1732f6866db8412cbc4ceb57bc8f90cbee005e2687a388b052e5b94dd464aebff57a91cc8ce5da62508bfbd6cc4e14a524090a5fa60724cc9bd1bb5ea1035
DIST serde-1.0.190.crate 76455 BLAKE2B d0f6a52615136d810760c6da3078387abc67ff5119e25953004d470ec6f5c569abf1c324b777c004714b4b15bd49a9972ec592372c807b26f3b4f124d534c833 SHA512 7f1cbe819fbae803865beb20b5d8b9fa52d503e04083be7181c1d04b702aaecf553796db960bfea87dc17ef864246e78a919219588064fb083e77dd2c6c16ce1
+DIST serde-1.0.192.crate 76866 BLAKE2B 4920089921e23bbc9180d413cff34277683db1881d7e65c5fd9dc8bad2beae954d2429c9c2049b3e98bc04314ef059e59562c936d6c767681e75b84aa0a2a468 SHA512 b34cea6034a14a6785b3023d0a1c2cb5b1c2756c28f02ea20ba62a657ba54e9d04096a54c4fdde3ff4094913dba46c99713828de4287186bf9dd3f7d89dda0c3
DIST serde_derive-1.0.188.crate 55563 BLAKE2B 3b24044915a704d9d8a2cae6e6547ecffea7ee3fd4260ddb2bf7fa38b23fd7fc597b61ac28bf65b9f0d45e18ffd6bc7596f5a3d602cc79835697fb3f5440242f SHA512 fa9132a319f7829e6afad65289031be99255466d76270875d9d81f82f63e53592eaef5452d0df38da92e9d0b6f2b37e91026635fff4bf597b0ae662b71b5eff0
DIST serde_derive-1.0.189.crate 55708 BLAKE2B 6f49c1a8ef5402251d6bdbfcc03fa411c0440d292fb03bbe38e9d4f9eacc128c60a33bbdcdb5fceeb4e0a6f6eace56b8da16f90fffda08c580b87409ac5c3d29 SHA512 54bf81d6a18297d57122d8eca3fa4fd60a13907fe65bb68081c6f9c0f8c13f3f3206f74a0e9e3c3546c8581b8f7d4af92dd74fe4172f039d3022eda031e1e342
DIST serde_derive-1.0.190.crate 55676 BLAKE2B a6558987927298a6551a52d7a8e265acf1a3a0576716a881329803637b6f7ee7b3329e161bf5b37e410264c03913c2c16166df7dd25110b1295d61806600f4f2 SHA512 5b37b659c45ab95b0333d787cc5e8374076121d548837556774cbe768073b02aef4a6889e32b738ce5d85613264ba78570c0af48d049102d4d687ad791dd09ea
+DIST serde_derive-1.0.192.crate 55690 BLAKE2B 1e9706fdf38880989cf907c36d1f72b5b211fc6f263a4ee35d5f7106aea0a792fd79a3361d09f831e06ce0a43680647952a8478bd1001f617d2571be428b5516 SHA512 67ad208291c8d7063adce4bface5d963488c43a326e77a89970f86f65e8f77856e173d134718f64eb80dce67283df1951022c12300dea0b4d9570fb7f637643a
DIST serde_json-1.0.107.crate 146458 BLAKE2B 753be6076826ee0ba41a067e81c031e6fd69b539086a2d649e6595136fd05d61b717c3d4cb6774af0a0c02102f7f4588e682bd21732450afa93877d093596880 SHA512 ecd4ef86538df402f2a397cb86c5b4b277a9a43d742e2af3d51ab5ac0ba31c677bfc72db06c10f8abbc970ee41d5f77d758f1f70ea18495d96bf78cb7d66c2bc
+DIST serde_json-1.0.108.crate 146476 BLAKE2B 9c0ceae5566a4e0ce7a6264939862f9dd920bb47d18acebb179798b036c376d97a4e9b0717092903ab90cfbf6fb73d37518e3cc25f3217af010296f5644de396 SHA512 7d8d1b74515388d99983ffbc5696cba022305cf4c797d3ff5d2959fc8fc8f4ce01cc4c9e7ccae7097b06b5acf5307027f6b7315df1fd8f58e681cc5968e79fb6
DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae
DIST subtle-2.4.1.crate 12630 BLAKE2B 05a90232bfdc2cf67522e2972bddcd8dc9a165b1d1cf775d0b1c8358fc7c4d0559b2b899126b6688b8ef77b8b7580b3b300f74a599a7ee77f99c064a3917693b SHA512 7fd8234b7ffa3ca7e473539cad958df0842186e1dd735905e0d4977564f40a5f2e18b58180fcbe52614a00964dc150bd9f6964500847ea658f22bffe030f5c6a
DIST syn-1.0.104.crate 236683 BLAKE2B 865904923ecac469f1d92bab04ea9ee384be0592c7a303d9d0f2f4bc755744bd883372c215a8f1add8bc2728d7c2c27489ab292fc8a89bdce918fc4a32deae44 SHA512 8feabd8e6b1b5eb15077d7c92f0b3269e848d33b1f233b3df343b6d445ed332fb23e0222911a13edfd82cee969d25c43434268cd7a20ce1c0a608a1bbe327b29
@@ -62,6 +65,7 @@ DIST syn-2.0.28.crate 241635 BLAKE2B 5784468a0dd04eb298821ae5a3facf72c5fe5907cc4
DIST synapse-1.93.0.gh.tar.gz 8382894 BLAKE2B 8fa62d9b2582c9a637b29764dd8cebd2e90355d2cdc53b953bab3be1e3d6f35ec9fa8d6fd067b3c7de523ce1f8875f43bdef5c79239ab51d8c298498fd15ef66 SHA512 2f613d973f43c9c3ac2d569ac910f69b65cd2980fb1a463a80f3dac8ed75dacff6de0543b6c13230326db879b377bcd7c3f88c961b64ae90af02737cd6b369df
DIST synapse-1.95.0.gh.tar.gz 8404490 BLAKE2B 2eb208d0757acd5de33252537ca41c970a992026bd8b5a27fd6b203d37e3a5fb39376c23222c2305d627d853273cf634f7746e6fc77715f7e773529c9feb59db SHA512 c5f83dbb8dbf7b3bdfbd3278ab1a021607d1feaf5056b054c1f5a1afbd44ec80c217152448df7b515f18e8383dafd6dd19e961b0390d6886810982ead4ab0412
DIST synapse-1.96.0.gh.tar.gz 8419093 BLAKE2B 71feaa95ff2da8b7c49b752ce3e388fdf2da2e0528724d91dc1e9079e1ff97670c76e97f0c373b2f97da13a65e894a8d2fd0c3dc1614fe46a9a2967441cfcc69 SHA512 0276e2949c99d78096f6f86c41a507397795349f90b7533430a3bede65c9066a160967870963d4e2a6c854c9dede222a7b3182e7015cc27a23b1e12141e2bbdc
+DIST synapse-1.97.0.gh.tar.gz 8441673 BLAKE2B 6ff559005722970ed61dea79042a0694c1fe7d0914640ab184e6d1638197ead70c46b0a1645875ae5a3eb5b1402d22a9189849d4d6ead77c04a7af03f3888c4b SHA512 75687a424ee62391e3e4ff99a8e16d614433447e98f926570d0de11f5f467ae830264f0ea0d49b4d188558beac7a4b5290a0b1906e1342fc7dfd05f2d1a33c21
DIST target-lexicon-0.12.4.crate 23020 BLAKE2B ad9780b9478b00b4fdcb07bd016d83216695413090ac29cca06388c3790e2832c978b1c7e69f6d34bb6fc9adc39c0a0b6b6636e50a9715a9f5f16445dba22d19 SHA512 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06
DIST typenum-1.15.0.crate 40741 BLAKE2B 5752d80396d0a37b0069b98ace9efe96d94ccaf41b33b8149c8b8c6a767537dbffe64251bbf61f3812465ecbc8cb45544f177dc97ac9735d84454282e4d1ed66 SHA512 a3c1ceac85e1aed98d0829449c35f4f36db860218b955b4e5f8f01da1d27ee6213f3c60e2b25c3745dcd67369049da5de737a9473fa9402db99cf7cddeb42288
DIST unicode-ident-1.0.5.crate 35455 BLAKE2B 7e14ce97ac53a88ccec015dea690918a673dc5b49e44de7fdcb5421871da35c4f514c6db9a363d6f4bfcf2e9a61a50a593d345d0b6f388ea882b17a00cd0335d SHA512 d355370daac356d900cd4c0a792d6c0eff114524c4bffce4d7e74469fe2117883ee00bf0e27d950b72e88739473f2045d5f83440a0aedfede97b4d9163b64a6c
@@ -76,4 +80,5 @@ DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac96759816
EBUILD synapse-1.93.0-r1.ebuild 5721 BLAKE2B 3e8d0ab88c3b50d44681630ec3dff24c57e009a8409b259a38b1264168f0b769b604c06e135828f095296f3c8daa2b09e85b3cf61ec530e1d8fd69f3b84c12ac SHA512 b956bdea54d6a8fb16edc7c0dd8545d1c99ace24cb544bf18b5f0a6a52978e8ad82307282405355121def5e90601c47a6c0debe1309478ea3ff7999574da084d
EBUILD synapse-1.95.0-r1.ebuild 5649 BLAKE2B 199122b9399aee86ab310c8099bfa0b192962a11a8a0217dc1e877d5769b37a6fb3f5c98c45f47e6d40bb5f1bfffba4494a8c53ba0e09f1656dc3c6476951cb2 SHA512 10a98f62559392eab5da57e2380ad0577058068da62dc09d707d190db2abd8926cad994ef9ea8644731b6ee93a94ff69c9f437ef609fbdc84b7aee5637849114
EBUILD synapse-1.96.0.ebuild 5649 BLAKE2B 6a15b4b72499ee079f8300bac05f8883581057867863ad686989dbea1eb4d689d457ca1e2dc6aba8d20d20a0ddff2d45ee0d2fa69ca9b577cfb2aff65fe9a388 SHA512 2eddcad0dff009dd9b76c590e300267916b12af719c9d21078853d434c8b27c66e59f471b568529403d34dc9d0b03e0dda60777e5ca08c3b3a04f9d3b456abfd
+EBUILD synapse-1.97.0.ebuild 5649 BLAKE2B b309c3a77ad4567ca8749715a3c9ae4a364b78831a85fd2ea5ffb49cbbe96862e3fe0ae735535a927fcbc7ca3bd74f72e09ddf08a47132237c4bd7f17cc61dee SHA512 d40d5130aeaa896e8de4b0ff15a0b41ac2e9057b7ac805bf662a52d03c6356b31f5dbf0173e8c0b9db35f264728023211d5cd17ad10057d84161f2b6c013182b
MISC metadata.xml 381 BLAKE2B e30ab1922ad223634dc45a6f02ff4f26b163f75c4b722065be26e9ce0c32d0ac2f177b6183c728abea52a8c67af57b5fa5bdbca833523a07e19efe2e51abdb36 SHA512 f414d0f1cc6ab60bda1432489f7a5ee7d81cd068d3b81686e8c7c325676cf7b03c0e48dd436a8bb99df398e89c57d1ad1644b13fa8b6e679d7bf53566b96c3f0
diff --git a/net-im/synapse/synapse-1.97.0.ebuild b/net-im/synapse/synapse-1.97.0.ebuild
new file mode 100644
index 000000000000..625ca9319552
--- /dev/null
+++ b/net-im/synapse/synapse-1.97.0.ebuild
@@ -0,0 +1,210 @@
+# Copyright 2022-2023 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_{10..12} )
+
+CRATES="
+ aho-corasick@1.0.2
+ anyhow@1.0.75
+ arc-swap@1.5.1
+ autocfg@1.1.0
+ bitflags@1.3.2
+ blake2@0.10.6
+ block-buffer@0.10.3
+ cfg-if@1.0.0
+ crypto-common@0.1.6
+ digest@0.10.5
+ generic-array@0.14.6
+ hex@0.4.3
+ indoc@1.0.7
+ itoa@1.0.4
+ lazy_static@1.4.0
+ libc@0.2.135
+ lock_api@0.4.9
+ log@0.4.20
+ memchr@2.6.3
+ memoffset@0.9.0
+ once_cell@1.15.0
+ parking_lot@0.12.1
+ parking_lot_core@0.9.3
+ proc-macro2@1.0.64
+ pyo3-build-config@0.19.2
+ pyo3-ffi@0.19.2
+ pyo3-log@0.8.4
+ pyo3-macros-backend@0.19.2
+ pyo3-macros@0.19.2
+ pyo3@0.19.2
+ pythonize@0.19.0
+ quote@1.0.29
+ redox_syscall@0.2.16
+ regex-automata@0.3.9
+ regex-syntax@0.7.5
+ regex@1.9.6
+ ryu@1.0.11
+ scopeguard@1.1.0
+ serde@1.0.192
+ serde_derive@1.0.192
+ serde_json@1.0.108
+ smallvec@1.10.0
+ subtle@2.4.1
+ syn@1.0.104
+ syn@2.0.28
+ target-lexicon@0.12.4
+ typenum@1.15.0
+ unicode-ident@1.0.5
+ unindent@0.1.10
+ version_check@0.9.4
+ windows-sys@0.36.1
+ windows_aarch64_msvc@0.36.1
+ windows_i686_gnu@0.36.1
+ windows_i686_msvc@0.36.1
+ windows_x86_64_gnu@0.36.1
+ windows_x86_64_msvc@0.36.1
+"
+
+inherit cargo distutils-r1 multiprocessing optfeature systemd
+
+DESCRIPTION="Reference implementation of Matrix homeserver"
+HOMEPAGE="
+ https://matrix.org/
+ https://github.com/matrix-org/synapse/
+"
+SRC_URI="
+ https://github.com/matrix-org/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ ${CARGO_CRATE_URIS}
+"
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="postgres systemd test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/synapse
+ acct-group/synapse
+"
+# >twisted-23.8 breaks tests, see https://github.com/matrix-org/synapse/pull/16528
+RDEPEND="
+ ${DEPEND}
+ 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/jinja-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/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-23.8.1[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+ postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
+ systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
+"
+BDEPEND="
+ dev-python/setuptools-rust[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hiredis[${PYTHON_USEDEP}]
+ dev-python/idna[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/pyicu[${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 "Improve user search for international display names" dev-python/pyicu
+ 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/matrix-org/synapse/blob/develop/docs/upgrade.md"
+ einfo
+ fi
+}