summaryrefslogtreecommitdiff
path: root/net-im/jit/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/jit/files')
-rw-r--r--net-im/jit/files/jabber_jit.sh.in34
-rw-r--r--net-im/jit/files/patch-configure13
-rw-r--r--net-im/jit/files/patch-jit-jit-wp_client.cpp63
-rw-r--r--net-im/jit/files/patch-jit::jabber-icq.example66
4 files changed, 0 insertions, 176 deletions
diff --git a/net-im/jit/files/jabber_jit.sh.in b/net-im/jit/files/jabber_jit.sh.in
deleted file mode 100644
index 29b80ae52a59..000000000000
--- a/net-im/jit/files/jabber_jit.sh.in
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# Startup script for JIT ICQ transport.
-#
-# $FreeBSD$
-#
-
-# PROVIDE: jabber_jit
-# REQUIRE: DAEMON
-
-# Define these jabber_jit_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/jabber_jit
-#
-# jabber_jit_enable : bool
-# Enable the transport ("YES") or not ("NO", the default).
-#
-
-. /etc/rc.subr
-
-name="jabber_jit"
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/sbin/jit"
-command_args="-c %%PREFIX%%/etc/jabber-icq.xml -d"
-required_files="%%PREFIX%%/etc/jabber-icq.xml"
-
-load_rc_config "$name"
-
-: ${jabber_jit_enable="NO"}
-: ${jabber_jit_user="jabber"}
-
-run_rc_command "$1"
diff --git a/net-im/jit/files/patch-configure b/net-im/jit/files/patch-configure
deleted file mode 100644
index 0638a435523e..000000000000
--- a/net-im/jit/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.orig Mon Apr 25 14:41:07 2005
-+++ configure Mon Apr 25 14:42:05 2005
-@@ -60,8 +60,8 @@
- CFLAGS="$CFLAGS -I/usr/include -fPIC"
- LIBS="$LIBS -ldl -lpthread";;
- FreeBSD)
-- CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ -D_THREAD_SAFE -DSUNOS"
-- LIBS="$LIBS -pthread -lcompat -lc_r -L/usr/local/lib -liconv";;
-+ CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ \${PTHREAD_CFLAGS} -DSUNOS"
-+ LIBS="$LIBS \${PTHREAD_LIBS} -lcompat -L/usr/local/lib -liconv";;
- OpenBSD)
- CFLAGS="$CFLAGS -I/usr/local/include -I/usr/src/contrib/libstdc++ -D_THREAD_SAFE -DSUNOS"
- LIBS="$LIBS -pthread -lcompat -lc_r -L/usr/local/lib -liconv";;
diff --git a/net-im/jit/files/patch-jit-jit-wp_client.cpp b/net-im/jit/files/patch-jit-jit-wp_client.cpp
deleted file mode 100644
index 9865ac18da53..000000000000
--- a/net-im/jit/files/patch-jit-jit-wp_client.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
---- jit/jit/wp_client.cpp.orig 2004-11-10 18:23:27.000000000 +0000
-+++ jit/jit/wp_client.cpp 2007-10-31 03:39:39.000000000 +0000
-@@ -152,22 +152,31 @@
-
- switch(ev->getReason()){
- case DisconnectedEvent::FAILED_BADUSERNAME:
-+ {
- e = (terror){400,"Bad username"};
-+ }
- break;
-
- case DisconnectedEvent::FAILED_TURBOING:
-+ {
- e = (terror){503,"Turboing, connect later"};
-+ }
- break;
-
- case DisconnectedEvent::FAILED_BADPASSWORD:
-+ {
- e = (terror){400,"Bad (non mismatched) registration password"};
-+ }
- break;
-
- case DisconnectedEvent::FAILED_MISMATCH_PASSWD:
-+ {
- e = (terror){401,"Password does not match"};
-+ }
- break;
-
- case DisconnectedEvent::FAILED_DUALLOGIN: {
-+ {
- /* maybe we should explicitly notify due importance */
- char *body=LNG_DUAL_LOGIN;
-
-@@ -180,21 +189,28 @@
- it_deliver(sesja->ti,msg);
-
- e = (terror){409,"Dual login"};
-+ }
- break;
- }
-
- case DisconnectedEvent::FAILED_LOWLEVEL:
-+ {
- e = (terror){502,"Low level network error"};
-+ }
- break;
-
- case DisconnectedEvent::REQUESTED:
-+ {
- log_debug(ZONE,"Disconnected on request");
- e = (terror){0,""};
-+ }
- break;
-
- case DisconnectedEvent::FAILED_UNKNOWN:
- default:
-+ {
- e = (terror){502,"Disconnected by unknown reason"};
-+ }
- break;
- }
-
diff --git a/net-im/jit/files/patch-jit::jabber-icq.example b/net-im/jit/files/patch-jit::jabber-icq.example
deleted file mode 100644
index c6fb413e824a..000000000000
--- a/net-im/jit/files/patch-jit::jabber-icq.example
+++ /dev/null
@@ -1,66 +0,0 @@
---- jit/jabber-icq.example.orig Mon Jan 19 23:30:03 2004
-+++ jit/jabber-icq.example Thu Feb 17 20:38:49 2005
-@@ -2,20 +2,20 @@
-
- <!-- you can add elogger and rlogger entries here if
- you don't want the main Jabber server do the
-- logging
-+ logging -->
- <log id='elogger'>
- <host/>
- <logtype/>
- <format>%d: [%t] (%h): %s</format>
-- <file>icqerror</file>
-+ <file>/var/log/jabber/icqerror</file>
- </log>
-
- <log id='rlogger'>
- <host/>
- <logtype>record</logtype>
- <format>%d %h %s</format>
-- <file>icqrecord</file>
-- </log> -->
-+ <file>/var/log/jabber/icqrecord</file>
-+ </log>
-
- <!-- Some Jabber server implementations do not
- provide XDB services (for example jabberd 2.0).
-@@ -23,16 +23,16 @@
- XDB requests. This is strongly recommended if
- you use xdb_ldap, xdb_sql or other non-file XDB
- implementations, too.
-- See xdb_file directory for more information.
-+ See xdb_file directory for more information. -->
- <xdb id="xdb">
- <host/>
- <load>
-- <xdb_file>xdb_file/xdb_file.so</xdb_file>
-+ <xdb_file>%%PREFIX%%/lib/jabber/jit/xdb_file.so</xdb_file>
- </load>
- <xdb_file xmlns="jabber:config:xdb_file">
-- <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
-+ <spool><jabberd:cmdline flag='s'>/var/spool/jit</jabberd:cmdline></spool>
- </xdb_file>
-- </xdb> -->
-+ </xdb>
-
- <!--
- localhost is your jabber host.
-@@ -103,7 +103,7 @@
- <session_timeout>18000</session_timeout>
-
- <!-- Charset -->
-- <charset>windows-1252</charset>
-+ <charset>windows-1251</charset>
-
- <!-- You may want to replace login.icq.com by the corresponding
- IPs to speed up JIT but keep in mind the IPs may change -->
-@@ -115,7 +115,7 @@
-
- <!-- JIT module -->
- <load>
-- <icqtrans>jit/jit.so</icqtrans>
-+ <icqtrans>%%PREFIX%%/lib/jabber/jit/jit.so</icqtrans>
- </load>
-
- </service>