freebsd-ports/net-im/jabber-pyicq/files
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
..
jabber-pyicq-transport.sh.in Begin the process of deprecating sysutils/rc_subr by 2010-03-27 00:15:24 +00:00
pkg-message.in
README.external.in
README.jabberd2.in
README.jabberd14.in

# PyICQ-t and jabberd14 (net-im/jabber) on FreeBSD
# README by Martin Matuska <martin_at_matuska_dot_org>

The sample configuration file for jabberd14 may be located in:
%%TARGETDIR%%/etc/jabber.xml.sample

Please make all necessary changes to your configuration file which may be:
%%TARGETDIR%%/etc/jabber.xml

NOTE: if you want this service to be accessible from other servers,
 change any 'icq.localhost' listed below to a fully qualified domain name!
 Please make sure that your directives are _NOT_ in an XML comment: there 
 are many multi-line comments. 

To activate the ICQ transport for your Jabber server, 
add the following to your configuration file and adjust to your settings
(around line 921 in the sample configuration file):
-------------------------------------------------------------------------------

  <service id="icq.localhost">
    <accept>
      <ip>127.0.0.1</ip>
      <port>5347</port>
      <secret>password</secret>
    </accept>
  </service>

-------------------------------------------------------------------------------
Add this section to the browse area of the jsm to advertise it to
your users (around line 382 of the sample config):
-------------------------------------------------------------------------------

	<item category="gateway" type="icq" jid="icq.localhost" name="ICQ Transport">
	  <ns>jabber:iq:gateway</ns>
	  <ns>jabber:iq:register</ns>
	</item>

-------------------------------------------------------------------------------
Be sure to restart your server after reconfiguring.