notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
mtools Tools for manipulating MS-DOS disks and images
4.0.49 filesystems on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.0.48Version of this port present on the latest quarterly branch.
Maintainer: skreuzer@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-11-07 19:52:55
Last Update: 2025-07-05 03:31:34
Commit Hash: 6fd5e61
People watching this port, also watch:: xorg-apps, xcb-util-image, imlib2, libmad, libthai
Also Listed In: emulators
License: GPLv3+
WWW:
https://www.gnu.org/software/mtools/intro.html
Description:
Mtools is a collection of utilities for accessing MS-DOS disks and file system images from Unix without mounting them. It supports Win95-style long file names, OS/2 XDF-formatted disks, ZIP/JAZ disks, and 2MB disks (store up to 1992kB on a high-density 3.5" diskette).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (68 items)
Collapse this list.
  1. /usr/local/share/licenses/mtools-4.0.49/catalog.mk
  2. /usr/local/share/licenses/mtools-4.0.49/LICENSE
  3. /usr/local/share/licenses/mtools-4.0.49/GPLv3+
  4. bin/amuFormat.sh
  5. bin/floppyd
  6. bin/floppyd_installtest
  7. bin/mattrib
  8. bin/mbadblocks
  9. bin/mcat
  10. bin/mcd
  11. bin/mcheck
  12. bin/mcomp
  13. bin/mcopy
  14. bin/mdel
  15. bin/mdeltree
  16. bin/mdir
  17. bin/mdoctorfat
  18. bin/mdu
  19. bin/mformat
  20. bin/minfo
  21. bin/mkmanifest
  22. bin/mlabel
  23. bin/mmd
  24. bin/mmount
  25. bin/mmove
  26. bin/mpartition
  27. bin/mrd
  28. bin/mren
  29. bin/mshortname
  30. bin/mshowfat
  31. bin/mtools
  32. bin/mtoolstest
  33. bin/mtype
  34. bin/mxtar
  35. bin/mzip
  36. @sample etc/mtools.conf.sample
  37. share/man/man1/floppyd.1.gz
  38. share/man/man1/floppyd_installtest.1.gz
  39. share/man/man1/mattrib.1.gz
  40. share/man/man1/mbadblocks.1.gz
  41. share/man/man1/mcat.1.gz
  42. share/man/man1/mcd.1.gz
  43. share/man/man1/mcopy.1.gz
  44. share/man/man1/mdel.1.gz
  45. share/man/man1/mdeltree.1.gz
  46. share/man/man1/mdir.1.gz
  47. share/man/man1/mdoctorfat.1.gz
  48. share/man/man1/mdu.1.gz
  49. share/man/man1/mformat.1.gz
  50. share/man/man1/minfo.1.gz
  51. share/man/man1/mkmanifest.1.gz
  52. share/man/man1/mlabel.1.gz
  53. share/man/man1/mmd.1.gz
  54. share/man/man1/mmount.1.gz
  55. share/man/man1/mmove.1.gz
  56. share/man/man1/mpartition.1.gz
  57. share/man/man1/mrd.1.gz
  58. share/man/man1/mren.1.gz
  59. share/man/man1/mshortname.1.gz
  60. share/man/man1/mshowfat.1.gz
  61. share/man/man1/mtools.1.gz
  62. share/man/man1/mtoolstest.1.gz
  63. share/man/man1/mtype.1.gz
  64. share/man/man1/mzip.1.gz
  65. share/man/man5/mtools.5.gz
  66. @owner
  67. @group
  68. @mode
Collapse this list.
Dependency lines:
  • mtools>0:filesystems/mtools
Conflicts:
CONFLICTS_INSTALL:
  • multimarkdown
To install the port:
cd /usr/ports/filesystems/mtools/ && make install clean
To add the package, run one of these commands:
  • pkg install filesystems/mtools
  • pkg install mtools
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mtools
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1749918038 SHA256 (mtools-4.0.49.tar.lz) = 76dfea98d923dfc9806ce34bd1786aa9b5a39d70f56f26c0670a348c664f1d2a SIZE (mtools-4.0.49.tar.lz) = 397000

Packages (timestamps in pop-ups are UTC):
mtools
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.0.484.0.48-4.0.484.0.48---
FreeBSD:13:quarterly4.0.474.0.47-4.0.474.0.47---
FreeBSD:14:latest4.0.484.0.48-4.0.484.0.49---
FreeBSD:14:quarterly4.0.474.0.47-4.0.474.0.48---
FreeBSD:15:latest4.0.484.0.48n/a4.0.48n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. makeinfo : print/texinfo
  3. x11.pc : x11/libX11
  4. sm.pc : x11/libSM
  5. ice.pc : x11/libICE
  6. xau.pc : x11/libXau
Runtime dependencies:
  1. x11.pc : x11/libX11
  2. sm.pc : x11/libSM
  3. ice.pc : x11/libICE
  4. xau.pc : x11/libXau
  5. indexinfo : print/indexinfo
Library dependencies:
  1. libiconv.so : converters/libiconv
This port is required by:
for Build
  1. net/ipxe
  2. sysutils/fwup
  3. sysutils/limine
for Run
  1. sysutils/grub2-efi
  2. sysutils/syslinux

Configuration Options:
===> The following configuration options are available for mtools-4.0.49: DOCS=on: Build and/or install documentation ICONV=on: Encoding conversion support via iconv X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings
Options name:
filesystems_mtools
USES:
gmake makeinfo tar:lz iconv xorg
pkg-message:
For install:
Please verify /usr/local/etc/mtools.conf for your machine.
Master Sites:
Expand this list (11 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/mtools/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/mtools/
  3. ftp://mirrors.rit.edu/gnu/mtools/
  4. http://ftp.halifax.rwth-aachen.de/gnu/mtools/
  5. http://ftp.kddilabs.jp/GNU/gnu/mtools/
  6. http://mirror.navercorp.com/gnu/mtools/
  7. https://ftp.gnu.org/gnu/mtools/
  8. https://ftpmirror.gnu.org/mtools/
  9. https://mirror.netcologne.de/gnu/mtools/
  10. https://mirrors.kernel.org/gnu/mtools/
  11. https://www.nic.funet.fi/pub/gnu/gnu/mtools/
Collapse this list.
Port Moves
  • port moved here from emulators/mtools on 2024-11-06
    REASON: Moved to new category filesystems

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.0.49
05 Jul 2025 03:31:34
commit hash: 6fd5e6115521dc7e844267b63c82bbd5d657c65fcommit hash: 6fd5e6115521dc7e844267b63c82bbd5d657c65fcommit hash: 6fd5e6115521dc7e844267b63c82bbd5d657c65fcommit hash: 6fd5e6115521dc7e844267b63c82bbd5d657c65f files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
filesystems/mtools: the port had been updated to version 4.0.49

- Correctly detect overlong file names, especially when
  multibyte (UTF-8) strings are concerned
- Fix off-by-one error in two calls to native_to_wchar()
- When changing disk label, ignore any plain file which
  would match the label
- Add missing newlines in error messages about disk geometry
- Do not print error message if getting geometry is simply
  not supported by device type (such as for loop devices)
- If full geometry of a device is not available (such as for
  loop devices), at least make use of the size
4.0.48
15 Apr 2025 15:08:52
commit hash: 90baa2b976506d40381029fec4b92b8bd28a712ccommit hash: 90baa2b976506d40381029fec4b92b8bd28a712ccommit hash: 90baa2b976506d40381029fec4b92b8bd28a712ccommit hash: 90baa2b976506d40381029fec4b92b8bd28a712c files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
filesystems/mtools: update the port to the latest version 4.0.48

While here, adjust LICENSE (GPLv3 or later), respect PREFIX more,
wrap one very long line, and install useful documentation files.
4.0.47
08 Feb 2025 19:15:16
commit hash: 02fe0e57819d1d81395e1db21c8a06ea226447a1commit hash: 02fe0e57819d1d81395e1db21c8a06ea226447a1commit hash: 02fe0e57819d1d81395e1db21c8a06ea226447a1commit hash: 02fe0e57819d1d81395e1db21c8a06ea226447a1 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
filesystems/mtools: the port had been updated to version 4.0.47

While here, simplify one regular expression in the `post-patch'
target recipe, garbage-collect a patch, and sort the pkg-plist.
4.0.43_1
06 Nov 2024 15:17:35
commit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
filesystems: add new category for file systems and related utilities

The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988

Number of commits found: 4