--- zssh-1.5c.debian.1.orig/debian/compat +++ zssh-1.5c.debian.1/debian/compat @@ -0,0 +1 @@ +5 --- zssh-1.5c.debian.1.orig/debian/links +++ zssh-1.5c.debian.1/debian/links @@ -0,0 +1 @@ +/usr/bin/zssh /usr/bin/ztelnet --- zssh-1.5c.debian.1.orig/debian/copyright +++ zssh-1.5c.debian.1/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Daniel Bungert drb@debian.org on +Sun, 20 Jan 2002 19:37:15 -0500. + +It was downloaded from http://zssh.sourceforge.net/ + +Upstream author: + + Matthieu Lucotte + +Copyright: + + Copyright (C) 2000-2001 Matthieu Lucotte + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is +Copyright (C) 2003, Daniel Bungert +Copyright (C) 2005, Andrew Pollock +Copyright (C) 2005, Matej Vela +Copyright (C) 2005-2007, Bart Martens +Copyright (C) 2007, Ben Wong +and is licensed under the GPL, see above. --- zssh-1.5c.debian.1.orig/debian/dirs +++ zssh-1.5c.debian.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- zssh-1.5c.debian.1.orig/debian/README.Debian-source +++ zssh-1.5c.debian.1/debian/README.Debian-source @@ -0,0 +1,18 @@ +zssh for Debian +--------------- + +Here's how I composed the .orig.tar.gz file. Use this information to +verify that everything in the .orig.tar.gz file comes from upstream. + +$ wget -q http://ovh.dl.sourceforge.net/sourceforge/zssh/zssh-1.5c.tgz +$ md5sum zssh-1.5c.tgz +9f140ec2705a96d6a936b7dca0e8dd13 zssh-1.5c.tgz +$ tar xzf zssh-1.5c.tgz +$ rm -rf zssh-1.5c/lrzsz-0.12.20 +$ mv zssh-1.5c zssh-1.5c.debian.1.orig +$ tar czf zssh_1.5c.debian.1.orig.tar.gz zssh-1.5c.debian.1.orig +$ md5sum zssh_1.5c.debian.1.orig.tar.gz +fe993e25941e6c0c62a73c9cd620c95d zssh_1.5c.debian.1.orig.tar.gz +$ + + -- Bart Martens Tue, 17 Jan 2006 00:23:59 +0100 --- zssh-1.5c.debian.1.orig/debian/control +++ zssh-1.5c.debian.1/debian/control @@ -0,0 +1,20 @@ +Source: zssh +Section: net +Priority: optional +Maintainer: Ben Wong +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libncurses5-dev, libreadline-dev, autoconf +Standards-Version: 3.7.2 + +Package: zssh +Architecture: any +Depends: lrzsz, openssh-client | telnet | telnet-ssl, ${shlibs:Depends}, ${misc:Depends} +Description: interactive file transfers over ssh + zssh (Zmodem SSH) is a program for interactively transferring files to a + remote machine while using the secure shell (ssh). It is intended to + be a convenient alternative to scp, allowing to transfer files without + having to open another session and re-authenticate oneself. + . + Files are transferred through the zmodem protocol, using the rz and sz + commands. + . + Homepage: http://zssh.sourceforge.net/ --- zssh-1.5c.debian.1.orig/debian/changelog +++ zssh-1.5c.debian.1/debian/changelog @@ -0,0 +1,81 @@ +zssh (1.5c.debian.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: Build-Depend on libreadline-dev instead of + libreadline5-dev. (Closes: #553877) + + -- Tim Retout Wed, 17 Aug 2011 18:09:27 +0100 + +zssh (1.5c.debian.1-3) unstable; urgency=low + + * New maintainer: as agreed with bartm + * configure.in, openpty.c: GNU's openpty(3) is now detected and used. + Closes: #388036. + * debian/rules: Set DEB_AUTO_UPDATE_AUTO{HEADER,CONF} to 2.61. Now + config.h.in and configure will be recreated at build time. (This will + be undone once upstream accepts the patch to configure.in.) + * makefile.in: Commented out mandatory strip. (Closes: #438380). + + -- Ben Wong Tue, 25 Sep 2007 01:48:30 -0700 + +zssh (1.5c.debian.1-2) unstable; urgency=low + + * debian/*: Repackaged with cdbs. + * debian/control: Updated my e-mail address. + * debian/copyright: Updated. + + -- Bart Martens Sun, 20 May 2007 11:00:41 +0200 + +zssh (1.5c.debian.1-1) unstable; urgency=low + + * lrzsz-0.12.20: Removed. Closes: #347521. + * Makefile.in: Removed lines related to lrzsz. + * Makefile.in, test/Makefile.in, fake_readline/Makefile.in: Added -f to rm + to be less noisy when cleaning. + * debian/README.Debian-source: Added. + + -- Bart Martens Tue, 17 Jan 2006 00:23:59 +0100 + +zssh (1.5c-3) unstable; urgency=low + + * debian/control: ssh is transitional package, and zssh only needs + openssh-client, so replaced the dependency + + -- Bart Martens Fri, 6 Jan 2006 23:18:51 +0100 + +zssh (1.5c-2) unstable; urgency=low + + * New maintainer (Closes: #282953) + * debian/control: linda gave dh-compat-greater-than-depends, added minimum + version of debhelper (>= 4.0.0) in Build-Depends + * debian/control: added homepage to Description + + -- Bart Martens Wed, 28 Dec 2005 00:20:45 +0100 + +zssh (1.5c-1) unstable; urgency=low + + * QA upload. + * New upstream release. Closes: #282294. + * lrzsz-0.12.20/po/de.po: Apply corrections from Jens Seidel. + Closes: #313658. + * Switch to debhelper 4. + * debian/copyright: Include upstream copyright. + * debian/rules: Use `$(MAKE) distclean' rather than `$(MAKE) clean'. + * debian/watch: Add. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Thu, 13 Oct 2005 16:20:14 +0200 + +zssh (1.5a-2) unstable; urgency=low + + * QA Group upload orphaning this package + * debian/control: Updated build dependency to libreadline5-dev (closes: + #326279) + + -- Andrew Pollock Thu, 6 Oct 2005 09:53:37 +1000 + +zssh (1.5a-1) unstable; urgency=low + + * Initial release. Closes: #141677 + + -- Daniel Bungert Thu, 23 Jan 2003 22:20:46 -0500 --- zssh-1.5c.debian.1.orig/debian/rules +++ zssh-1.5c.debian.1/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_INSTALL_DOCS_ALL += FAQ + +DEB_AUTO_UPDATE_AUTOHEADER := 2.61 +DEB_AUTO_UPDATE_AUTOCONF := 2.61 + +SAVERESTORE := fake_readline/Makefile version.h config.h.in configure + +update-config:: + for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -p $$f $$f.d-r-orig ; done + +reverse-config:: + for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done + +clean:: + #for f in $(SAVERESTORE) ; do cp -p ../orig/*/$$f $$f ; done --- zssh-1.5c.debian.1.orig/debian/watch +++ zssh-1.5c.debian.1/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\.debian\.\d+$// \ +http://zssh.sourceforge.net/ .*/zssh-(.*)\.tgz +#http://sf.net/zssh/zssh-(.*)\.tgz --- zssh-1.5c.debian.1.orig/debian/patches/05_strip.patch +++ zssh-1.5c.debian.1/debian/patches/05_strip.patch @@ -0,0 +1,12 @@ +diff -Nur zssh_1.5c.debian.1-3/Makefile.in zssh_1.5c.debian.1-3.new/Makefile.in +--- zssh_1.5c.debian.1-3/Makefile.in 2007-09-25 01:24:58.000000000 -0700 ++++ zssh_1.5c.debian.1-3.new/Makefile.in 2007-09-25 01:25:42.000000000 -0700 +@@ -74,7 +74,7 @@ + ln $(NAME) $@ + + install : +- strip $(NAME) ++ #strip $(NAME) + $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ + #ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet + $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 --- zssh-1.5c.debian.1.orig/debian/patches/04_GNU_openpty.patch +++ zssh-1.5c.debian.1/debian/patches/04_GNU_openpty.patch @@ -0,0 +1,42 @@ +diff -Nur zssh_1.5c.debian.1-3/configure.in zssh_1.5c.debian.1-3.new/configure.in +--- zssh_1.5c.debian.1-3/configure.in 2007-09-25 01:28:53.000000000 -0700 ++++ zssh_1.5c.debian.1-3.new/configure.in 2007-09-25 01:30:03.000000000 -0700 +@@ -57,7 +57,7 @@ + AC_HEADER_STDC + AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS(fcntl.h paths.h sys/ioctl.h sys/time.h termios.h unistd.h \ +- err.h sys/cdefs.h sys/param.h util.h stropts.h) ++ err.h sys/cdefs.h sys/param.h util.h stropts.h pty.h) + + + +@@ -97,7 +97,14 @@ + + + dnl Check what is available for tty/pty allocation +-AC_CHECK_FUNCS(_getpty getpseudotty openpty grantpt unlockpt) ++AC_CHECK_FUNCS(_getpty getpseudotty grantpt unlockpt) ++AC_CHECK_FUNCS(openpty,, ++ [AC_CHECK_LIB(util,openpty, ++ [AC_DEFINE(HAVE_OPENPTY) ++ LIBS="$LIBS -lutil"] ++ )]) ++ ++ + AC_MSG_CHECKING(for pseudo ttys) + if test -c /dev/getpty && test $ac_cv_func_getpseudotty = yes + then +diff -Nur zssh_1.5c.debian.1-3/openpty.c zssh_1.5c.debian.1-3.new/openpty.c +--- zssh_1.5c.debian.1-3/openpty.c 2007-09-25 01:28:53.000000000 -0700 ++++ zssh_1.5c.debian.1-3.new/openpty.c 2007-09-25 01:30:03.000000000 -0700 +@@ -25,6 +25,10 @@ + #include + #endif + ++#ifdef HAVE_PTY_H ++#include ++#endif ++ + void getmaster() + { + #ifdef DEBUG --- zssh-1.5c.debian.1.orig/debian/patches/02_destdir.diff +++ zssh-1.5c.debian.1/debian/patches/02_destdir.diff @@ -0,0 +1,15 @@ +--- Makefile.in_ORIG 2007-05-20 11:52:48.000000000 +0200 ++++ Makefile.in 2007-05-20 11:53:41.000000000 +0200 +@@ -75,9 +75,9 @@ + + install : + strip $(NAME) +- $(INSTALL) -m 0711 zssh @bindir@ +- ln -f @bindir@/zssh @bindir@/ztelnet +- $(INSTALL) -m 0644 $(MANS) @mandir@/man1 ++ $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ ++ ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet ++ $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 + + uninstall : + -cd @bindir@ && rm $(PRGS) --- zssh-1.5c.debian.1.orig/debian/patches/01_pre_cdbs.diff +++ zssh-1.5c.debian.1/debian/patches/01_pre_cdbs.diff @@ -0,0 +1,83 @@ +--- ../orig/zssh-1.5c.debian.1.orig/fake_readline/Makefile 2003-09-24 06:27:23.000000000 +0200 ++++ fake_readline/Makefile 2007-05-20 11:40:03.000000000 +0200 +@@ -1,6 +1,6 @@ + # Generated automatically from Makefile.in by configure. + +-MAKE = gmake ++MAKE = make + INSTALL = /usr/bin/install -c + TAR = tar + AR = ar +@@ -29,7 +29,7 @@ + + + clean : +- -rm *.o *~ *.a \#*\# core $(NAME) typescript nohup.out ++ -rm -f *.o *~ *.a \#*\# core $(NAME) typescript nohup.out + + distclean : clean + +--- ../orig/zssh-1.5c.debian.1.orig/fake_readline/Makefile.in 2001-10-06 23:17:05.000000000 +0200 ++++ fake_readline/Makefile.in 2007-05-20 11:31:46.000000000 +0200 +@@ -28,7 +28,7 @@ + + + clean : +- -rm *.o *~ *.a \#*\# core $(NAME) typescript nohup.out ++ -rm -f *.o *~ *.a \#*\# core $(NAME) typescript nohup.out + + distclean : clean + +--- ../orig/zssh-1.5c.debian.1.orig/Makefile.in 2003-09-23 04:18:54.000000000 +0200 ++++ Makefile.in 2007-05-20 11:00:03.000000000 +0200 +@@ -86,21 +86,6 @@ + fake_readline : force + -cd fake_readline && $(MAKE) + +-lrzsz : +- cd lrzsz-0.12.20 && ./configure --prefix=@prefix@ +- cd lrzsz-0.12.20 && $(MAKE) +- +-lrzsz_links : +- ln -s @bindir@/lrz @bindir@/rz +- ln -s @bindir@/lsz @bindir@/sz +- ln -s @bindir@/lrb @bindir@/rb +- ln -s @bindir@/lsb @bindir@/sb +- ln -s @bindir@/lrx @bindir@/rx +- ln -s @bindir@/lsx @bindir@/sx +- +-lrzsz_install : +- cd lrzsz-0.12.20 && $(MAKE) install +- + # create source archive in ~/backup + tgz $(TGZ) : distclean force + @cdir=`pwd` && cdir=`basename $$cdir` && cd .. && \ +@@ -136,11 +121,10 @@ + new : clean all + + clean : +- -rm *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) ++ -rm -f *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) + + distclean : clean +- -rm Makefile config.cache config.status config.log config.scan config.h TAGS +- -(cd lrzsz-0.12.20 && $(MAKE) distclean) ++ -rm -f Makefile config.cache config.status config.log config.scan config.h TAGS + -(cd fake_readline && $(MAKE) distclean) + -(cd test && $(MAKE) distclean) + +--- ../orig/zssh-1.5c.debian.1.orig/test/Makefile.in 2003-09-24 06:18:41.000000000 +0200 ++++ test/Makefile.in 2007-05-20 11:31:46.000000000 +0200 +@@ -68,10 +68,10 @@ + new : clean all + + clean : +- -rm *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) output.* ++ -rm -f *.o *~ *.a \#*\# core $(PRGS) typescript nohup.out $(RPMSPEC) $(BACKLINK) output.* + + distclean : clean +- -rm Makefile config.cache config.status config.log config.scan config.h TAGS ++ -rm -f Makefile config.cache config.status config.log config.scan config.h TAGS + + autoconf: + autoconf --- zssh-1.5c.debian.1.orig/debian/patches/03_symlink.diff +++ zssh-1.5c.debian.1/debian/patches/03_symlink.diff @@ -0,0 +1,11 @@ +--- Makefile.in_ORIG 2007-05-20 12:02:34.000000000 +0200 ++++ Makefile.in 2007-05-20 12:03:11.000000000 +0200 +@@ -76,7 +76,7 @@ + install : + strip $(NAME) + $(INSTALL) -m 0711 zssh $(DESTDIR)/@bindir@ +- ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet ++ #ln -f $(DESTDIR)/@bindir@/zssh $(DESTDIR)/@bindir@/ztelnet + $(INSTALL) -m 0644 $(MANS) $(DESTDIR)/@mandir@/man1 + + uninstall :