Commit graph

75 commits

Author SHA1 Message Date
Thomas Klausner
ab6362699e Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 09:00:04 +00:00
Adam Ciarciński
35157c1331 Explicitly depend on db4 2009-05-07 09:56:27 +00:00
Eric Schnoebelen
162d6a3069 Added a LICENSE clause.
Update to Jabberd 2.2.8:

From the release announcement:
	What changed:
	- User can message/query own resources
	- Settable size for vCard image field
	- Proper server disco#info answer
	- Support for /etc/hosts lookup (as a last resort)
	- many stability fixes

	Security Note: r765 fixes a possible router crasher when an "evil"
	directly connected component may crash router (thus the whole
	server). Since components are considered trusted, this is a minor
	issue. But once a remote user finds a way of triggering the "bad"
	packet from a component, this might become a serious issue. You've
	been warned.

Changelog:
 * Proper check for valid arguments in nad_find_namespace(). Fixes Bug
   #364816.
 * fix for ser_string_get missing from storage_db.so by Michael Weiser.
   Fixes Bug #345947
 * Send all in-sess generated and not processed packets to the wild.
 * Proper order of redirect and background job operators
 * Merged support for settable vCard and vCard-avatar fields size by
   Sylvain Rochet. Fixes Bug #336123
 * Redirecting both stdout and stdin to /dev/null on daemon launch.
   Fixes Bug #349714
 * Give both disco#info and disco#items to disco#info query. Fixes Bug
   #349134.
 * End SM session when client disconnects before session start recieved
 * Replying with presence-unsubscribed to presence-probe only. Fixes Bug
   #341170.
 * Added /etc/hosts support in s2s resolver. Thanks to Gebi Miguel.
   Fixes #63
 * New Visual Studio 2008 compatible README.win32
 * Visual Studio 2008 (SP1) projects migration
 * Use only necessary link libraries
 * Use own OpenSSL libraries (i.e. libeay32.lib instad of libeay32MT.lib
   from Shining Light Productions)
 * Add OpenSSL directly to the build, avoiding problems with OpenSSL
   installation on some systems
 * Remove OpenSSL check (now it is installed inside jabberd2 folder)
 * Check VS 2008 RTM on Vista and Windows 7 too
 * Define target versions to Win2k and IE4 to avoid problems with Vista
   SDK
+ cleanup junky comments
 * util.h is local in util folder
 * Add SSL_OP_NO_TICKET definition for older OpenSSL installations.
   Fixes #256
 * ANSI C compatibility, variable declaration at the beginning of the
   block.
2009-04-28 13:17:45 +00:00
Adam Ciarciński
db544f3f3b Fixed path in MESSAGE 2009-03-25 16:35:53 +00:00
Eric Schnoebelen
d5c69cdceb This maintenance release brings workaround for the latest problems with
S2S connections to GTalk (and OpenFire).


ChangeLog:
      * Workaround for buggy Java TLS implementation (affecting OpenFire
and GTa
lk)

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.2.7.1/ChangeLog
2009-02-25 03:29:40 +00:00
Eric Schnoebelen
c338865b93 Upgrade to Jabberd2 2.2.7:
Fixed issue with not supported but advertised SASL integrity protection.

ChangeLog:
      * Enforce qop=auth for DIGEST-MD5 in sasl_gsasl

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.2.7/ChangeLog
2009-02-17 16:06:45 +00:00
Eric Schnoebelen
505a19f4e5 Upgrade to jabberd2 2.2.6.
Features:
    Most annoying bug that got fixed is dropping presence-unavailable
    packet from GTalk.
    There is also a nice new feature for router-filter users and
    for multihomed machines.

ChangeLog:
      * Implemented GSASL qop-int integrity checks with
        gsasl_decode()/gsasl_encode() functions. Refs #233
      * Implemented router-filter packet logging. Closes #176
      * Proper mangling jabber:client to jabber:client namespace in
        incoming S2S packets. Fixes #267
      * Merged patch to specify origin IP addres of S2S connections

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.2.6/ChangeLog
2009-02-16 18:01:35 +00:00
Eric Schnoebelen
9869cd55d4 correct to support user-destdir. 2009-02-14 05:37:27 +00:00
Eric Schnoebelen
304e7bb906 Update to Jabberd 2.2.5:
Jabberd is a XMPP/Jabber server.

