Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626260 - net-im/ejabberd-18.09 version bump
Summary: net-im/ejabberd-18.09 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 646386 658584 (view as bug list)
Depends on: 628876
Blocks:
  Show dependency tree
 
Reported: 2017-07-26 14:51 UTC by Martin Bednar
Modified: 2020-04-30 08:16 UTC (History)
14 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bednar 2017-07-26 14:51:38 UTC
ejabberd-17.07 is out, any version >17.03 contains a security bug, as per https://blog.process-one.net/ejabberd-17-07/
Comment 1 Vadim Efimov 2017-09-09 19:12:41 UTC
Now 17.08 released: https://blog.process-one.net/ejabberd-17-08/

On the other side, in 17.06 we have great improvement in ebuild point of view (not tested it yet):
--enable-system-deps makes rebar use localy installed dependences instead of downloading them
Comment 2 Sergey Ilinykh 2017-11-21 20:02:04 UTC
and 17.11 is tagged on github.

Just added it to my overlay

# layman -a rion
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2017-11-21 21:47:16 UTC
Please feel free to prepare a PR on GitHub or wherever I can pull from. I will review and merge to main repository.
Comment 4 Sergey Ilinykh 2017-11-23 07:37:35 UTC
I'm not sure about PR.
My ebuild downloads a tag from github instead of official release.
The tagged version has git specific code in configure.ac, which I replace with sed. Official release usually does not need it and has already properly generated configure script.
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2017-11-23 15:54:11 UTC
I thought you've taken one from master Gentoo repository and bumped yourself, but that sounds like you're having your own.
Comment 6 Sergey Ilinykh 2017-11-23 16:03:05 UTC
of course it's taken and bumped from Gentoo repo.
But I modified it to get version from github directly.
Comment 7 Charles Nérot 2017-12-08 14:31:18 UTC
ejabberd >= 17.08 support erlang 20 that is now installed on ~amd64 profile
(https://blog.process-one.net/ejabberd-17-08/)
Comment 8 Sergey Ilinykh 2018-01-02 09:23:59 UTC
I've added ejabberd 17.12 to my overlay.
I think it would be good to transfer all its packages to separate overlay though.
Does anyone want to do this?

I'm not sure about pull requests. Gentoo Devs are etremely busy people and even simple PRs may hang for months if not years.
So it's better to keep everything prepared in separate overlay and allow people to test it.
Comment 9 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-01-02 21:33:17 UTC
Rion, I see you're maintaining ejabberd quite well. I've taken a look at your ebuilds. Please contact me on IRC. We could merge this quite quickly and all subsequent bumps could go straight to main repo. If the quality of work is good there's no problem with bringing changes quickly. It's more difficult when you've got limited time and have to review and comment each line of the ebuild.
Comment 10 Hanno Böck gentoo-dev 2018-02-11 10:04:48 UTC
*** Bug 646386 has been marked as a duplicate of this bug. ***
Comment 11 Sergey Ilinykh 2018-03-07 07:46:23 UTC
bumped to 18.01 in the overlay.

It seems it now has some problems with default ceritificates. I generated one manually. Seems to work.
Comment 12 Daniel Kenzelmann 2018-03-12 20:36:44 UTC
Any chance of this making it into the main repo soon?
If not, do you have a link to your overlay or the ebuild and related files?

Thanks!
Comment 13 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-03-12 21:23:22 UTC
Rion, could you please prepare PR? I don't have hardware to test myself atm, but I promise I will quickly review and merge as soon as everything is fine.
Comment 14 Sergey Ilinykh 2018-03-13 03:42:15 UTC
Can someone test it first?
It works for me though.
Comment 15 Florian Schmaus gentoo-dev 2018-03-26 10:29:26 UTC
I would consider dropping the dependency on net-im/jabber-base having all jabber software run under the same user appears to be counterproductive at least, if not an security issue. The ejabberd ebuild should simply create an ejabberd user, and ff that user also has a valid $HOME, then we could also drop the ejabberdctl.patch and have less hackery.
Comment 16 Daniel Kenzelmann 2018-04-05 17:38:34 UTC
Hi Rion, do you have any rough timeline for creating a pull request for the ebuilds?
Comment 17 Pacho Ramos gentoo-dev 2018-04-18 17:43:51 UTC
there is a new version
Comment 18 Sergey Ilinykh 2018-04-19 05:25:33 UTC
updated in overlay to 18.03.

sorry. no spare time to review every package for its quaity before making pull request.
Comment 19 Dustin Funk 2018-05-08 15:39:02 UTC
18.04 released
Comment 20 Regna 2018-05-13 12:38:31 UTC
I have been testing ejabberd ebuilds from Rion's overlay, and =net-im/ejabberd-18.03::rion[captcha,odbc,mysql,nls,stun,zlib] is currently running in production on bakka.su servers.
Everything seems to work properly, including the new >18.01 TLS configuration.
Comment 21 Florian Schmaus gentoo-dev 2018-07-19 05:59:48 UTC
ejabberd 18.06 has been released: https://blog.process-one.net/ejabberd-18-06/
Comment 22 Sergey Ilinykh 2018-09-28 09:34:31 UTC
I started moving ejabberd into separate overlay

https://github.com/rion-overlay/ejabberd-overlay

feel free to participate. 18.06 commited there is not tested. and its deps still have incorrect own dependencies.
Comment 23 Sergey Ilinykh 2018-09-30 20:37:38 UTC
Fixed deps. Seems to work fine.
Comment 24 Sergey Ilinykh 2018-09-30 21:23:14 UTC
pending PR for layman
https://github.com/gentoo/api-gentoo-org/pull/160

so adding the new overlay has to be quite trivial:
layman -a ejabberd
Comment 25 Sergey Ilinykh 2018-10-02 12:08:16 UTC
So it's now 18.09 and in it's in layman.
Comment 26 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-10-02 20:52:46 UTC
Rion, thanks for keeping ejabberd up to date. This should make it easier to move ejabberd back to main repo. Once I go through the changes, I'll put it into main repo. That should happen next week, as this one I have already too busy.

Would you be OK to become the actual maintainer and I'd just act as proxy for you?
Comment 27 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-10-15 21:14:52 UTC
The dev-erlang/eimp tests fail for me. Rion, do the tests fail for you as well?



======================== EUnit ========================
module 'eimp_test'
  eimp_test: start_test...[0.015 s] ok
  eimp_test: is_supported_test...ok
  eimp_test: supported_formats_test...ok
  eimp_test: png_to_jpeg_test...[0.091 s] ok
  eimp_test: png_to_webp_test...[0.179 s] ok
  eimp_test: png_to_gif_test...[0.068 s] ok
  eimp_test: jpeg_to_png_test...[0.289 s] ok
  eimp_test: jpeg_to_webp_test...[0.144 s] ok
  eimp_test: jpeg_to_gif_test...[0.049 s] ok
  eimp_test: webp_to_png_test...[0.406 s] ok
  eimp_test: webp_to_jpeg_test...[0.044 s] ok
  eimp_test: webp_to_gif_test...[0.073 s] ok
  eimp_test: gif_to_png_test...[0.089 s] ok
  eimp_test: gif_to_jpeg_test...[0.037 s] ok
  eimp_test: encode_failure_test...GD Warning: Palette image not supported by webp[0.030 s] ok
  eimp_test: scale_png_test...[0.104 s] ok
  eimp_test: scale_jpeg_test...[0.019 s] ok
  eimp_test: scale_gif_test...[0.046 s] ok
  eimp_test: scale_webp_test...[0.081 s] ok
  eimp_test: convert_unsupported_test...ok
  eimp_test: identify_unsupported_test...ok
  eimp_test: malformed_png_test...GD Warning: gd-png: fatal libpng error: Read Error: truncated data
GD Warning: gd-png error: setjmp returns error condition 1
[0.001 s] ok
  eimp_test: malformed_jpeg_test...Premature end of JPEG file
ok
  eimp_test: malformed_webp_test...GD Warning: gd-webp cannot allocate temporary buffer[0.002 s] ok
  eimp_test: malformed_gif_test...[0.001 s] ok
  eimp_test: webp_identify_test...[0.002 s] ok
  eimp_test: jpeg_identify_test...[0.001 s] ok
  eimp_test: png_identify_test...[0.005 s] ok
  eimp_test: gif_identify_test...[0.002 s] ok
  eimp_test: too_big_test...[0.043 s] ok
  eimp_test: too_many_requests_test...[0.145 s] ok
  eimp_test: timeout_test...ok
  eimp_test: port_restart_test...[0.001 s] ok
  eimp_test: format_error_test...
=ERROR REPORT==== 15-Oct-2018::21:07:09 ===
External eimp process (pid=6482) has terminated unexpectedly, restarting in a few seconds
=ERROR REPORT==== 15-Oct-2018::21:07:09 ===
External eimp process (pid=6483) has terminated unexpectedly, restarting in a few secondsok
  eimp_test: stop_test...
=INFO REPORT==== 15-Oct-2018::21:07:09 ===
    application: eimp
    exited: stopped
    type: temporary
[0.002 s] ok
  eimp_test: disconnected_test...*failed*
in function eimp_test:'-disconnected_test/0-fun-0-'/1 (test/eimp_test.erl, line 160)
in call from eimp_test:disconnected_test/0 (test/eimp_test.erl, line 160)
**error:{assertEqual,[{module,eimp_test},
              {line,160},
              {expression,"file : delete ( Bin )"},
              {expected,ok},
              {value,{error,enoent}}]}
  output:<<"">>

  [done in 2.086 s]
module 'eimp_sup'
module 'eimp_worker'
module 'eimp'
module 'eimp_app'
module 'eimp_limit'
Comment 28 Larry the Git Cow gentoo-dev 2018-10-15 22:06:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c8ad773b9ea8ba86fb3c724c34a61822f88c6d

commit 30c8ad773b9ea8ba86fb3c724c34a61822f88c6d
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-10 20:57:13 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:06:18 +0000

    dev-erlang/cache_tab: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/cache_tab/Manifest                |  1 +
 dev-erlang/cache_tab/cache_tab-1.0.16.ebuild | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

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

commit bfcbb0fa7405820ca0e82faaf518d8d9d066db2e
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-15 20:55:50 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:06:18 +0000

    dev-erlang/eimp: Add new package
    
    It's required by new version of ejabberd.
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/eimp/Manifest          |  1 +
 dev-erlang/eimp/eimp-1.0.8.ebuild | 32 ++++++++++++++++++++++++++++++++
 dev-erlang/eimp/metadata.xml      | 11 +++++++++++
 3 files changed, 44 insertions(+)

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

commit ca636b6fa2f06512a9755b0745ece1679ba6b109
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-10 20:52:26 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:06:17 +0000

    dev-erlang/base64url: Add new package
    
    It's required by dev-erlang/jose which in turn is required by new
    version of ejabberd.
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/base64url/Manifest             |  1 +
 dev-erlang/base64url/base64url-1.0.ebuild | 21 +++++++++++++++++++++
 dev-erlang/base64url/metadata.xml         | 11 +++++++++++
 3 files changed, 33 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf3d4ba0b8624a17fd343c28f2e87a661894f9f

commit 8bf3d4ba0b8624a17fd343c28f2e87a661894f9f
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-15 21:01:07 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:06:17 +0000

    dev-erlang/p1_utils: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/p1_utils/Manifest               |  1 +
 dev-erlang/p1_utils/p1_utils-1.0.13.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)
