Re: jabberd-2.2.15 release

2012-05-14 Thread Marcin Mirosław
W dniu 02.05.2012 22:09, Marcin Mirosław pisze:
> I upgraded jabberd to 2.2.15 then i have problem,
> almost all external servers couldn't connect to mine. I didn't have time
> to debug (in s2s.log i found  error: Stream error (dialback timed out)
> ), so i downgraded to 2.2.14.

Hello!
With 2.2.16 i have no problems. Just for information.
Regards,
Marcin




Re: jabberd-2.2.15 release

2012-05-04 Thread Tomasz Sterna
Dnia 2012-05-02, śro o godzinie 22:09 +0200, Marcin Mirosław pisze:
> You wrote about some critical things which need to be fixed, can you
> write something more? I upgraded jabberd to 2.2.15 then i have
> problem,
> almost all external servers couldn't connect to mine. I didn't have
> time
> to debug (in s2s.log i found  error: Stream error (dialback timed out)
> ), so i downgraded to 2.2.14. 

Compilation related issues.

I'm running 2.2dev on my server for a long time and didn't have any s2s
issues.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-05-02 Thread Marcin Mirosław
W dniu 2012-05-02 18:00, Tomasz Sterna pisze:
> Dnia 2012-05-02, śro o godzinie 11:49 +0200, Marcin Mirosław pisze:
>> I noticed cppunit is now needed to compile jabberd, may i please to
>> add information about it to proper section in README? 
> 
> I missed that. Thanks for the notice.
> Info added. (Will be in the next release - which should be soon as there
> are some critical things to be fixed.)
> 
> I will try to modify the scripts, to not fail on missing cppunit, just
> skip building tests.

It would be great!
You wrote about some critical things which need to be fixed, can you
write something more? I upgraded jabberd to 2.2.15 then i have problem,
almost all external servers couldn't connect to mine. I didn't have time
to debug (in s2s.log i found  error: Stream error (dialback timed out)
), so i downgraded to 2.2.14.
Regards,
Marcin




Re: jabberd-2.2.15 release

2012-05-02 Thread Tomasz Sterna
Dnia 2012-05-02, śro o godzinie 12:30 +0200, Marcin Mirosław pisze:
> I can see diffrence beetwen tag tarball and distribution tarball.
> Distribution tarball has old Changelog, UPGRADE comparing to tag
> tarball. Shouldn't be those file updated? 

That's strange, as i did 'make dist' right after tagging the release.
I'll look into it.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-05-02 Thread Tomasz Sterna
Dnia 2012-05-02, śro o godzinie 11:49 +0200, Marcin Mirosław pisze:
> I noticed cppunit is now needed to compile jabberd, may i please to
> add information about it to proper section in README? 

I missed that. Thanks for the notice.
Info added. (Will be in the next release - which should be soon as there
are some critical things to be fixed.)

I will try to modify the scripts, to not fail on missing cppunit, just
skip building tests.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-05-02 Thread Marcin Mirosław
W dniu 01.05.2012 00:26, Tomasz Sterna pisze:
> Dnia 2012-04-30, pon o godzinie 20:20 +0200, Christof Meerwald pisze:
 https://github.com/Jabberd2/jabberd2/downloads )?
>>> It would, but why?
>>> I see no reason for duplication of the same tarballs.
>> Well, the ones in the "Downloads" section should ideally already
>> contain the autoconf generated configure script. 
> 
> That's a _very_ good point. :-)
> 
> I will upload distribution tarball then.

I can see diffrence beetwen tag tarball and distribution tarball.
Distribution tarball has old Changelog, UPGRADE comparing to tag
tarball. Shouldn't be those file updated?

Regards,
Marcin




Re: jabberd-2.2.15 release

2012-05-02 Thread Marcin Mirosław
W dniu 01.05.2012 00:26, Tomasz Sterna pisze:
> Dnia 2012-04-30, pon o godzinie 20:20 +0200, Christof Meerwald pisze:
 https://github.com/Jabberd2/jabberd2/downloads )?
>>> It would, but why?
>>> I see no reason for duplication of the same tarballs.
>> Well, the ones in the "Downloads" section should ideally already
>> contain the autoconf generated configure script. 
> 
> That's a _very_ good point. :-)
> 
> I will upload distribution tarball then.

