Giter Club home page Giter Club logo

jabberd's People

Contributors

mawis avatar triaxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jabberd's Issues

XEP-0443: XMPP Compliance Suites 2021

Please add support of XEP-0443: XMPP Compliance Suites 2021: https://xmpp.org/extensions/xep-0443.html

Which replaces:

configure: error: Couldn't find required function socket

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.

Build failure due to deprecated 'gcry_thread_cbs'

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

XEPs and RFCs support page with version

Build failure due to lack of reentrant pseudo-random generator functions on NetBSD

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

SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) supports

"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?

https://xmpp.org/extensions/inbox/hash-recommendations.html

-PLUS variants:

LDAP:

  • RFC5803: Lightweight Directory Access Protocol (LDAP) Schema for Storing Salted: Challenge Response Authentication Mechanism (SCRAM) Secrets: https://tools.ietf.org/html/rfc5803

HTTP:

2FA:

IANA:

Linked to:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.