Comment 29 Larry the Git Cow gentoo-dev 2018-10-15 22:14:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cff82473a47e3e0d1356304bb4055686e94df8e

commit 4cff82473a47e3e0d1356304bb4055686e94df8e
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-15 20:55:50 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:13:25 +0000

    dev-erlang/eimp: Remove unneeded IUSE
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/eimp/eimp-1.0.8.ebuild | 1 -
 1 file changed, 1 deletion(-)

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

commit aaa03bc5529713112a3aaf0b50bf33c8e9f10196
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-10 20:52:26 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-15 22:12:56 +0000

    dev-erlang/base64url: Remove unneeded IUSE
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/base64url/base64url-1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)
Comment 30 Sergey Ilinykh 2018-10-16 10:26:14 UTC
regarding test failure. I don't see it on my machine.
Comment 31 Sergey Ilinykh 2018-10-16 10:28:01 UTC
Regarding my ejabberd overlay. I'll keep for future updates but of course it's better to use/test version from the portage.
Comment 32 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-10-16 21:06:55 UTC
It would be ideal if we have deps for dev-erlang/jose tests...
Comment 33 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-10-16 21:13:03 UTC
Rion, rather than having your overlay for future updates, why not contribute to main repo in the first place?
Comment 34 Larry the Git Cow gentoo-dev 2018-10-16 21:28:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012f9c2d184b0f4fb8b03fcf6bc6cc268d668d1d