I had not yet seen there was need to run autoconf. If package is
available through "downloads" section it easy to create SRC_URI in
ebuild and there is no inconvienient path inside tarball which contains
a piece of hash (Jabberd2-jabberd2-bc6a7a9).
I noticed cppunit is now needed to compile jabberd, may i please to add
information about it to proper section in README?

==
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:

No package 'cppunit' found
==

Thank you.
Marcin




Re: jabberd-2.2.15 release

2012-05-02 Thread Marek Červenka

Dne 30.4.2012 17:07, Tomasz Sterna napsal(a):

Dnia 2012-04-30, pon o godzinie 10:04 +0200, Marek Červenka pisze:

i have problem with compilation. any ideas?
storage_ldapvcard.c: In function '_st_ldapvcard_get':
storage_ldapvcard.c:333: error: 'struct storage_st' has no member
named 'sm'

There was a bit of reorganisation in the storage directory.
I don't have resources to build every single plugin (I would have to
have installed and configured all plugin dependencies) so occasionally
build problems slip through.

Please report this bug on Launchpad. I will take care of it ASAP.




https://bugs.launchpad.net/jabberd2/+bug/993134

added info about reporting bugs to the wiki (#troubleshooting)
https://github.com/Jabberd2/jabberd2/wiki

edited FAQ

--
---
Marek Cervenka
===





Re: jabberd-2.2.15 release

2012-05-01 Thread Eugene Agafonov
Thanks!
Karma goes better now :-)

That was my fault (missed '--tags' fetch's option)

BR, Eugene Agafonov.

/me is writing in The Small Black Book: "Pay attention to SVN-style tags
and --tags option"

On Tue, May 1, 2012 at 11:51 PM, Tomasz Sterna  wrote:

> Dnia 2012-05-01, wto o godzinie 15:53 +0400, Eugene Agafonov pisze:
> > Karma of History goes bad if tarball is released to public
> >  without appropriate GIT tag ;-)
> >
> > https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
> > https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15
>
> These _are_ Git tag. ;-) (jabberd-2.2.15)
>
>
>
> --
> Tomasz Sterna
> Instant Messaging Consultant : Open Source Developer
> http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio
>
>
>
>


Re: jabberd-2.2.15 release

2012-05-01 Thread Tomasz Sterna
Dnia 2012-05-01, wto o godzinie 15:53 +0400, Eugene Agafonov pisze:
> Karma of History goes bad if tarball is released to public
>  without appropriate GIT tag ;-) 
> 
> https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
> https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15

These _are_ Git tag. ;-) (jabberd-2.2.15)



-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-05-01 Thread Eugene Agafonov
HI!
Could you please push GIT tag as well?

Karma of History goes bad if tarball is released to public
 without appropriate GIT tag ;-)

Thanks a lot, Eugene Agafonov.

On Mon, Apr 30, 2012 at 1:57 AM, Tomasz Sterna  wrote:

