Re: jabberd-2.4.0 release

2016-05-31 Thread li...@lazygranch.com
On Sat, 28 May 2016 08:16:50 +0200
Tomasz Sterna <to...@xiaoka.com> wrote:

> W dniu 27.05.2016, pią o godzinie 19∶14 -0700, użytkownik
> li...@lazygranch.com napisał:
> > Do you have both expat and its headers installed?
> > Verify headers:
> > /usr/local/include
> > 
> > So is this a flag or environment variable I need to set?
> 
> Yes.
> 
> $ ./configure --help
> [...]
>   --with-extra-include-path
>   use additional include paths
>   --with-extra-library-path
>   use additional library paths (remember to
> update
>   /etc/ld.so.conf too)

I'm guessing the library command you suggested is ldconfig.

In any event, 
./configure --with-extra-library-path /usr/local/lib --with-extra-include-path 
/usr/local/include
yielded

checking build system type... /usr/local/lib
configure: error: invalid value of canonical build

I'm just going to wait for the freebsd port. 




Re: jabberd-2.4.0 release

2016-05-31 Thread li...@lazygranch.com
On Tue, 31 May 2016 09:52:38 +0200
Tomasz Sterna <to...@xiaoka.com> wrote:

> W dniu 31.05.2016, wto o godzinie 00∶39 -0700, użytkownik
> li...@lazygranch.com napisał:
> > ./configure --with-extra-library-path /usr/local/lib --with-extra-
> > include-path /usr/local/include
> > yielded
> > 
> > checking build system type... /usr/local/lib
> > configure: error: invalid value of canonical build
> 
> Double-dash options format is:
> --long-option=value
> 
> So, you need:
> ./configure --with-extra-library-path=/usr/local/lib
> --with-extra-include-path=/usr/local/include
> 
> 

That works. It isn't finding the config files which I assume I can fix
on the command line. The point is the new binary is running. Thanks for
your help.





self signed cert

2016-05-03 Thread li...@lazygranch.com
freebsd 10.2 
jabberd2 version(2.3.6)

I followed these instructions:
https://github.com/jabberd2/jabberd2/wiki/InstallGuide-OpenSSLConfiguration
other than renaming server.pem to jabber.pem since I had originally put
that in the XML files.

In the c2s.xml 
MYDOMAIN>ORG


Pulling some lines out of the debug with the usual sanitation to keep
out of the search engines: 

C2S : Tue May  3 08:54:56 2016 authreg.c:80 preloaded module 'mysql' (not 
initialized yet)
SM  : sx (ssl.c:992) Restricting TLS ciphers to 
!aNULL:!eNULL:!EXP:ALL:!EXPORT:!aNULL:!eNULL:!SSLv2
SM  : sx (ssl.c:1021) No CA chain specified. Loading SSL default CA certs: 
/etc/ssl/certs

SM  : sx (ssl.c:405) secure channel not established, handshake in progress
SM  : sx (ssl.c:59) verify error:num=18:self signed 
certificate:depth=0:/C=US/ST=state/L=city/O=none/OU=none
/CN=mydomain.org/emailAddress=webmas...@mydomain.org


How exactly do I specify the cachain for a self signed cert.

I get openssl error 18 meaning it can't be verified. Setting
verify-mode='0' didn't help.