commit 012f9c2d184b0f4fb8b03fcf6bc6cc268d668d1d
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 21:27:26 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 21:27:36 +0000

    dev-erlang/epam: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/epam/Manifest          |  1 +
 dev-erlang/epam/epam-1.0.4.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
Comment 35 Sergey Ilinykh 2018-10-16 21:33:45 UTC
Amadeusz, it's by Gentoo design. It's just easier to operate with overlays. And I should not care that much about ebuilds quality.
Comment 36 Larry the Git Cow gentoo-dev 2018-10-16 21:40:37 UTC
The bug has been referenced in the following commit(s):

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

commit f9b48d116ec742455a15fe6a765bffb00a9064bb
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 21:34:34 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 21:39:57 +0000

    dev-erlang/fast_tls: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/fast_tls/Manifest               |  1 +
 dev-erlang/fast_tls/fast_tls-1.0.25.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)
Comment 37 Larry the Git Cow gentoo-dev 2018-10-16 21:50:38 UTC
The bug has been referenced in the following commit(s):

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

commit d3dc3d4b7f03fa9dd489a1989893c6f0285de6aa
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 21:49:35 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 21:50:30 +0000

    dev-erlang/esip: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/esip/Manifest           |  1 +
 dev-erlang/esip/esip-1.0.26.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

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

