Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 502098

Summary: net-im/jabberd2 - add USE=superseded
Product: Gentoo Linux Reporter: Regna <ki>
Component: [OLD] ServerAssignee: Julian Ospald <hasufell>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: net-im
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: superseded-use.patch
superseded-xep+experimental.patch
metadata.patch

Description Regna 2014-02-22 09:49:53 UTC
Created attachment 371006 [details, diff]
superseded-use.patch

Jabberd2 has --enable-superseded option that enables support for superseded XEPs.
For example: session establishment feature in post-auth features, which old clients, like jabber.el, expect to find here.

This option should be available as use flag, off by default.
Comment 1 Julian Ospald 2014-02-22 15:10:13 UTC
* IUSE has to be alphabetically ordered
* econf arguments are ordered by their occurrence in the "./configure --help" output
* missing metadata.xml patch
Comment 2 Julian Ospald 2014-02-22 15:12:51 UTC
also, it would probably make more sense to name the useflag "superseded-xep"
Comment 3 Regna 2014-02-25 07:01:11 UTC
Created attachment 371200 [details, diff]
superseded-xep+experimental.patch
Comment 4 Regna 2014-02-25 07:02:30 UTC
Created attachment 371202 [details, diff]
metadata.patch
Comment 5 Julian Ospald 2014-02-25 13:54:05 UTC
You sneaked in "experimental". Why do we want it?
Comment 6 Regna 2014-02-25 14:34:16 UTC
To enable experimental features like TLS-Everywhere. It is disabled by default.
> You sneaked in "experimental". Why do we want it?
Comment 7 Julian Ospald 2014-02-25 18:49:26 UTC
(In reply to Regna from comment #6)
> To enable experimental features like TLS-Everywhere. It is disabled by
> default.
> > You sneaked in "experimental". Why do we want it?

Every USE flag I add, I have to support as well, fix bug reports etc. Is this option even supported upstream? The pure existence is no proof of it (I'v talked with to lot of upstreams that say "this option is not supported, but still in the build system").

Maybe we should ask upstream.
Comment 8 Julian Ospald 2014-02-27 22:29:48 UTC
After talking to upstream, I think we should add "experimental" but not "superseded". They said it's strongly discouraged to use superseded and it is not supported by XMPP community anymore, so that the network can move to modern features.

If people really need it, they gotta hack on the ebuild or use EXTRA_ECONF.
Comment 9 Julian Ospald 2014-03-08 23:58:41 UTC
+  08 Mar 2014; Julian Ospald <hasufell@gentoo.org> jabberd2-2.3.2.ebuild,
+  metadata.xml:
+  add experimental USE flag wrt #502098


experimental added, superseded not