> Next jabberd2 release is available.
>
> The project had moved to GitHub, so this time get 2.2.15 release at:
> https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
> https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15
>
> and read: https://github.com/Jabberd2/jabberd2/blob/bc6a7a9cca/UPGRADE
>
>
> This is a major feature release bringing the following changes:
> (As you man notice most of the Apple ChatServer patches were merged.)
>
> ChangeLog:
>  * Implemented support for fake (PBX) sessions in SM
>  * PBX integration priority setting support
>  * Fix a crash that occurs when c2s connecting clients passed the
>defined connection limit
>  * Log S2S retry timeout to main log
>  * Do not log messages when not enabled or empty logfile configured
>  * Define TRUE and FALSE in util.h
>  * Merged ldapvcard improvements from Gentoo
>  * Fail on not existing ldapfull user. Fixes Bug 931622
>  * Added missing static keywords
>  * [Apple ChatServer] Disable weak SSL ciphers
>  * [Apple ChatServer] SQLite index on vCard owner
>  * [Apple ChatServer] jabberd wrapper improvements
>  * [Apple ChatServer] log_user category
>  * [Apple ChatServer] Socket closing and component shutdown fixes
>  * [Apple ChatServer] Support for DB query rate limitting
>  * [Apple ChatServer] Support for multihomed IPv4 + IPv6 machines
>  * [Apple ChatServer] Fixes crash possible when two s2s instances
>are connected
>  * [Apple ChatServer] Support enforcing TLS secured S2S connections
>only
>  * [Apple ChatServer] Domain whitelisting support
>  * [Apple ChatServer] Delay router shutdown to allow proper
>component disconnection
>  * [Apple ChatServer] Simple message logging to a directory support
>  * [Apple ChatServer] MIO kqueue implementation
>  * [Apple ChatServer] Use max accept queue specified by
>kern.ipc.somaxconn sysctl
>  * [Apple ChatServer] Fixed deferred closing of FD
>  * [Apple ChatServer] Support for see-other-host stream redirects.
>  * [Apple ChatServer] Store connection port in SX structure.
>  * Updated Flash patch
>  * Send any remaining SASL data with  authentication
>response
>  * PBX sessions do not have active stream - do not try sending them
>errors
>  * Small improvement in PBX pipe commandline parsing
>  * Merge pull request #1 from eagafonov/pub_patches
>  * Fix possible crash in logger
>  * Add initial tests/config
>  * Implement '-i ID' command line option
>  * authreg_pgsql: implement 'check password' functionality
>  * libstorage: move storage-related SM stuff into separate library.
>  * [SM] Implement 'user-unload' chain
>  * Enable/disable debug output with signals USR1/USR2
>  * Added README.config about node value substitution
>  * Move SX_CONN_EXTERNAL_ID_MAX_COUNT out of SX SSL context
>  * Cleared PBX pipe documentation
>  * Fixed/finished PBX pipe implementation
>  * RFC6121 4.3.2. says that responses to directed probe SHOULD
>communicate only the fact that the resource is available
>  * Refactored marking DNS as bad to function and used when bouncing
>backets due to timeout
>  * Bounce queued packets with  error if
>remote server breaks connection during dialback
>  * Log used PEM file for domain
>  * Merged storage-oracle typo fix by Jan Pazdziora. Closes Bug
>824395
>  * Merged A1HASH passwords support for MySQL by Steven Ayre. Closes
>Bug 821737
>  * Merged get photo from storage_ldapvcard patch by Volkov Aleksey.
>Closes Bug 819356
>  * Merged force-create published users patch by Volkov Aleksey.
>Closes Bug 817727
>  * Fix for getting client cert CommonName, by nmset. Closes Bug
>814823
>  * Merged Win32 compilation fixes by Sob
>  * Merged group extraction by RegExp from LDAP support by
>Master5597. Closes Bug 808984
>  * Merged config variables expansion by Eugene Agafonov
>  * Deliver presence broadcast to all resources, not only to
>non-negative ones. Fixes Bug 795108
>  *
> For a full ChangeLog see:
> https://github.com/Jabberd2/jabberd2/blob/bc6a7a9cca/ChangeLog
>
>
>
>
> --
> Tomasz Sterna
> Instant Messaging Consultant : Open Source Developer
> http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio
>
>
>
>
>


Re: jabberd-2.2.15 release

2012-04-30 Thread Tomasz Sterna
Dnia 2012-04-30, pon o godzinie 20:20 +0200, Christof Meerwald pisze:
> > > https://github.com/Jabberd2/jabberd2/downloads )?
> > It would, but why?
> > I see no reason for duplication of the same tarballs.
> Well, the ones in the "Downloads" section should ideally already
> contain the autoconf generated configure script. 

That's a _very_ good point. :-)

I will upload distribution tarball then.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-04-30 Thread Christof Meerwald
On Mon, Apr 30, 2012 at 05:04:22PM +0200, Tomasz Sterna wrote:
> Dnia 2012-04-30, pon o godzinie 11:06 +0200, Marcin Mirosław pisze:
> > Would it be possible to have tarball in "Downloads" section of github (
> > https://github.com/Jabberd2/jabberd2/downloads )?
> It would, but why?
> I see no reason for duplication of the same tarballs.

Well, the ones in the "Downloads" section should ideally already
contain the autoconf generated configure script.


Christof

-- 

http://cmeerw.org  sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org   xmpp:cmeerw at cmeerw.org




Re: jabberd-2.2.15 release

2012-04-30 Thread Tomasz Sterna
Dnia 2012-04-30, pon o godzinie 10:04 +0200, Marek Červenka pisze:
> i have problem with compilation. any ideas?
> storage_ldapvcard.c: In function '_st_ldapvcard_get':
> storage_ldapvcard.c:333: error: 'struct storage_st' has no member
> named 'sm' 

There was a bit of reorganisation in the storage directory.
I don't have resources to build every single plugin (I would have to
have installed and configured all plugin dependencies) so occasionally
build problems slip through.

