[Frugalware-git] frugalware-current: squashfs-3.2_r2-5-i686

Miklos Vajna vmiklos at frugalware.org
Sat Nov 3 14:24:35 CET 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d8ff6483b4b3eca21735ddf1697f98bfa39655bb

commit d8ff6483b4b3eca21735ddf1697f98bfa39655bb
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sat Nov 3 14:10:49 2007 +0100

squashfs-3.2_r2-5-i686
bin, moved to the fwlive repo

diff --git a/source/apps-extra/squashfs/FrugalBuild b/source/apps-extra/squashfs/FrugalBuild
deleted file mode 100644
index 7e82bd9..0000000
--- a/source/apps-extra/squashfs/FrugalBuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Compiling Time: 0.26 SBU
-# Maintainer: VMiklos <vmiklos at frugalware.org>
-
-pkgname=squashfs
-pkgver=3.2_r2
-kver=2.6.22-1
-kdir=/lib/modules/${kver/-/-fw}/kernel/fs/squashfs
-pkgrel=5
-pkgdesc="A highly compressed read-only filesystem for Linux."
-depends=('zlib' "kernel-fwlive=$kver")
-makedepends=("kernel-fwlive-source=$kver")
-groups=('apps-extra')
-archs=('i686' 'x86_64')
-#_F_kernel_name="-fwlive"
-Finclude sourceforge
-up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=63835|grep squashfs[0-9]|sed 's/[^]]*][^]]*]squashfs\([^ ]*\) .*/\1/;s/-/_/g;q'"
-source=(${source/squashfs-/squashfs} \
-	http://$_F_sourceforge_mirror.dl.sourceforge.net/sevenzip/lzma443.tar.bz2 \
-	ftp://ftp.slax.org/source/slax/kernel/2.6.21.5/src-core/patches/squashfs/sqlzma.tar.bz2 \
-	mksquashfs.quiet.patch)
-options=('scriptlet')
-
-build()
-{
-	rm -rf lzma443
-	mkdir -p lzma443 || Fdie
-	tar -C lzma443 -xf lzma443.tar.bz2 || Fdie
-	rm sqlzma2k-3.2-r2.patch
-	patch -p0 <sqlzma2u-3.2-r2.patch || Fdie
-	patch -p0 <mksquashfs.quiet.patch || Fdie
-	if [ "$CARCH" == "x86_64" ]; then
-		sed -i 's/-Werror//' sqlzma1-443.patch || Fdie
-		sed -i 's/-Werror//' Makefile || Fdie
-	fi
-	patch -p0 <sqlzma1-443.patch || Fdie
-#	cat *.patch | patch -p0 || return 1
-	cp -a /usr/src/linux/ ./
-	sed -i "s|KDir =.*|KDir = $Fsrcdir/linux|" Makefile || Fdie
-	sed -i "s|SqFs =.*|SqFs = $Fsrcdir/linux/fs/squashfs|" Makefile || Fdie
-
-	make || Fdie
-
-	Fmkdir $kdir
-	Ffilerel linux/fs/squashfs/squashfs.ko $kdir
-	Ffilerel lzma443/C/7zip/Compress/LZMA_C/kmod/{un,sq}lzma.ko $kdir
-	Fexerel squashfs${pkgver/_/-}/squashfs-tools/{mk,un}squashfs /usr/bin/
-}
-
-sha1sums=('e38c16c09435291b2c97aa0a321c29da442ff686' \
-          '1667abfb40da82d53fa2690f3cd58a0e7e751e55' \
-          '26e02ccaabd4b0c1bcf1452c6aa42644954959d6' \
-          '910679b57a7b30f2969cc9e8fd622d0b6a237bcd')
-# optimization OK
diff --git a/source/apps-extra/squashfs/mksquashfs.quiet.patch b/source/apps-extra/squashfs/mksquashfs.quiet.patch
deleted file mode 100644
index 0eadcb4..0000000
--- a/source/apps-extra/squashfs/mksquashfs.quiet.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- squashfs3.2-r2/squashfs-tools/mksquashfs.c	2007-01-16 01:33:13.000000000 +0000
-+++ squashfs3.2-r2/squashfs-tools/mksquashfs.c.new	2007-01-18 18:59:44.623963706 +0000
-@@ -1832,17 +1832,17 @@
- 	if(!progress || columns - used < 0)
- 		return;
-
--	printf("\r[");
-+	fprintf(stderr,"\r[");
-
- 	while (hashes --)
--		putchar('=');
-+		fprintf(stderr,"=");
-
- 	while(spaces --)
--		putchar(' ');
-+		fprintf(stderr," ");
-
--	printf("] %*lld/%*lld", max_digits, current, max_digits, max);
--	printf(" %3lld%%", current * 100 / max);
--	fflush(stdout);
-+	fprintf(stderr,"] %*lld/%*lld", max_digits, current, max_digits, max);
-+	fprintf(stderr," %3lld%%", current * 100 / max);
-+	fflush(stderr);
- 	return 0;
- }
-


More information about the Frugalware-git mailing list