debian/0000755000000000000000000000000013236336747007204 5ustar debian/NEWS.Debian0000644000000000000000000000030013215441156011041 0ustar kildclient (2.8.1-1) experimental; urgency=low The HTML manual is now in the package kildclient-doc. -- Eduardo M Kalinowski Thu, 29 Jan 2009 16:37:21 -0200 debian/rules0000755000000000000000000000607213215441174010255 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir dh_autotools-dev_updateconfig CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info #Architecture build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: config.status $(MAKE) touch $@ build-indep: build-indep-stamp build-indep-stamp: config.status touch $@ clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_autotools-dev_restoreconfig dh_clean install: install-indep install-arch install-indep: dh_testdir dh_testroot dh_prep -i dh_installdirs -i $(MAKE) -C doc DESTDIR=$(CURDIR)/debian/kildclient-doc install dh_install -i install-arch: dh_testdir dh_testroot dh_prep -s dh_installdirs -s $(MAKE) DESTDIR=$(CURDIR)/debian/kildclient install # Remove extra license file rm $(CURDIR)/debian/kildclient/usr/share/doc/kildclient/COPYING # Move binary to /usr/games mv $(CURDIR)/debian/kildclient/usr/bin/kildclient $(CURDIR)/debian/kildclient/usr/games/ rmdir $(CURDIR)/debian/kildclient/usr/bin # Remove docs from arch-dependent package rm -rf $(CURDIR)/debian/kildclient/usr/share/doc/kildclient/html dh_install -s # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_installman dh_installmenu dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch debian/control0000644000000000000000000000666113215441352010602 0ustar Source: kildclient Section: games Priority: optional Maintainer: Eduardo M Kalinowski Build-Depends: debhelper (>= 8), autotools-dev, libglib2.0-dev (>= 2.14.0), libgtk2.0-dev (>= 2.18.0), libperl-dev (>= 5.10.0), gettext (>= 0.14.5), libgtkspell-dev, libgnutls-dev (>= 2.2.0), zlib1g-dev, python Standards-Version: 3.9.2 Homepage: http://kildclient.sf.net Vcs-Browser: http://kildclient.svn.sourceforge.net/viewvc/kildclient/trunk/debian/ Vcs-Svn: https://kildclient.svn.sourceforge.net/svnroot/kildclient/trunk/debian Package: kildclient Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, liblocale-gettext-perl, gvfs Suggests: kildclient-doc, libgtk2-perl Description: powerful MUD client with a built-in Perl interpreter KildClient is a MUD Client written with the GTK+ windowing toolkit. It supports many common features of other clients, such as triggers, gags, aliases, macros, timers, and much more. But its main feature is the built-in Perl interpreter. You can at any moment execute Perl statements and functions to do things much more powerful than simply sending text the mud. Perl statements can also be run, for example, as the action of a trigger, allowing you to do complex things. Some built-in functions of KildClient allow interaction with the world, such as sending commands to it. . KildClient's ANSI support is extensive: it supports not only the common 16 colors, but also support underlined text (singly and doubly), text in italics, text striked through, reverse video and "hidden" text. It also supports vt100's line-drawing characters, and xterm's escape sequences for a 256-color mode. All these features make KildClient one of the clients with the most features for displaying the mud output. . Kildclient supports the MCCP (Mud Client Compression Protocol) protocol, versions 1 and 2, to reduce the necessary bandwidth. . KildClient allows connection through SOCKS4/5 proxy servers. . This package contains the main program. Install the kildclient-doc package to access the HTML manual. Package: kildclient-doc Architecture: all Depends: ${misc:Depends} Section: doc Description: powerful MUD client with a built-in Perl interpreter - manual KildClient is a MUD Client written with the GTK+ windowing toolkit. It supports many common features of other clients, such as triggers, gags, aliases, macros, timers, and much more. But its main feature is the built-in Perl interpreter. You can at any moment execute Perl statements and functions to do things much more powerful than simply sending text the mud. Perl statements can also be run, for example, as the action of a trigger, allowing you to do complex things. Some built-in functions of KildClient allow interaction with the world, such as sending commands to it. . KildClient's ANSI support is extensive: it supports not only the common 16 colors, but also support underlined text (singly and doubly), text in italics, text striked through, reverse video and "hidden" text. It also supports vt100's line-drawing characters, and xterm's escape sequences for a 256-color mode. All these features make KildClient one of the clients with the most features for displaying the mud output. . Kildclient supports the MCCP (Mud Client Compression Protocol) protocol, versions 1 and 2, to reduce the necessary bandwidth. . KildClient allows connection through SOCKS4/5 proxy servers. . This package contains the HTML manual for KildClient. debian/watch0000644000000000000000000000007413215441174010222 0ustar version=3 http://sf.net/kildclient/kildclient-(.+)\.tar\.gz debian/patches/0000755000000000000000000000000013215441174010617 5ustar debian/patches/series0000644000000000000000000000002513215441174012031 0ustar cve-2017-17511.patch debian/patches/cve-2017-17511.patch0000644000000000000000000002064113215441174013463 0ustar Description: Fix for CVE-2017-17511 Uses a GTK+ function to open URLs, instead of using a command supplied by the user or $BROWSER. Author: Eduardo M KALINOWSKI Last-Update: 2017-12-16 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/kildclient.h +++ b/src/kildclient.h @@ -599,7 +599,6 @@ GtkPositionType tab_position; gboolean hide_single_tab; gboolean urgency_hint; - char *browser_command; char *audio_player_command; char *last_open_world; gboolean no_plugin_help_msg; --- a/src/prefs.c +++ b/src/prefs.c @@ -94,7 +94,6 @@ GObject *txtProxyUser; GObject *txtProxyPassword; #ifndef __WIN32__ - GObject *txtBrowserCommand; GObject *txtAudioPlayerCommand; #else GtkWidget *tabPrograms; @@ -181,12 +180,6 @@ #ifndef __WIN32__ /* Load commands */ - txtBrowserCommand = gtk_builder_get_object(main_builder, "txtBrowserCommand"); - gtk_entry_set_text(GTK_ENTRY(txtBrowserCommand), - globalPrefs.browser_command); - g_signal_connect(txtBrowserCommand, "focus_out_event", - G_CALLBACK(txt_cmd_focus_out_cb), - &globalPrefs.browser_command); txtAudioPlayerCommand = gtk_builder_get_object(main_builder, "txtAudioPlayerCommand"); gtk_entry_set_text(GTK_ENTRY(txtAudioPlayerCommand), @@ -322,9 +315,6 @@ } /* Has the commands been set? */ - if (!globalPrefs.browser_command) { - globalPrefs.browser_command = g_strdup("${BROWSER} \"%s\" &"); - } if (!globalPrefs.audio_player_command) { globalPrefs.audio_player_command = g_strdup("play \"%s\" &"); } @@ -383,8 +373,6 @@ globalPrefs.hide_single_tab = atoi(line + pos + 1); } else if (strcmp(first_word, "urgencyhint") == 0) { globalPrefs.urgency_hint = atoi(line + pos + 1); - } else if (strcmp(first_word, "browsercommand") == 0) { - globalPrefs.browser_command = g_strdup(line + pos + 1); } else if (strcmp(first_word, "audioplayercommand") == 0) { globalPrefs.audio_player_command = g_strdup(line + pos + 1); } else if (strcmp(first_word, "lastopenworld") == 0) { @@ -478,8 +466,6 @@ g_string_append_printf(str, "urgencyhint %d\n", globalPrefs.urgency_hint); g_string_append_printf(str, - "browsercommand %s\n", globalPrefs.browser_command); - g_string_append_printf(str, "audioplayercommand %s\n", globalPrefs.audio_player_command); --- a/src/worldgui.c +++ b/src/worldgui.c @@ -1145,13 +1145,15 @@ void menu_url_open(GtkAction *action, char *url) { - char *to_run; + GError *err = NULL; - to_run = g_strdup_printf(globalPrefs.browser_command, url); + gtk_show_uri(NULL, url, GDK_CURRENT_TIME, &err); + if (err != NULL) { + fprintf(stderr, "Error opening URL: %s\nCheck if gvfs is installed\n", + err->message); + g_error_free(err); + } - system(to_run); - - g_free(to_run); g_free(url); } #else /* defined __WIN32__ */ --- a/src/dlgPreferences.glade +++ b/src/dlgPreferences.glade @@ -453,89 +453,6 @@ vertical 18 - - True - vertical - 6 - - - True - 0 - 0 - <b>Web Browser</b> - True - - - False - False - 0 - - - - - True - - - True - - - - False - False - 0 - - - - - True - vertical - 6 - True - - - True - True - Specify the command used to launch a web browser - - True - - - False - False - 0 - - - - - True - 0 - Enter the command to run a web browser. %s will be substituted by the web page address. - True - - - False - False - 1 - - - - - 1 - - - - - 1 - - - - - False - False - 0 - - - True vertical @@ -618,7 +535,7 @@ - 2 + 1 debian/compat0000644000000000000000000000000213215441174010366 0ustar 8 debian/copyright0000644000000000000000000000475613215441174011137 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: kildclient Upstream-Contact: Eduardo M Kalinowski Source: http://kildclient.sf.net Files: * Copyright: 2004-2011, Eduardo M Kalinowski License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 file. Files: src/simocombobox.c src/simocombobox.h src/util_cursor.h Copyright: Todd A. Fisher 2004-2011 Eduardo M Kalinowski License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in the /usr/share/common-licenses/LGPL-2.1 file. Files: share/plugins/channels.pl Copyright: This file was released into public domain by its original author, Jakykong License: public-domain The author has release the file into public domain and granted permission to hack away the file, according to the file's header: . I, the author, hereby release this file into the public domain. Hack away. debian/kildclient.dirs0000644000000000000000000000001313215441156012167 0ustar /usr/games debian/source/0000755000000000000000000000000013215441156010470 5ustar debian/source/format0000644000000000000000000000001413215441156011676 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000003713215441156010043 0ustar NEWS README debian/NEWS.Debian debian/kildclient-doc.doc-base0000644000000000000000000000046313215441174013457 0ustar Document: kildclient Title: KildClient Manual Author: Eduardo M Kalinowski Abstract: This manual describes what kildclient is and how to use it. Section: Games/Adventure Format: HTML Index: /usr/share/doc/kildclient/html/index.html Files: /usr/share/doc/kildclient/html/*.html debian/menu0000644000000000000000000000036013215441174010056 0ustar ?package(kildclient):\ needs="X11"\ section="Games/Adventure"\ title="KildClient"\ longtitle="KildClient MUD Client"\ command="/usr/games/kildclient"\ icon="/usr/share/pixmaps/kildclient.xpm" debian/changelog0000644000000000000000000002213613236336572011056 0ustar kildclient (2.11.1-1+deb7u2build0.14.04.1) trusty-security; urgency=medium * fake sync from Debian -- Marc Deslauriers Tue, 06 Feb 2018 09:36:42 -0500 kildclient (2.11.1-1+deb7u2) wheezy-security; urgency=high * Added build-dependency on python to fix FTBS due to the need to run gtk-builder-convert during build time. -- Eduardo M Kalinowski Sun, 17 Dec 2017 08:13:16 -0200 kildclient (2.11.1-1+deb7u1) wheezy-security; urgency=high * Fix for CVE-2017-17511. New dependency 'gvfs' required in order to use GTK+ function for opening URLs. -- Eduardo M Kalinowski Sat, 16 Dec 2017 11:56:41 -0200 kildclient (2.11.1-1) unstable; urgency=low * New upstream version: 2.11.1: - Removed call to deprecated gnutls functions. (Closes: #624039) * copyright: Changed to DEP-5 format, added license information for share/plugins/channels.pl. * Switch to dpkg-source 3.0 (quilt) format. * control: mininum required version of gnutls-dev is set to 2.2.0 because of the function used to fix the aforementioned bug. * control: Require glib >= 2.14.0, gtk >= 2.18.0, but libglade is not necessary anymore. * control: Added ${misc:Depends} dependency to kildclient-doc package. * debhelper 8 is now used. * rules, control: call dh_autotools-dev_updateconfig on package configuration and dh_autotools-dev_restoreconfig on clean. Added autotools-dev as a build dependency. * rules: Removed dh_desktop call. * rules: cleaned some comments. * control: short description starts in lowercase. -- Eduardo M Kalinowski Sat, 28 May 2011 11:10:50 -0300 kildclient (2.9.0-2) unstable; urgency=low * Added missing -lz flag to linker, and listed zlib1g-dev as Build-Depends. (Closes: #555000, #623726) * Updated policy complicance to 3.9.2; no changes were necessary. -- Eduardo M Kalinowski Fri, 13 May 2011 17:16:13 -0300 kildclient (2.9.0-1) unstable; urgency=low * New upstram version: 2.9.0. - The way the presence of gnutls is checked has been changed to use pkg-config. (Closes: #529905). * control: Updated policy compliance to 3.8.1; no changes were necessary in the packaging. * changelog: Do not use the symlinks /GPL and /LGPL anymore, explicit versions are used. -- Eduardo M Kalinowski Sat, 23 May 2009 18:37:42 -0300 kildclient (2.8.1-1) experimental; urgency=low * New upstream version: 2.8.1. * HTML manual is now split into separate package kildclient-doc. * Changed section to games, and menu section to "Games/Adventure". The binary is now installed in /usr/games (Policy, section 11.11) by the rules file. -- Eduardo M Kalinowski Thu, 29 Jan 2009 16:37:21 -0200 kildclient (2.8.0-1) experimental; urgency=low * New upstream version: 2.8.0. * control: Updated policy compliance to 3.8.0; no changes were necessary in the packaging. * control: Small changes in description to remove an occurrence of 'the the' and advertise proxy support. * control: Require perl version 5.10.0 * control: Changed Vcs tags to point to the new SVN repository, specifically at the files for debian packaging. * control: Removed duplicate fields 'priority' and 'section' in binary package section. * Requires debhelper 7. Changed dh_clean -k to dh_prep for conformance. -- Eduardo M Kalinowski Sun, 11 Jan 2009 17:49:08 -0200 kildclient (2.7.0-1) unstable; urgency=low * New upstream version: 2.7.0. * Require debhelper 6. * control: Changed 'section' to net because if it is 'games' then the binary must be in /usr/games. * kildclient.doc-base: Corrected section to Network/Communication. -- Eduardo M Kalinowski Sat, 03 May 2008 15:41:23 -0300 kildclient (2.6.0-2) unstable; urgency=low * copyright: Make it clear that KildClient is distributed under the GNU GPL version 2 or later. (Closes: #456439). * control: Updated policy compliance to 3.7.3; no changes were necessary in the packaging. -- Eduardo M Kalinowski Mon, 17 Dec 2007 11:26:58 -0200 kildclient (2.6.0-1) unstable; urgency=low * New upstream version: 2.6.0. * control: Version 2.10.X of glib/gtk+ is now required. * control: Removed alternative dependency on libgnutls11-dev; that package does not exist anymore. * control: Added Vcs fields and changed Homepage to be a real field. * rules: Changed "-$(MAKE) distclean" to "[ ! -f Makefile ] || $(MAKE) distclean" * menu: Changed "Apps/Net" to "Applications/Network/Communications" to comply to the new menu policy. * copyright: Added notice specifying that simocombobox.{c,h} and util_cursor.h are licensed under the LGPL. * Added watch file. -- Eduardo M Kalinowski Thu, 29 Nov 2007 12:02:29 -0200 kildclient (2.5.1-1) unstable; urgency=low * New upstream release. * kildclient.doc-base: Removed pdf manual. -- Eduardo M Kalinowski Mon, 21 May 2007 12:35:54 -0300 kildclient (2.5.0-1) unstable; urgency=low * New upstream release, its bringing into Debian closes: #303635. * Updated policy version to 3.7.2. * KildClient now requires GTK+ version 2.8.X. * Added an icon to the menu file. -- Eduardo M Kalinowski Sat, 12 Aug 2006 17:05:42 -0300 kildclient (2.4.1-1) unstable; urgency=low * New upstream release. -- Eduardo M Kalinowski Sun, 26 Mar 2006 09:06:44 -0300 kildclient (2.4.0-1) unstable; urgency=low * New upstream release. * Added libgtkspell-dev to the build-depends. * Changed debhelper compatibility version to 5, and also the needed version in Build-Depends. -- Eduardo M Kalinowski Wed, 8 Feb 2006 21:49:38 -0200 kildclient (2.3.0-1) unstable; urgency=low * New upstream release. * Updated required versions of gtk+ and libglade. * Added build-depends entry for libgnutls. * Added dh_desktop call to the rules file. -- Eduardo M Kalinowski Wed, 21 Dec 2005 11:01:48 -0200 kildclient (2.2.2-1) unstable; urgency=low * New upstream release. * Removed intltool build dependency and specified that gettext version >= 0.14.5 is necessary to build. * Added a menu file. -- Eduardo M Kalinowski Sat, 1 Oct 2005 15:41:47 -0300 kildclient (2.2.1-1) unstable; urgency=low * New upstream release. -- Eduardo M Kalinowski Tue, 20 Sep 2005 09:39:39 -0300 kildclient (2.2.0-1) unstable; urgency=low * New upstream release. * Changed the description to include some new features recently added. -- Eduardo M Kalinowski Mon, 19 Sep 2005 10:18:06 -0300 kildclient (2.1.0-1) unstable; urgency=low * New upstream release. -- Eduardo M Kalinowski Thu, 25 Aug 2005 18:07:25 -0300 kildclient (2.0.0-1) unstable; urgency=low * New upstream release. * Removed libvte dependency, since it is not used anymore. * Added line in rules to remove the newly included COPYING file from the package. * Removed unused lines from rules files. * Updated standards-version to 3.6.2. -- Eduardo M Kalinowski Wed, 27 Jul 2005 17:04:58 -0300 kildclient (1.3.2-1) unstable; urgency=low * New upstream release. -- Eduardo M Kalinowski Sun, 3 Jul 2005 17:14:35 -0300 kildclient (1.3.1-1) unstable; urgency=low * New upstream release. * Added libglib2.0-dev >= 2.6.0 as a build requirement. -- Eduardo M Kalinowski Tue, 31 May 2005 10:36:18 -0300 kildclient (1.3.0-1) unstable; urgency=low * New upstream release. * Added liblocale-gettext-perl to Depends. -- Eduardo M Kalinowski Fri, 27 May 2005 16:57:55 -0300 kildclient (1.2.0-2) unstable; urgency=low * Corrected doc-base file for the pdf manual. -- Eduardo M Kalinowski Wed, 4 May 2005 11:20:00 -0300 kildclient (1.2.0-1) unstable; urgency=low * New upstream release. * Mentioned MCCP in the description. * Added intltool to Build-Depends * Added libgtk2-perl to Suggests -- Eduardo M Kalinowski Wed, 20 Apr 2005 16:35:28 -0300 kildclient (1.1.2-1) unstable; urgency=low * New upstream release. -- Eduardo M Kalinowski Fri, 25 Mar 2005 09:18:12 -0300 kildclient (1.1.1-2) unstable; urgency=low * The manual page and other files are now compressed. -- Eduardo M Kalinowski Sun, 13 Mar 2005 09:23:18 -0300 kildclient (1.1.1-1) unstable; urgency=low * Updated the package to version 1.1.1 of the program -- Eduardo M Kalinowski Fri, 11 Mar 2005 10:24:13 -0300 kildclient (1.1.0-2) unstable; urgency=low * Added the manual page to the package. -- Eduardo M Kalinowski Mon, 28 Feb 2005 16:16:09 -0300 kildclient (1.1.0-1) unstable; urgency=low * Initial Release. -- Eduardo M Kalinowski Mon, 21 Feb 2005 18:41:50 -0300