/[packages]/updates/1/squashfs-tools/current/SPECS/squashfs-tools.spec
ViewVC logotype

Contents of /updates/1/squashfs-tools/current/SPECS/squashfs-tools.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 338304 - (show annotations) (download)
Thu Jan 3 19:11:50 2013 UTC (11 years, 2 months ago) by luigiwalser
File size: 1050 byte(s)
- unsquashfs: add checks for corrupted data in opendir functions
- compressors: mksquashfs/unsquashfs broken if GZIP_SUPPORT is not defined
- add patches from fedora to fix CVE-2012-4024 and CVE-2012-4025 (mga#8448)

1 %define sqname squashfs
2 %define sqver 4.2
3 %define subrel 1
4 %define release %mkrel 1
5 %define Summary Utilities for the creation of compressed squashfs images
6
7 Name: %{sqname}-tools
8 Version: %{sqver}
9 Release: %{release}
10 Summary: %{Summary}
11 License: GPL
12 Group: File tools
13 URL: http://squashfs.sourceforge.net/
14 Source0: %{sqname}%{sqver}.tar.gz
15 Patch0: unsquashfs-add-checks-for-corrupted-data-in-opendir-functions.patch
16 Patch1: compressors-mksquashfs-unsquashfs-broken-if-GZIP_SUPPORT-is-not-defined.patch
17 Patch2: path-issue.patch
18 Patch3: buffer-issue.patch
19 BuildRequires: zlib-devel attr-devel lzma-devel
20
21 %description
22 squashfs-tools are utilities for the creation of compressed squashfs images.
23
24 %prep
25 %setup -q -n %{sqname}%{sqver}
26 %apply_patches
27
28 %build
29 cd squashfs-tools
30 %make XZ_SUPPORT=1 COMP_DEFAULT=xz
31
32 %install
33 rm -rf %{buildroot}
34 install -d %{buildroot}%{_bindir}
35 cd squashfs-tools
36 install -m 755 mksquashfs unsquashfs %{buildroot}%{_bindir}
37
38 %clean
39 rm -rf %{buildroot}
40
41 %files
42 #%doc README
43 %{_bindir}/mksquashfs
44 %{_bindir}/unsquashfs

  ViewVC Help
Powered by ViewVC 1.1.30