pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/mtools sysutils/mtools: update to 4.0.35.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/855eb2a0345c
branches:  trunk
changeset: 456812:855eb2a0345c
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Mon Aug 09 14:39:23 2021 +0000

description:
sysutils/mtools: update to 4.0.35.

Improvements since the 4.0.34 release are:
        - Fix cluster padding at end of file in batch mode
Improvements since the 4.0.33 release are:
        - Fix mcopy -s issue
Improvements since the 4.0.32 release are:
        - Fix support for partitions (broken in 4.0.30)
        - Portability fixes for Solaris 10 and 11
        - General simplification of configure script, and largefile
          handling
        - Tested and fixed for platforms *without* largefile support
        - In cases where lseek works with 32-bit offsets, prefer lseek64
          over llseek
        - Fixed floppy sector size handling on platforms that are not
          Linux
        - Added support for image files on command line to mcat
Improvements since the 4.0.31 release are:
        - Simplify algorithm that chooses 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
        - Fix misc compilation warnings occurring when disabling
          certain features (largefiles, raw-term)
Improvements since the 4.0.30 release are:
        - Move Linux-specific block device sizing code into
          Linux-specific section of devices.c
        - Error messages for all failure cases on fs_init
        - Fix compilation without XDF support (OpenImage signature)
        - Fix polarity of format_xdf command-line parameter of mformat
        - In xdf_io retry enough times to actually succeed, even if
          FDC was in a bad state before
        - Remove useless buffer flushing triggered when giving up a
          reference to a stream node that is still referenced
          elsewhere.
        - Clearer error message if neither size nor geometry of drive
          to be mformatted is known
        - In mformat, make Fs dynamically allocated rather than
          on-stack, so as to be able to use utilities supplied by
          stream.c
        - Remove duplicate writing of backup boot sector
        - Allow to infer geometry for mformat if only size is specified
        - Protect against attempt to create zero-sized buffer
        - Code simplification in mattrib
        - Remove dead code in mpartition
Improvements since the 4.0.29 release are:
        - Fixed XDF floppy disk access
        - Fixed faulty behavior at end of image in mcat
        - Device/Image size handling refactoring
        - allow remap to write to zero-backed sectors (may happen if
          buffer is flushed, and is not an error in that case)
        - Raise an error when trying to mcopy multiple source files
          over a single destination file (rather than directory)
        - fix handling of "hidden" sectors (is a 2 byte quantity on
          small disks, not 4 byte as previously assumed)
        - Modernize partition support. Tuned consistency check to
          actually check about important issues (such as overlapping
          partitions) rather than stuff nobody else cares about
          (alignment on entire cylinder boundaries)
        - Move various "filter" options (partition, offset, swap,
          scsi) into separate classes, rather than leaving almost
          everything in plain_io
        - Simplify and centralize geometry handling and LBA code
        - Fix some more more compiler warnings
Improvements since the 4.0.28 release are:
        - Fix bug in cluster preallocation, which was accidentally
        introduced by the compiler warning "fixes" from v4_0_28
Improvements since the 4.0.27 release are:
        - Support remapping of data (for not-quite linear floppy image
        files, such as IBM 3174)
        - 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)
        - Fix some compiler warnings
Improvements since the 4.0.26 release are:
        - Fix a type error in way how iconv functions are called

diffstat:

 sysutils/mtools/Makefile |  10 +++++-----
 sysutils/mtools/distinfo |  11 ++++++-----
 2 files changed, 11 insertions(+), 10 deletions(-)

diffs (52 lines):

diff -r 9cccc8d931fc -r 855eb2a0345c sysutils/mtools/Makefile
--- a/sysutils/mtools/Makefile  Mon Aug 09 13:46:39 2021 +0000
+++ b/sysutils/mtools/Makefile  Mon Aug 09 14:39:23 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2020/11/28 18:58:50 is Exp $
+# $NetBSD: Makefile,v 1.61 2021/08/09 14:39:23 rhialto Exp $
 
-DISTNAME=      mtools-4.0.26
+DISTNAME=      mtools-4.0.35
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GNU:=mtools/}
 EXTRACT_SUFX=  .tar.bz2
@@ -10,11 +10,10 @@
 COMMENT=       FAT (MS-DOS, Atari) disk access tools
 LICENSE=       gnu-gpl-v3 # or later
 
-SUBST_CLASSES+=                strtoi
+SUBST_CLASSES+=         strtoi
 SUBST_STAGE.strtoi=    post-configure
-SUBST_FILES.strtoi=    config.h config.c floppyd_io.c mformat.c mpartition.c \
+SUBST_FILES.strtoi=    config.h config.c floppyd_io.c \
                        mtools.h strtonum.c # *.[hc]
-SUBST_SED.strtoi+=     -e 's/\#define HAVE_STRTOI .*/\#undef HAVE_STRTOI/'
 SUBST_SED.strtoi+=     -e s/strtoi/mtools_strtoi/
 
 
@@ -23,6 +22,7 @@
 INFO_FILES=            yes
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ENV+=                ac_cv_func_strtoi=no
 
 .include "options.mk"
 
diff -r 9cccc8d931fc -r 855eb2a0345c sysutils/mtools/distinfo
--- a/sysutils/mtools/distinfo  Mon Aug 09 13:46:39 2021 +0000
+++ b/sysutils/mtools/distinfo  Mon Aug 09 14:39:23 2021 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.24 2020/11/28 18:58:50 is Exp $
+$NetBSD: distinfo,v 1.25 2021/08/09 14:39:23 rhialto Exp $
 
-SHA1 (mtools-4.0.26.tar.bz2) = 40dd6a27528b2f21f34a178a1ef02ec0f7cad980
-RMD160 (mtools-4.0.26.tar.bz2) = 958565c7b7f32e2732eed1a5a22be34f0202ae5d
-SHA512 (mtools-4.0.26.tar.bz2) = 32303ea16314ca00f33aee103451958f13c71ab1f3975e9a1dd9236c8e775286985ee776c38c64a1f8f5f8d0a66cbf84643182913e4e2c2dcaff384a9acd8633
-Size (mtools-4.0.26.tar.bz2) = 420648 bytes
+SHA1 (mtools-4.0.35.tar.bz2) = bfe28ae12bbb848a66c2b9756483248a91545c13
+RMD160 (mtools-4.0.35.tar.bz2) = b240291892cb0d09e5f1af2e5b734444abb91aaf
+SHA512 (mtools-4.0.35.tar.bz2) = ef563b3319285667993c82d819e08cb819a6bcd71c466fc252568996b4218cfb3731107ffcd6150ba33c0837e012e02057def41e2b011f751eaf550bfa366a10
+Size (mtools-4.0.35.tar.bz2) = 455988 bytes
 SHA1 (patch-aa) = 493b06455ee3169e6db916a9d535dad5a124edbc
 SHA1 (patch-ae) = 0142fa2fccfc81da0daab2a3caee2dbcb107f895
+SHA1 (patch-init.c) = 0727d329dfc619467fb9476f4d9995494f2795a9



Home | Main Index | Thread Index | Old Index