Update upstream source from tag 'upstream/2.23'
authorBdale Garbee <bdale@gag.com>
Tue, 3 Jan 2023 16:20:19 +0000 (09:20 -0700)
committerBdale Garbee <bdale@gag.com>
Tue, 3 Jan 2023 16:20:19 +0000 (09:20 -0700)
Update to upstream version '2.23'
with Debian dir da253b72a499da202d45d61c38dcf076b1a2209d

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/patches/diskdefs-directory.diff [new file with mode: 0644]
debian/patches/man-page-typos.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..91525ac
--- /dev/null
@@ -0,0 +1,102 @@
+cpmtools (2.20-2) unstable; urgency=low
+
+  * updated to policy 4.1.3
+  * switch to https for vcs links
+
+ -- Bdale Garbee <bdale@gag.com>  Fri, 29 Dec 2017 23:35:59 -0700
+
+cpmtools (2.20-1) unstable; urgency=low
+
+  * new upstream version, closes: #792650
+
+ -- Bdale Garbee <bdale@gag.com>  Mon, 12 Dec 2016 16:06:16 -0700
+
+cpmtools (2.17-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  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 <bdale@gag.com>  Mon, 26 Dec 2011 01:02:56 -0700
+
+cpmtools (2.12-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  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 <bdale@gag.com>  Tue, 03 Nov 2009 21:25:26 -0700
+
+cpmtools (2.10-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 08 Sep 2009 12:52:46 -0600
+
+cpmtools (2.7-1) unstable; urgency=low
+
+  * new upstream version
+
+ -- Bdale Garbee <bdale@gag.com>  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 <bdale@gag.com>  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 <bdale@gag.com>  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 <bdale@gag.com>  Sat, 30 Apr 2005 00:08:30 -0600
+
+cpmtools (2.4-1) unstable; urgency=low
+
+  * new upstream version, closes: #275979
+
+ -- Bdale Garbee <bdale@gag.com>  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 <bdale@gag.com>  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 <bdale@gag.com>  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 <bdale@gag.com>  Fri, 18 Jan 2002 11:50:16 -0700
+
+cpmtools (2.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Bdale Garbee <bdale@gag.com>  Tue, 15 Jan 2002 02:23:43 -0700
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1d0b5a7
--- /dev/null
@@ -0,0 +1,17 @@
+Source: cpmtools
+Section: otherosfs
+Priority: optional
+Maintainer: Bdale Garbee <bdale@gag.com>
+Build-Depends: debhelper (>> 10), libncurses-dev
+Standards-Version: 4.1.3
+Vcs-Git: git://git.gag.com/debian/cpmtools
+Vcs-Browser: https://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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..6a4f224
--- /dev/null
@@ -0,0 +1,26 @@
+This package was debianized by Bdale Garbee <bdale@gag.com> on
+Tue, 15 Jan 2002 02:23:43 -0700.
+
+It was downloaded from http://www.moria.de/~michael/cpmtools/
+
+Upstream Author: Michael Haardt <michael@moria.de>
+
+Copyright:
+
+  Copyright 1997-2007 Michael Haardt <michael@moria.de>
+
+  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.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..bb4a396
--- /dev/null
@@ -0,0 +1,4 @@
+etc/cpmtools
+usr/bin
+usr/share/man/man1
+usr/share/man/man5
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..50bd824
--- /dev/null
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/patches/diskdefs-directory.diff b/debian/patches/diskdefs-directory.diff
new file mode 100644 (file)
index 0000000..a4add9c
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index 878de76..d42f73a 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -91,7 +91,7 @@ install:     all
+               $(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
diff --git a/debian/patches/man-page-typos.diff b/debian/patches/man-page-typos.diff
new file mode 100644 (file)
index 0000000..585d495
--- /dev/null
@@ -0,0 +1,134 @@
+diff --git a/fsck.cpm.1.in b/fsck.cpm.1.in
+index b27697e..a183cf8 100644
+--- a/fsck.cpm.1.in
++++ b/fsck.cpm.1.in
+@@ -1,8 +1,8 @@
+ .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 .\"{{{
++.SH SYNOPSIS \"{{{
+ .ad l
+ .B fsck.cpm
+ .RB [ \-f
+@@ -11,7 +11,7 @@ fsck.cpm \- check a CP/M file system
+ .I image
+ .ad b
+ .\"}}}
+-.SH DESCRIPTION .\"{{{
++.SH DESCRIPTION \"{{{
+ \fBfsck.cpm\fP is used to check and repair a CP/M file system.  After
+ reading the directory, it makes two passes.  The first pass checks extent
+ fields for range and format violations (bad status, extent number, last
+@@ -22,7 +22,7 @@ invalid time stamp mode).  The second pass checks extent connectivity
+ .P
+ \fBfsck.cpm\fP can not yet repair all errors.
+ .\"}}}
+-.SH OPTIONS .\"{{{
++.SH OPTIONS \"{{{
+ .IP "\fB\-f\fP \fIformat\fP"
+ Use the given CP/M disk \fIformat\fP instead of the default format.
+ .IP "\fB\-T\fP \fIlibdsk-type\fP"
+@@ -31,19 +31,19 @@ libdsk driver type, e.g. \fBtele\fP for Teledisk images or \fBraw\fP for raw ima
+ .IP "\fB\-n\fP"
+ Open the file system read-only and do not repair any errors.
+ .\"}}}
+-.SH "RETURN VALUE" .\"{{{
++.SH "RETURN VALUE" \"{{{
+ Upon successful completion, exit code 0 is returned.
+ .\"}}}
+-.SH ERRORS .\"{{{
++.SH ERRORS \"{{{
+ Any errors are indicated by exit code 1.
+ .\"}}}
+-.SH FILES .\"{{{
++.SH FILES \"{{{
+ @DATADIR@/diskdefs    CP/M disk format definitions
+ .\"}}}
+ .SH ENVIRONMENT \"{{{
+ CPMTOOLSFMT     Default format
+ .\"}}}
+-.SH DIAGNOSTICS .\"{{{
++.SH DIAGNOSTICS \"{{{
+ .IP "\fIimage\fP: \fIused\fP/\fItotal\fP files (\fIn\fP.\fIn\fP% non-contiguos), \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
+@@ -54,7 +54,7 @@ pointed to by the same extent do not have sequential block numbers.
+ The number of used blocks includes the blocks used for system tracks
+ and the directory.
+ .\"}}}
+-.SH AUTHORS .\"{{{
++.SH AUTHORS \"{{{
+ This program is copyright 1997\(en2012 Michael Haardt
+ <michael@moria.de>.  The Windows port is copyright 2000, 2001, 2011 John Elliott
+ <jce@seasip.demon.co.uk>.
+@@ -73,7 +73,7 @@ You should have received a copy of the GNU General Public License along
+ with this program.  If not, write to the Free Software Foundation, Inc.,
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ .\"}}}
+-.SH "SEE ALSO" .\"{{{
++.SH "SEE ALSO" \"{{{
+ .IR fsck (8),
+ .IR mkfs.cpm (1),
+ .IR cpm (5)
+diff --git a/fsed.cpm.1.in b/fsed.cpm.1.in
+index 1520be2..6c9fde7 100644
+--- a/fsed.cpm.1.in
++++ b/fsed.cpm.1.in
+@@ -1,8 +1,8 @@
+ .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 .\"{{{
++.SH SYNOPSIS \"{{{
+ .ad l
+ .B fsed.cpm
+ .RB [ \-f
+@@ -10,29 +10,29 @@ fsed.cpm \- edit a CP/M file system
+ .I image
+ .ad b
+ .\"}}}
+-.SH DESCRIPTION .\"{{{
++.SH DESCRIPTION \"{{{
+ \fBfsed.cpm\fP edits a CP/M file system on an image file or device.
+ It knows about the system, directory and data area, using sector skew on
+ the last two.  Directory entries are decoded.  The interactive usage is
+ self-explanatory.
+ .\"}}}
+-.SH OPTIONS .\"{{{
++.SH OPTIONS \"{{{
+ .IP "\fB\-f\fP \fIformat\fP"
+ Use the given CP/M disk \fIformat\fP instead of the default format.
+ .IP "\fB\-T\fP \fIlibdsk-type\fP"
+ libdsk driver type, e.g. \fBtele\fP for Teledisk images or \fBraw\fP for raw images 
+ (requires building cpmtools with support for libdsk).
+ .\"}}}
+-.SH "RETURN VALUE" .\"{{{
++.SH "RETURN VALUE" \"{{{
+ Upon successful completion, exit code 0 is returned.
+ .\"}}}
+-.SH ERRORS .\"{{{
++.SH ERRORS \"{{{
+ Any errors are indicated by exit code 1.
+ .\"}}}
+ .SH ENVIRONMENT \"{{{
+ CPMTOOLSFMT     Default format
+ .\"}}}
+-.SH FILES .\"{{{
++.SH FILES \"{{{
+ @DATADIR@/diskdefs    CP/M disk format definitions
+ .\"}}}
+ .SH AUTHORS \"{{{
+@@ -54,7 +54,7 @@ You should have received a copy of the GNU General Public License along
+ with this program.  If not, write to the Free Software Foundation, Inc.,
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ .\"}}}
+-.SH "SEE ALSO" .\"{{{
++.SH "SEE ALSO" \"{{{
+ .IR fsck.cpm (1),
+ .IR mkfs.cpm (1),
+ .IR cpmls (1),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..e48afc1
--- /dev/null
@@ -0,0 +1,2 @@
+diskdefs-directory.diff
+man-page-typos.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..154d78b
--- /dev/null
@@ -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_prep
+       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
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)