mawis / jabberd Goto Github PK
View Code? Open in Web Editor NEWjabberd14 XMPP instant messaging server. → Master-Repository is at GitLab! ←
Home Page: https://gitlab.com/jabberd/jabberd
jabberd14 XMPP instant messaging server. → Master-Repository is at GitLab! ←
Home Page: https://gitlab.com/jabberd/jabberd
Please add support of XEP-0443: XMPP Compliance Suites 2021: https://xmpp.org/extensions/xep-0443.html
Which replaces:
Hello, when trying to build, I get the error configure: error: Couldn't find required function socket
. Do you have a solution to fix this issue? I tested on Ubuntu 20.04 LTS and Debian 10.
I did not find complete build instructions (like someone mentioned at #11), the README has install instructions saying we first need to run the configure script but there is not configure script by default and it also says:
If you need support for your jabberd14, please go to
http://jabberd.org/gettingSupport
Which returns a "404 Not Found" error page. So I used generic build instructions found at https://stackoverflow.com/questions/2531827/what-are-makefile-am-and-makefile-in/30511996#30511996:
autoreconf --install
mkdir build
cd build
../configure
I am trying to build the server myself because it looks like there is no Ubuntu or Debian package.
I tried to build the last commit on NetBSD 8.0 with GnuTLS 3.6.10 and Gcript 1.8.5. I got the following error:
In file included from gcrypt_init.c:30:0:
/usr/pkgsrc/tags/HEAD/chat/jabberd/work/.buildlink/include/gcrypt.h:221:17: error: 'gcry_thread_cbs' is deprecated [-Werror=deprecated-declarations]
static struct gcry_thread_cbs gcry_threads_pth = { \
^
gcrypt_init.c:35:1: note: in expansion of macro 'GCRY_THREAD_OPTION_PTH_IMPL'
GCRY_THREAD_OPTION_PTH_IMPL;
^
/usr/pkgsrc/tags/HEAD/chat/jabberd/work/.buildlink/include/gcrypt.h:211:8: note: declared here
struct gcry_thread_cbs
^
cc1: all warnings being treated as errors
gmake[3]: *** [Makefile:570: gcrypt_init.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
libtool: compile: c++ -DLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Ilib -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Wall -Werror -I/usr/pkg/
include/glibmm-2.4 -I/usr/pkg/lib/glibmm-2.4/include -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include -I/usr/pkg/include -I/usr/pkg/include
/p11-kit-1 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -c config.cc -o config.o >/dev/null 2>&1
gmake[3]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14/jabberd'
gmake[2]: *** [Makefile:615: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14/jabberd'
gmake[1]: *** [Makefile:544: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14'
gmake: *** [Makefile:392: all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/chat/jabberd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/chat/jabberd
The following patch fix the issue:
--- configure.ac.orig 2019-09-29 18:37:09.000000000 +0000
+++ configure.ac
@@ -35,7 +35,7 @@ if test x-$developer = "x-yes" ; then
else
AC_MSG_RESULT(no)
fi
-CPPFLAGS="$CPPFLAGS -Wall -Werror"
+CPPFLAGS="$CPPFLAGS -Wall -Werror -Wno-deprecated-declarations"
dnl Check for programs
AC_PROG_CC
Can you add Portable Import/Export Format for XMPP-IM Servers support?
It is possible to have a XEPs and RFCs support page with version (XEP-XXXX v1.2)?
Examples:
Can you add jabberd14 informations here?
I can check recent commits to build with newer systems..
Linked to:
I tried to build the last commit on NetBSD 8.0 with GnuTLS 3.6.10 and Gcript 1.8.5. I got the following error:
sessions.cc: In function 'void _js_create_session_id(char*, xht)':
sessions.cc:106:32: error: aggregate '_js_create_session_id(char*, xht)::drand48_data rand_state' has incomplete type and cannot be defined
static struct drand48_data rand_state;
^
sessions.cc:119:40: error: 'seed48_r' was not declared in this scope
seed48_r(seed_data, &rand_state);
^
sessions.cc:125:43: error: 'lrand48_r' was not declared in this scope
lrand48_r(&rand_state, &rand_value);
^
gmake[3]: *** [Makefile:481: sessions.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../jabberd -I../jabberd/lib -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Wall -Werror -Wno-deprecated-declarations -I/usr/pkg/include/glibmm-2.4 -I/usr/pkg/lib/glibmm-2.4/include -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include -I/usr/pkg/include -I/usr/p
kg/include/p11-kit-1 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -c serialization.cc -fPIC -DPIC -o .libs/serialization.o
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../jabberd -I../jabberd/lib -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -Wall -Werror -Wno-deprecated-declarations -I/usr/pkg/include/glibmm-2.4 -I/usr/pkg/lib/glibmm-2.4/include -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include -I/usr/pkg/include -I/usr/p
kg/include/p11-kit-1 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -c serialization.cc -o serialization.o >/dev/null 2>&1
gmake[3]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14/jsm'
gmake[2]: *** [Makefile:496: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14/jsm'
gmake[1]: *** [Makefile:544: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/chat/jabberd/work/jabberd-b2b871eaf3f6455d7d37113ce23d6bc59c8da70f/jabberd14'
gmake: *** [Makefile:392: all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/chat/jabberd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/chat/jabberd
"When using the SASL SCRAM mechanism, the SCRAM-SHA-256-PLUS variant SHOULD be preferred over the SCRAM-SHA-256 variant, and SHA-256 variants [RFC7677] SHOULD be preferred over SHA-1 variants [RFC5802]".
Can you add support for?
SCRAM-SHA-1(-PLUS):
-- https://tools.ietf.org/html/rfc5802
-- https://tools.ietf.org/html/rfc6120
SCRAM-SHA-256(-PLUS):
-- https://tools.ietf.org/html/rfc7677 since 2015-11-02
-- https://tools.ietf.org/html/rfc8600 since 2019-06-21: https://mailarchive.ietf.org/arch/msg/ietf-announce/suJMmeMhuAOmGn_PJYgX5Vm8lNA
SCRAM-SHA-512(-PLUS):
-- https://tools.ietf.org/html/draft-melnikov-scram-sha-512
SCRAM-SHA3-512(-PLUS):
-- https://tools.ietf.org/html/draft-melnikov-scram-sha3-512
https://xmpp.org/extensions/inbox/hash-recommendations.html
-PLUS variants:
LDAP:
HTTP:
2FA:
IANA:
Linked to:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.