1
0
forked from pool/mtools
Petr Gajdos 2024-07-08 07:18:09 +00:00 committed by Git OBS Bridge
commit f3b842706e
8 changed files with 960 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
mtools-4.0.44.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37dc4df022533c3d4b2ec1c78973c27c7e8b585374c2d46ab64c6a3db31eddb8
size 449589

16
mtools-4.0.44.tar.bz2.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEUaI9nXxN9Bqkj6iT6Zz1U3eQuDkFAmZcJRMACgkQ6Zz1U3eQ
uDkl3g//aLLks+qULQq+2yOEMbudsPpP5e5NDkc6C+NYdcSp8uN31E+hpB88KhEH
JPLfzoIaqZa/FsUqA903TaDRBt4V7A6I6P2TeNicrrrAHw0x+3BH6N1kPZzCL41T
fcbtsIFii/0RAVcsIs5jDi7UcQgDLZRPU9uPdw2Ko8O67528puEOPtsjwT7iiqqa
pE84rqD3p7AHiJbr1nF4n/PK7nO9a80HwUGHeI4pS5/XwmetdjBda8U2ko5t+mSL
JKxjG2w/ot+oPABiySbTQwNn8carCuAF4Ggwqxi2NzEyCnCvnzBvDVmM3M/drsHV
Q3sFHE9lMSk1ZgdjzRncrQMvXmn2hxvw23W2pdl5bgHrsaYSrFQDH/40r79tFKMv
Tmb0m4BoHcG5pNdzmMDRxc76kFv/ijThvNjzRcaqUB9aOhk6ezfLDWweu6OeMAdp
son+rSLD7GBsJvEP654sjmQptTHd4VL8TplRoS7VaYi/4ZHa2tPXQfcHJpuKoXro
jwWDch071x8rhDL1SI8dOCZIo9EfnAkX0ZKMydnfxtRHGfauJayTBh9rwn7h+ydi
rjiyQF8UpURCibzYzpRlQ4mh7asIhoG7z3hoADFB9l79gQ5367l3ZxfEw2VWZVOW
Sx357utIoNP1NOr4Fa9oNp7qx1zyddBZnjulfZIHxdrAj6QCMxg=
=/mZC
-----END PGP SIGNATURE-----

61
mtools-conf.diff Normal file
View File

@ -0,0 +1,61 @@
--- mtools.conf
+++ mtools.conf
@@ -14,25 +14,20 @@
# You should have received a copy of the GNU General Public License
# along with Mtools. If not, see <http://www.gnu.org/licenses/>.
-# Example mtools.conf files. Uncomment the lines which correspond to
-# your architecture and comment out the "SAMPLE FILE" line below
-SAMPLE FILE
+drive a: file="/dev/fd0" exclusive mformat_only cylinders=80 heads=2 sectors=18
+drive b: file="/dev/fd1" exclusive mformat_only cylinders=80 heads=2 sectors=18
-# # 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 SCSI hard disk partition
-# drive c: file="/dev/sda1"
+# First IDE hard disk partition
+#drive c: file="/dev/hda1"
-# # First IDE hard disk partition
-# drive c: file="/dev/hda1"
+#dosemu floppy image
+drive m: file="/var/lib/dosemu/diskimage"
-# # dosemu floppy image
-# drive m: file="/var/lib/dosemu/diskimage"
-
-# # dosemu hdimage
-# drive n: file="/var/lib/dosemu/diskimage" offset=3840
+#dosemu hdimage
+drive n: file="/var/lib/dosemu/hdimage.first" MTOOLS_SKIP_CHECK=1 MTOOLS_LOWER_CASE=1 MTOOLS_NO_VFAT=1 partition=1 offset=128
# # Atari ramdisk image
# drive o: file="/tmp/atari_rd" offset=136
@@ -60,21 +55,4 @@
# ZIP drive on SCSI ID 6
#drive z: file="/dev/scsi_disk_060" offset=16384 fat_bits=16
-# SCO Unix 3.2v4
-# # Floppy disk drives
-#
-# drive a: file="/dev/install" exclusive
-# drive b: file="/dev/install1" exclusive
-#
-# # SCSI hard disk partitions
-#
-# drive c: file="/dev/dsk/0sC"
-# drive d: file="/dev/dsk/0sD"
-# drive e: file="/dev/dsk/0sE"
-# drive f: file="/dev/dsk/0sF"
-# drive g: file="/dev/dsk/0sG"
-# drive h: file="/dev/dsk/0sH"
-
-# # uncomment the following line to display all file names in lower
-# # case by default
-# mtools_lower_case=1
+mtools_lower_case=1

