--- utalk-1.0.1.beta.orig/Makefile +++ utalk-1.0.1.beta/Makefile @@ -1,3 +1,5 @@ +DESTDIR = + # Makefile for srdp/utalk - Roger Espel Llima #BINDIR = /usr/local/bin @@ -6,9 +8,13 @@ #BINDIR = /usr/local/util/bin #MANDIR = /usr/local/util/man #LIBDIR = /usr/local/util/lib -BINDIR = /home/e/espel/bin -MANDIR = /home/e/espel/man -LIBDIR = /home/e/espel/lib +#BINDIR = /home/e/espel/bin +#MANDIR = /home/e/espel/man +#LIBDIR = /home/e/espel/lib + +BINDIR = $(DESTDIR)/usr/bin +MANDIR = $(DESTDIR)/usr/share/man +LIBDIR = $(DESTDIR)/usr/lib SRCS = srdp.c utalk.c util.c termcap.c termio.c globals.c signal.c screen.c\ functions.c kbd.c comm.c rc.c menu.c @@ -21,10 +27,10 @@ # you have ncurses installed you may want to change it to -lncurses. # On weird systems without a separate termcap library but with termcap # emulation in curses, you may need to set it to -lcurses. -LIBS = -ltermcap +LIBS = -lncurses # Extra libraries; uncomment this for Solaris, change it for other machines -EXTRALIBS = -lsocket -lnsl +# EXTRALIBS = -lsocket -lnsl # Uncomment this on non-POSIX BSD machines (NeXT, Sequent...) if you # have trouble compiling without it. @@ -43,7 +49,7 @@ #CFLAGS = -g -O -D__USE_FIXED_PROTOTYPES__ $(OPTS) #CFLAGS = -g -Wall -DDEBUG -D__USE_FIXED_PROTOTYPES__ $(OPTS) -CFLAGS = -g -Wall -D__USE_FIXED_PROTOTYPES__ $(OPTS) +CFLAGS = -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ $(OPTS) #LDFLAGS = -g CC = gcc @@ -63,16 +69,16 @@ install: utalk utalk.1 # -strip utalk - -umask 022; mkdir $(BINDIR) 2>/dev/null - -umask 022; mkdir $(MANDIR) 2>/dev/null - -umask 022; mkdir $(LIBDIR) 2>/dev/null - -umask 022; mkdir $(MANDIR)/man1 2>/dev/null +# -umask 022; mkdir $(BINDIR) 2>/dev/null +# -umask 022; mkdir $(MANDIR) 2>/dev/null +# -umask 022; mkdir $(LIBDIR) 2>/dev/null +# -umask 022; mkdir $(MANDIR)/man1 2>/dev/null cp utalk $(BINDIR) - chmod 755 $(BINDIR)/utalk - cp utalk.1 $(MANDIR)/man1 - chmod 644 $(MANDIR)/man1/utalk.1 - cp utalk.help $(LIBDIR) - chmod 644 $(LIBDIR)/utalk.help +# chmod 755 $(BINDIR)/utalk +# cp utalk.1 $(MANDIR)/man1 +# chmod 644 $(MANDIR)/man1/utalk.1 +# cp utalk.help $(LIBDIR) +# chmod 644 $(LIBDIR)/utalk.help clean: rm -f $(OBJS) stest.o stest utalk core --- utalk-1.0.1.beta.orig/debian/changelog +++ utalk-1.0.1.beta/debian/changelog @@ -0,0 +1,83 @@ +utalk (1.0.1.beta-8build3) cosmic; urgency=medium + + * No-change rebuild for ncurses soname changes. + + -- Matthias Klose Thu, 03 May 2018 14:20:01 +0000 + +utalk (1.0.1.beta-8build2) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:49:11 +0000 + +utalk (1.0.1.beta-8build1) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 09:47:00 +0000 + +utalk (1.0.1.beta-8) unstable; urgency=low + + * update URL in debian/copyright + * update package (closes: #800221) + + -- Radovan Garabík Sat, 24 Oct 2015 20:31:21 +0200 + +utalk (1.0.1.beta-7) unstable; urgency=low + + * applied patch from John Lightsey to clean up compiler error (closes: #190786) + + -- Radovan Garabík Fri, 23 May 2003 14:42:01 +0200 + +utalk (1.0.1.beta-6) unstable; urgency=low + + * moved Build-Depends where it belongs + + -- Radovan Garabik Fri, 23 Feb 2001 21:49:52 +0100 + +utalk (1.0.1.beta-5) unstable; urgency=low + + * rebuilt with a new GPG key + * fixed messed up dependencies + + -- Radovan Garabik Fri, 1 Sep 2000 08:39:54 +0200 + +utalk (1.0.1.beta-4) unstable; urgency=low + + * added debhelper to Build-Depends + + -- Radovan Garabik Tue, 15 Feb 2000 22:52:51 +0100 + +utalk (1.0.1.beta-3) unstable; urgency=low + + * upgraded Standards-Version + * compiled with new libncurses + * Suggests: talkd + + -- Radovan Garabik Thu, 6 Jan 2000 16:46:46 +0100 + +utalk (1.0.1.beta-2.1) unstable; urgency=low + + * NMU (sponsored). + * List Radovan properly as the maintainer in the control file. + + -- Chris Lawrence Tue, 4 Jan 2000 02:14:22 -0600 + +utalk (1.0.1.beta-2) unstable; urgency=low + + * upgraded Standards-Version + * Radovan Garabik is the person + responsible for this package; I am his sponsor and am uploading it on + his behalf. + + -- Chris Lawrence Wed, 13 Oct 1999 22:13:05 +0200 + +utalk (1.0.1.beta-1) unstable; urgency=low + + * Initial Release. + + -- Radovan Garabik Mon, 20 Sep 1999 22:39:10 +0200 + +Local variables: +mode: debian-changelog +End: --- utalk-1.0.1.beta.orig/debian/compat +++ utalk-1.0.1.beta/debian/compat @@ -0,0 +1 @@ +9 --- utalk-1.0.1.beta.orig/debian/control +++ utalk-1.0.1.beta/debian/control @@ -0,0 +1,18 @@ +Source: utalk +Section: net +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Radovan Garabík +Build-Depends: libncurses5-dev, debhelper (>=9) +Standards-Version: 3.2.1 + +Package: utalk +Architecture: any +Depends: ${shlibs:Depends},${misc:Depends} +Suggests: talkd +Description: talk-like program with additional features + utalk uses a protocol, based on UDP, which ensures a quick response + even over links with high packet loss, allows editing of previously + typed text, including scrollback, deletion and overstrike, and + provides some additional features. It is not compatible with BSD talk + program. --- utalk-1.0.1.beta.orig/debian/copyright +++ utalk-1.0.1.beta/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Radovan Garabik on +Mon, 20 Sep 1999 21:06:11 +0200. + +It was downloaded from http://www.eleves.ens.fr:8080/home/espel/utalk/utalk.html, +later moved to http://www.iagora.com/~espel/utalk/utalk.html +but the page is now located at http://utalk.ourproject.org/ + +Upstream Author: Roger Espel Llima + +Copyright: + + Copyright © Roger Espel Llima + +License: + + 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- utalk-1.0.1.beta.orig/debian/dirs +++ utalk-1.0.1.beta/debian/dirs @@ -0,0 +1 @@ +usr/bin --- utalk-1.0.1.beta.orig/debian/docs +++ utalk-1.0.1.beta/debian/docs @@ -0,0 +1 @@ +PROTOCOL README --- utalk-1.0.1.beta.orig/debian/rules +++ utalk-1.0.1.beta/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + # Add here commands to compile the package. + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp debian/files + + # Add here commands to clean up after the build process. + $(MAKE) clean + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=`pwd`/debian/utalk + + touch install-stamp + +# 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_testversion + dh_testdir + dh_testroot + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installinit +# dh_installcron + dh_installman utalk.1 + dh_installchangelogs +# dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- utalk-1.0.1.beta.orig/termcap.h +++ utalk-1.0.1.beta/termcap.h @@ -24,7 +24,7 @@ extern int tputs(char *str, int affcnt, int (*putc)(int)); extern char *t_ce, *t_me, *t_mr, *t_md, *t_us; -extern int xcursor, ycursor; /* absolute; -1, -1 = unknown */ +extern volatile int xcursor, ycursor; /* absolute; -1, -1 = unknown */ extern void putcap(char *s); extern void init_termcap(void);