commit e319f0dd01b08478de11394676298aa9b8cc71db
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 21:44:45 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 21:50:30 +0000

    dev-erlang/stun: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/stun/Manifest           |  1 +
 dev-erlang/stun/stun-1.0.25.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)
Comment 38 Amadeusz Żołnowski (RETIRED) gentoo-dev 2018-10-16 21:54:07 UTC
For dev-erlang&ejabberd there's not that much to care, as ebuilds are pretty simple, usually. Deps just need to checked carefully. It's just tedious and time consuming. (-:
Comment 39 Larry the Git Cow gentoo-dev 2018-10-16 22:14:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b951c19bdfbe8df1c368d6186e08896a5200a72

commit 1b951c19bdfbe8df1c368d6186e08896a5200a72
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 22:13:26 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 22:13:30 +0000

    dev-erlang/fast_yaml: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/fast_yaml/Manifest                |  1 +
 dev-erlang/fast_yaml/fast_yaml-1.0.17.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1073928a50f93fb6e4e36fda3c75cc54391050f0

commit 1073928a50f93fb6e4e36fda3c75cc54391050f0
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 22:11:14 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 22:11:16 +0000

    dev-erlang/fast_xml: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/fast_xml/Manifest               |  1 +
 dev-erlang/fast_xml/fast_xml-1.1.34.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a7a87fdaf6c2286a3e4b5789a29f1aeb8cc2e2

commit 44a7a87fdaf6c2286a3e4b5789a29f1aeb8cc2e2
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 22:07:40 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 22:07:44 +0000

    dev-erlang/iconv: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/iconv/Manifest            |  1 +
 dev-erlang/iconv/iconv-1.0.10.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

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

commit d02ea5629c9a3d5c225cea4a0ac7f4f112e19d68
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-16 22:01:33 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-16 22:05:05 +0000

    dev-erlang/ezlib: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/ezlib/Manifest           |  1 +
 dev-erlang/ezlib/ezlib-1.0.4.ebuild | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)