ChangeLog:
      * Fixed an issue when one invalid outgoing domain resolution would
        iterate over ALL outgoing resolution queues and bounce all
        waiting outgoing packets.
      * [CRASHER] Fixed bug in _nad_lp0() that could produce 'unbound
        prefix' XML parse errors in rare cases. This leads to components
        disconnection and shutdown.
      * Fixed double free in mod_amp. Fixes #265
      * Initialization of first element of attrs_vcard. Thanks to
        Andreas Hofmeister.
      * Merged FreeBSD BekeleyDB detection fix. Closes #261
      * When unblocking the last user in the list of users, update the
        zlist->last pointer to avoid crashing later on.
      * Linking libutil.la to authreg_pipe.so statically. Fixes #257
      * Removed all NAD caching. This should reduce memory usage and
        memory growth.
      * Clarified usage of <id/> attributes in configuration file
      * Merged Oracle DB fixes submitted by Oleksiy Kramarenko
      * MIO_ERROR is not l-value on Windows [706], one should use
        MIO_SETERROR(e) instead of MIO_ERROR = e (#224)
      * Add a key to the status table in MySQL. This should make queries
        to that table a bit faster.
      * Proper check whether the connection is TLS encrypted
      * Sending S2S client certificate during S2S encrypted session
        establishment
      * Added a key to the status table in db-setup.mysql.
      * Setting MIO_ERROR to EFAULT:'Bad address' on IP address
        resolution failure. Fixes #224
      * Merged Debian Bug #493765 patch for LDAP_DEPRECATED functions.
        Thanks to Dann Frazier. Fixes #240
      * Merged patch to fix freed DNS queue data on unreachable domain.
        Thanks to Simon Arlott. Closes #253
      * Merged patch to reload users file on SIGHUP. Thanks to Simon
        Arlott. Closes #254
      * Refs #252 - no closing SX on zero buffer read
      * Merged IDNA domains resolution support patch by Norman Rasmussen
      * Fixed typo in starttls option name. Fixes #247
      * Handle trusts based on bare and full JID roster items
      * Using Cyrus sasl_encode64/decode64() in CyrusSASL backend
        instead of APR ones
2009-01-23 03:21:20 +00:00
Eric Schnoebelen
76cda5d346 Update to 2.2.4
ChangeLog:
      * [WIN32] libidn & gsasl downloads are now at GNU servers.
      * Fix a memory leak when using stanza rate limiting
      * Detecting unrecoverable stream errors on establishing an
        outgoing s2s connection. Refs #244
      * Do not offer compression if STARTTLS is required and not enabled
      * Return better error on STARTTLS required failure.
      * [WIN32] server.pem has to be permanent in order to not disappear
        on upgrade.
      * [WIN32] Put stats on the main folder of win32 distro too.
      * [WIN32] Cleanup win32 README a bit.
      * [WIN32] Don't override server.pem on upgrade.
      * [WIN32] Bump minor revision to 2.2.
      * [WIN32] Unfortunately we need to wait on services during setup
        or uninstallation and upgrades will fail.
      * [WIN32] Fix latest WiX 3 Beta compatibility.
      * [WIN32] Add TLS server certificate for default win32 c2s config.
      * [WIN32] Create initial SQLite database on build.
      * [WIN32] Add stream compression support and zlib1 dependencies.
      * [WIN32] Remove ENABLE_SUPERSEDED from projects, this is now part
        of config.h for win32.
      * [WIN32] Don't fail when service fails to start (Should popup
        ignore box)
      * [WIN32] Add udns library to setup.
      * [WIN32] Adding udns dependency in the README.win32
      * Implemented logging of compressed conection established. Closes
        #243
      * [WIN32] Change default SM storage driver to SQLite on Windows.
      * [WIN32] Use DES_crypt as a replacement for Posix crypt on
        Windows.
      * [WIN32] Add UDNS dependencies for linkage.
      * [WIN32] File must be opened as binary (only Windows affected),
        so fseek & ftell tells proper size for the buffer. With single
        "r" buffer will be too small.
      * [WIN32] generate configuration XML files out of dist files on
        build (using Perl)
      * [WIN32] copy default server.pem (localhost)
      * [WIN32] add Perl dependency to README.win32
      * [WIN32] Using SubWCRev from TortoiseSVN for version files
        generation, updating notes.
      * [WIN32] Enable USE_LIBSUBST for Windows builds.
      * Implemented My IP Address extension
        http://delta.affinix.com/specs/xmppstream.html#myip
