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