Commit graph

61 commits

Author SHA1 Message Date
adam
b34d74d4e8 Changes 2.2.11:
* Use length with route keys
* closefd during main loop
* ported router connection closing improvement from cwave
* fix potential segfault in a call to xhash_putx()
* enforce iq type
* Fixed packet jabber:server -> jabber:client namespace mangling
* Fixed attribute namespace handling in NAD parser
* Fixed missing reference in log_error
2010-11-09 07:33:10 +00:00
adam
6109aa350c Revbump after updating databases/db5 2010-09-16 08:04:14 +00:00
schnoebe
1d677afdcc Move BDB_ACCEPTED within the {storage,auth}-db options section, where
../../mk/bdb.buildlink3.mk is included.
2010-07-06 00:01:35 +00:00
adam
ff4b8599fc Changes 2.2.10:
* Special case to ignore the X509_V_ERR_UNABLE_TO_GET_CRL error
  when CRL is not present in chain. Merged patch by Michal Witkowski.
* storage_ldapvcard rebind like auth_ldap for successful connection
  to MS Active Directory as LDAP storage. Merged patch by x0r.
* Merged SASL External login for clients patch by Michal Witkowski.
* Merged router-filter redirect option by Ugnich Anton.
* Dropped support for PEP
* Fix for crash on empty pkt->to
2010-06-16 07:56:29 +00:00
adam
99a09c94f0 Fix building with db5; revision bump for db4 update 2010-06-02 13:14:47 +00:00
adam
66961b4948 Rev.2 changes:
* Unlimit file descr. to 1024 for c2s, as in c2s configuration file.
* Allow -Os (instead of -O1) as a work-around 64-bit compiler bug.
* Router patch.
2010-04-15 07:01:22 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
zafer
7627d2ef4d update master_sites 2009-12-13 12:27:17 +00:00
schnoebe
d5d398e3ca bring jabberd2 up to 2.2.9. From the changelog:
What changed:
- Implemented component clustering
- Many virtual hosts in one SM process
- FreeBSD kqueue support
- Implemented PBX integration interface
- crypt() password support for LDAP backend

There is new <local/> section in sm.xml. You may use it to configure
domains serviced by the SM process. Old style domain name in <id/>
section still works for backward compatibility, but the <local/>
section overrides it.  You need to give different <id/> names to
SM instances participating in clustering. Router needs a way to
differenciate these.

There is new <pbx/> section in c2s.xml configuration file. Please
see it if you want to use the PBX integration.

Packaging changes:
    added PKG_OPTIONS_GROUP.mio to control the choice of I/O modules.
    Defaulting to mio-select and mio-poll, which are known to work  with
    NetBSD > 4.0.
2009-09-06 04:18:11 +00:00
schnoebe
6c753ebc6d Welcome to jabberd2 2.2.8. 2009-08-21 02:28:12 +00:00
gdt
ba529564d8 Update to 2.1.24.1.
This is a bugfix release for compilation problems.
Nothing new really to 2.1.24 release.
2009-08-18 23:50:53 +00:00
gdt
c51abcb011 Update to 2.1.24.
Added missing files to distribution

  Check for non configured c2s local.id

  Added tool to migrate from jabberd14 to jabberd2 SQLite. BBN.com
  contribution.

  Fix for authreg_pipe. Fixes #204

  Updated bdb2mysql.rb to jabberd 2.1 DB schema

  Do not handle disco to nodes

  Fixed vCard get

  Fixed empty node check

  Restored reading [jabberd] group from my.cnf

  Unified way utf-8 is selected in MySQL backend

  Merged crypted passwords support for MySQL. Closes #184 and 197

  Removed debug that might cause segfault. Fixes #196.

  Do not handle vCard request destined to full JIDs. Fixes #190

  Added charset utf-8 to db-setup.mysql

  Fixes segfault that happend when there are multiple sessions and
  privacy list was changed. Fixes #188

  Really fix gsasl ANONYMOUS login

  Webstatus presence resource enabled only when service enabled

  Added server component presence resources

  Added maxstanzasize debug message

  Include “util/inaddr.h” for socklen_t ss_family etc. Refs #191

  Include <stdarg.h> if available. Refs #191

  TYPE_SOCKLEN_T check. Refs #91

  TYPE_SOCKLEN_T check. Refs #91

  Include inttypes.h instead of stdlib.h as it is more universally
  available. Refs #191

  Check for stdarg.h in configure.

  Remove AC_PROG_GCC_TRADITIONAL (obsolete).

  Remove AC_FUNC_MALLOC, AC_FUNC_REALLOC - if they find malloc(0) does
  not return a valid pointer malloc will be defined to rpl_malloc, and
  no rpl_malloc is available. See
  http://www.gnu.org/software/autoconf/manual/autoconf.html#Particular-Functions

  Seems easier to use AC_SEARCH_LIBS for inet_ntop etc.

  Move the broken __ss_family check so that it appears after the check
  for struct sockaddr_storage.

  Check for socklen_t

  Fix –enable-pgsql

  Fixed compatibility with VC++ and ANSI, variables must be declared at
  the beginning of the block.

  Check for Win32 OpenSSL and Visual C++ 2005 SP1 Redistributable
  Package (x86), and raise error if not found in the installer.

  Updated Makefile.am witn new README.protocol file

  Unified URI/URN definitions
