--- ytalk-3.3.0.orig/debian/changelog +++ ytalk-3.3.0/debian/changelog @@ -0,0 +1,271 @@ +ytalk (3.3.0-5) unstable; urgency=low + + * Patches from Marc Glisse + - Honour SHELL and USER env vars (Closes: #455252) + - Fix logging of your own conversation (Closes: #455254) + + -- Matthew Johnson Sun, 9 Dec 2007 15:41:23 +0000 + +ytalk (3.3.0-4) unstable; urgency=low + + * Adopt package (Closes: #418367). + * Use dpatch for patches outside debian/. + * Bumped standards version and compat version. + + -- Matthew Johnson Wed, 5 Dec 2007 13:41:27 +0000 + +ytalk (3.3.0-3) unstable; urgency=low + + * Orphaned the package, maintainer field set accordingly. + * Created `debian/compat' instead of using DH_COMPAT in `debian/rules'. + + -- Philipp Kern Sun, 22 Apr 2007 11:05:27 +0200 + +ytalk (3.3.0-2) unstable; urgency=low + + * Updated FSF postal address in ``debian/copyright'' + * Removed bashism out of ``debian/prerm'' + * Bumped standards version + + -- Philipp Kern Wed, 21 Dec 2005 16:50:20 +0100 + +ytalk (3.3.0-1) unstable; urgency=low + + * New upstream release. + * Rewrote ``debian/copyright'' as ytalk is now licensed under the GNU GPL. + + -- Philipp Kern Sun, 13 Feb 2005 16:39:26 +0000 + +ytalk (3.2.0-2) unstable; urgency=low + + * Removed ``X support'' from ytalk's description. (Closes: #292890) + + -- Philipp Kern Mon, 31 Jan 2005 19:21:14 +0000 + +ytalk (3.2.0-1) unstable; urgency=low + + * New upstream release. + * Droping X support. It got nearly unusable and this will prepare the + users for the drop of the upstream support. (Closes: #190435) + * Added a fix from upstream to enable connections to users having + usernames longer than 8 characters. (Closes: #113644) + * Removed the dependency on netstd (<= 3.07-3) because it is no longer + available. + * Added a debian/watch file pointing to the upstream homepage. + + -- Philipp Kern Mon, 17 Jan 2005 20:13:13 +0100 + +ytalk (3.1.6-1) unstable; urgency=medium + + * New upstream release. + * Security fix: + It turns out it was possible to write 44 bytes of arbitrary data to YTalk + memory when running the auto-invite daemon (off by default), due to a + nasty sprintf() call and a buffer overflow. + + I didn't really investigate how much nastiness you might be able to + accomplish with these 44 bytes, but I did confirm that YTalk can be + crashed by anyone who knows the auto-invite daemon's TCP port number. + -- Andreas Kling + + -- Philipp Kern Thu, 30 Dec 2004 09:56:37 +0000 + +ytalk (3.1.5-1) unstable; urgency=low + + * New upstream release. + - This release readds the lost "prompt before quit" patch submitted by + Colin Watson. (Closes: #278970) + * Changed debian/copyright as the maintainer changed with 3.1.3. + * Removed debian/conffiles as it gets build automagically. + + -- Philipp Kern Sat, 6 Nov 2004 19:36:36 +0100 + +ytalk (3.1.4-1) unstable; urgency=low + + * New upstream release. + - Adds a re-ring keystroke. (Closes: #38409) + + -- Philipp Kern Mon, 18 Oct 2004 19:01:07 +0200 + +ytalk (3.1.3-2) unstable; urgency=low + + * debian/rules: Install /etc/ytalkrc correctly. (Broke autobuilders.) + + -- Philipp Kern Sat, 02 Oct 2004 15:34:55 +0200 + +ytalk (3.1.3-1) unstable; urgency=low + + * New upstream release. + * Re-integrated lost fixes. + * Copy upstream changelog to /usr/share/doc. + + -- Philipp Kern Mon, 27 Sep 2004 18:23:32 +0000 + +ytalk (3.1.2-4) unstable; urgency=low + + * Description fixed. (Closes: #259624) + * Applied patches supplied by Andreas 'keso' Kling : + ytalk-3.1.2-keso_curses_resize.patch, + ytalk-3.1.2-keso_no_debug_printf.patch + + -- Philipp Kern Fri, 30 Jul 2004 11:55:47 +0200 + +ytalk (3.1.2-3) unstable; urgency=low + + * Start using debhelper: + - Now supporting (via dh_strip) the nostrip option in DEB_BUILD_OPTIONS + * Removed dependency on netstd -- talkd replaces it completely, and netstd + was already not in woody. + + -- Philipp Kern Fri, 16 Apr 2004 20:02:30 +0200 + +ytalk (3.1.2-2) unstable; urgency=medium + + * Revert patch supporting username lengths 10 to 12, it hangs ytalk if you + use netkit-talkd (Reopens: #113644, Closes: #235283) + + -- Philipp Kern Fri, 16 Apr 2004 13:17:39 +0000 + +ytalk (3.1.2-1) unstable; urgency=low + + * Package taken over by Jeroen van Wolffelaar + and Philipp Kern (Closes: #218802) + * New upstream version (see /usr/share/doc/ytalk/changelog.gz for details). + (-x command line behaviour changed to *enable* the X interface + instead of disabling it.) + * Fixed a buffer overflow regarding a oversized $HOME when loading the + configuration file. + * Username length increased (Closes: #113644) + * Updated Standards-Version. + + -- Philipp Kern Tue, 6 Jan 2004 15:44:31 +0000 + +ytalk (3.1.1-5) unstable; urgency=low + + * Updated Standards-Version. + * Fixed multiple lintian warnings + * New Maintainer address + + -- Steve McIntyre <93sam@debian.org> Sun, 13 Jan 2002 01:35:07 +0000 + +ytalk (3.1.1-4) unstable; urgency=low + + * Now prompts user before quitting - patch from Colin Watson , fixes Bug #78258. + + -- Steve McIntyre Sat, 09 Dec 2000 18:51:13 +0000 + +ytalk (3.1.1-3) unstable; urgency=low + + * Rebuilt with ncurses5. Fixes: Bug#74502 + + -- Steve McIntyre Sun, 22 Oct 2000 18:38:44 +0100 + +ytalk (3.1.1-1) unstable; urgency=low + + * Reset handling of SIGCHLD for shells. Fixes Bugs #42625,2196. + + -- Steve McIntyre Sun, 15 Aug 1999 20:48:32 +0100 + +ytalk (3.1.1-0) unstable; urgency=low + + * New upstream version with several bugs fixed. See changelog for more info. + * Now no longer crashes on resize of xterm. Fixes Bug#16334. + * Glibc 2.1 patch now introduced upstream, fixes Bug#31068. + * Now be more careful about checking/reporting of hostnames. Fixes Bug#2575. + + -- Steve McIntyre Sun, 16 May 1999 23:14:32 +0100 + +ytalk (3.1-0) unstable; urgency=low + + * New upstream version. + * glibc2.1 patches added where now applicable and will be forwarded upstream. Fixes Bug#30168. + * ytalk now checks hostnames - Fixes Bug#2572. + * Bug#24166 should have been closed a long time ago - now done. + * Remaining open bugs will be forwarded to new upstream maintainer - Roger Espel Llima . + + -- Steve McIntyre Sat, 16 Jan 1999 23:55:46 +0000 + +ytalk (3.0.3-6.1) frozen unstable; urgency=low + + * non maintainer, sparc only upload + * don't include iovec.h anymore with glibc2.1 + + -- Christian Meder Fri, 27 Nov 1998 11:40:06 +0100 + +ytalk (3.0.3-6) frozen unstable; urgency=low + + * Moved upstream version info from README.Debian to copyright file. + + -- Steve McIntyre Sun, 01 Nov 1998 14:29:41 +0000 + +ytalk (3.0.3-5) frozen unstable; urgency=low + + * Recompiled against ncurses4 for slink. + * Added dependency on talkd or old netstd. + + -- Steve McIntyre Sat, 31 Oct 1998 09:26:41 +0000 + +ytalk (3.0.3-4) frozen unstable; urgency=low + + * Removed "-Werror" from Alpha compilation flags so it builds OK now. Fixes Bug#24166 + + -- Steve McIntyre Sun, 18 Oct 1998 14:14:41 +0100 + +ytalk (3.0.3-3) frozen unstable; urgency=medium + + * Several fixes to "source uglyness". Fixes Bug#11797. + * Fixed man page reference to /usr/local/etc/ytalkrc. + * Updated Standards-Version. + * Removed debmake use. + * Other bugs being looked at, will probably not make it for 2.0 release. + + -- Steve McIntyre Sun, 04 May 1998 21:12:33 +0100 + +ytalk (3.0.3-2) frozen unstable; urgency=low + + * New maintainer. + + -- Steve McIntyre Sun, 19 Apr 1998 15:22:33 +0100 + +ytalk (3.0.3-1) unstable; urgency=low + + * new upstream version + * this version should be 8-bit-clean, closes bug 11798 + # folded in various glibc/alpha patches from Debian 3.0.2 ytalk package. + + -- Bdale Garbee Wed, 17 Sep 1997 17:16:44 +0000 + +ytalk (3.0.2-5) unstable; urgency=low + + * libc6, closes bug 12642 + * folded in changes for the alpha/glibc from Michael Dorman, closes bug 8827. + + -- Bdale Garbee Fri, 5 Sep 1997 02:07:10 -0600 + +ytalk (3.0.2-4) unstable; urgency=low + + * Fixed Bug 2699 regarding use of FQDN's. + + -- Bdale Garbee Sat, 2 Nov 1996 16:08:02 -0700 + +ytalk (3.0.2-3) unstable; urgency=low + + * Initial release by new maintainer in new package format. + + -- Bdale Garbee Tue, 29 Oct 1996 02:03:02 -0800 + +ytalk (3.0.2-2) unstable; urgency=low + + * Converted to ELF and ncurses + * updated packaging to latest standards + * Andrew still maintainer + + -- Michael Nonweiler Thu, 23 May 1996 00:00:00 -0000 + +ytalk (3.0.2-1) unstable; urgency=low + + * Converted x and no_x packages into one package with depends + on xlibraries. + + -- Andrew Howell Wed, 30 Aug 1995 00:00:00 -0000 + --- ytalk-3.3.0.orig/debian/compat +++ ytalk-3.3.0/debian/compat @@ -0,0 +1 @@ +5 --- ytalk-3.3.0.orig/debian/control +++ ytalk-3.3.0/debian/control @@ -0,0 +1,14 @@ +Source: ytalk +Section: net +Priority: optional +Maintainer: Matthew Johnson +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 5), libncurses5-dev, dpatch + +Package: ytalk +Architecture: any +Depends: ${shlibs:Depends}, talkd +Description: enhanced talk program + Ytalk is a multi-user chat program. It works exactly like the UNIX talk + program and even communicates with the same talk daemons. The primary + advantage of ytalk is its ability to maintain multiple connections. --- ytalk-3.3.0.orig/debian/copyright +++ ytalk-3.3.0/debian/copyright @@ -0,0 +1,30 @@ +This package was originally put together by Steve McIntyre <93sam@debian.org>. +The packaging for Debian was continued by Philipp Kern . +The packaging for Debian is now being written by Matthew Johnson + +The current sources are available from http://www.impul.se/ytalk/. + +Upstream Author: Andreas Kling + +Copyright 1990, 1992, 1993 Britt Yenne + +As of version 3.3.0 ytalk is relicensed under the GPL which did not yet exist +when ytalk was written in the first place. + + This package 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; version 2 dated June, 1991. + + This package 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 GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- ytalk-3.3.0.orig/debian/patches/00list +++ ytalk-3.3.0/debian/patches/00list @@ -0,0 +1,4 @@ +man.dpatch +self-log.dpatch +shell.dpatch +user.dpatch --- ytalk-3.3.0.orig/debian/patches/man.dpatch +++ ytalk-3.3.0/debian/patches/man.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## man.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a manpage bug + +@DPATCH@ + +--- ytalk-3.3.0.orig/docs/ytalk.1.in ++++ ytalk-3.3.0/docs/ytalk.1.in +@@ -181,7 +181,7 @@ + .PP + and he will be prompted for a yes/no answer. This, in my opinion, is much + preferable to blitting the announcement message and messing up user B's +-screen. The command-line option "-i" turns this off. ++screen. The command-line option "\-i" turns this off. + + .SH RUNTIME OPTIONS + When you select Options off of the main menu, you are given the opportunity --- ytalk-3.3.0.orig/debian/patches/self-log.dpatch +++ ytalk-3.3.0/debian/patches/self-log.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## self-log.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: self-log + +@DPATCH@ + +--- ytalk-3.3.0/src/comm.c.orig 2007-12-09 16:06:51.797555519 +0000 ++++ ytalk-3.3.0/src/comm.c 2007-12-09 16:07:37.798642716 +0000 +@@ -1361,6 +1361,12 @@ + *n = c[j]; + } + j = (n - nbuf); ++ if (me->output_fd > 0) ++ if (write(me->output_fd, nbuf, (size_t)j) <= 0) { ++ show_error("write to user output file failed"); ++ close(me->output_fd); ++ me->output_fd = 0; ++ } + show_input(me, nbuf, j); + send_users(user, c, i, nbuf, j); + } --- ytalk-3.3.0.orig/debian/patches/shell.dpatch +++ ytalk-3.3.0/debian/patches/shell.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## shell.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: shell + +@DPATCH@ + +--- ytalk-3.3.0/src/exec.c.orig 2007-12-09 16:08:47.800297534 +0000 ++++ ytalk-3.3.0/src/exec.c 2007-12-09 16:10:06.302153849 +0000 +@@ -188,12 +188,15 @@ + #endif + #endif + +- pw = getpwuid(myuid); +- if (pw != NULL) { +- shell = pw->pw_shell; +- } else { +- shell = "/bin/sh"; +- } ++ pw = getpwuid(myuid); ++ shell=getenv("SHELL"); ++ if(shell==NULL){ ++ if (pw != NULL) { ++ shell = pw->pw_shell; ++ } else { ++ shell = "/bin/sh"; ++ } ++ } + + calculate_size(&prows, &pcols); + --- ytalk-3.3.0.orig/debian/patches/user.dpatch +++ ytalk-3.3.0/debian/patches/user.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## user.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: user + +@DPATCH@ + +--- ytalk-3.3.0/src/user.c 2007-12-09 16:08:26.799801039 +0000 ++++ ytalk-3.3.0/src/user.c.orig 2007-12-09 16:10:39.302934384 +0000 +@@ -46,6 +46,8 @@ + ylong uid; + { + register struct passwd *pw; ++ char* c; ++ if ((c = getenv("USER")) != NULL) return c; + passwd_opened = 1; + if ((pw = getpwuid(uid)) == NULL) + return NULL; --- ytalk-3.3.0.orig/debian/postinst +++ ytalk-3.3.0/debian/postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" != upgrade ] || dpkg --compare-versions "$2" lt 3.1.1-2; then + update-alternatives --install /usr/bin/talk talk \ + /usr/bin/ytalk 110 \ + --slave /usr/share/man/man1/talk.1.gz talk.1.gz \ + /usr/share/man/man1/ytalk.1.gz +fi + +# Debhelper generated snippets: +#DEBHELPER# --- ytalk-3.3.0.orig/debian/postrm +++ ytalk-3.3.0/debian/postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ]; then + rm -f /etc/ytalkrc || true +fi + +# Debhelper generated snippets: +#DEBHELPER# --- ytalk-3.3.0.orig/debian/prerm +++ ytalk-3.3.0/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" != upgrade ]; then + update-alternatives --remove talk /usr/bin/ytalk +fi + +# Debhelper generated snippets: +#DEBHELPER# --- ytalk-3.3.0.orig/debian/rules +++ ytalk-3.3.0/debian/rules @@ -0,0 +1,99 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Based on sample debhelper rules file: GNU copyright 1997-1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# 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) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +patch: patch-stamp +patch-stamp: + dpatch apply-all + dpatch cat-all >patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +config.status: patch configure + dh_testdir + # Configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + ln -sf /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + ln -sf /usr/share/misc/config.guess config.guess +endif + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man --sysconfdir=/etc \ + --without-x + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Compile the package. + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.guess config.sub + + # Clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs /etc + + # Install into debian/ytalk. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ytalk + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ytalk-3.3.0.orig/debian/watch +++ ytalk-3.3.0/debian/watch @@ -0,0 +1,3 @@ +version=2 + +http://impul.se/ytalk/download.php ytalk-(.*)\.tar\.gz