diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 164 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/floppyd.files | 1 | ||||
-rw-r--r-- | debian/floppyd.manpages | 2 | ||||
-rw-r--r-- | debian/mcheck.1 | 33 | ||||
-rw-r--r-- | debian/mtools.conf | 25 | ||||
-rw-r--r-- | debian/mtools.dirs | 1 | ||||
-rw-r--r-- | debian/mtools.files | 1 | ||||
-rw-r--r-- | debian/mtools.manpages | 33 | ||||
-rwxr-xr-x | debian/rules | 64 |
11 files changed, 356 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6a90040 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,164 @@ +mtools (4.0.18) stable; urgency=low + * Fix for names of iconv encodings on AIX + * Fix mt_size_t on NetBSD + * Fixed compilation on Mingw + * Fixed doc (especially mformat) + * Fix mformat'ing of FAT12 filesystems with huge cluster sizes + * Minfo prints image file name in mformat command line if an image + * file name was given + * Always generate gzip-compressed RPMs, in order to remain + * compatible with older distributions + * Fixed buffer overflow with drive letter in mclasserase + -- Alain Knaff <alain@knaff.lu> Wed, 9 Jan 2013 00:21:20 +0200 +mtools (4.0.17) stable; urgency=low + + * mbadblocks now takes a list of bad blocks (either as sectors + or as clusters) + * mbadblocks now is able to do write scanning for bad blocks + * mshowfat can show cluster of specific offset + * Enable mtools to deal with very small sector sizes... + * Fixed encoding of all-lowercase names (no need to mangle + these) + * Consider every directory entry after an ENDMARK (0x00) to be deleted + * After writing a new entry at end of a directory, be sure to also add + an ENDMARK (0x00) + * Deal with possibility of a NULL pointer being returned by + localtime during timestamp conversion + -- Alain Knaff <alain@knaff.lu> Wed, 29 Jun 2011 00:21:20 +0200 +mtools (4.0.16) stable; urgency=low + + * configure.in fixes + * fixed formatting of fat_size_calculation.tex document + * compatibility with current autoconfig versions + * Make it clear that label is limited to 11 characters + * Fixed typo in initialization of FAT32 info sector + + -- Alain Knaff <alain@knaff.lu> Sat, 16 Apr 2011 18:00:30 +0200 +mtools (4.0.15) stable; urgency=low + + * Added missing -i option to mshortname + * Splitted .deb package into mtools and floppyd in order to + match Ubuntu + + -- Alain Knaff <alain@knaff.lu> Sun, 17 Oct 2010 19:42:46 +0200 +mtools (4.0.14) stable; urgency=low + + * New mshortname command + * Fix floppyd for disks bigger than 2 Gig + * Remove obsolete -z flag + * Remove now unsupported AC_USE_SYSTEM_EXTENSIONS + * Fixed output formatting of mdir if MTOOLS_DOTTED_DIR is set + * Mformat now correctly writes backup boot sector + * Fixed signedness of serial number in mlabel + * Fixed buffer size problem in mlabel + * Make mlabel write backup boot sector if FAT32 + * Catch situation where both clear and new label are given to mlabel + * Quote filename parameters to scripts + * Mformat: Close file descriptor for boot sector + * Added lzip support to scripts/uz + * Added Tot_sectors option to mformat + * Fixed hidden sector handling in mformat + * Minfo generates mformat command lines containing new -T option + * Mlabel prints error if label too long + + -- Alain Knaff <alain@knaff.lu> Tue, 12 Oct 2010 00:19:48 +0200 +mtools (4.0.13) stable; urgency=low + + * Merged Debian patches + + -- Alain Knaff <alain@knaff.lu> Sun, 28 Feb 2010 15:33:45 +0100 +mtools (4.0.12) stable; urgency=low + + * Mingw compatibility fixes + + -- Alain Knaff <alain@knaff.lu> Tue, 3 Nov 2009 21:26:58 +0100 +mtools (4.0.11) stable; urgency=low + + * Fixed compiler in mlabel.c and elsewhere + * Fixed h flag in mattrib.c + * Added missing error checking in floppyd and elsewhere + + -- Alain Knaff <alain@knaff.lu> Sat, 29 Aug 2009 14:38:19 +0200 +mtools (4.0.10) stable; urgency=low + + * More copyright stuff + * Fixed issues with max filesize (was 2GB instead of 4GB, and + warned only after copying the beginning) + + -- Alain Knaff <alain@knaff.lu> Tue, 3 Mar 2009 22:14:04 +0100 +mtools (4.0.9) stable; urgency=low + + * More copyright stuff + + -- Alain Knaff <alain@knaff.lu> Mon, 2 Mar 2009 22:15:54 +0100 +mtools (4.0.8) stable; urgency=low + + * Copyright notices + + -- Alain Knaff <alain@knaff.lu> Sun, 1 Mar 2009 00:36:22 +0100 +mtools (4.0.7) stable; urgency=low + + * Fixed conversion to native on OS/2 + * Fix parsing of --help flag + + -- Alain Knaff <alain@knaff.lu> Tue, 24 Feb 2009 19:55:46 +0100 +mtools (4.0.6) stable; urgency=low + + * Fallback for missing wchar_t iconv codepage on OS/2 + * Fixes for LSEEK64 support + * Support for --help that returns a 0 exit status + + -- Alain Knaff <alain@knaff.lu> Sun, 22 Feb 2009 02:04:32 +0100 +mtools (4.0.5) stable; urgency=low + + * Make setpgrp() usage in floppyd conditional + * Re-instate PACKED around structure (ARM) + * LSEEK64 + + -- Alain Knaff <alain@knaff.lu> Thu, 19 Feb 2009 23:55:04 +0100 +mtools (4.0.4) stable; urgency=low + + * BSD support: SCSI, use getuserid/getgroupid in floppyd + * Another attempt at putwc fix for OS/2 + * Further GNU fixes + * Fallback for putwc if there is wchar (OS/2) + + -- Alain Knaff <alain@knaff.lu> Sun, 15 Feb 2009 16:18:32 +0100 +mtools (4.0.3) stable; urgency=low + + * Fix multipart pathname parsing bug in vfat.c (forgot limited length) + * Supplied fallback define for putwc + * Copyright notices in all sources + + -- Alain Knaff <alain@knaff.lu> Mon, 9 Feb 2009 21:46:01 +0100 +mtools (4.0.2) stable; urgency=low + + * Fixed off-by-2 error in unix_name in file_name.c + + -- Alain Knaff <alain@knaff.lu> Mon, 26 Jan 2009 22:58:06 +0100 +mtools (4.0.1) stable; urgency=low + + * Missing functions on Solaris + + -- Alain Knaff <alain@knaff.lu> Sun, 7 Dec 2008 21:38:55 +0100 +mtools (4.0.0) stable; urgency=low + + * Offset for -i-specified image files + + -- Alain Knaff <alain@knaff.lu> Sat, 29 Nov 2008 09:20:30 +0100 +mtools (4.0.0-pre2) stable; urgency=low + + * Use transliteration to represent characters which don't exist in + target set + + -- Alain Knaff <alain@knaff.lu> Tue, 18 Nov 2008 22:42:23 +0100 +mtools (4.0.0-pre1) stable; urgency=low + + * Unicode support + + -- Alain Knaff <alain@knaff.lu> Sat, 1 Nov 2008 20:52:58 +0100 +mtools (3.9.11-20071226) stable; urgency=low + + * first release of debian package + + -- Alain Knaff <alain@knaff.lu> Tue, 28 Aug 2007 23:23:37 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ec00b44 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: mtools +Build-Depends: debhelper (>= 7), autotools-dev, libxt-dev, texinfo +Section: otherosfs +Priority: optional +Maintainer: Alain Knaff <alain@knaff.lu> +Homepage: http://www.mtools.linux.lu/ + +Package: floppyd +Priority: extra +Architecture: any +Replaces: mtools (<< 3.9.7) +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: mtools +Description: Daemon for remote access to floppy drives + Floppyd is used as a server to grant access to the floppy drive to + clients running on a remote machine, just as an X server grants access + to the display to remote clients. + +Package: mtools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: mtools +Suggests: floppyd +Description: Tools for manipulating MSDOS files + Mtools is a collection of utilities to access MS-DOS disks from Unix + without mounting them. It supports Win'95 style long file names, OS/2 + Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high + density 3 1/2 disk). + . + Also included in this package are commands to eject and manipulate + the write/password protection control of Zip disks. diff --git a/debian/floppyd.files b/debian/floppyd.files new file mode 100644 index 0000000..8383412 --- /dev/null +++ b/debian/floppyd.files @@ -0,0 +1 @@ +usr/bin/floppyd* diff --git a/debian/floppyd.manpages b/debian/floppyd.manpages new file mode 100644 index 0000000..427671f --- /dev/null +++ b/debian/floppyd.manpages @@ -0,0 +1,2 @@ +floppyd.1 +floppyd_installtest.1 diff --git a/debian/mcheck.1 b/debian/mcheck.1 new file mode 100644 index 0000000..6eece5c --- /dev/null +++ b/debian/mcheck.1 @@ -0,0 +1,33 @@ +.\" mcheck (package: mtools) 2003-05-04 +.TH mcheck 1 "May 2003" "mtools" +.SH NAME +mcheck \- verify all files on an MS-DOS formatted disk +.SH SYNOPSIS +.PP +.B mcheck +[\fImsdosdrive\fR] +.SH DESCRIPTION +.\" Putting a newline after each sentence can generate better output. +mcheck is a script that verifies all files on a MS-DOS formatted disk by +reading them using +.BR mtype (1) + +The optional argument specifies the MS-DOS drive letter of the disk +to be checked. A: is used by default. + +.SH LICENSE +Copyright (C) 1994 David C. Niemi (niemi@tuxers.net) + +The author requires that any copies or derived works include this +copyright notice; no other restrictions are placed on its use. + +.SH AUTHOR +mcheck was written by David C. Niemi <niemi@tuxers.net> + +This manual page was written by Rabin Vincent <r.vincent@iu-bremen.de> +for the Debian GNU/Linux system (but may be used by others). + +.SH "SEE ALSO" +.BR mtools (1), +.BR mdir (1), +.BR mtype (1) diff --git a/debian/mtools.conf b/debian/mtools.conf new file mode 100644 index 0000000..4f6805c --- /dev/null +++ b/debian/mtools.conf @@ -0,0 +1,25 @@ +# Debian default mtools.conf file. +# "info mtools" or "man mtools.conf" for more detail. + +# # Linux floppy drives +drive a: file="/dev/fd0" exclusive +drive b: file="/dev/fd1" exclusive + +# # First SCSI hard disk partition +# drive c: file="/dev/sda1" + +# # First IDE hard disk partition +# drive c: file="/dev/hda1" + +# # dosemu hdimage. +drive m: file="/var/lib/dosemu/hdimage.first" partition=1 offset=128 + +# # dosemu floppy image +drive n: file="/var/lib/dosemu/fdimage" + +# # SCSI zip disk +# drive z: file="/dev/sda4" + +# # uncomment the following line to display all file names in lower +# # case by default +# mtools_lower_case=1 diff --git a/debian/mtools.dirs b/debian/mtools.dirs new file mode 100644 index 0000000..ee19d5d --- /dev/null +++ b/debian/mtools.dirs @@ -0,0 +1 @@ +etc diff --git a/debian/mtools.files b/debian/mtools.files new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/mtools.files @@ -0,0 +1 @@ +usr/bin diff --git a/debian/mtools.manpages b/debian/mtools.manpages new file mode 100644 index 0000000..be24a60 --- /dev/null +++ b/debian/mtools.manpages @@ -0,0 +1,33 @@ +lz.1 +mattrib.1 +mbadblocks.1 +mcat.1 +mcd.1 +mclasserase.1 +mcopy.1 +mdel.1 +mdeltree.1 +mdir.1 +mdu.1 +mformat.1 +minfo.1 +mkmanifest.1 +mlabel.1 +mmd.1 +mmount.1 +mmove.1 +mpartition.1 +mrd.1 +mren.1 +mshortname.1 +mshowfat.1 +mtools.1 +mtoolstest.1 +mtype.1 +mzip.1 +tgz.1 +uz.1 +mxtar.1 +mcomp.1 +mtools.5 +debian/mcheck.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aaaea24 --- /dev/null +++ b/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f +# rules for mtools package +# by Luis Bustamante (luferbu@fluidsignal.com) + +export DH_VERBOSE=1 +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +configure: configure-stamp +configure-stamp: + dh_testdir + cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess . + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ + --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc + touch configure-stamp + +build: patch build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -rf build-stamp configure-stamp + rm -rf config.sub config.guess + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean config.cache config.log config.status .#patchlevel.c.1.18 .#mtools.spec.1.4 .#mtools.texi.1.11 .#fat_size_calculation.tex.1.1 + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install prefix=$$( pwd )/debian/tmp/usr + install -m 644 debian/mtools.conf debian/mtools/etc/ + dh_movefiles + +binary-indep: +binary-arch: mtools +binary: binary-indep binary-arch + +mtools: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples -pmtools mtools.conf + dh_installman + dh_installinfo -pmtools mtools.info + dh_undocumented -pmtools mcheck.1 mcomp.1 mxtar.1 + dh_installchangelogs + dh_strip + dh_link -pmtools /usr/share/man/man5/mtools.5 /usr/share/man/man5/mtools.conf.5 + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build clean binary-indep binary-arch binary install \ + mtools patch clean-build unpatch configure |