update to 4.4 [release 4.4-1mamba;Thu Dec 31 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:05:08 +01:00
parent d354d404dc
commit 953dc3ca9c
3 changed files with 58 additions and 31 deletions

View File

@ -1,22 +0,0 @@
--- squashfs4.2.orig/squashfs-tools/Makefile 2011-02-28 21:04:15.000000000 +0100
+++ squashfs4.2/build/squashfs-tools/Makefile 2011-03-02 14:21:00.776818880 +0100
@@ -37,7 +37,7 @@
# LZO_SUPPORT line below. If needed, uncomment and set LZO_DIR to the
# installation prefix.
#
-#LZO_SUPPORT = 1
+LZO_SUPPORT = 1
#LZO_DIR = /usr/local
########### Building LZMA support #############
@@ -58,8 +58,8 @@
# and uncomment the LZMA_SUPPORT line below.
#
#LZMA_XZ_SUPPORT = 1
-#LZMA_SUPPORT = 1
-#LZMA_DIR = ../../../../LZMA/lzma465
+LZMA_SUPPORT = 1
+LZMA_DIR = ../..
######## Specifying default compression ########
#

View File

@ -0,0 +1,38 @@
--- squashfs4.4/squashfs-tools/Makefile.orig 2020-12-31 18:14:20.736633721 +0000
+++ squashfs4.4/squashfs-tools/Makefile 2020-12-31 18:18:43.416195072 +0000
@@ -30,7 +30,7 @@
# To build install the library and uncomment
# the XZ_SUPPORT line below.
#
-#XZ_SUPPORT = 1
+XZ_SUPPORT = 1
############ Building LZO support ##############
@@ -44,7 +44,7 @@
# To build install the library and uncomment
# the XZ_SUPPORT line below.
#
-#LZO_SUPPORT = 1
+LZO_SUPPORT = 1
########### Building LZ4 support #############
@@ -60,7 +60,7 @@
# To build install and uncomment
# the LZ4_SUPPORT line below.
#
-#LZ4_SUPPORT = 1
+LZ4_SUPPORT = 1
########### Building ZSTD support ############
@@ -76,7 +76,7 @@
# To build install the library and uncomment
# the XZ_SUPPORT line below.
#
-#ZSTD_SUPPORT = 1
+ZSTD_SUPPORT = 1
######## Specifying default compression ########

View File

@ -1,38 +1,45 @@
Name: squashfs Name: squashfs
Version: 4.2 Version: 4.4
Release: 2mamba Release: 1mamba
Summary: Tools for squashsh, a compressed read-only filesystem for Linux Summary: Tools for Squashfs, a compressed read-only filesystem for Linux
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://squashfs.sourceforge.net/ URL: http://squashfs.sourceforge.net/
Source: http://heanet.dl.sourceforge.net/sourceforge/squashfs/squashfs%{version}.tar.gz Source: http://downloads.sourceforge.net/sourceforge/squashfs/squashfs%{version}.tar.gz
Source1: http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2 Source1: http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2
Patch0: %{name}-4.0-lzma.patch Patch0: %{name}-4.0-lzma.patch
Patch1: %{name}-4.2-Makefile_config.patch Patch1: %{name}-4.4-Makefile_config.patch
Patch2: %{name}-4.2-Makefile_xz.patch Patch2: %{name}-4.2-Makefile_xz.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Squashfs is a compressed read-only filesystem for Linux. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The filesystem is currently stable, and has been tested on PowerPC, i586, Sparc and ARM architectures. Squashfs is a compressed read-only filesystem for Linux. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. The filesystem is currently stable, and has been tested on PowerPC, i586, Sparc and ARM architectures.
%debug_package
%prep %prep
%setup -q -n %{name}%{version} -a1 %setup -q -n %{name}%{version} -a1
#%patch0 -p0
%patch1 -p1 %patch1 -p1
%patch2 -p1 #%patch2 -p1
%build %build
mkdir build mkdir build
mv squashfs-tools build mv squashfs-tools build
cd build/squashfs-tools cd build/squashfs-tools
%make %make \
EXTRA_CFLAGS+="-fcommon"
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -47,9 +54,13 @@ install -D -m 0755 unsquashfs %{buildroot}%{_bindir}/unsquashfs
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/mksquashfs %{_bindir}/mksquashfs
%{_bindir}/unsquashfs %{_bindir}/unsquashfs
%doc CHANGES COPYING README %doc CHANGES COPYING
#README
%changelog %changelog
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-1mamba
- update to 4.4
* Sat May 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-2mamba * Sat May 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-2mamba
- rebuilt with xz support - rebuilt with xz support