744
mtools.changes Normal file
View File

@ -0,0 +1,744 @@
-------------------------------------------------------------------
Mon Jul 8 07:17:04 UTC 2024 - pgajdos@suse.com
- version update to 4.0.44
* Added documentation for size parameters
* Fix parsing of fat_start (reserved sectors) in mformat.c so
as to allow more than 255
* Rewrite autorename in vfat.c such that it doesn't
(temporarily) overwrite byte after name string
* Switch statement fall-through fixes (size parsing, and bios disk in
mformat.c)
* Compilation warning fixes, mostly for CLANG
- deleted sources
- mtools-4.0.43.tar.bz2.sig (not needed)
- added sources
+ mtools-4.0.44.tar.bz2.sig
-------------------------------------------------------------------
Thu Feb 22 13:18:11 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro.
-------------------------------------------------------------------
Fri Mar 24 20:19:21 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.0.43:
* Fix root directory test in mattrib
* -b BiosDisk flag for mformat to allow setting physdrive to
a user-specified value
* Clearer error message in mformat when trying to mformat a
disk whose total size is not known
* Make recursive copy more consistent
* Trailing slash now always implies target should be a directory
-------------------------------------------------------------------
Sat Oct 22 19:28:06 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.0.42:
* Added postcmd attribute in drive description to allow to
execute "device release" code automatically at end of
command
* Code cleanup, signedness cleanup about directory entries
-------------------------------------------------------------------
Wed Sep 21 19:19:05 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.0.41:
* Support FAT32 with less than 0xfff5 clusters
* Make FAT32 entries 0 and 1 match what what Windows 10 does
-------------------------------------------------------------------
Tue Jun 14 10:28:38 UTC 2022 - pgajdos@suse.com
- fix build
- deleted patches
- mtools-prototypes.diff (not needed)
-------------------------------------------------------------------
Fri Jun 10 20:35:16 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.0.40:
* Better compatibility with legacy platforms
-------------------------------------------------------------------
Fri Apr 15 00:37:45 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 4.0.39:
* Rename strtoi to strosi (string to signed int). The strtoi
function on BSD does something else (returns an intmax, not
an int)
-------------------------------------------------------------------
Mon Mar 7 07:05:42 UTC 2022 - Maciej Borzecki <maciek.borzecki@gmail.com>
- update to 4.0.38:
* Make sure case byte is cleared when making the special
directory entries "." and ".."
* In mattrib man page, replace "attribute flags" with "attribute
bits"
-------------------------------------------------------------------
Sun Jan 9 07:15:39 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 4.0.37:
* Removed mclasserase commands, which doesn't fit the coding
structure of the rest of mtools
* Add support to -i option to mcd
* Document -i in mtools.1
* Fix a missing commad error in floppyd_io.c
-------------------------------------------------------------------
Sat Nov 27 13:11:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 4.0.36:
* Fix error status of recursive listing of empty root directory
* If recursive listing, also show matched files at level one
* Use "seekless" reads & write internally, where possible
* Text mode conversion refactoring
* Misc refactoring
- remove mtools-aliasing.diff (obsolete)
-------------------------------------------------------------------
Sat Aug 7 08:06:32 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.35:
* Fix cluster padding at end of file in batch mode
-------------------------------------------------------------------
Sat Jul 24 06:49:20 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.34:
* Fix mcopy -s issue
- includes changes from 4.0.33:
* Fix support for partitions
* Add support for image files on command line to mcat
- includes changes from 4.0.32:
* Simplify algorithm that choses filesystem parameters for
format, and align it more closely with what Win7 does
* Fix mformatting XDF when XDF not explicitly specified on
mformat command line
* easier way to enter sizes on mformat command line
(mformat -C -T 1440K)
* For small sizes, mformat assumes floppy geometries
(heads 1 or 2, tracks 40 or 80)
* Handle attempts to mformat too small filesystems more
gracefully
* Enable minfo to print out additional mformat command line
parameters, if the present filesystem uses non-default
values for these
* minfo no longer prints bigsect if smallsect is set
* for remap filter, error when trying to write non-zero data
to unmapped sectors
- drop mtools-autoconf.diff, no longer needed
- drop mtools-fat-bits.diff, drop candidate for some time
-------------------------------------------------------------------
Sun Jun 20 16:20:58 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.31:
* Fix polarity of format_xdf command-line parameter of mformat
* Improved error handling and error messages
* Remove duplicate writing of backup boot sector
* developer visible changes
- includes changes from 4.0.30:
* Fixed XDF floppy disk access
* Fixed faulty behavior at end of image in mcat
* Raise an error when trying to mcopy multiple source files
over a single destination file (rather than directory)
* fix handling of "hidden" sectors
* Modernize partition support
* developer visible changes
- includes changes from 4.0.29 and 4.0.28:
* Support remapping of data
* Re-open floppy devices read-write if geometry parameters need
to be changed
* relax consistency checks in mpartition (partitions created
by current fdisk would almost never pass these checks)
-------------------------------------------------------------------
Sun Apr 18 15:50:54 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.27:
* Fix type error in calls to iconv functions
-------------------------------------------------------------------
Sun Nov 29 18:52:21 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.26:
* Ignore image file locking errors if we are performing a read-
only access anyways
- remove obsolete texinfo packaging macros, update signing keyring
-------------------------------------------------------------------
Sun Oct 25 12:47:51 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.25:
* Preserve non-updated contents of info sector, just in case
it contains program code
* When parsing config file, always use "C" locale for
case-insensitive comparisons
-------------------------------------------------------------------
Sat Mar 28 10:08:26 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- mtools 4.0.24:
* Added AC_SYS_LARGEFILE for some ARM processors
-------------------------------------------------------------------
Wed Mar 18 10:04:49 UTC 2020 - pgajdos@suse.com
- require glibc-locale-base instead o glibc-locale [bsc#1165837]
[bsc#957007]
-------------------------------------------------------------------
Fri Dec 28 18:03:42 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- mtools 4.0.23:
* Address lots of compiler warnings (assignments between different types)
* Network speedup fixes for floppyd (TCP_CORK)
* Typo fixes
* Explicitly pass available target buffer size for character
set conversions
- refreshed:
% mtools-prototypes.diff
-------------------------------------------------------------------
Tue Dec 11 13:57:02 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase in summary.
- Fix excessively large keyring.
-------------------------------------------------------------------
Fri Dec 7 12:32:07 UTC 2018 - malte.kraus@suse.com
- mtools 4.0.22:
* Fixed -f flag for mformat (size is KBytes, rather than sectors)
* Fixed toupper/tolower usage (unsigned char rather than plain
signed)
- mtools 4.0.21:
* Addressed compiler warnings
* Fixed length handling in character set conversion (Unicode file
names)
* Fixed matching of character range, when containing Unicode
characters (mdir "c:test[α-ω].exe")
* Fixed initialization of my_scsi_cmd constructor
-------------------------------------------------------------------
Wed Nov 14 14:33:32 UTC 2018 - Martin Loviska <mloviska@suse.com>
- Update to 4.0.20:
* initialize directory entries to 0
* bad message "Too few sectors" replaced with "Too many sectors"
* apostrophe in mlabel no longer causes generation of long entry
* option to fake system date for file creation using the
SOURCE_DATE_EPOCH environment variables
* can now be compiled with "clang" compiler
* fallback function for strndup, for those platforms that don't have it
* fixed a number of -Wextra warnings
* new compressed archive formats for uz/lz
* allow to specify number of reserved sectors for FAT32.
* file/device locking with timeout (rather than immediate failure)
* fixed support for BPB-less legacy formats.
* removed check that disk must be an integer number of tracks.
* removed .eh/.oh macros from manual pages
-------------------------------------------------------------------
Wed Oct 31 06:17:04 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- patches unversioned; makes update and reviews easier
* mtools-4.0.18-fat-bits.diff -> mtools-fat-bits.diff
* mtools-4.0.18-conf.diff -> mtools-conf.diff
* mtools-4.0.18-aliasing.diff -> mtools-aliasing.diff
* mtools-4.0.18-prototypes.diff -> mtools-prototypes.diff
* mtools-4.0.18-autoconf.diff -> mtools-autoconf.diff
-------------------------------------------------------------------
Sat Oct 27 23:03:50 UTC 2018 - sean@suspend.net
- Update to 4.0.19:
* Fix for short file names starting with character 0xE5
* mpartition: Partition types closer to what Microsoft uses
* mformat: figure out LBA geometry as last resort if geometry is unspecified
* mformat: use same default cluster size as Microsoft for FAT32
* additional sanity checks
* document how clutser size is picked in mformat.c man page
* document how partition types are picked in mpartition.c man page
-------------------------------------------------------------------
Mon Jul 16 13:19:05 UTC 2018 - pgajdos@suse.com
- do not build in parallel as it fails
-------------------------------------------------------------------
Fri Apr 27 17:31:13 UTC 2018 - stefan.bruens@rwth-aachen.de
- Disable floppyd support. Floppyd is a daemon allowing remote X
clients to access floppies attached to e.g. thin clients. As it
uses X authentication, it pulls in X libraries.
-------------------------------------------------------------------
Tue Feb 13 18:59:51 UTC 2018 - crrodriguez@opensuse.org
- Do not BuildRequire metapackage xorg-x11-devel
-------------------------------------------------------------------
Mon Nov 30 08:04:18 UTC 2015 - pgajdos@suse.com
- require glibc-locale [bnc#957007]
-------------------------------------------------------------------
Thu Feb 26 15:20:48 UTC 2015 - mpluskal@suse.com
- Clean spec file with spec-cleaner
- Refresh dependencies
- Add gpg signature
-------------------------------------------------------------------
Tue Apr 16 10:10:15 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Tue Mar 26 12:54:37 UTC 2013 - pgajdos@suse.com
- updated to 4.0.18:
* 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
- extended fat-bits.patch: add fat_bits parameter again to fat_read()
and old_fat_read(); it is candidate to drop though
-------------------------------------------------------------------
Tue Jul 24 07:08:41 UTC 2012 - werner@suse.de
- Make it build with texinfo/makeinfo split
-------------------------------------------------------------------
Mon Jul 23 12:21:45 UTC 2012 - coolo@suse.com
- add texinfo as buildrequire
-------------------------------------------------------------------
Mon Jul 2 12:03:44 UTC 2012 - cfarrell@suse.com
- license update: GPL-3.0+
mtools is GPL-3.0+ licensed, not GPL-2.0+
-------------------------------------------------------------------
Wed Dec 21 13:37:38 UTC 2011 - coolo@suse.com
- add autoconf as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Dec 21 10:29:49 UTC 2011 - coolo@suse.com
- remove call to suse_update_config (very old work around)
-------------------------------------------------------------------
Thu Jun 30 13:53:42 UTC 2011 - pgajdos@novell.com
- updated to 4.0.17:
* 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
-------------------------------------------------------------------
Mon May 23 10:07:58 UTC 2011 - pgajdos@novell.com
- updated to 4.0.16:
* fixed formatting of fat_size_calculation.tex document
* Make it clear that label is limited to 13 characters
* Fixed typo in initialization of FAT32 info sector
- remove invalid-memory.diff
-------------------------------------------------------------------
Thu Mar 17 11:13:49 CET 2011 - pgajdos@suse.cz
- fixed crash caused with access of invalid memory [bnc#679459]
-------------------------------------------------------------------
Tue Nov 16 11:57:57 CET 2010 - pgajdos@suse.cz
- updated to version 4.0.15:
* Added missing -i option to mshortname
* 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
- removed upstreamed patches:
* script.diff
* file_close.diff
* initialize.diff
-------------------------------------------------------------------
Tue Jun 29 18:27:11 CEST 2010 - pgajdos@suse.cz
- fixed initialization in mlabel.c [bnc#618326]
-------------------------------------------------------------------
Mon Mar 1 16:20:52 CET 2010 - pgajdos@suse.cz
- updated to 4.0.13 (upstreamed debian patches)
-------------------------------------------------------------------
Sun Dec 6 14:04:56 CET 2009 - meissner@suse.de
- uppercase summary of -floppyd
-------------------------------------------------------------------
Tue Nov 24 15:29:20 CET 2009 - pgajdos@suse.cz
- updated to 4.0.12 (see NEWS)
- removed upstreamed help-flag.diff and overflow.diff
-------------------------------------------------------------------
Fri Oct 23 11:25:37 CEST 2009 - pgajdos@suse.cz
- fixed wrong -h flag [bnc#548449]
* help-flag.diff
-------------------------------------------------------------------
Tue Sep 15 09:54:02 CEST 2009 - pgajdos@suse.cz
- added missing call to close [bnc#535718]
-------------------------------------------------------------------
Thu Apr 16 01:35:17 CEST 2009 - ro@suse.de
- buildfix: refresh patches
-------------------------------------------------------------------
Mon Mar 16 10:09:01 CET 2009 - pgajdos@suse.cz
- updated to 4.0.10 (see NEWS)
* adjusted overflow.patch
- splitted out doc package
-------------------------------------------------------------------
Wed Jan 21 17:22:15 CET 2009 - schwab@suse.de
- Fix buffer overflows.
-------------------------------------------------------------------
Tue Jan 13 18:14:34 CET 2009 - pgajdos@suse.cz
- updated to 4.0.1
* unicode support
* use transliteration to represent characters which don't exist in
target set
* Offset for -i-specified image files
-------------------------------------------------------------------
Tue Jun 5 12:11:14 CEST 2007 - prusnak@suse.cz
- updated to 3.9.11
* fixed reading of boot sector
* fixed mlabel on read-only disks
* added sizecode printing on minfo
* support for config parameters after -i file
- drop obsolete patches:
* memset.diff (included in update)
-------------------------------------------------------------------
Sun Apr 22 22:40:14 CEST 2007 - ro@suse.de
- use texlive for building
-------------------------------------------------------------------
Mon Feb 6 21:21:18 CET 2006 - mjancar@suse.cz
- bransh mtools-floppy to prevent dependecy on X11 (#146102)
-------------------------------------------------------------------
Wed Jan 25 21:38:26 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Nov 18 16:35:32 CET 2005 - meissner@suse.de
- fixed swapped memset() arguments.
-------------------------------------------------------------------
Wed Aug 3 15:02:06 CEST 2005 - mjancar@suse.cz
- update to 3.9.10
- drop obsolete patches:
* mtools-3.9.9-20030718.diff.gz
* mtools-execNULL.diff
- split mtools-3.9.9.diff into:
* mtools-3.9.10-autoconf.diff
* mtools-3.9.10-conf.diff
* mtools-3.9.10-prototypes.diff
-------------------------------------------------------------------
Tue Apr 5 15:12:34 CEST 2005 - mmj@suse.de
- execl(..., 0) --> execl(..., NULL);
-------------------------------------------------------------------
Sun Feb 13 17:20:29 CET 2005 - ro@suse.de
- added libpng to nfb (for tetex)
-------------------------------------------------------------------
Mon Jan 24 17:15:59 CET 2005 - meissner@suse.de
- fixed one execl call, fixed one lvalue cast.
-------------------------------------------------------------------
Sun Jun 13 12:21:39 CEST 2004 - schwab@suse.de
- Allow overriding fat bits.
-------------------------------------------------------------------
Thu Apr 22 17:46:02 CEST 2004 - tcrhak@suse.cz
- strict aliasing fix
-------------------------------------------------------------------
Sat Jan 10 16:23:20 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Thu Jul 31 18:03:11 CEST 2003 - uli@suse.de
- fixed to build on 64-bit archs
-------------------------------------------------------------------
Tue Jul 29 10:27:10 CEST 2003 - tcrhak@suse.cz
- update to version 3.9.9
-------------------------------------------------------------------
Thu Dec 19 17:08:28 CET 2002 - tcrhak@suse.cz
- updated patch to mtools-3.9.8-20021118.diff.bz2
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Mon Dec 3 17:52:48 CEST 2001 - tcrhak@suse.cz
- updated patch to mtools-3.9.8-20011127.diff.bz2
-------------------------------------------------------------------
Mon Oct 1 17:23:50 CEST 2001 - schwab@suse.de
- Fix quoting in shell scripts.
-------------------------------------------------------------------
Wed Jun 13 17:28:45 CEST 2001 - adostal@suse.cz
- upgrade to 3.9.8
-------------------------------------------------------------------
Tue Jun 12 14:35:28 CEST 2001 - schwab@suse.de
- Fix configure script.
-------------------------------------------------------------------
Tue Apr 3 11:13:15 CEST 2001 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Mon Mar 26 10:30:09 CEST 2001 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Fri Feb 9 14:20:21 CET 2001 - cihlar@suse.cz
- removed lx_suse from neededforbuild
- do not include kernel headers
-------------------------------------------------------------------
Thu Feb 8 15:58:15 CET 2001 - cihlar@suse.cz
- fixed to compile
-------------------------------------------------------------------
Tue Jan 9 15:16:07 CET 2001 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Tue Dec 5 07:36:47 CET 2000 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Wed Nov 22 12:06:14 CET 2000 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Thu Nov 9 14:30:56 CET 2000 - cihlar@suse.cz
- improved BuildRoot
- fixed file list
- bzipped sources
-------------------------------------------------------------------
Fri Oct 20 08:30:57 CEST 2000 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Fri Sep 8 15:18:02 CEST 2000 - schwab@suse.de
- Fix typo in configure script and pass -D_GNU_SOURCE to compiler
(obsoletes last change for alpha)
- Add suse_update_config.
-------------------------------------------------------------------
Mon Aug 28 18:45:15 CEST 2000 - ro@suse.de
- fixed to compile on alpha
-------------------------------------------------------------------
Wed Aug 16 15:29:35 CEST 2000 - cihlar@suse.cz
- updated patchkit
-------------------------------------------------------------------
Sat Jun 24 17:43:54 CEST 2000 - kasal@suse.de
- updated patchkit
-------------------------------------------------------------------
Mon Jun 19 21:00:37 MEST 2000 - kasal@suse.de
- upgrade to 3.9.7
-------------------------------------------------------------------
Wed Apr 26 08:15:55 CEST 2000 - kasal@suse.de
- upgrade to mtools-3.9.6-20000417.diff.gz
-------------------------------------------------------------------
Wed Apr 12 10:34:25 CEST 2000 - kasal@suse.cz
- upgrade to mtools-3.9.6-20000410.diff.gz
-------------------------------------------------------------------
Mon Mar 27 10:37:19 CEST 2000 - kasal@suse.cz
- added patch mtools-3.9.6-20000320b.diff.gz (fixes BUG# 2590)
-------------------------------------------------------------------
Wed Mar 1 16:34:25 CET 2000 - kasal@suse.de
- moved manpages to %{_mandir}
- added buildroot and shortened %filelist
- added mtools.info* files (and texinfo to #neededforbuild)
-------------------------------------------------------------------
Mon Sep 20 19:58:38 CEST 1999 - uli@suse.de
- fixed #include conflict showing up on PPC
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Fri Jul 9 15:33:01 MEST 1999 - uli@suse.de
- update -> 3.9.6
-------------------------------------------------------------------
Tue Mar 23 14:01:51 MET 1999 - ro@suse.de
- don't use -O4 ; strip binaries
-------------------------------------------------------------------
Tue Mar 23 00:45:56 MET 1999 - ro@suse.de
- update to 3.9.4
-------------------------------------------------------------------
Fri Dec 11 15:02:50 MET 1998 - rj@suse.de
- parameters in mtools.conf for 1,44MB disks hardcoded
-------------------------------------------------------------------
Thu Oct 29 00:41:30 MET 1998 - ro@suse.de
- respect change in 2.1.126 SCSI_DISK_MAJOR
-------------------------------------------------------------------
Sun Jul 26 14:51:14 MEST 1998 - bs@suse.de
- used old config file again.
-------------------------------------------------------------------
Tue Jul 21 17:54:41 MEST 1998 - bs@suse.de
- update to version 3.9.1
-------------------------------------------------------------------
Tue Feb 24 11:38:03 MET 1998 - ro@suse.de
- removed man-pages mread and mwrite
(contain no information, just texinfos blabla)
----------------------------------------------------------------------------
Thu Jun 12 17:33:42 CEST 1997 - rj@suse.de
- modification in /etc/mtools.conf
----------------------------------------------------------------------------
Fri Apr 18 17:02:37 CEST 1997 - rj@suse.de
- new version 3.6
----------------------------------------------------------------------------
Mon Mar 3 11:43:17 CET 1997 - rj@suse.de
- new version 3.3
----------------------------------------------------------------------------
Tue Feb 25 14:53:24 CET 1997 - rj@suse.de
- new version 3.2
- /usr/doc/packages/mtools now included
- xdf Support

30
mtools.keyring Normal file
View File

@ -0,0 +1,30 @@
GPG keys of Alain Knaff <alainknaff>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF+4FJkBEACxZIqrK4Vkg4Dz3w4RmS4ygoNSLeIjNMTcxjakjXjFQoNeoeNn
l7BODCL9usWo/K131XRUlJ3uWbjsZOOn1J58xfV5jEoEE+THiauGQPc12hKSwGjb
7Uq24vLsr6FbqJ+bgou+1y4MBm999jj6uHbkxScEtOKzcBsJCdgbPZWrREzQG8r3
fjvs5qtIvONe19DGX9YorF1O+2sCMGq1a/M2IO32sk2KENuMYHMiXYKj+cOLsqRT
8QgcFuHQhemYTWgC+f4zgSAGawcOPFo/J0D6IKDOD7NPaXSfh32PSicOZE7/9hUr
stkzdJ/LczdoTYqlgFOpdo/Xf23SZCBjcNb/QU/TMyI4RDtFQGQmci9l4gJFdTkS
7AA/S7sNoY3tR2VdQD7zDfP+fJbfO2mrrlydx2GQoZLn4R4+fKK7l7C+j00/pZoB
XpxJjLrImiBdDMH+c0jYQzeX34nummhVBSwVDMwvVemwxoLFzAWHLbPDqT9wPkPN
I0NkxjN7tyjS1N2zlOpSCnNb0YkovC/2hfg2xPQs3vAhxOJuFUoIZee5M9+D92iK
Uf0b6JW0FFhHL3HhqcgRpE+7/6EMREw9HGFOfsr4/sbvnlpKwx+7anW2l1+zG5/7
jiBPhxtykW44VcJVm5EQXvqLN1VGU3LVJiEfba4gt/G/AhsQhE7x3FQ6zQARAQAB
tBxBbGFpbiBLTkFGRiA8YWxhaW5Aa25hZmYubHU+iQJOBBMBCAA4FiEEUaI9nXxN
9Bqkj6iT6Zz1U3eQuDkFAl+4FJkCGy8FCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA
CgkQ6Zz1U3eQuDm+vw/8DoY1fkFEqSD/+WH2ZGNinUnVaXZhCiNq9yRLQigaXwkM
mXHhD1yETrdHbzsb8JAZkj/6haEaY4e/Xp+LpU7L738CG5yTp4v3ZH1xb2+4nEu/
kmgOkLlpbuxE+QNGlWEngD/HruJZGciku7cU+ENtjebNID7aDU3ALaMBJv/iIicv
3YMpMcI9AxZE6NTfQCXH9eNeQ5TlrJOvfaZLO6+kHFoq/ACuva/cAPjAFkoqESE4
Ga+8x7zFKJY508QYv1PYIT9nFmbVBcmiNDCQtSBlYqux2KUDoYxyLviKh+3k6vh6
GwYhBB7XzBEDE7Uxdnol/H/+IGVj8j1/86N8zaUqfpZ/Bm4IKELnKeNGCf6WKzNC
2U2Q6exiaMz+mXnHha4cr206klw1VRRO9HJI32vBPv+pDHkkqQEOX/wkNhdI9Hhv
cLsJDuCQZg4bc8HKMqTWwPS+M+mC7ihlryR+DbZJIS92BF7oFy7Iz6bhgxkNjIn2
61nu6TAimo5UoqzSwta3oa5JajK1rZv3R+hdheUObhK8jFo0YldYAiczfc79cvgF
6kC/W7vSnx5vQf+I9kb829GTpusmzrDXeuwtY2KeIkqoawQ18aG8aw8qL4ikSLK9
Au3HSvFfU+sjEP+Qy7qnAuo7qyrfysP3BNbpMl/kOzRH0Hgpy34oA0N/E4LfAMQ=
=Efu8
-----END PGP PUBLIC KEY BLOCK-----

82
mtools.spec Normal file
View File

@ -0,0 +1,82 @@
#
# spec file for package mtools
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mtools
Version: 4.0.44
Release: 0
Summary: Tools to access MS-DOS filesystems without kernel drivers
License: GPL-3.0-or-later
Group: System/Filesystems
URL: https://www.gnu.org/software/mtools/
Source0: https://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2
Source1: https://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2.sig
# https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=mtools
Source2: %{name}.keyring
Patch0: %{name}-conf.diff
BuildRequires: makeinfo
BuildRequires: texinfo
Requires: glibc-gconv-modules-extra
Requires: glibc-locale-base
%description
Mtools allows access to an MS-DOS file system on disk without
mounting it. It includes commands for working with MS-DOS files:
mdir, mcd, mcopy, and mformat.
XDF support for OS/2 is also provided.
%package doc
Summary: Documentation for mtools, a toolset for MS-DOS filesystem access
License: GFDL-1.3-only AND GPL-3.0-or-later
Group: Documentation/Other
Requires: %{name} = %{version}
%description doc
Mtools allows access to an MS-DOS file system on disk without
mounting it. This subpackage contains the documentation for it.
%prep
%autosetup -p0
%build
%configure \
--includedir=%{_prefix}/src/linux/include \
--disable-floppyd
%make_build -j1 all info pdf
%install
install -d -m 755 %{buildroot}%{_sysconfdir}
make DESTDIR=%{buildroot} install --jobs 1
cp -p mtools.conf %{buildroot}%{_sysconfdir}
%files
%config %{_sysconfdir}/mtools.conf
%doc Release.notes NEWS README*
%license COPYING
%{_mandir}/man?*/*
%exclude %{_mandir}/man?*/f*
%{_infodir}/mtools.info%{?ext_info}
%{_bindir}/*
%exclude %{_bindir}/f*
%files doc
%license COPYING
%doc *.pdf
%changelog