git.iko.soy/typeable/nixpkgs
on master help sign in
removed xchat

No release since 2010 and vulnerable to CVE-2011-5129. Hexchat is available as a alternative.

commit08f6f75c69d678ed7992af06238d039972eff2c9 authorJakob Gillich <jakob@gillich.me> dateWed 6 Jan 2016, 02:33 (11 years ago) parent6059831
3 files changed−96
pkgs/applications/networking/irc/xchat/default.nix−19 pkgs/applications/networking/irc/xchat/glib-top-level-header.patch−75 pkgs/top-level/all-packages.nix−2
pkgs/applications/networking/irc/xchat/default.nixdeleted−19
@@ -1,19 +0,0 @@
1−{stdenv, fetchurl, pkgconfig, tcl, gtk, gtkspell }:
2−
3−stdenv.mkDerivation {
4− name = "xchat-2.8.8";
5− src = fetchurl {
6− url = http://www.xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2;
7− sha256 = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0";
8− };
9− buildInputs = [pkgconfig tcl gtk gtkspell];
10− configureFlags = "--disable-nls --enable-spell=gtkspell";
11−
12− patches = [ ./glib-top-level-header.patch ];
13−
14− meta = {
15− description = "IRC client using GTK";
16− homepage = http://www.xchat.org;
17− platforms = with stdenv.lib.platforms; linux;
18− };
19−}
pkgs/applications/networking/irc/xchat/glib-top-level-header.patchdeleted−75
@@ -1,75 +0,0 @@
1−diff -Naur xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c xchat-2.8.8/src/common/dbus/dbus-plugin.c
2−--- xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c 2009-08-16 05:40:15.000000000 -0400
3−+++ xchat-2.8.8/src/common/dbus/dbus-plugin.c 2012-07-15 23:07:33.678948703 -0400
4−@@ -24,7 +24,7 @@
5− #include <config.h>
6− #include <dbus/dbus-glib.h>
7− #include <dbus/dbus-glib-lowlevel.h>
8−-#include <glib/gi18n.h>
9−+#include <glib.h>
10− #include "../xchat-plugin.h"
11−
12− #define PNAME _("remote access")
13−diff -Naur xchat-2.8.8-orig/src/common/modes.c xchat-2.8.8/src/common/modes.c
14−--- xchat-2.8.8-orig/src/common/modes.c 2010-05-29 21:52:18.000000000 -0400
15−+++ xchat-2.8.8/src/common/modes.c 2012-07-15 23:07:33.654948723 -0400
16−@@ -20,7 +20,7 @@
17− #include <stdlib.h>
18− #include <stdio.h>
19− #include <glib.h>
20−-#include <glib/gprintf.h>
21−+#include <glib.h>
22−
23− #include "xchat.h"
24− #include "xchatc.h"
25−diff -Naur xchat-2.8.8-orig/src/common/servlist.c xchat-2.8.8/src/common/servlist.c
26−--- xchat-2.8.8-orig/src/common/servlist.c 2010-05-16 03:24:26.000000000 -0400
27−+++ xchat-2.8.8/src/common/servlist.c 2012-07-15 23:07:33.643948732 -0400
28−@@ -24,7 +24,7 @@
29− #include <unistd.h>
30−
31− #include "xchat.h"
32−-#include <glib/ghash.h>
33−+#include <glib.h>
34−
35− #include "cfgfiles.h"
36− #include "fe.h"
37−diff -Naur xchat-2.8.8-orig/src/common/text.c xchat-2.8.8/src/common/text.c
38−--- xchat-2.8.8-orig/src/common/text.c 2010-05-29 22:14:41.000000000 -0400
39−+++ xchat-2.8.8/src/common/text.c 2012-07-15 23:07:33.671948706 -0400
40−@@ -28,7 +28,7 @@
41− #include <sys/mman.h>
42−
43− #include "xchat.h"
44−-#include <glib/ghash.h>
45−+#include <glib.h>
46− #include "cfgfiles.h"
47− #include "chanopt.h"
48− #include "plugin.h"
49−diff -Naur xchat-2.8.8-orig/src/common/util.c xchat-2.8.8/src/common/util.c
50−--- xchat-2.8.8-orig/src/common/util.c 2009-08-16 05:40:16.000000000 -0400
51−+++ xchat-2.8.8/src/common/util.c 2012-07-15 23:07:33.649948724 -0400
52−@@ -39,7 +39,7 @@
53− #include <errno.h>
54− #include "xchat.h"
55− #include "xchatc.h"
56−-#include <glib/gmarkup.h>
57−+#include <glib.h>
58− #include <ctype.h>
59− #include "util.h"
60− #include "../../config.h"
61−diff -Naur xchat-2.8.8-orig/src/common/xchat.h xchat-2.8.8/src/common/xchat.h
62−--- xchat-2.8.8-orig/src/common/xchat.h 2009-08-16 05:40:16.000000000 -0400
63−+++ xchat-2.8.8/src/common/xchat.h 2012-07-15 23:08:20.855910521 -0400
64−@@ -1,10 +1,6 @@
65− #include "../../config.h"
66−
67−-#include <glib/gslist.h>
68−-#include <glib/glist.h>
69−-#include <glib/gutils.h>
70−-#include <glib/giochannel.h>
71−-#include <glib/gstrfuncs.h>
72−+#include <glib.h>
73− #include <time.h> /* need time_t */
74−
75− #ifndef XCHAT_H
pkgs/top-level/all-packages.nix−2
@@ -13774,8 +13774,6 @@ let
1377413774
1377513775 xchainkeys = callPackage ../tools/X11/xchainkeys { };
1377613776
13777− xchat = callPackage ../applications/networking/irc/xchat { };
13778−
1377913777 xchm = callPackage ../applications/misc/xchm { };
1378013778
1378113779 inherit (xorg) xcompmgr;