Comment 40 Sergey Ilinykh 2018-10-16 22:18:28 UTC
and with overlays it's esier to get early feedback, while contribution to the portage is still under tedious review :)
Comment 41 Larry the Git Cow gentoo-dev 2018-10-24 21:54:16 UTC
The bug has been referenced in the following commit(s):

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

commit c84d4ef194a524de93c5aa2b6948afe600059a69
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-24 21:53:10 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:56 +0000

    dev-erlang/xmpp: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/xmpp/Manifest          |  1 +
 dev-erlang/xmpp/xmpp-1.2.5.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e6f7f5aa93f2fe91fab21adb624cce1a265ca29

commit 9e6f7f5aa93f2fe91fab21adb624cce1a265ca29
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-24 21:38:18 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:55 +0000

    dev-erlang/stringprep: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/stringprep/Manifest                 |  1 +
 dev-erlang/stringprep/stringprep-1.0.14.ebuild | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

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

commit cbc42a4bd5566f695cac5946340a7db56fce073e
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-24 21:29:41 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:55 +0000

    dev-erlang/sqlite3: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/sqlite3/Manifest             |  1 +
 dev-erlang/sqlite3/sqlite3-1.1.6.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

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

commit da1a02698ce7db530391adbfa315d6376b46fde2
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-24 21:21:46 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:54 +0000

    dev-erlang/p1_pgsql: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/p1_pgsql/Manifest              |  1 +
 dev-erlang/p1_pgsql/p1_pgsql-1.1.6.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

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

commit eede150bda8fa32a248ddd74056aafda3d7ca252
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-24 21:12:59 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:54 +0000

    dev-erlang/p1_oauth2: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/p1_oauth2/Manifest               |  1 +
 dev-erlang/p1_oauth2/p1_oauth2-0.6.3.ebuild | 36 +++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da03feb048c0aafd52f92cb8fdcc422ad622d1e

commit 0da03feb048c0aafd52f92cb8fdcc422ad622d1e
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-20 20:32:14 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:54 +0000

    dev-erlang/proper: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/proper/Manifest          |  1 +
 dev-erlang/proper/proper-1.3.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

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

commit f82bd2d5d91ace1e604194447ddca46be9ca5914
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-20 20:29:06 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:53 +0000

    dev-erlang/meck: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/meck/Manifest           |  1 +
 dev-erlang/meck/meck-0.8.12.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

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

commit bb1519abcf7c2138de12b8e99944d8cad1fda982
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-20 20:20:29 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:53 +0000

    dev-erlang/p1_mysql: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/p1_mysql/Manifest              |  1 +
 dev-erlang/p1_mysql/p1_mysql-1.0.8.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41de960c26f22f08ebfe3405d069398f72bc7699

commit 41de960c26f22f08ebfe3405d069398f72bc7699
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-20 20:15:59 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:53 +0000

    dev-erlang/luerl: Bump version
    
    Thanks to Rion <rion4ik@gmail.com>.
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/luerl/Manifest         |  1 +
 dev-erlang/luerl/luerl-0.3.ebuild | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4ee3d44db7a147eaa44a11c15b9caf37d23a74

commit 8f4ee3d44db7a147eaa44a11c15b9caf37d23a74
Author:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
AuthorDate: 2018-10-20 20:12:34 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
CommitDate: 2018-10-24 21:53:52 +0000

    dev-erlang/lager: Bump version
    
    Bug: https://bugs.gentoo.org/626260
    Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>

 dev-erlang/lager/Manifest           |  1 +
 dev-erlang/lager/lager-3.6.7.ebuild | 28 ++++++++++++++++++++++++++++
 dev-erlang/lager/metadata.xml       |  1 +
 3 files changed, 30 insertions(+)
Comment 42 Sergey Popov gentoo-dev 2019-01-22 15:12:17 UTC
*** Bug 658584 has been marked as a duplicate of this bug. ***
Comment 43 Maxim Britov 2019-01-23 12:28:32 UTC
Actual is Ejabberd 18.12.1

https://blog.process-one.net/ejabberd-18-12/
https://blog.process-one.net/ejabberd-18-12-1/

Renamed ebuild works for me.

Additional dep is dev-erlang/pkix
Any dev-erlang ebuild can be renamed to pkix-1.0.0.ebuild. Works for me.

