Hello, mtools-4.0.27 have a problem that creating disk image with -C option. I found it creating SvarDOS's floppy disk image. The bug looks solved at 4.0.30 but I suggest modernize 4.0.47. ok?
Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/mtools/Makefile,v diff -u -p -r1.66 Makefile --- Makefile 27 Sep 2023 17:16:31 -0000 1.66 +++ Makefile 11 Feb 2025 22:35:36 -0000 @@ -1,5 +1,5 @@ COMMENT= read/write/list/format DOS disks under Unix -DISTNAME= mtools-4.0.27 +DISTNAME= mtools-4.0.47 CATEGORIES= sysutils Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/mtools/distinfo,v diff -u -p -r1.16 distinfo --- distinfo 1 May 2021 13:39:42 -0000 1.16 +++ distinfo 11 Feb 2025 22:35:36 -0000 @@ -1,2 +1,2 @@ -SHA256 (mtools-4.0.27.tar.gz) = maMnnC6mNTp5ebi9dlURS/pWiAVUk1mkHtczfwaYycU= -SIZE (mtools-4.0.27.tar.gz) = 526480 +SHA256 (mtools-4.0.47.tar.gz) = 4BEdhj+e9VcVWC9Laaf/0mFkXgyJQXzv6zCM0IAALgQ= +SIZE (mtools-4.0.47.tar.gz) = 560285 Index: patches/patch-Makefile_in =================================================================== RCS file: /cvs/ports/sysutils/mtools/patches/patch-Makefile_in,v diff -u -p -r1.5 patch-Makefile_in --- patches/patch-Makefile_in 11 Mar 2022 19:57:42 -0000 1.5 +++ patches/patch-Makefile_in 11 Feb 2025 22:35:36 -0000 @@ -1,7 +1,7 @@ Index: Makefile.in --- Makefile.in.orig +++ Makefile.in -@@ -278,7 +278,7 @@ install-links: $(DESTDIR)$(bindir)/mtools +@@ -264,7 +264,7 @@ install-links: $(DESTDIR)$(bindir)/mtools install-scripts: $(DESTDIR)$(bindir)/mtools @$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) @for j in $(SCRIPTS) ; do \ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/mtools/pkg/PLIST,v diff -u -p -r1.12 PLIST --- pkg/PLIST 11 Mar 2022 19:57:42 -0000 1.12 +++ pkg/PLIST 11 Feb 2025 22:35:36 -0000 @@ -6,12 +6,12 @@ bin/mbadblocks bin/mcat bin/mcd bin/mcheck -bin/mclasserase bin/mcomp bin/mcopy bin/mdel bin/mdeltree bin/mdir +bin/mdoctorfat bin/mdu bin/mformat bin/minfo @@ -37,11 +37,11 @@ bin/uz @man man/man1/mbadblocks.1 @man man/man1/mcat.1 @man man/man1/mcd.1 -@man man/man1/mclasserase.1 @man man/man1/mcopy.1 @man man/man1/mdel.1 @man man/man1/mdeltree.1 @man man/man1/mdir.1 +@man man/man1/mdoctorfat.1 @man man/man1/mdu.1 @man man/man1/mformat.1 @man man/man1/minfo.1 -- SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>