debian/0000755000000000000000000000000011655764006007200 5ustar debian/rules0000755000000000000000000000336311655763767010302 0ustar #!/usr/bin/make -f default_server=irc.debian.org CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) build-arch: build-stamp build-indep: build: build-stamp CPPFLAGS += -D_GNU_SOURCE=1 -DDEBIAN CFLAGS += -Wall build-stamp: dh_testdir LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' IRCLIB=/usr/share/ircII/ ./configure --enable-ipv6 --prefix=/usr --with-default-server=$(default_server) --with-non-blocking=posix --with-cast # $(MAKE) mksigincc DEFS='$(CPPFLAGS)' $(MAKE) DEFS='$(CPPFLAGS)' IRC_PATH="~/.irc:/etc/irc/script/:/usr/share/ircII/script/:/usr/lib/irc/script/" irc $(MAKE) DEFS='$(CPPFLAGS)' LIBS="" ircio ircflush wserv touch build-stamp clean: dh_testdir dh_clean rm -f build-stamp # -$(MAKE) -f Makefile.in -i distclean RM=/bin/rm -rm -f *~ */*~ */*/*~ *.o core */core include/config.h source/defs.h Makefile confdefs.h config.log defs.h config.h -rm -f irc ircII wserv ircio ircflush wterm.c -rm -f sig.inc config.status config.h Makefile include/Makefile ircbug config.cache -rm -f mksiginc -rm -rf DEADJOE */DEADJOE *~ debian/tmp debian/*~ debian/files* debian/substvars binary-arch: build-stamp dh_testdir dh_testroot dh_prep mv irc ircII dh_install chmod a-x debian/ircii/usr/share/ircII/script/autoquery echo "set CLIENT_INFORMATION ircii-debian 20060725" > debian/ircii/usr/share/ircII/script/version dh_installdocs dh_installman dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary-indep: binary: binary-indep binary-arch .PHONY: build build-arch build-indep binary binary-arch binary-indep clean debian/ircii.install0000644000000000000000000000071611655756222011674 0ustar help/* ./usr/share/ircII/help/ script/* ./usr/share/ircII/script/ debian/local ./etc/irc/script/ debian/motd ./etc/irc/ ircflush ./usr/sbin/ ircio ./usr/sbin/ wserv ./usr/sbin/ ircII ./usr/bin/ NEWS ./usr/share/doc/ircii/ README ./usr/share/doc/ircii/ doc/VERSIONS ./usr/share/doc/ircii/ doc/ctcp ./usr/share/doc/ircii/ doc/crypto ./usr/share/doc/ircii/ doc/OLDNEWS ./usr/share/doc/ircii/ doc/example_menu ./usr/share/doc/ircii/ doc/ircio ./usr/share/doc/ircii/ debian/motd0000644000000000000000000000030211655756222010062 0ustar Debian GNU/Linux ircII 20051015 * this version uses iconv(3) to support multiple char sets * /set {DISPLAY,IRC,INPUT}_ENCODING replaces /set TRANS * more news: /usr/share/doc/ircii/NEWS.gz debian/control0000644000000000000000000000134711655756222010611 0ustar Source: ircii Section: net Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>=7), libncurses5-dev Standards-Version: 3.9.2 Homepage: http://www.eterna.com.au/ircii/ Vcs-Git: git://anonscm.debian.org/collab-maint/ircii.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ircii.git;a=summary Package: ircii Architecture: any Provides: irc Depends: ${shlibs:Depends}, ${misc:Depends} Description: Internet Relay Chat client The ircII program is a full screen, termcap based interface to Internet Relay Chat. It gives full access to all of the normal IRC functions, plus a variety of additional options. This Version is able to display mIRC colors. It supports "/encrypt -cast" debian/changelog0000644000000000000000000002641611655761740011065 0ustar ircii (20060725-1) unstable; urgency=low * QA upload * new upstream version (not newest but newest still having utf-8 support) * drop some modifications - those included upstream (or fixed otherwise) - no longer limit check against dcc sending files from /etc to novice mode * fix some spelling mistakes (to appease lintian) * modernize debian/rules - implement build-arch, build-indep - use dpkg-buildflags * if creating new /etc/irc/servers, put irc.debian.org in there * cherry-pick fix to not access server -1 (avoiding segv in some situations) (Closes: 175099, 258929, 175029, 175169, 163196) * add some more copyright holders and licenses to debian/copyright -- Bernhard R. Link Mon, 07 Nov 2011 14:57:07 +0100 ircii (20051015-3) unstable; urgency=low * QA upload. * Migrate to source format 3.0 (quilt) * Include changes from NMU, thanks to Peter Eisentraut * Add a watch file but the upstream version does not currently build. * ircII goes reverse color when switching colour to on in xterms (Closes: #61008) * Fix period preceded by space and underlined in -c option documentation on ircII manual page (Closes: #577039) * Fix .Tp typo in manpage (lintian) -- Neil Williams Sat, 14 May 2011 17:06:26 +0100 ircii (20051015-2.3) unstable; urgency=low * Non-maintainer upload. * Moved purge rules from prerm to postrm (closes: #455020) -- Peter Eisentraut Sat, 05 Apr 2008 00:42:22 +0200 ircii (20051015-2.2) unstable; urgency=low * Non-maintainer upload from the Zurich BSP * Add -ioption to local include paths so they do not cover the system headers with the same name. This fixes errors/warnings about implicitly converted pointers. (Closes: #393547, #460342) -- Tobias Klauser Sat, 12 Jan 2008 22:30:02 +0100 ircii (20051015-2.1) unstable; urgency=low * Non-maintainer upload. * Apply a patch to fix a SEGV in mksiginc, thanks to brian m. carlson. (Closes: #377630) -- Philipp Kern Sun, 21 Oct 2007 11:33:50 +0200 ircii (20051015-2) unstable; urgency=medium * fixed persisting input prompt (Closes: Bug#337406) This fix was provided by Bernhard R. Link * avoid crash on exiting /help (Closes: Bug#393158) This fix was provided by Bernhard R. Link * enable debugging info for Binaries (Closes: Bug#393142) This fix was provided by Bernhard R. Link * removed bashism in debian/rules (Closes: Bug#375481) * IRCNAME example in man page is fixed for some time (Closes: Bug#214139) * supports UTF-8 (Closes: Bug#335467) * new Version also fixed help segfault (Closes: Bug#66446) -- Bernd Eckenfels Sun, 15 Oct 2006 19:44:02 +0200 ircii (20051015-1) unstable; urgency=low * oops, the last version did not provide utf8, this does. -- Bernd Eckenfels Tue, 25 Oct 2005 00:04:54 +0200 ircii (20040820-2) unstable; urgency=low * oops, thats not the version which supports UTF-8 - sorry -- Bernd Eckenfels Mon, 24 Oct 2005 23:56:57 +0200 ircii (20040820-1) unstable; urgency=low * new upstream version (Closes: Bug #335467) * new standards version * no config questions anymore (Closes: Bug #109996) -- Bernd Eckenfels Mon, 24 Oct 2005 22:52:00 +0200 ircii (20030315-1) unstable; urgency=high * new upstream version, fixes security problem (buffer overflow exploitable by servers as reported in #188223) * standards version 3.5.6.0 -> 3.5.9.0 (DEB_BUILD_OPTIONS Support added) -- Bernd Eckenfels Mon, 21 Apr 2003 19:51:33 +0200 ircii (20020912-2) unstable; urgency=low * increased help buffer (Closes: Bug #66446) * specify override for += -s/-g for DEB_BUILD_OPTIONS -- Bernd Eckenfels Fri, 04 Oct 2002 02:54:37 +0200 ircii (20020912-1) unstable; urgency=low * new upstream version -- Bernd Eckenfels Tue, 17 Sep 2002 08:47:45 +0200 ircii (20020403-2) unstable; urgency=low * removed *.orig files * ensure sane permission of ircII scripts -- Bernd Eckenfels Mon, 09 Sep 2002 06:34:35 +0200 ircii (20020403-1) unstable; urgency=low * new upstream * little less verbose postinst * moved to main/net from non-US -- Bernd Eckenfels Mon, 09 Sep 2002 05:22:44 +0200 ircii (20020322-1) unstable; urgency=low * new upstream, fixing a lot of bugs (#118566, #30035, #51144, #87578, #71611, #72799, #79628, #103469, #113884, #118107, #55396) * irc_path does not contain ~ anymore (Closes: #132339) * upgraded from 3.1.0 to 3.5.6.0 (added DEB_) -- Bernd Eckenfels Tue, 26 Mar 2002 19:02:22 +0100 ircii (20010612-4) unstable; urgency=low * fixed speling of urgency field in changelog (here) (Closes: 107981) -- Bernd Eckenfels Wed, 8 Aug 2001 02:55:50 +0200 ircii (20010612-3) unstable; Urgency=low * added resize fix bug from matthew (Closes: 107763) -- Bernd Eckenfels Mon, 6 Aug 2001 19:20:10 +0200 ircii (20010612-2) unstable; Urgency=low * fixed build dependency on curses (Closes: #107110) -- Bernd Eckenfels Tue, 31 Jul 2001 01:18:51 +0200 ircii (20010612-1) unstable; Urgency=low * new upstream version, may fix a lot of bugs (colour) -- Bernd Eckenfels Sun, 29 Jul 2001 00:44:19 +0200 ircii (4.4Z-3) unstable; Urgency=high * Security: this release will remove . from the LOAD_PATH. Note: it still has "~/.irc" as the first element to actually allow to overwrite system scripts. Thanks to Sami Liedes. * fixed bashism in prerm (make lintian more happy) * strip binaries with install -s (make lintian even more happy) -- Bernd Eckenfels Mon, 12 Feb 2001 03:13:48 +0100 ircii (4.4Z-2) unstable; Urgency=low * added strmcpy patch to keep it from segfaulting from David Murn fixes bug #72799. Reported Upstream. -- Bernd Eckenfels Sat, 30 Sep 2000 02:35:17 +0200 ircii (4.4Z-1) unstable; Urgency=low * new upstream version, closes bug #71496 -- Bernd Eckenfels Wed, 13 Sep 2000 02:10:55 +0200 ircii (4.4U-2) unstable; Urgency=low * new upstream version * includes IPv6 support now! * fixes bug #66297 and #65217 -- Bernd Eckenfels Sat, 1 Jul 2000 14:43:01 +0200 ircii (4.4M-1) frozen unstable; Urgency=high * fixed dcc chat exploit from bladi & aLmUDeNa * still contains noinfect patch and additional support for absolute path names of server and motd file * no ipv6 support in the frozen tree, yet -- Bernd Eckenfels Sun, 12 Mar 2000 03:35:28 +0100 Old Changelog: ircii (4.4L-6) unstable; Urgency=low, Closes=35198 * upstream colour support is activated by SET COLOUR (#50521) -- Bernd Eckenfels Sat, 20 Nov 1999 19:37:26 +0100 ircii (4.4L-5) unstable; Urgency=low, Closes=35198 * use protocols/talkd.h (#35198) -- Bernd Eckenfels Wed, 3 Nov 1999 03:46:36 +0100 ircii (4.4L-4) unstable; Urgency=low, Closes=37097 44700 * reupload because of missing source in first try to non-us -- Bernd Eckenfels Sun, 3 Oct 1999 23:07:39 +0200 ircii (4.4L-3) unstable; Urgency=low, Closes=37097 44700 * remove old link in /isr/lib/irc/ircII.servers before any other checks -- Bernd Eckenfels Sat, 25 Sep 1999 23:08:11 +0200 ircii (4.4L-2) unstable; Urgency=low, Closes=37097 44700 * fixed bug in my bufffer-overflow fix which made /on fail -- Bernd Eckenfels Sat, 25 Sep 1999 21:13:54 +0200 ircii (4.4L-1) unstable; urgency=low, closes=#37097 44700 * new upstream version * moved data files to /usr/share/ircII/ * as novice /etc/ and *passwd* are restricted with some verbose comments * moved to non-US because of cast.c (obtained from a european site) * core dump fix in output of motd (still missing upstream) * absolute path for motd and servers file * no-infect patch * violating the Policy (/usr/doc)! * provides virtual package irc (#37097) -- Bernd Eckenfels Mon, 13 Sep 1999 23:54:03 +0200 ircii (4.4-5) unstable; urgency=low, closes=31451 36563 37430 35077 24541 24767 * test for /etc/ or passwd only as novice (#31451) * recompiled with recent libs (#36563, #37430) * remove alternatives for executable and man (#35077) * move wserv, ircio, ircflush to /usr/sbin * changed configure script to find sendmail in /usr/sbin * changed configure script to find nonblocking io (may fix #24541, #24767) * (wserv works in xterm and screen) -- Bernd Eckenfels Thu, 13 May 1999 02:45:15 +0200 ircii (4.4-4) unstable; urgency=high * recompiled with the new ncurses (hopefully) * fixed -geom bug for rxvt (#20867) * new standards version, renamed upstream changelog -- Bernd Eckenfels Sun, 1 Nov 1998 02:53:12 +0100 ircii (4.4-3) frozen; urgency=high * Security Fix for DCC buffer overflow (noinfect) * Security Fix for not flushing Linux Console in DCC CHAT (flashfix) * new Copyright notice (#21683) * fixed rules clean if no makefile is present -- Bernd Eckenfels Thu, 11 Jun 1998 20:55:37 +0200 ircii (4.4-2) frozen; urgency=high * Security Fix for filtering non-printables (Bug#19743) * mIrc Color Support fixed (Bug#19583) -- Bernd Eckenfels Mon, 16 Mar 1998 22:00:41 +0100 ircii (4.4-1) unstable; urgency=low * new upstream version with applied contrib/colour patch * /etc/irc/script/local is now recognized as a config file (#11559) * fixed rules file to include binary-indep and binary-arch targets (#14309) * Will install prerm script excecutable, now (#14309) * Libc6 compile. * new default irc server is irc.debian.org * make /usr/bin/irc an alternative to /usr/bin/ircII -- Bernd Eckenfels Sun, 8 Feb 1998 15:28:01 +0100 ircii (2.9.3roof-1.1) unstable; urgency=low * Non-maintainer release. * Libc6 compile. -- Martin Mitchell Tue, 28 Oct 1997 03:54:17 +1100 ircii (2.9.3roof-1) unstable; urgency=low * New maintainer. (old: Andrew Howell ) * Updated to Standards-Version 2.1.1.0. * new upstream version * This fixes the /leave core dump (#4504) * fixed a (reported) syntax error in Makefile.in * fixed some compiler warnings about tputs in ircterm.h for linux * search scripts in /etc/irc/script, too. * servers file in /etc/irc/servers, motd in /etc/irc/motd * core dump on empty line in motd fixed (reported) * -DDEBIAN for all the changes * ircio does not work :( -- Bernd Eckenfels Wed, 20 Nov 1996 23:03:11 +0100 ircii (2.8.16beta-1) stable; urgency=low * Taken over package from Carl Streeter. * Upgraded to latest upstream version. * Removed Package_Revision from control file. * Added Architecture field to control file. * ELF binary. * Postinst queries you for irc server now. * Fixed Bug#981: irc package should ask for default server * Fixed Bug#1173: ircII bug? ircII.servers * Fixed Bug#1804: manpage of irc missing -- Andrew Howell 960419 Irc 2.8.2 Debian 1 - 5/11/95 Carl Streeter * Initial release. Local variables: mode: debian-changelog End: debian/postinst0000644000000000000000000000042411655756222011007 0ustar #!/bin/sh set -e update-alternatives --install /usr/bin/irc irc /usr/bin/ircII 20 \ --slave /usr/share/man/man1/irc.1.gz irc.1 /usr/share/man/man1/ircII.1.gz if [ ! -f /etc/irc/servers ]; then echo "irc.debian.org" > /etc/irc/servers fi #DEBHELPER# debian/compat0000644000000000000000000000000211655756222010377 0ustar 7 debian/patches/0000755000000000000000000000000011655756222010630 5ustar debian/patches/0002-ircII-goes-reverse-color-when-switching-colour-to-on.patch0000644000000000000000000001142511655756222024241 0ustar From db1218712b39348f03925878963a24a7573ef83f Mon Sep 17 00:00:00 2001 From: Gregory P. Smith Date: Wed, 29 Nov 2006 23:47:38 -0800 Subject: ircII goes reverse color when switching colour to on in xterms Bug-Debian: http://bugs.debian.org/61008 --- include/config.h.dist | 4 +- include/screen.h | 2 + source/screen.c | 87 ++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 80 insertions(+), 13 deletions(-) diff --git a/include/config.h.dist b/include/config.h.dist index f01da3b..e6d23c5 100644 --- a/include/config.h.dist +++ b/include/config.h.dist @@ -113,7 +113,7 @@ #define DEFAULT_ALWAYS_SPLIT_BIGGEST 1 #define DEFAULT_AUTO_UNMARK_AWAY 0 #define DEFAULT_AUTO_WHOWAS 0 -#define DEFAULT_BACKGROUND_COLOUR 1 +#define DEFAULT_BACKGROUND_COLOUR 16 #define DEFAULT_BEEP 1 #define DEFAULT_BEEP_MAX 3 #define DEFAULT_BEEP_ON_MSG "NONE" @@ -143,7 +143,7 @@ #define DEFAULT_FLOOD_RATE 3 #define DEFAULT_FLOOD_USERS 3 #define DEFAULT_FLOOD_WARNING 0 -#define DEFAULT_FOREGROUND_COLOUR 15 +#define DEFAULT_FOREGROUND_COLOUR 16 #define DEFAULT_FULL_STATUS_LINE 1 #define DEFAULT_HELP_PAGER 1 #define DEFAULT_HELP_PROMPT 1 diff --git a/include/screen.h b/include/screen.h index c840d52..c6d61fa 100644 --- a/include/screen.h +++ b/include/screen.h @@ -42,6 +42,8 @@ #define WAIT_PROMPT_LINE 0x01 #define WAIT_PROMPT_KEY 0x02 +#define COLOUR_DEFAULT 16 + /* Stuff for the screen/xterm junk */ #define ST_NOTHING -1 diff --git a/source/screen.c b/source/screen.c index 6baaacc..782c9cf 100644 --- a/source/screen.c +++ b/source/screen.c @@ -471,6 +471,19 @@ display_colours(fgcolour, bgcolour) int fgcolour; int bgcolour; { + static int current_fg = COLOUR_DEFAULT; + static int current_bg = COLOUR_DEFAULT; + static int current_bold = 0; + static int current_blink = 0; + + int emit_code = 0; + int desired_bold, desired_blink; + + if (fgcolour < 0) + fgcolour = COLOUR_DEFAULT; + if (bgcolour < 0) + bgcolour = COLOUR_DEFAULT; + if (get_int_var(COLOUR_VAR)) { /* Some people will say that I should use termcap values but @@ -486,6 +499,10 @@ display_colours(fgcolour, bgcolour) */ /* Written by Bisqwit (bisqwit@iki.fi) */ + /* Reworked to support default terminal color, allowing use of + * color on non-black background terminals. 20061129 + * -- Gregory P. Smith (greg@krypto.org) + */ /* mirc colours -> iso 6469 colours translation tables */ static const u_char trans[] = "7042115332664507"; @@ -494,14 +511,63 @@ display_colours(fgcolour, bgcolour) u_char iso[15]; /* long enough for "e[0;1;5;37;40m" */ - snprintf(CP(iso), sizeof iso, "\33[0;"); - if (bolds[fgcolour] == '1') - my_strcat(iso, "1;"); - if (bolds[bgcolour] == '1') - my_strcat(iso, "5;"); - snprintf(CP(my_index(iso, 0)), 7, "3%c;4%cm", trans[fgcolour&15], trans[bgcolour&15]); - - fwrite(CP(iso), my_strlen(iso), 1, current_screen->fpout); + snprintf(CP(iso), sizeof iso, "\33["); + if (fgcolour != COLOUR_DEFAULT) + desired_bold = bolds[fgcolour&15] - '0'; + else + desired_bold = current_bold; + + if (bgcolour != COLOUR_DEFAULT) + desired_blink = bolds[bgcolour&15] - '0'; + else + desired_blink = current_blink; + + /* to turn off bold or blink we have to issue a '0' for reset */ + if (current_bold != desired_bold || current_blink != desired_blink) + { + my_strcat(iso, "0"); + emit_code = 1; + current_bold = 0; + current_blink = 0; + current_bg = COLOUR_DEFAULT; /* XXX is this needed? */ + current_fg = COLOUR_DEFAULT; /* XXX is this needed? */ + } + if (desired_bold) + { + if (emit_code) + my_strcat(iso, ";"); + my_strcat(iso, "1"); + emit_code = 1; + current_bold = 1; + } + if (desired_blink) + { + if (emit_code) + my_strcat(iso, ";"); + my_strcat(iso, "5"); + emit_code = 1; + current_blink = 1; + } + + if (fgcolour != current_fg) + { + if (emit_code) + my_strcat(iso, ";"); + snprintf(CP(my_index(iso, 0)), 3, "3%c", trans[fgcolour&15]); + emit_code = 1; + } + if (bgcolour != current_bg) + { + if (emit_code) + my_strcat(iso, ";"); + snprintf(CP(my_index(iso, 0)), 3, "4%c", trans[bgcolour&15]); + emit_code = 1; + } + if (emit_code) + { + my_strcat(iso, "m"); + fwrite(CP(iso), my_strlen(iso), 1, current_screen->fpout); + } } } @@ -663,15 +729,14 @@ output_line(str, startpos) bgcolour_user = get_int_var(BACKGROUND_COLOUR_VAR); static int high = OFF, bold = OFF, - fgcolour = -1, - bgcolour = -1; + fgcolour = COLOUR_DEFAULT, + bgcolour = COLOUR_DEFAULT; int rev_tog, und_tog, bld_tog, all_off; int dobeep = 0; int written = 0; display_highlight(high); display_bold(bold); - display_colours(fgcolour, bgcolour); /* do processing on the string, handle inverse and bells */ display_nonshift(); while (*str) debian/patches/0005-avoid-crash-on-exiting-help.patch0000644000000000000000000000153411655756222017443 0ustar From 8d2048879885d6701780340d00d75c28ce86c894 Mon Sep 17 00:00:00 2001 From: Bernhard R. Link Date: Sun, 15 Oct 2006 12:55:32 +0200 Subject: avoid crash on exiting /help ircii segfaults in the following example (assuming no server is anwering for localhost): ircii -b bla localhost /set help_window on /help (last line is a newline to exit the help window) Bug-Debian: http://bugs.debian.org/393158 --- source/window.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/source/window.c b/source/window.c index e2b595b..6d02304 100644 --- a/source/window.c +++ b/source/window.c @@ -1421,6 +1421,9 @@ realloc_channels(window) int flag = 1; ChannelList *chan; + if (window->server == -1) + return; + while ((tmp = traverse_all_windows(&flag))) if (window != tmp && tmp->server == window->server) { debian/patches/0007-fix-segv-after-showing-motd.patch0000644000000000000000000000521111655756222017500 0ustar From 2d34821907f23fc02f2e5994314c96b98f636b82 Mon Sep 17 00:00:00 2001 From: matthew green Date: Wed, 27 Sep 2006 17:26:35 -0500 Subject: fix segv after showing motd Wed Sep 27 17:26:35 EST 2006 - matthew green in connect_to_server_direct() reorder some code to avoid using from_server when it is -1. mostly from Bernd Eckenfels . Bug-Debian: http://bugs.debian.org/175099 Applied-Upstream: 20080314 (source/server.c,v 1.185) --- source/server.c | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) diff --git a/source/server.c b/source/server.c index 0f5400c..43530c7 100644 --- a/source/server.c +++ b/source/server.c @@ -891,10 +891,8 @@ connect_to_server_direct(server_name, port, nick, server_index) u_char *nick; int server_index; { - SOCKADDR_STORAGE *localaddr; int new_des; struct addrinfo *r = 0, *r0 = 0; - socklen_t address_len; oper_command = 0; errno = 0; @@ -935,13 +933,14 @@ connect_to_server_direct(server_name, port, nick, server_index) say("Connection to server %s resumed...", server_list[from_server].name); return (-1); } + + update_all_status(); + add_to_server_list(server_name, port, (u_char *) 0, nick, -1, get_server_version(from_server), SL_ADD_OVERWRITE); + if (server_list[from_server].localaddr) new_free(&server_list[from_server].localaddr); server_list[from_server].localaddr = 0; - address_len = sizeof *localaddr; - localaddr = (SOCKADDR_STORAGE *) new_malloc(sizeof *localaddr); - #ifdef HAVE_SYS_UN_H if (*server_name == '/') { @@ -950,20 +949,24 @@ connect_to_server_direct(server_name, port, nick, server_index) } else #endif /* HAVE_SYS_UN_H */ - if (getsockname(new_des, (struct sockaddr *) localaddr, &address_len) - >= 0) { - server_list[from_server].localaddr = localaddr; - server_list[from_server].localaddrlen = address_len; - } - else - { - close(new_des); - say("Could not getsockname(): %s", strerror(errno)); - return -1; + SOCKADDR_STORAGE *localaddr = + (SOCKADDR_STORAGE *) new_malloc(sizeof *localaddr); + socklen_t address_len = sizeof *localaddr; + + if (getsockname(new_des, (struct sockaddr *) localaddr, &address_len) + >= 0) + { + server_list[from_server].localaddr = localaddr; + server_list[from_server].localaddrlen = address_len; + } + else + { + close(new_des); + say("Could not getsockname(): %s", strerror(errno)); + return -1; + } } - update_all_status(); - add_to_server_list(server_name, port, (u_char *) 0, nick, -1, get_server_version(from_server), SL_ADD_OVERWRITE); if (port) { server_list[from_server].read = new_des; debian/patches/0004-absolute-path-for-motd-and-servers-file-and-other-de.patch0000644000000000000000000001012211655756222024134 0ustar From baf36aee06bc55d39bb91da0478126dcd7631153 Mon Sep 17 00:00:00 2001 From: Bernd Eckenfels Date: Mon, 13 Sep 1999 23:54:03 +0200 Subject: absolute path for motd and servers file and other debian changes --- doc/ircII.1 | 21 +++++++++++---------- include/config.h.dist | 14 ++++++++++++++ include/defs.h.in | 4 ++-- source/irc.c | 5 +++++ source/server.c | 4 ++++ 5 files changed, 36 insertions(+), 12 deletions(-) diff --git a/doc/ircII.1 b/doc/ircII.1 index 6e45c44..dc1ce25 100644 --- a/doc/ircII.1 +++ b/doc/ircII.1 @@ -1,5 +1,5 @@ .\" $eterna: ircII.1,v 1.20 2005/01/01 11:25:09 mrg Exp $ -.TH IRCII 1L "31 October 2002" +.TH IRCII 1 "31 October 2002" .SH NAME ircII \- interface to the Internet Relay Chat system .SH SYNOPSIS @@ -249,7 +249,7 @@ The user's name (when provided inside parentheses in response to a WHOIS command) is set to "The one and only :)". .SH FILES .TP 2.2i -.I .../bin/ircII +.I /usr/bin/ircII the executable program .TP ~/.ircrc @@ -260,15 +260,16 @@ directory you can put your own .I ircII scripts into, that can then be loaded with /load .TP -.I .../lib/irc/ +.I /etc/irc/ directory containing message-of-the-day, master initialization, help files and .I ircII scripts -.Tp -.I .../lib/irc/script/global -file loaded at the start of every -.I ircII -session. +.I /etc/irc/script/local +is the master initialization file for the site, loaded before .ircrc is. +This is a Debian GNU/Linux conffile. +.TP +.I /usr/share/ircII/ +shared repository for help, translation tables and distributed scripts. .SH "THE HELP FILES" All of the .B ircII @@ -341,14 +342,14 @@ The initial list of servers if none are provided on the command line. Message of the day. This file is displayed only once each time it is changed. .SH "SEE ALSO" -irc(1), ircd(8) .SH BUGS Please notify the current developer of the software of any bugs in current versions. .SH AUTHORS Program written by Michael Sandrof (ms5n+@andrew.cmu.edu). -Now being maintained by Matthew Green (mrg@eterna.com.au) +Now being maintained by Matthew Green (mrg@eterna.com.au). Debian specific +extensions by the Debian Maintainer Bernd Eckenfels (ecki@debian.org). Names of contributors and contact address can be retrieved with the .B /info command. This manual page written by Darren Reed (avalon@coombs.anu.EDU.AU), diff --git a/include/config.h.dist b/include/config.h.dist index e6d23c5..928bb07 100644 --- a/include/config.h.dist +++ b/include/config.h.dist @@ -233,4 +233,18 @@ #define DEFAULT_XTERM_OPTIONS NULL #define DEFAULT_XTERM_PATH "xterm" +/* + * These are Debian defaults. + */ +#ifdef DEBIAN +#define COMMAND_LINE_L +#define ON_KICK +#undef SERVERS_FILE +#define SERVERS_FILE "/etc/irc/servers" +#define SERVERS_ABSFILE +#undef MOTD_FILE +#define MOTD_FILE "/etc/irc/motd" +#define MOTD_ABSFILE +#endif + #endif /* __config_h_ */ diff --git a/include/defs.h.in b/include/defs.h.in index 06697c5..40b4b9a 100644 --- a/include/defs.h.in +++ b/include/defs.h.in @@ -211,8 +211,8 @@ #endif /* define these to the ZCAT program/args of your choice */ -#undef ZCAT -#undef ZSUFFIX +#define ZCAT "/bin/zcat" +#define ZSUFFIX ".gz" #undef ZARGS /* diff --git a/source/irc.c b/source/irc.c index c963faf..731e013 100644 --- a/source/irc.c +++ b/source/irc.c @@ -1292,8 +1292,13 @@ main(argc, argv, envp) u_char *motd = NULL; int des; +#ifdef MOTD_ABSFILE + malloc_strcpy(&motd, UP(MOTD_FILE)); +#else malloc_strcpy(&motd, irc_lib); malloc_strcat(&motd, UP(MOTD_FILE)); +#endif + if (stat(CP(motd), &motd_stat) == 0) { u_char *s = (u_char *) 0; diff --git a/source/server.c b/source/server.c index 947eaca..0f5400c 100644 --- a/source/server.c +++ b/source/server.c @@ -1363,8 +1363,12 @@ read_server_file() if ((file_path = my_getenv("IRCSERVERSFILE")) == NULL) { +#ifdef SERVERS_ABSFILE + malloc_strcpy(&file_path, UP(SERVERS_FILE)); +#else malloc_strcpy(&file_path, irc_lib); malloc_strcat(&file_path, UP(SERVERS_FILE)); +#endif } snprintf(CP(format), sizeof format, "%%%ds", (int)sizeof buffer); fp = fopen(CP(file_path), "r"); debian/patches/0003-Add-ioption-to-local-include-paths-so-they-do-not-co.patch0000644000000000000000000000223411655756222024032 0ustar From f1b1da7a06be36f24044ca546aa95a4278030ac7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 12 Jan 2008 22:30:02 +0100 Subject: Add -ioption to local include paths so they do not cover the system headers with the same name. This fixes errors/warnings about implicitly converted pointers. Bug-Debian: http://bugs.debian.org/393547, http://bugs.debian.orG/460342 --- Makefile.in | 2 +- source/sl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index d0f8923..0b8c327 100644 --- a/Makefile.in +++ b/Makefile.in @@ -280,7 +280,7 @@ WSERV_SOURCES = wserv.c wterm.c IRCFLUSH_SOURCES = ircflush.c IRCFLUSH_OBJECTS = ircflush.o ircsig.o -INCLUDES = -I. -I$(incdir) -I$(srcdir)/rijndael +INCLUDES = -iquote . -iquote $(incdir) -iquote $(srcdir)/rijndael .c.o: $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) -c $< diff --git a/source/sl.c b/source/sl.c index 2bd6d3c..df3c1ca 100644 --- a/source/sl.c +++ b/source/sl.c @@ -41,7 +41,7 @@ #include "irc.h" IRCII_RCSID("@(#)$eterna: sl.c,v 1.1 2002/10/04 04:50:26 mrg Exp $"); -#include +#include "sl.h" #define _SL_CHUNKSIZE 20 debian/patches/series0000644000000000000000000000052511655756222012047 0ustar 0001-do-not-underline-period.patch 0002-ircII-goes-reverse-color-when-switching-colour-to-on.patch 0003-Add-ioption-to-local-include-paths-so-they-do-not-co.patch 0004-absolute-path-for-motd-and-servers-file-and-other-de.patch 0005-avoid-crash-on-exiting-help.patch 0006-fix-some-spelling-errors.patch 0007-fix-segv-after-showing-motd.patch debian/patches/0006-fix-some-spelling-errors.patch0000644000000000000000000000531011655756222017107 0ustar From 055c11bcd93277b23ceffce1ce5c5bc189ce305f Mon Sep 17 00:00:00 2001 From: Bernhard R. Link Date: Sun, 6 Nov 2011 18:16:06 +0100 Subject: fix some spelling errors --- source/edit.c | 14 +++++++------- source/keys.c | 4 ++-- source/menu.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/source/edit.c b/source/edit.c index b472d35..cb2cd78 100644 --- a/source/edit.c +++ b/source/edit.c @@ -1392,7 +1392,7 @@ who(command, args, subargs) } else { - say("WHO -HOSTS: missing arguement"); + say("WHO -HOSTS: missing argument"); new_free(&cmd); return; } @@ -1411,7 +1411,7 @@ who(command, args, subargs) } else { - say("WHO -SERVERS: missing arguement"); + say("WHO -SERVERS: missing argument"); new_free(&cmd); return; } @@ -1426,7 +1426,7 @@ who(command, args, subargs) } else { - say("WHO -NAME: missing arguement"); + say("WHO -NAME: missing argument"); new_free(&cmd); return; } @@ -1441,7 +1441,7 @@ who(command, args, subargs) } else { - say("WHO -REALNAME: missing arguement"); + say("WHO -REALNAME: missing argument"); new_free(&cmd); return; } @@ -1456,7 +1456,7 @@ who(command, args, subargs) } else { - say("WHO -NICK: missing arguement"); + say("WHO -NICK: missing argument"); new_free(&cmd); return; } @@ -1471,7 +1471,7 @@ who(command, args, subargs) } else { - say("WHO -FILE: missing arguement"); + say("WHO -FILE: missing argument"); new_free(&cmd); return; } @@ -1543,7 +1543,7 @@ query(command, args, subargs) { if (!(nick = recv_nick)) { - say("You have not recieved a message from \ + say("You have not received a message from \ anyone yet"); goto out; } diff --git a/source/keys.c b/source/keys.c index c4e6868..0a79869 100644 --- a/source/keys.c +++ b/source/keys.c @@ -427,7 +427,7 @@ parsekeycmd(command, args, subargs) key_names[i].func(0, args); break; default: - say("Ambigious function %s", arg); + say("Ambigous function %s", arg); break; } } @@ -555,7 +555,7 @@ rbindcmd(command, args, subargs) break; default: - say("Ambigious function %s", arg); + say("Ambigous function %s", arg); return; } diff --git a/source/menu.c b/source/menu.c index ff5e023..d11ac5e 100644 --- a/source/menu.c +++ b/source/menu.c @@ -201,7 +201,7 @@ load_menu(FileName) OptionsList[FuncNum].func; } else - say("Unkown menu command in line %d of %s", + say("Unknown menu command in line %d of %s", linenum, FileName); } install_menu(NewMenu, CurTotal); debian/patches/0001-do-not-underline-period.patch0000644000000000000000000000156111655756222016675 0ustar From ee75d54c0997cde622bfd42d5d77c162f9900f80 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Thu, 8 Apr 2010 21:54:52 -0700 Subject: do-not-underline-period In the documentation of the -c option on the ircII(1) manual page, the period is preceded by a space and underlined. The manual page uses .I to italicize "chan" and, inadvertently, the period, instead of using .IR to italicize just "chan" and drop the space between it and the period. Bug-Debian: http://bugs.debian.org/577039 --- doc/ircII.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/ircII.1 b/doc/ircII.1 index 47645a2..6e45c44 100644 --- a/doc/ircII.1 +++ b/doc/ircII.1 @@ -39,7 +39,7 @@ functions, plus a variety of additional options. .TP .BI \-c " chan" Automatically join channel -.I chan . +.IR chan . .TP .BI \-p " portno" Set the IRC port number to debian/copyright0000644000000000000000000002141711655761636011146 0ustar ircii was downloaded from: ftp://ircftp.au.eterna.com.au/pub/ircII/ Most files have the following copyright and license (with most files only having a subset of copyright holders listed): Copyright (c) 1990 Michael Sandrof. Copyright (c) 1991, 1992 Troy Rollo. Copyright (c) 1991 Carl V. Loesch Copyright (c) 1993 Jeremy Nelson. Copyright (c) 1995 Scott Reynolds. Copyright (c) 1998 glen mccready. Copyright (c) 1999,2003,2004 Joel Yliluoma. Copyright (c) 1992-2004 Matthew R. Green. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The following files have their own copyright and license: source/scandir.c: Copyright (c) 1983 Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of California, Berkeley. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. source/sl.h: Copyright (c) 1994 Christos Zoulas All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Christos Zoulas. 4. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. source/sl.c: Copyright (c) 1994, 1999 The NetBSD Foundation, Inc. All rights reserved. This code is derived from software contributed to The NetBSD Foundation by Christos Zoulas. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the NetBSD Foundation, Inc. and its contributors. 4. Neither the name of The NetBSD Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. source/inet_ntop.c and source/inet.pton.c: Copyright (c) 1996 by Internet Software Consortium. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. source/snprintf.c: Copyright Patrick Powell 1995 This code is based on code written by Patrick Powell (papowell@astart.com) It may be used for any purpose as long as this notice remains intact on all source code distributions source/getaddrinfo.c: Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This package contains the usual build scripts (autoconf and co) with the usual copyright owners and permissive licenses... debian/local0000644000000000000000000000226211655756222010220 0ustar # /etc/irc/script/local # # Debian ircII script to customize ircII appearance # loaded from /usr/lib/irc/script/global on startup # # V0.1 Fri, 8 Nov 1996 15:18:51 +0100 Bernd Eckenfels # initial version # V0.2 Wed, 20 Nov 1996 23:03:44 +0100 Bernd Eckenfels # added blank in front of "* type /help" and removed " # V0.3 Wed, 5 Nov 1997 22:50:47 +0100 Bernd Eckenfels # fixed typo, made 8bit input default # V0.4 Mon, 9 Feb 1998 02:29:26 +0100 Bernd Eckenfels # The new color support # V0.5 Sat, 20 Nov 1999 19:38:00 +0100 Bernd Eckenfels # Upstream Colour Support is activated by /set COLOUR # # # This is an ircII Package Config file. It will be replaced with a new # Version only after asking you to confirm it. # usefull command line editing load cursor # tabkey for easy msg'ing load tabkey # for new users set STATUS_USER * type /help for help # for international support set EIGHT_BIT_CHARACTERS on # Display mirc colors (on) or ignore the escapes (off) set COLOUR on # help the admin to find this stuff here... echo *** /etc/irc/script/local V0.5 for Debian finished. Welcome to ircII. debian/watch0000644000000000000000000000011411655756222010226 0ustar version=3 ftp://ircftp.au.eterna.com.au/pub/ircII/ircii-([0-9]+)\.tar\.bz2 debian/ircii.manpages0000644000000000000000000000001411655756222012010 0ustar doc/ircII.1 debian/source/0000755000000000000000000000000011655756222010501 5ustar debian/source/format0000644000000000000000000000001411655756222011707 0ustar 3.0 (quilt) debian/postrm0000644000000000000000000000017611655756222010454 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -f /etc/irc/motd /etc/irc/servers /usr/lib/irc/ircII.servers fi #DEBHELPER# debian/prerm0000644000000000000000000000036211655756222010252 0ustar #!/bin/sh set -e update-alternatives --remove irc /usr/bin/ircII rm -f /etc/irc/script/local.old /etc/irc/script/local.debian if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/ircii ]; then rm -f /usr/doc/ircii fi #DEBHELPER# debian/ircii.dirs0000644000000000000000000000012311655756222011157 0ustar /usr/bin/ /etc/irc/script /usr/sbin/ /usr/share/ircII/help /usr/share/ircII/script