Speed-up shared roster. Works for me. Really save %% CPU.
https://github.com/processone/ejabberd/commit/9631baaa634ff51e122de76a5550d716be549dca
Comment 44 Phil Stracchino (Unix Ronin) 2019-06-02 18:34:35 UTC
(In reply to Maxim Britov from comment #43)
> Actual is Ejabberd 18.12.1
> 
> https://blog.process-one.net/ejabberd-18-12/
> https://blog.process-one.net/ejabberd-18-12-1/


The CURRENT version is actually 19.05.
Comment 45 Anna Tikhomirova 2019-08-06 19:33:32 UTC
ejabberd 19.08 is out.

I've updated the ebuild and its dependencies.

I've added it to my personal overlay:

https://github.com/vampik/gentoo-overlay/tree/master/net-im/ejabberd

https://github.com/vampik/gentoo-overlay/tree/master/dev-erlang

There are too many ebuilds to attach here, but I can do it if needed (21 updated and 3 new packages).
Comment 46 Hanno Böck gentoo-dev 2019-08-06 19:38:50 UTC
(In reply to Andrey Tikhomirov from comment #45)
> There are too many ebuilds to attach here, but I can do it if needed (21
> updated and 3 new packages).

Thanks a lot.

No need to attach the ebuilds. I'll try finding time to have a look soon and if they look good I'll move them to the Gentoo tree.

Would appreciate feedback from others when they successfully run the ebuilds from this overlay.
Comment 47 Martin Bednar 2019-08-09 10:58:01 UTC
I just installed 19.08. Seems to work (home server, PAM auth).

Portage is complaining a bit though:

 * One or more empty directories installed to /var:
 *
 *   /var/lib/lock/ejabberdctl
 *   /var/log/jabber
 *   /var/spool/jabber
 *
 * If those directories need to be preserved, please make sure to create
 * or mark them for keeping using 'keepdir'. Future versions of Portage
 * will strip empty directories from installation image.
Comment 48 Anna Tikhomirova 2019-08-09 12:39:20 UTC
(In reply to Martin Bednar from comment #47)
> Portage is complaining a bit though:
> 
>  * One or more empty directories installed to /var:
>  *
>  *   /var/lib/lock/ejabberdctl
>  *   /var/log/jabber
>  *   /var/spool/jabber
>  *
>  * If those directories need to be preserved, please make sure to create
>  * or mark them for keeping using 'keepdir'. Future versions of Portage
>  * will strip empty directories from installation image.

Portage was complaining about old ebuilds too.

I don't know what to do with /var/log/jabber and /var/spool/jabber. They belong to net-im/jabber-base.

This is the questions to Gentoo devs.

Why do we ever need net-im/jabber-base? The package only creates a user and a couple of directories.
Comment 49 Hanno Böck gentoo-dev 2019-08-09 12:51:23 UTC
(In reply to Andrey Tikhomirov from comment #48)
> Portage was complaining about old ebuilds too.
> 
> I don't know what to do with /var/log/jabber and /var/spool/jabber. They
> belong to net-im/jabber-base.
> 
> This is the questions to Gentoo devs.

In this case we should probably rmdir these in the ebuild and keepdir the ejabberdctl dir.

But you're right, we also might want to reconsider if jabber-base is needed. There's anyway some changes now in Gentoo how to handle useradding, but I have to familiarize myself with it.
Comment 50 silver_ghost 2019-08-09 15:28:21 UTC
(In reply to Hanno Boeck from comment #49)
> (In reply to Andrey Tikhomirov from comment #48)
> > Portage was complaining about old ebuilds too.
> > 
> > I don't know what to do with /var/log/jabber and /var/spool/jabber. They
> > belong to net-im/jabber-base.
> > 
> > This is the questions to Gentoo devs.
> 
> In this case we should probably rmdir these in the ebuild and keepdir the
> ejabberdctl dir.

Do you offer to rmdir directories of jabber-base in ejabberd?
Comment 51 Anna Tikhomirova 2019-08-09 15:29:45 UTC
(In reply to Hanno Boeck from comment #49)
> In this case we should probably rmdir these in the ebuild and keepdir the
> ejabberdctl dir.

I've updated the ebuild.
Comment 52 Phil Stracchino (Unix Ronin) 2019-08-09 18:49:29 UTC
(In reply to Hanno Boeck from comment #49)
> (In reply to Andrey Tikhomirov from comment #48)
> > Portage was complaining about old ebuilds too.
> > 
> > I don't know what to do with /var/log/jabber and /var/spool/jabber. They
> > belong to net-im/jabber-base.
> > 
> > This is the questions to Gentoo devs.
> 
> In this case we should probably rmdir these in the ebuild and keepdir the
> ejabberdctl dir.
> 
> But you're right, we also might want to reconsider if jabber-base is needed.
> There's anyway some changes now in Gentoo how to handle useradding, but I
> have to familiarize myself with it.

Rather than have net-im/ejabberd remove directories belonging to net-im/jabber-base, why not simply remove net-im/jabber-base as a dependency and let the next emerge -avc clean it up?  Could even display a build notes message in postinstall that net-im/jabber-base is no longer required.
Comment 53 Hanno Böck gentoo-dev 2019-08-10 13:50:40 UTC
I'd prefer to split this work into pieces.

Andrey, do you think we can start committing the dependencies? Is there any API breakage to be expected? (I.e. would committing fast_tls latest version cause any trouble with the ejabberd version we currently have in portage?)
Comment 54 Anna Tikhomirova 2019-08-10 14:42:54 UTC
(In reply to Hanno Boeck from comment #53)
> Andrey, do you think we can start committing the dependencies? Is there any
> API breakage to be expected? (I.e. would committing fast_tls latest version
> cause any trouble with the ejabberd version we currently have in portage?)

Currently there is only one version in portage and it is marked as stable. Committing new unstable versions shouldn't hurt anything for people using the stable tree.

However I can't guarantee that the people who use unstable tree will not encounter any issues if they try to use ejabberd 17.04 with the new dependencies.

But in fact, ejabberd 17.04 is already broken in unstable tree because some dependencies doesn't work with Erlang 22.
Comment 55 Hanno Böck gentoo-dev 2019-08-31 18:24:36 UTC
I started committing the dependencies that looked like simple bumps.
Next I'll look into the new packages and then the remaining deps that have larger changes I first want to review in detail. Hopefully then soon I can look into the ejabberd package itself.
Comment 56 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-12 13:10:02 UTC
Hanno, would you be interested in maintaining some of the dependencies as well?  FWICS many of dev-erlang/* packages lack maintainer while their only revdep is ejabberd.
Comment 57 Anna Tikhomirova 2019-10-03 13:58:41 UTC
ejabberd 19.09 is out.
I've updated ebuild in my overlay.

Updated packages:
dev-erlang/fast_yaml-1.0.21
dev-erlang/yconf-1.0.1
dev-erlang/xmpp-1.4.2
dev-erlang/pkix-1.0.4
dev-erlang/mqtree-1.0.5

New packages:
dev-erlang/p1_acme-1.0.2
dev-erlang/idna-6.0.0
dev-erlang/unicode_util_compat-0.4.1 (dependency of dev-erlang/idna-6.0.0)

ejabberd ebuild changes:
The minimum required Erlang/OTP version is now 19.3.
Fixed the sed expression because example config was changed in 19.09.
Comment 58 Anna Tikhomirova 2019-10-17 09:19:07 UTC
ejabberd 19.09.1 is out. This is a bugfix release, no dependency changes. Ebuild is already in my overlay.
Comment 59 Daniel Kenzelmann 2019-12-18 08:17:06 UTC
Any chance of getting the updated/new ebuilds into the main portage tree?
The current version (from early 2017) is getting a bit long in the tooth...
Are there any other blockers apart from finding a maintainer for those packages?
(like rebar in bug 628876 ?)

If Andrey's overlay is working (didn't test yet) maybe he can help here as a proxy maintainer?
Comment 60 Anna Tikhomirova 2019-12-18 10:07:23 UTC
(In reply to Daniel Kenzelmann from comment #59)
> Any chance of getting the updated/new ebuilds into the main portage tree?

Well, Hanno already pushed most of the dependencies to the main Portage tree.

As of now:

Missing packages:

dev-erlang/p1_acme-1.0.2

Missing updates:

dev-erlang/pkix-1.0.4
dev-erlang/mqtree-1.0.5
net-im/ejabberd-19.09.1
Comment 61 Daniel Kenzelmann 2020-02-13 15:16:08 UTC
New version 20.01 is out ... 
Any chance of getting the remaining packages into the tree?
(the updates except ejabberd are already there..)
Comment 62 Anna Tikhomirova 2020-03-09 10:28:32 UTC
New version 20.02 is out.
It is available in my overlay.
Comment 63 Anna Tikhomirova 2020-03-09 11:00:05 UTC
It seems that webadmin is broken in 20.02. I do not recommend to install this version until the issue is fixed.
Comment 64 Anna Tikhomirova 2020-03-09 18:49:06 UTC
The webadmin issue is fixed, my ebuild contains the patch that addresses this issue.
Comment 65 jwacalex 2020-04-02 18:44:19 UTC
ejabberd-20.03 was released about 8 days ago.  Changelog: https://www.process-one.net/blog/ejabberd-20-03/
Comment 66 Sergey Ilinykh 2020-04-12 19:30:11 UTC
Interesting.
We have every single dep for the new ejabberd in portage but no ejabberd itself.

Well. just in case I updated my overlay. seems to work. I just manually configured certificates in ejabberd.yml
Comment 67 Anna Tikhomirova 2020-04-13 09:19:02 UTC
ejabberd-20.03 is now available in my overlay too, I've just updated the ebuild.
Comment 68 Sergey Ilinykh 2020-04-13 10:02:34 UTC
@Andrey, don't you want to commit to ejabbderd dedicated overlay instead?

Which is "layman -a ejabberd" (https://github.com/rion-overlay/ejabberd-overlay).
Or I can pass the ownership to you and github will do all the redirection magic (I believe).
Comment 69 Phil Stracchino (Unix Ronin) 2020-04-13 13:54:47 UTC
(In reply to Andrey Tikhomirov from comment #67)
> ejabberd-20.03 is now available in my overlay too, I've just updated the
> ebuild.

Andrey, your ejabberd-20.03.ebuild appears to have a bad manifest, incorrect file size for ejabberd-20.03.tar.gz (downloaded size 2006603, manifest expects 71784).  It builds cleanly as long as I --force override the manifest.
Comment 70 Anna Tikhomirova 2020-04-13 16:25:06 UTC
(In reply to Phil Stracchino (Unix Ronin) from comment #69)
> Andrey, your ejabberd-20.03.ebuild appears to have a bad manifest, incorrect
> file size for ejabberd-20.03.tar.gz (downloaded size 2006603, manifest
> expects 71784).  It builds cleanly as long as I --force override the
> manifest.

Yeah, my bad, already fixed that.
Comment 71 Larry the Git Cow gentoo-dev 2020-04-30 08:16:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8c03f7f20c016978f58edf112225d52ea17dd8

commit 2d8c03f7f20c016978f58edf112225d52ea17dd8
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2020-04-30 08:16:32 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2020-04-30 08:16:32 +0000

    net-im/ejabberd: Version bump.
    
    Based on ebuild from Vampik's overlay with small changes.
    Remove old postinst warnings, add warning for needed config changes
    for updates from 17.x.
    
    Closes: https://bugs.gentoo.org/626260
    Signed-off-by: Hanno Böck <hanno@gentoo.org>
    Package-Manager: Portage-2.3.99, Repoman-2.3.22

 net-im/ejabberd/Manifest                           |   1 +
 net-im/ejabberd/ejabberd-20.03.ebuild              | 292 +++++++++++++++++++++
 ...rd-19.08-0002-Dont-overwrite-service-file.patch |  15 ++
 .../files/ejabberd-19.08-ejabberdctl.patch         |  38 +++
 net-im/ejabberd/metadata.xml                       |   7 +-
 5 files changed, 350 insertions(+), 3 deletions(-)