--- 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/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/control +++ utalk-1.0.1.beta/debian/control @@ -0,0 +1,17 @@ +Source: utalk +Section: net +Priority: optional +Maintainer: Radovan Garabík +Build-Depends: libncurses5-dev, debhelper +Standards-Version: 3.2.1 + +Package: utalk +Architecture: any +Depends: ${shlibs: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/prerm +++ utalk-1.0.1.beta/debian/prerm @@ -0,0 +1,3 @@ +#! /bin/sh -e + +#DEBHELPER# --- utalk-1.0.1.beta.orig/debian/rules +++ utalk-1.0.1.beta/debian/rules @@ -0,0 +1,78 @@ +#!/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-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 + + # 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_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=`pwd`/debian/tmp + + 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_installmanpages +# dh_undocumented + dh_installchangelogs +# dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here +# dh_suidregister +# 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/debian/changelog +++ utalk-1.0.1.beta/debian/changelog @@ -0,0 +1,58 @@ +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/postinst +++ utalk-1.0.1.beta/debian/postinst @@ -0,0 +1,8 @@ +#! /bin/sh -e +# +# postinst script for Debian python packages. +# Written 1998 by Gregor Hoffleit . +# + +#DEBHELPER# + --- utalk-1.0.1.beta.orig/debian/postrm +++ utalk-1.0.1.beta/debian/postrm @@ -0,0 +1,3 @@ +#! /bin/sh -e + +#DEBHELPER# --- utalk-1.0.1.beta.orig/debian/copyright +++ utalk-1.0.1.beta/debian/copyright @@ -0,0 +1,11 @@ +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, +but the page is now located at http://www.iagora.com/~espel/utalk/utalk.html + +Upstream Author: Roger Espel Llima + +Copyright: + +GPL (see /usr/share/common-licenses/GPL) --- 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);