2009-07-24 19:05:53 +00:00
zafer
c14bfbb4ef update master site. 2009-05-28 20:55:59 +00:00
joerg
0b4040a57c Fix DESTDIR. 2008-06-16 13:29:25 +00:00
obache
1508309880 Fix and simplify workaround for broken db4 library detection.
Should fix PR 38354.

While here, add DESTDIR support.
2008-05-27 13:23:43 +00:00
wiz
41f426ade1 Reset maintainer on his request. 2008-05-25 21:20:07 +00:00
gdt
2b5e0fb6e4 On NetBSD 4 with xen/i386, startup at boot fails, with sm not
connecting to something.  Putting 'sleep 5' in sm's rc.d script
resolves the problem.  (The right fix is to for all programs to ensure
that they are ready to provide all defined services before the
top-level command exits, but that's much harder.)  PKGREVISION++.
2008-03-08 22:20:02 +00:00
xtraeme
d48527f6ef Update to 2.1.23. Lots of changes and bugfixes since previous version,
see http://jabberd2.xiaoka.com/wiki/Releases for a detailed description.
2008-02-20 14:33:04 +00:00
tnn
ad6ceadd25 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 05:06:18 +00:00
sborrill
02bff73ef0 The startup order of the jabberd components is important; alphabetical order
isn't good enough!

Ensure that c2s starts after router (which it needs to connect to). This
saves it having to retry the connection.

Bump PKGREVISION
2007-11-15 12:57:21 +00:00
xtraeme
24b85346dd Update to 2.1.14:
2.1.14

2007-08-14

* Integrated authreg_oracle by fundy.
* Operands incompatibility fix for Sun compiler.
* contrib/cyrus-sasl-digest-md5-fix added
* Applied MIO memleak fix related to time_checks by Christof Meerwald.

2.1.13

2007-08-08

* Reverted broken [311] and [313] changes to source:trunk/mio/mio_impl.h
* compilation fix
* Fix configuration XML files domain update
* Don't allow reinstalling on newer version
* Fixed off-by-one error in base64
* Force uninstall previous version on upgrade.

2.1.12

2007-07-30

* Fixed many memleaks
* Check if OpenSSL is already initialized in PostgreSQL backend.
* Implemented PQconnectdb PostgreSQL connection method.
* Applied pg_config using by configure patch by Michael Krelin.
* Implemented auth/reg stream features advertisement.
* Removed useless while/alloc loops
* WiX notes for Windows README
* WiX new "JabberWelcomeDlg?"
* WiX fixed cases of reinstall & upgrade
* nad_cache_new & nad_cache_free exported as JABBERD2_API functions.
* Changed allocator BLOCKSIZE to 128 bytes

2.1.11

2007-07-27

* Changed SASL level error reporting to malformed-request error according
  to rfc3920bis.
* Fixed ./configure tests reliability.
* Changed DOS line endings to UNIX line endings.
* Fixed XML predefined entities quoting in serialized XML.

2.1.10

2007-07-20

* Removed SASL backend fallbacks
* Added roster items limit option. Closes #89
* Added count support in SQLite3 backend

2.1.9

2007-07-19

* Added jabberoob redirection support during in-band registration
* Logging JID on disconnection
* Added counting packets on c2s and s2s connections
* Added TLS indicator for c2s and s2s logs.
* Added type='log' to ComponentProtocol <route/> wrapper for logged packets.
2007-08-26 09:10:54 +00:00
joerg
35d0d6cf26 Installs Perl scripts to bin/, so depend on Perl. Bump revision. 2007-08-01 21:45:30 +00:00
xtraeme
02fe5822e3 Update to 2.1.8:
2.1.8

2007-07-12

* Resurrected /scod from revision 189
* Changed SASL backend selection method. Incorporated SCOD selection option.
* Keeping garbage out of LIBS variable.
* Reporting dropped packet when starttls-required.
* Fix for storage_db compilation error after util/ cleanup.

2.1.7

2007-07-04

* Full Win32 support
  o proper build under Windows
  o support for native Windows network I/O
  o runs as a service under Windows
  o native Windows auth modules:
	+ ntlogon
	+ sspi
  o Windows installer
* Support for reloading c2s serviced hosts on SIGHUP
* Proper dynamic module handling on non GCC platforms
* Defaulting MySQL connection to UTF-8
* Removed support for ZeroK authentication
* Fixed dynamic linker detection with libtool
* XMPP compatibility fixes
* Exported libsubst sysmbols dynamic for sm modules to use
2007-07-13 09:43:36 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
xtraeme
dca0c77ff9 Fix a problem reported by Jim Wise: when using auth-db4 and storage-db4
the shared libraries were not installed, the configure added -ldb and
we did not have this dependency to satisfy libtool.

Also use bdb.buildlink3.mk. Bump PKGREVISION.
2007-06-12 15:26:07 +00:00
xtraeme
9d0d84961b - Move JABBERD_DBDIR to Makefile.common, because this is used by sqlite.
- Add VARBASE into BUILD_DEFS, as suggested by pkglint.
- Transform @pkglibdir@ appropiately in the configuration files.
2007-05-26 13:33:56 +00:00
xtraeme
df35908699 Update to 2.1.6 (last stable version).
A lot of changes were made since previous update, like SASL support,
SQLite support, etc. Please see the following URL for a full list
of changes:

http://jabberd2.xiaoka.com/wiki/Releases
2007-05-26 11:50:12 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
rillig
5acfb0b6ca Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?
2007-01-17 03:11:18 +00:00
xtraeme
fa9f4021ae Update to 2.0s11:
* Sending a stanza before a stanza during a SASL negotiation can cause a
  c2s segfault. Leading to a remote DoS.
2006-06-11 01:57:27 +00:00
rillig
27baea9e54 Fixed pkglint warnings. 2006-04-21 09:18:37 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
xtraeme
eadc9131c8 Bump PKGREVISION due to mysql.buildlink3.mk changes (default mysql
pkg has been changed to 5.x). Reminded by wiz... thanks.
2006-01-08 18:35:08 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
xtraeme
fbdb9e2082 Update to 2.0s10
* fixed SASL anonymous
* fixed edge cases with new dynamic jid code
* fixed incorrect free order in c2s
* corrected debug logging
* fixed s2s bus error on 64-bit architectures
* fixed c2s collisions due to long jids
* fixed error response to iq result
* fixed roster pushing packets without id
* applied new dynamic jid patch
* fixed double free of nad in c2s and s2s
* major memory enhancement, made jid structure dynamically allocated
* fixed glibc error with custom sql statements
* fixed segfault with keepalives
2005-10-20 11:47:18 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
xtraeme
f0f80cfdc6 Update to 2.0s9.
The jabberd project team is pleased to announce the release of jabberd 2.0s9.
This is a security release. There is a buffer overflow that could be used to
perform a DoS attack and possible code execution. It is *HIGHLY* recommended
that you upgrade!

ChangeLog:

* fixed only one user is loaded correctly for each router acl
* fixed s2s segfault under particular connection timeout conditions
* fixed id is being case sensitive
* fixed Users cannot login after a long period of server inactivity
* fixed handling of stream errors
* fixed version attribute reply in stream
* fixed c2s glibc abort and mysql option flags
* fixed sx io mem leak
* fixed Incorrect SASL error message defined in sx/sasl.c
* fixed 3 buffer overflows in jid.c
* fixed second log-in in with similar resource breaks routing for first login
2005-08-03 22:21:36 +00:00
xtraeme
98ce14b54b Update to 2.0.8, lots of bugs were fixed. Looks like they stopped
updating the Changelog file for changes (why??).
2005-05-24 21:02:53 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
rillig
a16ef80768 Fixed a quoting error ($ => $$) in a sed expression. Bumped PKGREVISION.
Approved by xtraeme.
2005-02-15 20:46:20 +00:00
xtraeme
441d811d4d Update to 2.0s6.
Changes:

* Fix base64 encoding length in authreg_pipe.c Stephen Marquard,
Diagnosed by Jerome Vandenabeele
* Fixes segfault on s2s startup on some platforms when ssl is enabled
(local pemfile defined in s2s.xml), Stephen Marquard
* mod_offline handling of jabberevent client requests (JEP-0022) can
lead to a loop repeatedly adding duplicates to the offline queue under
certain race conditions. Correctly detect jabberevent notifications
and do not respond to them as requests, Stephen Marquard
* Check for invalid jids in directed presence packets, Stephen Marquard,
Based on bug report by Christopher Zorn
* Fixes minor memory leaks in authreg_ldap, Ilja Booij
* Fixes error in storage filter code using bdb storage causing sm
crash, Stephen Marquard
* Changes incorrectly indexed primary keys to non-unique indexes,
adds other indexes for efficiency, and changes type of xml field to
increase max allowed length, Stephen Marquard
* Include sys/types.h if available in util.h inter alia for FreeeBSD,
Stephen Marquard
* Minor code cleanups for compilation on HP-UX, Christof Meerwald
* Fix configure.in for correct handling of resolv.h, Magnus Henoch
* Include resquery checks from MAIN cvs branch in 2.0, Christof Meerwald
* Allows jabberd to start new components and place itself in the
background, Richard Bullington-McGuire (original ver), Additional
components defined in jabberd.cfg get started as long as they are in
the same directory as the jabberd script (useful for mu-conference
installed through jcr) The script can daemonize itself with the "-b"
switch after starting the various programs it watches over, unless the
debug option is set.
* Paranoia, ensure than srv->name is nul terminated., Jedi/Sector One

And more, please see the Changelog file.
2005-01-20 15:08:54 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
xtraeme
aabe8bbf9b Use PKG_DEFAULT_OPTIONS. 2004-11-29 17:59:11 +00:00
abs
491a2742a0 Update jabberd2 to jabberd-2.0s4nb1, by pulling in patches from
http://www.marquard.net/jabber/#recommended,

specifically patch 58 which fixes the remote exploit listed at:
    http://www.securityfocus.com/archive/1/382250

Patches included:

28*	patch-jedi8-sm-object_c
Remove incorrect semicolumn from os_object_free() in sm/object.c

29*	patch-jedi-mysql-storage
Fixes to mysql storage for boundary conditions

30*	patch-base64
Fix length-related issues in base64 decoding routines

31*	patch-sm-storage_db
Fixes to storage_db.c to avoid roster corruption: "sm/storage_db
inserts items in the filter hash table with keys which are located
on the stack. This creates confusion when the code later tries to
compare with these keys."

32*	patch-nad-escape
Fixes bug in _nad_escape() where escaping ]]> can cause a segfault
when handling large messages where nad_realloc is called.