2008-08-28 15:10:56 +00:00
Eric Schnoebelen
9032b3c7e8 Update to Jabberd2 2.2.3:
ChangeLog:
      * GSSAPI support by Jelmer Vernooij
      * Stream Compression fixed
      * Fixed c2s crash on BASE64 data error
      * Sending stream errors on SX wrapper errors
      * Required GnuSASL version 0.2.27
2008-08-10 03:16:48 +00:00
Eric Schnoebelen
9febf04487 Update to jabberd2 2.2.2.
* SSL certificate loading fixes
      * Implemented MIO read throttling in c2s. Now we pause reading
        socket instead of disconnection on throttle.
      * Removed scod module.
      * Added a maximum stanza limit to c2s. This can be used to set an
        upper limit on the number of individual requests that can be
        made in a given window of time.
      * Fix a bug in s2s where xmlns="jabber:client" would get appended
        to an incoming stanza even though the stanza already had an
        xmlns attribute set.

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.2.2/ChangeLog
2008-07-28 18:23:56 +00:00
Eric Schnoebelen
7e1b5418a4 Jabberd2 2.2.1 released
read: http://svn.xiaoka.com/jabberd2/trunk/UPGRADE


This is a big bugfix release.


ChangeLog:
      * Removed jid prep cache and mysql filters cache. These are known
        to grow without restrictions causing memory "leak".
      * Fix in jabber:iq:register example in router-filter.xml
      * Fix in lookup.resolve-ipv6 in s2s.xml handling
      * Fix c2s's byte rate limiting.
      * Make c2s's connection rate limiting and router's byte rate
        limiting work better.
      * Comments and spelling errors fixes
      * Fix a potential memory leak when attempting to read from a
        socket that has been closed.
      * Improve the documentation for <max_fds> in the configuration
        files.
      * Merged MySQL crypt()ed password full implementation. Closes #228
      * Re-use DB query the filter instead of recreating it.
      * Added --without-subst option to disable subst/ library building.
      * Do not bounce s2s error packets
      * Fixed filtered packets error reporting
      * Changed router-filter example, because resource is not matched

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.2.1/ChangeLog
2008-07-16 16:45:47 +00:00
Adam Ciarciński
3df225d5c0 Fix building with db4 + clean-up 2008-06-24 10:09:53 +00:00
Adam Ciarciński
bda5a1a92d PLIST update for auth-ldap; rc.d script: resolver removed 2008-06-10 12:06:19 +00:00
Eric Schnoebelen
1031dd40af Update to Jabberd2 2.2.0
What changed:
	- UDNS library required
	- GnuSASL 0.2.26 or higher version required
	- resolver component removed

Resolver is now built in S2S component, so you need to add <lookup/>
section to your s2s.xml config. Then remove resolver component from
your configuration.
2008-06-05 23:41:20 +00:00
Tobias Nygren
5095532425 This commit brought to you by the automated whitespace police (pkglint) 2008-05-24 15:34:08 +00:00
Eric Schnoebelen
f19f01a246 Merge with latest changes from chat/jabberd2. 2008-05-21 22:32:59 +00:00
Eric Schnoebelen
80614d08ef Make sasl-gnu the default SASL option. 2008-05-14 03:26:03 +00:00
Eric Schnoebelen
6993cdddf1 Make build successfully on NetBSD/alpha by limiting the optimization level
while compiling.. -O2 brings seg faults and bogus errors, -O1 works.
Reintroduce SASL selections, although only GNU SASL (sasl-gnu) is
known to work.
2008-05-14 03:22:09 +00:00
Eric Schnoebelen
27164c6d57 Update to 2.1.24.1. 2008-05-05 15:50:12 +00:00
Eric Schnoebelen
4890441bb7 pkglint cleanups to MESSAGE. 2008-02-07 05:54:29 +00:00
Eric Schnoebelen
2fb7aef9fa This release fixes long hunted busy-loop-no-listen bug with select
MIO backend, some XMPP compliance fixes, new Win32 build, compilation
fixes and more...

