--- cpmtools-2.17.orig/Makefile.in +++ cpmtools-2.17/Makefile.in @@ -90,7 +90,7 @@ $(INSTALL) -s -m 755 mkfs.cpm $(BINDIR)/mkfs.cpm $(INSTALL) -s -m 755 fsck.cpm $(BINDIR)/fsck.cpm [ "$(FSED_CPM)" != '' ] && $(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm - $(INSTALL_DATA) diskdefs @datarootdir@/diskdefs + $(INSTALL_DATA) diskdefs $(datarootdir)/diskdefs $(INSTALL_DATA) cpmls.1 $(MANDIR)/man1/cpmls.1 $(INSTALL_DATA) cpmcp.1 $(MANDIR)/man1/cpmcp.1 $(INSTALL_DATA) cpmrm.1 $(MANDIR)/man1/cpmrm.1 --- cpmtools-2.17.orig/cpm.5.in +++ cpmtools-2.17/cpm.5.in @@ -104,7 +104,7 @@ .sp F0: requires set wheel byte (Backgrounder II) .br -F1: public file (P2DOS, ZSDOS), forground-only command (Backgrounder II) +F1: public file (P2DOS, ZSDOS), foreground-only command (Backgrounder II) .br F2: date stamp (ZSDOS), background-only commands (Backgrounder II) .br --- cpmtools-2.17.orig/cpmls.c +++ cpmtools-2.17/cpmls.c @@ -372,7 +372,11 @@ if (usage) { +#if HAVE_LIBDSK_H fprintf(stderr,"Usage: %s [-f format] [-T libdsk-type] [-d|-D|-F|-A|[-l][-c][-i]] image [file ...]\n",cmd); +#else + fprintf(stderr,"Usage: %s [-f format] [-d|-D|-F|-A|[-l][-c][-i]] image [file ...]\n",cmd); +#endif exit(1); } /*}}}*/ --- cpmtools-2.17.orig/debian/changelog +++ cpmtools-2.17/debian/changelog @@ -0,0 +1,95 @@ +cpmtools (2.17-1build1) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sat, 06 Feb 2016 20:52:23 +0000 + +cpmtools (2.17-1) unstable; urgency=low + + * new upstream version + + -- Bdale Garbee Sun, 09 Mar 2014 14:24:59 -0600 + +cpmtools (2.13-1) unstable; urgency=low + + * new uptream version + * add Vcs entries to the control file + + -- Bdale Garbee Mon, 26 Dec 2011 01:02:56 -0700 + +cpmtools (2.12-1) unstable; urgency=low + + * new upstream version + + -- Bdale Garbee Mon, 15 Mar 2010 16:08:30 -0600 + +cpmtools (2.10-2) unstable; urgency=low + + * elide '-T libdsk-type' from executable usage messages, closes: #554342 + + -- Bdale Garbee Tue, 03 Nov 2009 21:25:26 -0700 + +cpmtools (2.10-1) unstable; urgency=low + + * new upstream version + + -- Bdale Garbee Tue, 08 Sep 2009 12:52:46 -0600 + +cpmtools (2.7-1) unstable; urgency=low + + * new upstream version + + -- Bdale Garbee Thu, 05 Jun 2008 16:47:46 -0600 + +cpmtools (2.5-1) unstable; urgency=low + + * new upstream version, closes: #345395 + * freshen policy and debhelper version + + -- Bdale Garbee Fri, 30 Dec 2005 21:20:27 -0700 + +cpmtools (2.4-3) unstable; urgency=low + + * patch from A Costa for fsck man page typos, closes: #327918 + + -- Bdale Garbee Wed, 28 Sep 2005 00:53:52 -0600 + +cpmtools (2.4-2) unstable; urgency=low + + * accept patches from A Costa for man page typos, closes: #305635, #305636 + + -- Bdale Garbee Sat, 30 Apr 2005 00:08:30 -0600 + +cpmtools (2.4-1) unstable; urgency=low + + * new upstream version, closes: #275979 + + -- Bdale Garbee Mon, 11 Oct 2004 10:58:22 -0600 + +cpmtools (2.1-2) unstable; urgency=low + + * fix thinko in rules file handling of autotools-dev support, closes: #241585 + + -- Bdale Garbee Thu, 1 Apr 2004 21:41:39 -0700 + +cpmtools (2.1-1) unstable; urgency=low + + * new upstream version, closes: #239681 + * deliver cpm.5 manpage in binary package, closes: #239680 + * add autotools-dev as a build dep to keep config.* fresh + * move diskdefs into /etc/cpmtools as a conffile, closes: #239677 + + -- Bdale Garbee Fri, 26 Mar 2004 11:48:01 -0700 + +cpmtools (2.0-2) unstable; urgency=low + + * add build-depend on libncurses-dev so that fsed builds, closes: #129679 + + -- Bdale Garbee Fri, 18 Jan 2002 11:50:16 -0700 + +cpmtools (2.0-1) unstable; urgency=low + + * Initial Release. + + -- Bdale Garbee Tue, 15 Jan 2002 02:23:43 -0700 + --- cpmtools-2.17.orig/debian/compat +++ cpmtools-2.17/debian/compat @@ -0,0 +1 @@ +5 --- cpmtools-2.17.orig/debian/control +++ cpmtools-2.17/debian/control @@ -0,0 +1,17 @@ +Source: cpmtools +Section: otherosfs +Priority: optional +Maintainer: Bdale Garbee +Build-Depends: debhelper (>> 5), libncurses-dev, autotools-dev +Standards-Version: 3.9.5 +Vcs-Git: git://git.gag.com/debian/cpmtools +Vcs-Browser: http://git.gag.com/?p=debian/cpmtools + +Package: cpmtools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tools to access CP/M file systems + This package allows access to CP/M file systems similar to the well-known + mtools package, which accesses MSDOS file systems. + . + All CP/M file system features are supported. --- cpmtools-2.17.orig/debian/copyright +++ cpmtools-2.17/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Bdale Garbee on +Tue, 15 Jan 2002 02:23:43 -0700. + +It was downloaded from http://www.moria.de/~michael/cpmtools/ + +Upstream Author: Michael Haardt + +Copyright: + + Copyright 1997-2007 Michael Haardt + + The Windows port is copyright 2000, 2001 John Elliott + + The getopt.[ch] and getopt1.c files are + Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. + + The install.sh file is Copyright (C) 1994 X Consortium + +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 3 of the License, or +(at your option) any later version. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in the `/usr/share/common-licenses' directory. + --- cpmtools-2.17.orig/debian/dirs +++ cpmtools-2.17/debian/dirs @@ -0,0 +1,4 @@ +etc/cpmtools +usr/bin +usr/share/man/man1 +usr/share/man/man5 --- cpmtools-2.17.orig/debian/docs +++ cpmtools-2.17/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- cpmtools-2.17.orig/debian/rules +++ cpmtools-2.17/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + cp /usr/share/misc/config.sub config.sub + cp /usr/share/misc/config.guess config.guess + ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --datarootdir=/etc/cpmtools + touch configure-stamp + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install prefix=$(CURDIR)/debian/cpmtools/usr \ + datarootdir=$(CURDIR)/debian/cpmtools/etc/cpmtools + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- cpmtools-2.17.orig/fsck.cpm.1.in +++ cpmtools-2.17/fsck.cpm.1.in @@ -1,5 +1,5 @@ .TH FSCK.CPM 1 "@UPDATED@" "CP/M tools" "User commands" -.SH NAME ..\"{{{roff}}}\"{{{ +.SH NAME \"{{{roff}}}\"{{{ fsck.cpm \- check a CP/M file system .\"}}} .SH SYNOPSIS .\"{{{ @@ -41,10 +41,11 @@ CPMTOOLSFMT Default format .\"}}} .SH DIAGNOSTICS .\"{{{ -.IP "\fIimage\fP: \fIused\fP/\fItotal\fP files (\fIn\fP.\fIn\fP% non-contiguos), \fIused\fP/\fItotal\fP blocks" +.IP "\fIimage\fP: \fIused\fP/\fItotal\fP files (\fIn\fP.\fIn\fP% +non-contiguous), \fIused\fP/\fItotal\fP blocks" No inconsistencies could be found. The number of used files actually is the number of used extents. Since a file may use more than -one extent, this may be greather than the actual number of files, but a +one extent, this may be greater than the actual number of files, but a correct measure would not reflect how many files could still be created at most. A file is considered fragmented, if sequential data blocks pointed to by the same extent do not have sequential block numbers. --- cpmtools-2.17.orig/fsed.cpm.1.in +++ cpmtools-2.17/fsed.cpm.1.in @@ -1,5 +1,5 @@ .TH FSED.CPM 1 "@UPDATED@" "CP/M tools" "User commands" -.SH NAME ..\"{{{roff}}}\"{{{ +.SH NAME \"{{{roff}}}\"{{{ fsed.cpm \- edit a CP/M file system .\"}}} .SH SYNOPSIS .\"{{{