Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608510 - net-im/synapse (matrix.org reference server) - New ebuild request
Summary: net-im/synapse (matrix.org reference server) - New ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 6 votes (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: PullRequest
: 766219 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-07 05:16 UTC by smkbot
Modified: 2022-07-09 08:16 UTC (History)
20 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
synapse-0.21.0.ebuild (synapse-0.21.0.ebuild,1.77 KB, text/plain)
2018-04-23 21:24 UTC, gerion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smkbot 2017-02-07 05:16:32 UTC
Matrix: https://matrix.org/

Synapse home page: https://github.com/matrix-org/synapse

Synapse is packaged for a number of systems, but not Gentoo. It would be great to have an ebuild for this.
Comment 1 smkbot 2017-02-07 05:20:47 UTC
This is related to #608512 - New ebuild request: riot-web (riot.im)
Comment 2 Arsen Shnurkov 2017-06-12 15:15:10 UTC
see also
https://bugs.gentoo.org/show_bug.cgi?id=621602 - for Pidgin integration
Comment 3 gerion 2018-04-23 21:24:12 UTC
Created attachment 528328 [details]
synapse-0.21.0.ebuild

I have tried some time ago to create an ebuild, but the dependencies are too much, so I don't end it.

This ebuild is therefore not at all functional or complete, but maybe a base for someone.
Comment 5 Pete 2019-06-13 08:44:21 UTC
Hello, 

I started work on expanding the ebuild for version 0.21.0, for a more recent version [1]. I've no experience creating ebuilds. However, I believe I have identified a number of python packages that also need to be included before we can build the latest version.

# TODO: Needs: >=dev-python/canonicaljson-1.1.3
# TODO: Needs: >=dev-python/frozendict-1
# TODO: Needs: >=dev-python/pymacaroons-0.13.0
# TODO: Needs: >=dev-python/signedjson-1.0.0
# TODO: Needs: >=dev-python/unpaddedbase64-1.1.0

Also, synapse needs the use of a python package that's looking for a maintainer: 

# TODO: Looking for a Maintainer: >=dev-python/phonenumbers-8.2.0

Please review the ebuild on my gist [1].

[1] https://gist.github.com/PMaynard/503d9060499c7d0cf0fe2a1a71276929
Comment 6 Atman Sense 2021-01-07 06:52:08 UTC
The booboo overlay has a recent one:
https://github.com/l29ah/booboo/tree/master/net-im/synapse

The LDAP auth backend resides in gerislay overlay:
https://github.com/gentoo-mirror/gerislay/tree/master/dev-python/matrix-synapse-ldap3
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-30 00:23:05 UTC
*** Bug 766219 has been marked as a duplicate of this bug. ***
Comment 8 Jonas Stein gentoo-dev 2022-02-02 22:29:50 UTC
Another ebuild:
https://gitlab.com/deepbluev7/neko/-/tree/master/net-im/matrix-synapse
Comment 9 Petr Vaněk gentoo-dev 2022-07-07 13:58:31 UTC
For those still interested in this, submitted PR https://github.com/gentoo/gentoo/pull/25776 is based and regularly updated with https://github.com/arkamar/synapse-overlay which I am actively maintaining.
Comment 10 Larry the Git Cow gentoo-dev 2022-07-09 08:15:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=bc61159d9644b29e2557e3a3852182ccecf2b80d

commit bc61159d9644b29e2557e3a3852182ccecf2b80d
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-06-17 10:01:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-09 08:15:29 +0000

    uid-gid.txt: add uid/gid for net-im/synapse
    
    Bug: https://bugs.gentoo.org/608510
    See-also: https://github.com/gentoo/gentoo/pull/25776
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/api-gentoo-org/pull/526
    Signed-off-by: Sam James <sam@gentoo.org>

 files/uid-gid.txt | 1 +
 1 file changed, 1 insertion(+)
Comment 11 Larry the Git Cow gentoo-dev 2022-07-09 08:16:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd128f40a6194e356ff777700171923b3f14827

commit 7cd128f40a6194e356ff777700171923b3f14827
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-07-07 13:23:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-09 08:15:53 +0000

    net-im/synapse: new package, add 1.62.0
    
    Closes: https://bugs.gentoo.org/608510
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/25776
    Signed-off-by: Sam James <sam@gentoo.org>

 net-im/synapse/Manifest              |   1 +
 net-im/synapse/files/synapse.initd   |  10 ++++
 net-im/synapse/metadata.xml          |  15 ++++++
 net-im/synapse/synapse-1.62.0.ebuild | 101 +++++++++++++++++++++++++++++++++++
 4 files changed, 127 insertions(+)