ChangeLog:
 * Fixed endless loop for failed session closure
 * Fixed packet to non-existing users handling to be conformant to RFC
   3921bis 8.1. No Such User
 * Fixed loop on select. Closes #125
 * Added pam authpipe script
 * Added example pam.d/jabber file from Gentoo
 * Changed example localdomain names to FQDN localhost.localdomain
 * Fixed Win32 build
 * Update of Visual Studio dependent libraries
 * Using MIO_WOULDBLOCK for Windows.
 * Added db-update.sqlite
 * Define S_IRUSR, S_IWUSR, S_IRGRP to 0 on Windows, as we don't have
   unix permissions there and those variables are undefined.
 * JABBERD2_API for _stanza_errors[], so it is exported in Windows to DLL.
 * moved _mio_wnd_proc to mio_wsasync.c (better for debugging)
 * fixed defer_free in right structure
 * check socked range in _mio_wnd_proc in case we get some invalid
   WM_APP + sthing message
 * added patch from Dan Hulme zeroing structures added to free pool
   (thanks Dan!)
 * Send vacation reply only to humans (full JIDs). Fixes #186
 * Updated supported protocol listing
 * Updated license template
 * Using OpenSSL implementation of SHA1 hash if OpenSSL library enabled
 * Added check whether -O optimization is to high. Fixes #100
 * Changed contact address to list address
 * Added BerkeleyDB dump script
 * Added BerkeleyDB-2-MySQL migration script
 * Implemented XEP-0232: Software Information
 * Fixed possible crash when debug is on
 * Fix for session restoration packet without queued result

For a full ChangeLog see:
http://svn.xiaoka.com/jabberd2/tags/jabberd-2.1.23/ChangeLog
2008-02-07 05:35:42 +00:00
Tobias Nygren
4a341ef10e Fix a suspicious comment. Whitespace before # doesn't generate a comment,
but rather an empty shell command which might not have a target associated
with it.
2008-02-05 11:55:35 +00:00
Eric Schnoebelen
f6f96cca74 Add a MESSAGE file pointing at share/doc/jabberd2/UPGRADE;
Add some share/jabberd2/docs, namely PROTOCOL, README, UPGRADE and ChangeLog.
2008-01-24 22:53:08 +00:00
Eric Schnoebelen
06292913c3 Bring up to the recently released jabberd 2.1.21 edition. 2008-01-22 22:16:36 +00:00
Tobias Nygren
d2ab3469b0 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 04:30:10 +00:00
Eric Schnoebelen
fe959eae29 Clean up for pkglint. 2008-01-17 17:01:56 +00:00
Eric Schnoebelen
0cd6c8d600 Added new module, roster-publish. 2008-01-17 16:58:48 +00:00
Eric Schnoebelen
e0f7640747 Pull in the buildlink file for gnu sasl;
add comment to the effect it is  no longer optional.
2008-01-17 16:52:29 +00:00
Eric Schnoebelen
5b5a8092f6 Update to jabberd 2.1.21;
remove support for cyrus-sasl, as the maintainer declares it worthless.
2008-01-17 16:41:12 +00:00
Eric Schnoebelen
27f927dbec Take maintainership of the wip (this) version. 2007-12-13 03:40:20 +00:00
Eric Schnoebelen
6959784b72 Minor tweaks to install cleanly. 2007-12-13 03:39:09 +00:00
Eric Schnoebelen
99c946ea48 Resurrect the package for development/maintenance of the
"cutting-edge" version of jabberd2.
2007-12-09 07:25:35 +00:00
Eric Schnoebelen
4e73c142db Resurrect the package for development/maintenance of the
"cutting-edge" version of jabberd2.
2007-12-09 07:13:22 +00:00
Eric Schnoebelen
6cc0f9f0dd "cutting-edge" version of jabberd2. 2007-12-09 06:58:00 +00:00
Juan Romero Pardines
4f2f7d369b jabberd2 moved to pkgsrc finally! wohooo 2004-03-28 19:39:15 +00:00
Juan Romero Pardines
73c2b9b002 There's no need to use bdb.buildlink3.mk here, db4 is enough. 2004-03-24 06:47:31 +00:00
Juan Romero Pardines
c861643051 Don't redirect std{err,out} to .log files, use /dev/null instead.
jabberd uses syslog by default anyway.
2004-03-17 05:20:42 +00:00
Juan Romero Pardines
79251cd463 indent 2004-03-17 02:56:38 +00:00
Juan Romero Pardines
a2fb79cfe2 Build anon and pipe authentication register modules too. 2004-03-17 02:51:53 +00:00
Juan Romero Pardines
b6f6cb2f0c Fix copy&paste typos. 2004-03-17 02:41:33 +00:00
Juan Romero Pardines
7d92868462 Finish jabberd package doing the following things:
o Use BUILDLINK_TRANSFORM to fix path for db4 headers.
    o Fix typos of previous commit.
    o Add rc.d scripts for all jabberd services (c2s, router, etc).
    o Minor cleanups to Makefile.
    o Remove pidfiles via stop_postcmd.

