- 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/mtools?expand=0&rev=17
This commit is contained in:
Petr Gajdos 2010-11-16 11:00:48 +00:00 committed by Git OBS Bridge
parent 91556894cb
commit 9f34f85fc8
12 changed files with 31 additions and 57 deletions

View File

@ -1,12 +0,0 @@
Index: mformat.c
===================================================================
--- mformat.c.orig
+++ mformat.c
@@ -1163,6 +1163,7 @@ void mformat(int argc, char **argv, int
exit(1);
}
keepBoot = 1;
+ close(fd);
}
if(!keepBoot && !(used_dev.use_2m & 0x7f)) {
memset(boot.characters, '\0', Fs.sector_size);

View File

@ -1,13 +0,0 @@
Index: mtools-4.0.13/mlabel.c
===================================================================
--- mtools-4.0.13.orig/mlabel.c
+++ mtools-4.0.13/mlabel.c
@@ -35,7 +35,7 @@ void label_name(doscp_t *cp, const char
int have_lower, have_upper;
wchar_t wbuffer[12];
- memset(ans, ' ', sizeof(ans)-1);
+ memset(ans, ' ', sizeof(*ans)-1);
ans->sentinel = '\0';
len = native_to_wchar(filename, wbuffer, 11, 0, 0);
if(len > 11){

View File

@ -1,22 +0,0 @@
Index: scripts/mcomp
===================================================================
--- scripts/mcomp.orig
+++ scripts/mcomp
@@ -24,5 +24,5 @@ fi
dosfile=$1
shift
-mcopy $dosfile - | cmp $@
+mcopy $dosfile - | cmp "$@"
Index: scripts/mxtar
===================================================================
--- scripts/mxtar.orig
+++ scripts/mxtar
@@ -21,5 +21,5 @@ dosfile=$2
shift
shift
-mcopy $dosfile - | tar $taropt - $@
+mcopy $dosfile - | tar $taropt - "$@"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f5d7bd44f2e259f7359054d936d8d3039fa6c492c7ca4eaa0c6bc8005a347da
size 382262

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:290defca107cc183a17c98d3f7d00db02228b724084a2a818f1dd6ea86973899
size 386339

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
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

View File

@ -20,7 +20,7 @@
Name: mtools
BuildRequires: libpng texlive-latex xorg-x11 xorg-x11-devel
Version: 4.0.13
Version: 4.0.15
Release: 2
AutoReqProv: on
Group: System/Filesystems
@ -30,12 +30,9 @@ Summary: Access Files on an MS-DOS File System
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-conf.diff
Patch1: %{name}-%{version}-autoconf.diff
Patch2: %{name}-%{version}-script.diff
Patch3: %{name}-%{version}-aliasing.diff
Patch4: %{name}-%{version}-fat-bits.diff
Patch5: %{name}-%{version}-prototypes.diff
Patch7: %{name}-%{version}-file-close.diff
Patch8: %{name}-%{version}-initialize.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -93,12 +90,9 @@ Authors:
%setup -q
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch7
%patch8 -p1
%build
%{suse_update_config -f}