38*	patch-jedi-pgsql-storage
Fixes to pgsql storage for boundary conditions and incorrect buffer
length calculation

46*	patch-memleaks
Fix minor memory leaks in digest-md5 authentication and nad_free()

47*	patch-ns-fix
Fixes omission of namespace declaration where a namespace has
already been used in the XML stanza

48*	patch-sm-nad-triplet
Fixes omission of prefix on attributes processed by nad_parse (e.g.
in queue storage)

49*	patch-mod_disco_publish
Corrects check for deleting previously published disco items from
"delete" to "remove" (as per JEP-0030).

50*	patch-sm-filter
Alters filter handling and adds mysql/pgsql escaping on filter
strings to allow brackets and apostrophes in resource names that
form part of JIDs stored as roster entries

58*	patch-c2s-buffers
Fixes buffer overflow that can lead to segfault in c2s mysql and
pgsql auth modules - see report by icbm (www.venustech.com.cn)
2004-11-29 17:54:03 +00:00
xtraeme
c51e11110e s/mysql4/mysql/ 2004-11-10 10:34:50 +00:00
xtraeme
74a7c427dd Update chat/jabberd2 to 2.0s4.
Changes:

* Fixed race condition allowing c2s to be killed, Stephen Marquard
* Fixed off-by-one bug in s2s/main.c leading to segfault on startup
  in some environmentsp
