diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/bitchx/_metadata/description | 1 | ||||
l--------- | data/bitchx/_metadata/libresolv.dep | 1 | ||||
l--------- | data/bitchx/_metadata/license | 1 | ||||
l--------- | data/bitchx/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/bitchx/_metadata/name | 1 | ||||
-rw-r--r-- | data/bitchx/_metadata/priority | 1 | ||||
-rw-r--r-- | data/bitchx/_metadata/section | 1 | ||||
-rw-r--r-- | data/bitchx/_metadata/version | 1 | ||||
-rw-r--r-- | data/bitchx/ircii-pana-1.1-final.tar.gz | bin | 0 -> 2532476 bytes | |||
-rw-r--r-- | data/bitchx/make.sh | 7 | ||||
-rw-r--r-- | data/bitchx/mdns.diff | 23 | ||||
-rw-r--r-- | data/bitchx/port.diff | 72 |
12 files changed, 110 insertions, 0 deletions
diff --git a/data/bitchx/_metadata/description b/data/bitchx/_metadata/description new file mode 100644 index 000000000..a2c8b37fa --- /dev/null +++ b/data/bitchx/_metadata/description @@ -0,0 +1 @@ +incredibly common IRC attack client diff --git a/data/bitchx/_metadata/libresolv.dep b/data/bitchx/_metadata/libresolv.dep new file mode 120000 index 000000000..40a8d5796 --- /dev/null +++ b/data/bitchx/_metadata/libresolv.dep @@ -0,0 +1 @@ +../../libresolv
\ No newline at end of file diff --git a/data/bitchx/_metadata/license b/data/bitchx/_metadata/license new file mode 120000 index 000000000..9c13a9a0f --- /dev/null +++ b/data/bitchx/_metadata/license @@ -0,0 +1 @@ +../../../licenses/gpl-2
\ No newline at end of file diff --git a/data/bitchx/_metadata/maintainer b/data/bitchx/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/bitchx/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/bitchx/_metadata/name b/data/bitchx/_metadata/name new file mode 100644 index 000000000..60680e13a --- /dev/null +++ b/data/bitchx/_metadata/name @@ -0,0 +1 @@ +BitchX diff --git a/data/bitchx/_metadata/priority b/data/bitchx/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/bitchx/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/bitchx/_metadata/section b/data/bitchx/_metadata/section new file mode 100644 index 000000000..8708e4b54 --- /dev/null +++ b/data/bitchx/_metadata/section @@ -0,0 +1 @@ +Networking diff --git a/data/bitchx/_metadata/version b/data/bitchx/_metadata/version new file mode 100644 index 000000000..9459d4ba2 --- /dev/null +++ b/data/bitchx/_metadata/version @@ -0,0 +1 @@ +1.1 diff --git a/data/bitchx/ircii-pana-1.1-final.tar.gz b/data/bitchx/ircii-pana-1.1-final.tar.gz Binary files differnew file mode 100644 index 000000000..955c9ec9f --- /dev/null +++ b/data/bitchx/ircii-pana-1.1-final.tar.gz diff --git a/data/bitchx/make.sh b/data/bitchx/make.sh new file mode 100644 index 000000000..bcac3cfc2 --- /dev/null +++ b/data/bitchx/make.sh @@ -0,0 +1,7 @@ +pkg:extract +cd BitchX +pkg:patch +pkg:configure +make +make install prefix="${PKG_DEST}/usr" +pkg: ln -sf BitchX-1.1-final /usr/bin/BitchX diff --git a/data/bitchx/mdns.diff b/data/bitchx/mdns.diff new file mode 100644 index 000000000..3c67811a4 --- /dev/null +++ b/data/bitchx/mdns.diff @@ -0,0 +1,23 @@ +diff -ru BitchX/source/irc.c BitchX+iPhone/source/irc.c +--- BitchX/source/irc.c 2004-03-26 06:15:57.000000000 +0000 ++++ BitchX+iPhone/source/irc.c 2008-03-05 23:33:00.000000000 +0000 +@@ -1,3 +1,5 @@ ++#include <mach-o/nlist.h> ++ + /* + * ircII: a new irc client. I like it. I hope you will too! + * +@@ -1464,6 +1466,13 @@ + + int main(int argc, char *argv[], char *envp[]) + { ++ struct nlist nl[2]; ++ memset(nl, 0, sizeof(nl)); ++ nl[0].n_un.n_name = "_useMDNSResponder"; ++ nlist("/usr/lib/libc.dylib", nl); ++ if (nl[0].n_type != N_UNDF) ++ *(int *) nl[0].n_value = 0; ++ + srand((unsigned)time(NULL)); + time(&start_time); + time(&idle_time); diff --git a/data/bitchx/port.diff b/data/bitchx/port.diff new file mode 100644 index 000000000..eb19e9bb4 --- /dev/null +++ b/data/bitchx/port.diff @@ -0,0 +1,72 @@ +diff -ru BitchX/doc/Makefile BitchX+iPhone/doc/Makefile +--- BitchX/doc/Makefile 2004-03-26 06:20:36.000000000 +0000 ++++ BitchX+iPhone/doc/Makefile 2008-03-05 23:22:46.000000000 +0000 +@@ -1,5 +1,5 @@ + +-SHELL = /usr/local/bin/bash ++SHELL = /bin/sh + + default: + $(SHELL) ./configure --with-plugins +diff -ru BitchX/source/ctcp.c BitchX+iPhone/source/ctcp.c +--- BitchX/source/ctcp.c 2003-05-27 07:00:22.000000000 +0000 ++++ BitchX+iPhone/source/ctcp.c 2008-03-05 23:23:27.000000000 +0000 +@@ -176,7 +176,7 @@ + + /* CDE do ops and unban logging */ + +-static char *ctcp_type[] = ++char *ctcp_type[] = + { + "PRIVMSG", + "NOTICE" +diff -ru BitchX/source/misc.c BitchX+iPhone/source/misc.c +--- BitchX/source/misc.c 2003-06-11 07:00:42.000000000 +0000 ++++ BitchX+iPhone/source/misc.c 2008-03-05 23:26:27.000000000 +0000 +@@ -59,6 +59,14 @@ + #endif + #include <unistd.h> + ++#define BIND_8_COMPAT ++#include <arpa/nameser.h> ++#include <stdio.h> ++#include <netdb.h> ++#include <resolv.h> ++#include <errno.h> ++#include <arpa/inet.h> ++ + #if defined(sparc) && defined(sun4c) + #include <sys/rusage.h> + #endif +@@ -2601,7 +2609,7 @@ + /* + * Skip over the original question. + */ +-#ifndef __QNX__ ++#if 0//ndef __QNX__ + /* QNX doesn't seem to have this function, not sure + * what it does at the moment but I may change this + * in the future. - Brian +diff -ru BitchX/source/term.c BitchX+iPhone/source/term.c +--- BitchX/source/term.c 2003-04-11 01:09:07.000000000 +0000 ++++ BitchX+iPhone/source/term.c 2008-03-05 23:25:10.000000000 +0000 +@@ -92,7 +92,6 @@ + #endif + + extern char *getenv(); +-extern char *tparm(); + + /* + * The old code assumed termcap. termcap is almost always present, but on +diff -ru BitchX/source/timer.c BitchX+iPhone/source/timer.c +--- BitchX/source/timer.c 2003-04-11 01:09:07.000000000 +0000 ++++ BitchX+iPhone/source/timer.c 2008-03-05 23:25:32.000000000 +0000 +@@ -148,7 +148,7 @@ + * This is put here on purpose -- we dont want any of the above functions + * to have any knowledge of this struct. + */ +-static TimerList *PendingTimers; ++TimerList *PendingTimers; + static char *schedule_timer (TimerList *ntimer); + + static char *current_exec_timer = empty_string; |