From 08f6f75c69d678ed7992af06238d039972eff2c9 Mon Sep 17 00:00:00 2001 From: Jakob Gillich Date: Wed, 6 Jan 2016 02:33:07 +0100 Subject: [PATCH] removed xchat No release since 2010 and vulnerable to CVE-2011-5129. Hexchat is available as a alternative. --- .../networking/irc/xchat/default.nix | 19 ----- .../irc/xchat/glib-top-level-header.patch | 75 ------------------- pkgs/top-level/all-packages.nix | 2 - 3 files changed, 96 deletions(-) delete mode 100644 pkgs/applications/networking/irc/xchat/default.nix delete mode 100644 pkgs/applications/networking/irc/xchat/glib-top-level-header.patch diff --git a/pkgs/applications/networking/irc/xchat/default.nix b/pkgs/applications/networking/irc/xchat/default.nix deleted file mode 100644 index c6252b1649b6..000000000000 --- a/pkgs/applications/networking/irc/xchat/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{stdenv, fetchurl, pkgconfig, tcl, gtk, gtkspell }: - -stdenv.mkDerivation { - name = "xchat-2.8.8"; - src = fetchurl { - url = http://www.xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2; - sha256 = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0"; - }; - buildInputs = [pkgconfig tcl gtk gtkspell]; - configureFlags = "--disable-nls --enable-spell=gtkspell"; - - patches = [ ./glib-top-level-header.patch ]; - - meta = { - description = "IRC client using GTK"; - homepage = http://www.xchat.org; - platforms = with stdenv.lib.platforms; linux; - }; -} diff --git a/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch b/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch deleted file mode 100644 index b1413b357537..000000000000 --- a/pkgs/applications/networking/irc/xchat/glib-top-level-header.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -Naur xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c xchat-2.8.8/src/common/dbus/dbus-plugin.c ---- xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c 2009-08-16 05:40:15.000000000 -0400 -+++ xchat-2.8.8/src/common/dbus/dbus-plugin.c 2012-07-15 23:07:33.678948703 -0400 -@@ -24,7 +24,7 @@ - #include - #include - #include --#include -+#include - #include "../xchat-plugin.h" - - #define PNAME _("remote access") -diff -Naur xchat-2.8.8-orig/src/common/modes.c xchat-2.8.8/src/common/modes.c ---- xchat-2.8.8-orig/src/common/modes.c 2010-05-29 21:52:18.000000000 -0400 -+++ xchat-2.8.8/src/common/modes.c 2012-07-15 23:07:33.654948723 -0400 -@@ -20,7 +20,7 @@ - #include - #include - #include --#include -+#include - - #include "xchat.h" - #include "xchatc.h" -diff -Naur xchat-2.8.8-orig/src/common/servlist.c xchat-2.8.8/src/common/servlist.c ---- xchat-2.8.8-orig/src/common/servlist.c 2010-05-16 03:24:26.000000000 -0400 -+++ xchat-2.8.8/src/common/servlist.c 2012-07-15 23:07:33.643948732 -0400 -@@ -24,7 +24,7 @@ - #include - - #include "xchat.h" --#include -+#include - - #include "cfgfiles.h" - #include "fe.h" -diff -Naur xchat-2.8.8-orig/src/common/text.c xchat-2.8.8/src/common/text.c ---- xchat-2.8.8-orig/src/common/text.c 2010-05-29 22:14:41.000000000 -0400 -+++ xchat-2.8.8/src/common/text.c 2012-07-15 23:07:33.671948706 -0400 -@@ -28,7 +28,7 @@ - #include - - #include "xchat.h" --#include -+#include - #include "cfgfiles.h" - #include "chanopt.h" - #include "plugin.h" -diff -Naur xchat-2.8.8-orig/src/common/util.c xchat-2.8.8/src/common/util.c ---- xchat-2.8.8-orig/src/common/util.c 2009-08-16 05:40:16.000000000 -0400 -+++ xchat-2.8.8/src/common/util.c 2012-07-15 23:07:33.649948724 -0400 -@@ -39,7 +39,7 @@ - #include - #include "xchat.h" - #include "xchatc.h" --#include -+#include - #include - #include "util.h" - #include "../../config.h" -diff -Naur xchat-2.8.8-orig/src/common/xchat.h xchat-2.8.8/src/common/xchat.h ---- xchat-2.8.8-orig/src/common/xchat.h 2009-08-16 05:40:16.000000000 -0400 -+++ xchat-2.8.8/src/common/xchat.h 2012-07-15 23:08:20.855910521 -0400 -@@ -1,10 +1,6 @@ - #include "../../config.h" - --#include --#include --#include --#include --#include -+#include - #include /* need time_t */ - - #ifndef XCHAT_H diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 90bc9bfdc6b7..614b77de7fac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13774,8 +13774,6 @@ let xchainkeys = callPackage ../tools/X11/xchainkeys { }; - xchat = callPackage ../applications/networking/irc/xchat { }; - xchm = callPackage ../applications/misc/xchm { }; inherit (xorg) xcompmgr;