* Fixed memory leak in sm, Michal Kera
* Fixed problem relating to SSL connections not being closed
  correctly, Nathan Christiansen
* Fixed 3 problems in mod_announce: (a) NAD freed before use, (b)
  struct tm not initialised correctly on some platforms, and (c)
  time not initialised for broadcast motd messages delivered to
  online users, Stephen Marquard
* Fixed insertion of extra namespace in element in some types of
  messages retrieved from offline queue, which causes a parse
  error in the router, Matthew Buckett
* Fixed off-by-one bug in PLAIN SASL authentication code. May also
  resolve a number of other bugs relating to c2s authentication,
  Robert Theisen
* Fixed return value of jid_new() in pkt.c to avoid sm segfault
  from dereferencing NULL pointer, triggered by a message with a
  to JID of the form "@some.server@", Stephen Marquard
* Avoided adding nads to the cache that are created through
  nad_copy(), Stephen Marquard
* Fixed bug in retrieving hash values, Stephen Marquard
* Improved performance of pool cleanup function, Stephen Marquard
* Corrected handling of EMAIL, TEL and ADR/CTRY elements in vcards
  for JEP-0054 compliance, Stephen Marquard
* Optimised sm algorithm for announcing presence to skip presence
  announcements and probes for users on the same server who are
  not online, Stephen Marquard
* Checked that storage drivers are initialised correctly; if not,
  abort, Stephen Marquard
* Fixed file descriptor leak in storage_fs
* Allowed c2s to supply a certificate chain to clients, Iain
  MacDonnell
2004-10-27 13:54:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00