Please report this bug on Launchpad. I will take care of it ASAP.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-04-30 Thread Tomasz Sterna
Dnia 2012-04-30, pon o godzinie 11:06 +0200, Marcin Mirosław pisze:
> Shouldn't urls looks like:
> https://github.com/Jabberd2/jabberd2/zipball/jabberd2-2.2.15

I know this may be a bit confusing, but the project name is 'jabberd'.
This is the second installment of jabberd project (thus the 2.x.y
version numbering).

To be clear which jabberd attempt we are talking about we usually
distinguish 'jabberd14' name for the original jabberd daemon, and
'jabberd2' for the second rewrite.


Similarly like there are two Apache daemons, of 1.x and 2.x lines, that
are very different, but are installments of the same Apache project.


> Would it be possible to have tarball in "Downloads" section of github (
> https://github.com/Jabberd2/jabberd2/downloads )?

It would, but why?
I see no reason for duplication of the same tarballs.


-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio





Re: jabberd-2.2.15 release

2012-04-30 Thread Marcin Mirosław
W dniu 29.04.2012 23:57, Tomasz Sterna pisze:
> Next jabberd2 release is available.
> 
> The project had moved to GitHub, so this time get 2.2.15 release at:
> https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
> https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15

Hello.
Shouldn't urls looks like:
https://github.com/Jabberd2/jabberd2/zipball/jabberd2-2.2.15
   ^^^
to keep consistency in name of package?
Would it be possible to have tarball in "Downloads" section of github (
https://github.com/Jabberd2/jabberd2/downloads )?
Thanks,
Marcin




Re: jabberd-2.2.15 release

2012-04-30 Thread Marek Červenka

i have problem with compilation. any ideas?


age_ldapvcard.lo -MD -MP -MF .deps/storage_ldapvcard.Tpo -c -o 
storage_ldapvcard.lo storage_ldapvcard.c

authreg_ldapfull.c: In function 'ar_init':
authreg_ldapfull.c:802: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:816: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:849: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:851: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:853: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:857: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:859: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:863: warning: assignment discards qualifiers from 
pointer target type
authreg_ldapfull.c:871: warning: assignment discards qualifiers from 
pointer target type

storage_ldapvcard.c: In function 'rebindProc':
storage_ldapvcard.c:176: warning: return makes integer from pointer 
without a cast

storage_ldapvcard.c: In function '_st_ldapvcard_get':
*storage_ldapvcard.c:333: error: 'struct storage_st' has no member named 
'sm'*
storage_ldapvcard.c:429: warning: passing argument 5 of 'processregex' 
from incompatible pointer type
storage_ldapvcard.c:104: note: expected 'char *' but argument is of type 
'char (*)[1024]'

storage_ldapvcard.c: In function 'st_init':
storage_ldapvcard.c:558: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:564: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:570: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:590: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:592: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:594: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:598: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:600: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:604: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:606: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:616: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:622: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:628: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:632: warning: assignment discards qualifiers from 
pointer target type
storage_ldapvcard.c:636: warning: assignment discards qualifiers from 
pointer target type

make[2]: *** [storage_ldapvcard.lo] Error 1
make[2]: *** Waiting for unfinished jobs






Dne 29.4.2012 23:57, Tomasz Sterna napsal(a):

Next jabberd2 release is available.

The project had moved to GitHub, so this time get 2.2.15 release at:
https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15

and read: https://github.com/Jabberd2/jabberd2/blob/bc6a7a9cca/UPGRADE


This is a major feature release bringing the following changes:
(As you man notice most of the Apple ChatServer patches were merged.)

ChangeLog:

   * Merged ldapvcard improvements from Gentoo
   * Fail on not existing ldapfull user. Fixes Bug 931622







--
---
Marek Cervenka
===



jabberd-2.2.15 release

2012-04-29 Thread Tomasz Sterna
Next jabberd2 release is available.

The project had moved to GitHub, so this time get 2.2.15 release at:
https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15

and read: https://github.com/Jabberd2/jabberd2/blob/bc6a7a9cca/UPGRADE


This is a major feature release bringing the following changes:
(As you man notice most of the Apple ChatServer patches were merged.)

ChangeLog:
  * Implemented support for fake (PBX) sessions in SM
  * PBX integration priority setting support
  * Fix a crash that occurs when c2s connecting clients passed the
defined connection limit
  * Log S2S retry timeout to main log
  * Do not log messages when not enabled or empty logfile configured
  * Define TRUE and FALSE in util.h
  * Merged ldapvcard improvements from Gentoo
  * Fail on not existing ldapfull user. Fixes Bug 931622
  * Added missing static keywords
  * [Apple ChatServer] Disable weak SSL ciphers
  * [Apple ChatServer] SQLite index on vCard owner
  * [Apple ChatServer] jabberd wrapper improvements
  * [Apple ChatServer] log_user category
  * [Apple ChatServer] Socket closing and component shutdown fixes
  * [Apple ChatServer] Support for DB query rate limitting
  * [Apple ChatServer] Support for multihomed IPv4 + IPv6 machines
  * [Apple ChatServer] Fixes crash possible when two s2s instances
are connected
  * [Apple ChatServer] Support enforcing TLS secured S2S connections
only
  * [Apple ChatServer] Domain whitelisting support
  * [Apple ChatServer] Delay router shutdown to allow proper
component disconnection
  * [Apple ChatServer] Simple message logging to a directory support
  * [Apple ChatServer] MIO kqueue implementation
  * [Apple ChatServer] Use max accept queue specified by
kern.ipc.somaxconn sysctl
  * [Apple ChatServer] Fixed deferred closing of FD
  * [Apple ChatServer] Support for see-other-host stream redirects.
  * [Apple ChatServer] Store connection port in SX structure.
  * Updated Flash patch
  * Send any remaining SASL data with  authentication
response
  * PBX sessions do not have active stream - do not try sending them
errors
  * Small improvement in PBX pipe commandline parsing
  * Merge pull request #1 from eagafonov/pub_patches
  * Fix possible crash in logger
  * Add initial tests/config
  * Implement '-i ID' command line option
  * authreg_pgsql: implement 'check password' functionality
  * libstorage: move storage-related SM stuff into separate library.
  * [SM] Implement 'user-unload' chain
  * Enable/disable debug output with signals USR1/USR2
  * Added README.config about node value substitution
  * Move SX_CONN_EXTERNAL_ID_MAX_COUNT out of SX SSL context
  * Cleared PBX pipe documentation
  * Fixed/finished PBX pipe implementation
  * RFC6121 4.3.2. says that responses to directed probe SHOULD
communicate only the fact that the resource is available
  * Refactored marking DNS as bad to function and used when bouncing
backets due to timeout
  * Bounce queued packets with  error if
remote server breaks connection during dialback
  * Log used PEM file for domain
  * Merged storage-oracle typo fix by Jan Pazdziora. Closes Bug
824395
  * Merged A1HASH passwords support for MySQL by Steven Ayre. Closes
Bug 821737
  * Merged get photo from storage_ldapvcard patch by Volkov Aleksey.
Closes Bug 819356
  * Merged force-create published users patch by Volkov Aleksey.
Closes Bug 817727
  * Fix for getting client cert CommonName, by nmset. Closes Bug
814823
  * Merged Win32 compilation fixes by Sob
  * Merged group extraction by RegExp from LDAP support by
Master5597. Closes Bug 808984
  * Merged config variables expansion by Eugene Agafonov
  * Deliver presence broadcast to all resources, not only to
non-negative ones. Fixes Bug 795108
  * 
For a full ChangeLog see:
https://github.com/Jabberd2/jabberd2/blob/bc6a7a9cca/ChangeLog




-- 
Tomasz Sterna
Instant Messaging Consultant : Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/portfolio