Fixed dosfslabel on FAT32 (#693662)

This commit is contained in:
Jaroslav Škarvada 2011-04-05 13:09:12 +02:00
parent f45cc99e2d
commit cd812602f5

View File

@ -1,7 +1,7 @@
Name: dosfstools
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
Version: 3.0.11
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+
Group: Applications/System
Source0: http://www.daniel-baumann.ch/software/dosfstools/%{name}-%{version}.tar.bz2
@ -9,6 +9,8 @@ URL: http://www.daniel-baumann.ch/software/dosfstools/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Fix buffer overflow in alloc_rootdir_entry (#674095)
Patch0: dosfstools-3.0.9-fix-alloc-rootdir-entry.patch
# Fix dosfslable on FAT32 (#693662)
Patch1: dosfstools-3.0.11-dosfslabel-fat32.patch
%description
The dosfstools package includes the mkdosfs and dosfsck utilities,
@ -18,6 +20,7 @@ drives or on floppies.
%prep
%setup -q
%patch0 -p1 -b .fix-alloc-rootdir-entry
%patch1 -p1 -b .dosfslabel-fat32
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
@ -36,6 +39,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/*
%changelog
* Tue Apr 05 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-4
- Fixed dosfslabel on FAT32 (#693662)
* Mon Feb 14 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-3
- Fixed buffer overflow in alloc_rootdir_entry (#674095)
- Dropped fix-reclaim-file patch, obsoleted by fix-alloc-rootdir-entry patch