0e908e
Summary: Utility for the creation of squashfs filesystems
0e908e
Name: squashfs-tools
0e908e
Version: 4.3
0e908e
Release: 0.21.gitaae0aff4%{?dist}
0e908e
License: GPLv2+
0e908e
Group: System Environment/Base
0e908e
URL: http://squashfs.sourceforge.net/
0e908e
# For now I am using a prerelease version obtained by:
0e908e
# git clone git://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git
0e908e
# cd squashfs-tools
0e908e
# git archive --format=tar --prefix=squashfs4.3/ aae0aff4f0b3081bd1dfc058c867033a89c11aac | gzip > squashfs4.3.tar.gz
0e908e
Source0: squashfs%{version}.tar.gz
0e908e
#Source0: http://downloads.sourceforge.net/squashfs/squashfs%{version}.tar.gz
0e908e
# manpages from http://ftp.debian.org/debian/pool/main/s/squashfs-tools/squashfs-tools_4.2+20121212-1.debian.tar.xz
0e908e
Source1: mksquashfs.1
0e908e
Source2: unsquashfs.1
0e908e
Patch1: squashfs-tools-file_size-fix.patch
0e908e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
0e908e
BuildRequires: zlib-devel
0e908e
BuildRequires: xz-devel
0e908e
BuildRequires: lzo-devel
0e908e
BuildRequires: libattr-devel
0e908e
0e908e
%description
0e908e
Squashfs is a highly compressed read-only filesystem for Linux.  This package
0e908e
contains the utilities for manipulating squashfs filesystems.
0e908e
0e908e
%prep
0e908e
%setup -q -n squashfs%{version}
0e908e
%patch1 -p1 -b .file_size
0e908e
0e908e
%build
0e908e
pushd squashfs-tools
0e908e
CFLAGS="%{optflags}" XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 make %{?_smp_mflags}
0e908e
0e908e
%install
0e908e
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man1
0e908e
install -m 755 squashfs-tools/mksquashfs %{buildroot}%{_sbindir}/mksquashfs
0e908e
install -m 755 squashfs-tools/unsquashfs %{buildroot}%{_sbindir}/unsquashfs
0e908e
install -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/mksquashfs.1
0e908e
install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1/unsquashfs.1
0e908e
0e908e
%clean
0e908e
rm -rf %{buildroot}
0e908e
0e908e
%files
0e908e
%defattr(-,root,root,-)
0e908e
# Until there is a real release only READ is available
0e908e
#%doc README ACKNOWLEDGEMENTS DONATIONS PERFORMANCE.README README-4.2 CHANGES pseudo-file.example COPYING
0e908e
%doc README
0e908e
%{_mandir}/man1/*
0e908e
0e908e
%{_sbindir}/mksquashfs
0e908e
%{_sbindir}/unsquashfs
0e908e
0e908e
%changelog
0e908e
* Wed Oct 08 2014 Jarod Wilson <jarod@redhat.com> - 4.3-0.21.gitaae0aff4
0e908e
- Fix corruption of last block of squashed images (rhbz 1052175)
0e908e
0e908e
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.3-0.20.gitaae0aff4
0e908e
- Mass rebuild 2014-01-24
0e908e
0e908e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.3-0.19.gitaae0aff4
0e908e
- Mass rebuild 2013-12-27
0e908e
0e908e
* Sat Jun 22 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.18.gitaae0aff4
0e908e
- Latest pre 4.3 stable snapshot
0e908e
- A few minor bug fixes
0e908e
- Improvements in getting status info while running unsquashfs
0e908e
0e908e
* Tue Jun 04 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.17.git5c6f0024
0e908e
- Latest pre 4.3 snapshot
0e908e
- Includes fix for mksquashfs hangs
0e908e
- Switch to get pre-release updates from the stable branch at kernel.org
0e908e
0e908e
* Thu May 23 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.16.git84d8ae5c
0e908e
- Latest pre 4.3 snapshot
0e908e
- Fix for a rare race condition
0e908e
0e908e
* Sun May 19 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.15.git27d7c14b
0e908e
- Latest pre 4.3 snapshot
0e908e
- queue fragment and empty file buffers directly to main thread
0e908e
0e908e
* Wed May 15 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.14.git8ce5585e
0e908e
- Latest pre 4.3 snapshot
0e908e
- Includes upstream bugfix introduced with the sequential queue change
0e908e
0e908e
* Sat May 11 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.13.gitc2362556
0e908e
- Latest pre 4.3 snapshot
0e908e
- Sequential queue change
0e908e
0e908e
* Mon May 06 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.12.git9353c998
0e908e
- Latest pre 4.3 snapshot
0e908e
0e908e
* Sun Mar 31 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.11.git8228a3e8
0e908e
- Latest pre 4.3 snapshot
0e908e
- SIGQUIT now displays the file being squashed
0e908e
0e908e
* Wed Mar 06 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.10.git6a103792
0e908e
- Latest pre 4.3 snapshot
0e908e
- Pick up some more error handling improvements
0e908e
0e908e
* Sun Mar 03 2013 Kyle McMartin <kmcmarti@redhat.com>
0e908e
- Move mksquashfs to /usr/sbin, as per UsrMove.
0e908e
0e908e
* Sun Mar 03 2013 Kyle McMartin <kmcmarti@redhat.com>
0e908e
- Add mksquashfs.1 and unsquashfs.1 manpages from Debian.
0e908e
0e908e
* Mon Feb 18 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.9.git3ec9c8f7
0e908e
- Latest pre 4.3 snapshot
0e908e
- Better error handling when space runs out
0e908e
0e908e
* Wed Feb 13 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.8.gitca6a1c90
0e908e
- Latest pre 4.3 snapshot
0e908e
- New option to display compression options used
0e908e
- Some error message improvements
0e908e
0e908e
* Fri Feb 01 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.7.gitb10063a9
0e908e
- Latest pre 4.3 snapshot
0e908e
- More checks for bad data
0e908e
0e908e
* Sun Jan 13 2013 Bruno Wolff III <bruno@wolff.to> - 4.3-0.6.git6c0f229d
0e908e
- Latest pre 4.3 snapshot
0e908e
- Quote and backslash parsing for lexical analyzer
0e908e
0e908e
* Mon Dec 31 2012 Bruno Wolff III <bruno@wolff.to> - 4.3-0.5.gitc11af515
0e908e
- Latest pre 4.3 snapshot
0e908e
- A few memory leak fixes
0e908e
- Additional checks for handling bad data
0e908e
0e908e
* Sun Dec 23 2012 Bruno Wolff III <bruno@wolff.to> - 4.3-0.4.git99a009c8
0e908e
- Better checking of data in psuedo files
0e908e
0e908e
* Fri Dec 21 2012 Bruno Wolff III <bruno@wolff.to> - 4.3-0.3.git7ec6bd7a
0e908e
- Better checking of data in sort, extract and exclude files
0e908e
0e908e
* Thu Dec 13 2012 Bruno Wolff III <bruno@wolff.to> - 4.3-0.2.git54719971
0e908e
- Pick up a few more changes to better handle bad data
0e908e
0e908e
* Sat Dec 01 2012 Bruno Wolff III <bruno@wolff.to> - 4.3-0.1.git0be606be
0e908e
- Pre-release of 4.3 to get early testing
0e908e
- This update includes a bit of internal code infrastructure changes
0e908e
- There are lots of fixes to better handle bad data
0e908e
- The final release is expected sometime in December
0e908e
- Until the release only the README doc file is available
0e908e
0e908e
* Sun Nov 25 2012 Bruno Wolff III <bruno@wolff.to> - 4.2-5
0e908e
- Backported fix for bz 842460 (CVE-2012-4025)
0e908e
0e908e
* Thu Nov 22 2012 Bruno Wolff III <bruno@wolff.to> - 4.2-4
0e908e
- Backported fix for bz 842458 (CVE-2012-4024)
0e908e
0e908e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-3
0e908e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0e908e
0e908e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-2
0e908e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0e908e
0e908e
* Tue Mar 01 2011 Bruno Wolff III <bruno@wolff.to> - 4.2-1
0e908e
- 4.2 is released.
0e908e
- Bugfix for bad data causing crash.
0e908e
- Include doc files added for release.
0e908e
- Big endian patch is now upstream.
0e908e
- Buildroot tag isn't needed any more.
0e908e
- We can now specify CFLAGS on the make call.
0e908e
- Compressor options are now passed with the make call.
0e908e
0e908e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-0.4.20101231
0e908e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e908e
0e908e
* Tue Jan 11 2011 Dan Horák <dan[at]danny.cz> - 4.2-0.3.20101231
0e908e
- Add fixes for big-endian machines
0e908e
0e908e
* Sat Jan 01 2011 Bruno Wolff III <bruno@wolff.to> - 4.2-0.2.20101231
0e908e
- Pull latest upstream snapshot
0e908e
- Includes check for matching compression type when adding to an existing image
0e908e
- Sample cvs command now includes timezone and specifies when on the date to use for the snapshot
0e908e
0e908e
* Fri Dec 24 2010 Bruno Wolff III <bruno@wolff.to> - 4.2-0.1.20101223
0e908e
- Switch to 4.2 development snapshot to get new XZ support
0e908e
- LZMA and XZ (LZMA2) support are now different
0e908e
0e908e
* Wed Oct 27 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-3
0e908e
- Rebuild for xz soname bump
0e908e
0e908e
* Wed Sep 29 2010 jkeating - 4.1-2
0e908e
- Rebuilt for gcc bug 634757
0e908e
0e908e
* Tue Sep 21 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-1
0e908e
- Update to 4.1 final.
0e908e
- Byte swap patch is now upstream.
0e908e
- LZO compression type is now supported.
0e908e
0e908e
* Mon Sep 6 2010 Dan Horák <dan[at]danny.cz> - 4.1-0.5.20100827
0e908e
- Add fixes for big-endian machines
0e908e
0e908e
* Sat Aug 28 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-0.4.20100827
0e908e
- Rebase to latest upstream.
0e908e
- The main reason is to pick up a fix for large xattr similar to the large inode fix. This doesn't need to get backported as 4.0 doesn't have xattr support.
0e908e
- An option was added to build without xattr support.
0e908e
- Various source cleanups have been done as well.
0e908e
0e908e
* Tue Aug 03 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-0.3.20100803
0e908e
- Rebase to latest upstream
0e908e
- Prevent warning message for xattr for virtual directory
0e908e
- Fix issue with large inodes - BZ 619020
0e908e
0e908e
* Tue Jul 27 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-0.2.20100727
0e908e
- Rebase to latest upstream devel state. Mostly xattr fixes and cleanup.
0e908e
0e908e
* Tue Jun 08 2010 Bruno Wolff III <bruno@wolff.to> - 4.1-0.1.20100607
0e908e
- Rebase to 4.1 prerelease with xz wrapper
0e908e
- Provides lzma compression as an option.
0e908e
- squashfs-fix-unsquashing-v3.patch is part of the 4.1 prerelease
0e908e
0e908e
* Wed May 5 2010 Kyle McMartin <kyle@redhat.com> 4.0-4
0e908e
- squashfs-fix-unsquashing-v3.patch: pull in fix from cvs. Thanks pkl!
0e908e
  (rhbz#523504)
0e908e
0e908e
* Thu Feb 18 2010 Kyle McMartin <kyle@redhat.com> 4.0-3
0e908e
- Update to release tarball as opposed to cvs snapshot.
0e908e
- Add dist tag.
0e908e
0e908e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-2
0e908e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0e908e
0e908e
* Sun Apr 05 2009 Kyle McMartin <kyle@redhat.com> - 4.0-1
0e908e
- Update to release 4.0
0e908e
0e908e
* Mon Mar 16 2009 Kyle McMartin <kyle@redhat.com> - 4.0-0.20090316
0e908e
- update to cvs snap from 2009-03-16.
0e908e
0e908e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.20090126
0e908e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0e908e
0e908e
* Mon Jan 26 2009 Kyle McMartin <kyle@redhat.com> - 4.0-0.20090125
0e908e
- update to cvs snap that should unbreak big endian machines creating
0e908e
  little endian fs.
0e908e
0e908e
* Mon Jan 12 2009  <katzj@redhat.com> - 4.0-0.20090112
0e908e
- update to cvs snap that generates v4.0 images
0e908e
0e908e
* Tue Sep 30 2008 Jeremy Katz <katzj@redhat.com> - 3.4-1
0e908e
- update to 3.4
0e908e
0e908e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.3-2
0e908e
- Autorebuild for GCC 4.3
0e908e
0e908e
* Fri Dec 14 2007 Jeremy Katz <katzj@redhat.com> - 3.3-1
0e908e
- Update to 3.3
0e908e
0e908e
* Wed Sep  5 2007 Jeremy Katz <katzj@redhat.com> - 3.2-2
0e908e
- fixes from package review (#226430)
0e908e
0e908e
* Tue Mar 20 2007 Jeremy Katz <katzj@redhat.com> - 3.2-1
0e908e
- update to 3.2r2
0e908e
0e908e
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.0-4
0e908e
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
0e908e
0e908e
* Mon Sep 18 2006 Jeremy Katz <katzj@redhat.com> - 3.0-3
0e908e
- updated fragment size patch (#204638)
0e908e
0e908e
* Wed Aug 16 2006 Jeremy Katz <katzj@redhat.com> - 3.0-2
0e908e
- add upstream patch for fragment size problem (#202663)
0e908e
0e908e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0-1.1
0e908e
- rebuild
0e908e
0e908e
* Fri Jun 23 2006 Jeremy Katz <katzj@redhat.com> - 3.0-1
0e908e
- update to 3.0
0e908e
- include unsquashfs
0e908e
0e908e
* Tue May 16 2006 Jeremy Katz <katzj@redhat.com> 
0e908e
- add BR on zlib-devel (Andreas Thienemann, #191880)
0e908e
0e908e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2r2-2.2.1
0e908e
- bump again for double-long bug on ppc(64)
0e908e
0e908e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2r2-2.2
0e908e
- rebuilt for new gcc4.1 snapshot and glibc changes
0e908e
0e908e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0e908e
- rebuilt
0e908e
0e908e
* Thu Dec  1 2005 Jeremy Katz <katzj@redhat.com> - 2.2r2-1
0e908e
- Initial build
0e908e