I think it's ready for pkgsrc, I'll import it after the freeze.
2004-03-17 02:19:12 +00:00
Soren Jacobsen
084e0938cf LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now shell globs relative to
WRKSRC.  LIBTOOL_OVERRIDE defaults to "libtool */libtool and */*/libtool,"
meaning that, in most packages, there's no need to set it.

So: Nuke tons of LIBTOOL_OVERRIDE=${WRKSRC} and adjust a few
SHLIBTOOL_OVERRIDEs (remove ${WRKSRC} from them).
2004-02-17 02:55:13 +00:00
Juan Romero Pardines
44707244a6 bl3ify and upgrade to the latest stable version (2.0s2).
Changes since the previous version:

* Brought privacy lists into line with latest spec
* Fixed registration bug & password changing security hole
* Fixed DIGEST-MD5 "qop" attribute handling
* Fixed a number of c2s/s2s I/O race conditions
* Fixed keepalives (now work with SSL/TLS connections)
* Fixed build against OpenLDAP 2.2
* Updated presence broadcast semantics
* Added calls to PAM account management functions
* Added handling for zero-length LDAP passwords
* Added checks for Berkeley DB 4.2
* Added check for vsyslog() and workaround code for systems that don't
  have it (eg HP-UX)
* Removed -R flags from link directives
2004-02-12 06:14:58 +00:00
Chris Pinnock
02b0269149 Whitespace fix 2003-12-30 23:49:31 +00:00
Juan Romero Pardines
857ac017c5 Update to 2.0s1
Changes:

   * Support for multiple SRV lookups [rob]
   * c2s/sm detect when the other is unavailable, and kills
     sessions appropriately [rob]
   * Optional logging to stdout [rob]
2003-12-29 15:36:35 +00:00
Juan Romero Pardines
fe8d8da779 Updated to 2.0rc1 (Release Candidate 1)
Changes are minor bugfixes.
2003-11-17 10:25:08 +00:00
Juan Romero Pardines
352332fa47 Upgrade to 2.0beta3.
2003-11-03  jabberd 2.0b3

    * Support for multiple SRV lookups [rob]
    * c2s/sm detect when the other is unavailable, and kills sessions
      appropriately [rob]
    * Optional logging to stdout [rob]
2003-11-05 00:31:36 +00:00
Juan Romero Pardines
390774e43c Upgrade to 2.0.0beta2 (jabberd2 code is freezed now)
2003-10-08  jabberd 2.0b2

    * 1.4 migration tool [rob]
    * Configurable router reconnect [rob]
    * Lots of memory corruption and other bugs fixed [rob]

pkgsrc:

* Install some templates for mysql/postgresql databases and one perl
  script.
2003-10-08 00:59:51 +00:00