diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-20 02:03:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-20 02:03:38 +0000 |
commit | 21fec5f6433bc9be402779538fc689d37bbc4540 (patch) | |
tree | 8e08e3d5cc03fb1150b66c5f2f39e33bd440230e /sys-fs | |
parent | Added ~arm keyword (diff) | |
download | historical-21fec5f6433bc9be402779538fc689d37bbc4540.tar.gz historical-21fec5f6433bc9be402779538fc689d37bbc4540.tar.bz2 historical-21fec5f6433bc9be402779538fc689d37bbc4540.zip |
Add fixes from upstream #292011 by Nicolas Dufresne.
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/dosfstools/Manifest | 14 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/ChangeLog | 11 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/Manifest | 15 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/files/squashfs-tools-4.0-progress-bar.patch | 36 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/files/squashfs-tools-4.0-read-ret.patch | 23 | ||||
-rw-r--r-- | sys-fs/squashfs-tools/squashfs-tools-4.0-r1.ebuild | 45 |
6 files changed, 125 insertions, 19 deletions
diff --git a/sys-fs/dosfstools/Manifest b/sys-fs/dosfstools/Manifest index e1da6778c0f9..ee4764a8d9a6 100644 --- a/sys-fs/dosfstools/Manifest +++ b/sys-fs/dosfstools/Manifest @@ -1,20 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - +DIST dosfstools-3.0.10.tar.bz2 69718 RMD160 5019fe61d822f0c375e13b136dd8709490888338 SHA1 e73e54fcd39408514c5fa20bb34a53f4eca00d38 SHA256 c8f6155c329c90e6bffdb339d702301316aeb6b365d95dcebd1cdc9968ad9162 DIST dosfstools-3.0.2.tar.bz2 63230 RMD160 bd5024de874ec16d8873e2e4900c7b5e1c9ff8d0 SHA1 9358365137e6bcc83ce2ac99067887b08b513777 SHA256 75eaf43c2f73f30a5aac1cf375438960be83f46a3eadbb377fe34cedd848de4f DIST dosfstools-3.0.5.tar.bz2 65866 RMD160 2c7d51b0723bbd0bbbf7e08c53496babb379b762 SHA1 486468ed8db804533447eaf2502fa0a3f6be19a2 SHA256 da72e4ed26f3222c0b9de84e337264100df1d24d3ea8645a956103980561a77a DIST dosfstools-3.0.7.tar.bz2 67624 RMD160 cce75693d82bb1ab7eaa2a4171b407a3a58b8662 SHA1 c4f5bb2f6edf105170d7aba8fdd1d886b44042c9 SHA256 11b4918a75743279f605e8f85a242da62f31cd06426a29b8592382e11b298ebd DIST dosfstools-3.0.9.tar.bz2 69186 RMD160 3706dfc175ab19b058e4b7fb185a55bbfcd39e37 SHA1 9e2b458e6aa4fabb152a49dc6367a50a625d08dd SHA256 3f63676faeac507e909d84c8920ddb6597da1eb688577c2fc9c756b821d0458f +EBUILD dosfstools-3.0.10.ebuild 973 RMD160 97145b5540b65209a445ac13ae719f513e8ea822 SHA1 ebc9f745148c0ff6a73470ea2fcf62bd87f2a730 SHA256 fbb1b9d8232135ebec6e57dabb9fd666a57bfa1a0a3a7aecd624d687fa856895 EBUILD dosfstools-3.0.2.ebuild 977 RMD160 a9885761cb64b6e37add43ea981f09fb75b730ae SHA1 af152485ed0f073fd4db6e982bd5780d9c184a58 SHA256 0c42019419c093857274821a42dcdb11ced875fb8f7ab8e1c5365eccc66ffeed EBUILD dosfstools-3.0.5.ebuild 988 RMD160 94a40e747bd06c14cce591d4ee0cc2471e65052a SHA1 f0b823f48acd2c4374c44e1b37263e5057305e90 SHA256 507500070f5aa05923b3ac7dd3afda955a70481375a9e0c004b37ebd21e59993 EBUILD dosfstools-3.0.7.ebuild 988 RMD160 79ebfc08b329baaa6656c045ae8ff329ba520dab SHA1 fc41483f9a766f3cf7c5fcd5285c22167f41b42b SHA256 947907aa27951359e054f756207ba9589d1289b6ee12d5a89cb14458d39d23aa EBUILD dosfstools-3.0.9.ebuild 975 RMD160 96fcf081e32eff2ed8e4dc1df3ad56611c8c91ef SHA1 97372085a8e587a619a1881a15bf73287bd87fa7 SHA256 bfebcd610668ac94f0f873b2af27ff742cee18d80c6cd2b118378d30008e3867 -MISC ChangeLog 9875 RMD160 53673961b2ff2ec1d40b5a7dbae7a759bbaf04fc SHA1 644bd18adf98dafccd6d44d5850e20a20ceb1e6f SHA256 836e5b03a6147dac8a66aaab84e120db8a269c3c52849d7ad0c708e85cf9abc4 +MISC ChangeLog 10026 RMD160 c5057b0bd55c9e8b314b2ae16a6f495dcb9e1245 SHA1 35be418ca055b4e4e6240e470eb6536a881a93bb SHA256 c38d9d6413e1620c26d11a72ac372ad4e08187afa6a41171bde15f9bdecd7f36 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iF4EAREIAAYFAkubEIYACgkQTwhj9JtAlp5TsQD/czlncVnQ9WBKvc16ZoHa+P8p -ZuA2YClhIJIQDdInyH0A/1l6VZsH/ymw9kn7DO28ECuJ3BffDiY2j5q9muoNeQX7 -=dr3S ------END PGP SIGNATURE----- diff --git a/sys-fs/squashfs-tools/ChangeLog b/sys-fs/squashfs-tools/ChangeLog index c1e1f4130789..b05a977da65b 100644 --- a/sys-fs/squashfs-tools/ChangeLog +++ b/sys-fs/squashfs-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-fs/squashfs-tools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.68 2009/12/07 23:01:46 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.69 2010/09/20 02:03:38 vapier Exp $ + +*squashfs-tools-4.0-r1 (20 Sep 2010) + + 20 Sep 2010; Mike Frysinger <vapier@gentoo.org> + +squashfs-tools-4.0-r1.ebuild, +files/squashfs-tools-4.0-progress-bar.patch, + +files/squashfs-tools-4.0-read-ret.patch: + Add fixes from upstream #292011 by Nicolas Dufresne. 07 Dec 2009; Mike Frysinger <vapier@gentoo.org> squashfs-tools-4.0.ebuild: Fix building on non-glibc systems #276951 by Ed Wildgoose. diff --git a/sys-fs/squashfs-tools/Manifest b/sys-fs/squashfs-tools/Manifest index 8ad1b12f8e16..5dfaf0bd7b91 100644 --- a/sys-fs/squashfs-tools/Manifest +++ b/sys-fs/squashfs-tools/Manifest @@ -1,19 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 AUX squashfs-tools-3.3-posix.patch 1596 RMD160 46ea11e6aa28e8c2bc1e2c1835a8af954f6012c3 SHA1 2a56a393efe06a44e9677cd3b40f0d2318236f73 SHA256 9e75c5d8aec9c36dd4096347cd258d957903d1c8f6bec36d98654bb42f868ed8 +AUX squashfs-tools-4.0-progress-bar.patch 1178 RMD160 030db9e54dbf5e893605e5f903d865111ee2af37 SHA1 d5191a51dedf667c3bb5567e0d5640e87fcf2e74 SHA256 c9dcfb9fda91f55bc379e5d55c2fa3f5b869b54a3dd25c80df17157dca6781fa +AUX squashfs-tools-4.0-read-ret.patch 846 RMD160 e7ae99f8c9184ef3d875a24726cd6159e735ebfc SHA1 2a0e68fa1689417e2574ff0723638d6fdd8aff11 SHA256 ca968e8a2b4d59c1745a2ec1c076b988d675655abd47297bb83a076dfb7fc555 DIST squashfs3.2-r2.tar.gz 314764 RMD160 6f21ad0ee90e4b5c6ad2b0b92c96d24af8e19531 SHA1 e38c16c09435291b2c97aa0a321c29da442ff686 SHA256 8482465d58d78099c608b32fc034921f7c8c3cf7934b5edc68c463cd450b40a7 DIST squashfs3.4.tar.gz 352660 RMD160 e75c9a9e5220e80a8e321536f8fe8372bfe5d830 SHA1 6933a8f3098d94f93ec4002a54026b15a6e11640 SHA256 9ea1a9b3bd4f387ca11b5e96f00f8ae996fb81c4c7ad41f7c7f359917628a339 DIST squashfs4.0.tar.gz 103979 RMD160 b67dd14ff7255d245617466566ac29d9a08aff68 SHA1 3efe764ac27c507ee4a549fc6507bc86ea0660dd SHA256 18948edbe06bac2c4307eea99bfb962643e4b82e5b7edd541b4d743748e12e21 EBUILD squashfs-tools-3.2_p2.ebuild 1095 RMD160 183da75ffb969db6643876ac210b3da24fcd5862 SHA1 c7b8541bc6ee289483e15a0e2c3c19124286311f SHA256 d15c128da2c5cdc64a4376e468cf5f04289c7d9408b4c04fbb9a434d2e865bcb EBUILD squashfs-tools-3.4.ebuild 1095 RMD160 e08fe76143ca1af554806eb8eb3cd3f55021b651 SHA1 34b3e4eebf02b912f4dc7fa894239093037e2603 SHA256 5b66ce00377cd0d4e0cd1628de4cc9e1340e80685d41d6f36166e1f258cb3237 +EBUILD squashfs-tools-4.0-r1.ebuild 1214 RMD160 b5651766c212798115cfbf4081b48e451916e065 SHA1 53c0fd207d2000d180f7f53776aafa639554cc53 SHA256 d8cea6efce7725cfec993dbc5eae1669b289f4b5fd85fd7f12fcdada0f828773 EBUILD squashfs-tools-4.0.ebuild 1089 RMD160 a80aba63e0cd09dc748ddcfa5211e3051f643397 SHA1 a3fa0234c2d8cc463ff6b49bcdf3607ffab0339b SHA256 8dbc239955176e66eac70075d0e581c0407bfea5b6ed2b4fe0c7e6a81ec78faf -MISC ChangeLog 11090 RMD160 09da6c72b9c310e3a9da72ea91b16043a80da09b SHA1 957c44b767524c9f0397cb065373013d1dbdad4a SHA256 251fbf643cc0c2a53ffbbca8ac8fc3676dd161fd89d6ba1dcdb8737b84082868 +MISC ChangeLog 11357 RMD160 afcb2ba7c3a03f94639070925ccb21ee6fb8d100 SHA1 4926b8437893f33c8157db23ba83a3e3bedb906c SHA256 bdf2534763a278667c5bc80dcd1d9efe254ba7764536223f325777edc5e006ae MISC metadata.xml 159 RMD160 8db5ed254a6b9baf8f53368da9e71c5532a46073 SHA1 1e72098aafb1fa729eba6fc8357c7e732eb79dee SHA256 b6e17484225400d76c65d178bf5a10dc0a8da7f345993c2acc63d1093a77c90d -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAksdiWYACgkQlPl3HsVfCDoNlQCfUZ71yzRVJEcKAwqjjFuxMO1h -9RIAn2DaxGMkTBfOqNRSxgx/EEAyHOzY -=NG+O +iF4EAREIAAYFAkyWwOkACgkQTwhj9JtAlp7H2QEAvu8pJBc0xf4SAYXVedrTgDA7 +ikihyBl3JIa4I2pg8JcBALbGdh3iRY5RCoAgRJh61vnMtkf6HPEyNM0JjBTJKgtP +=hn5e -----END PGP SIGNATURE----- diff --git a/sys-fs/squashfs-tools/files/squashfs-tools-4.0-progress-bar.patch b/sys-fs/squashfs-tools/files/squashfs-tools-4.0-progress-bar.patch new file mode 100644 index 000000000000..4efb8ff90a25 --- /dev/null +++ b/sys-fs/squashfs-tools/files/squashfs-tools-4.0-progress-bar.patch @@ -0,0 +1,36 @@ +http://bugs.gentoo.org/292011 + +revision 1.121 +date: 2010/03/08 01:30:17; author: plougher; state: Exp; lines: +10 -5 +Fix floating point error in progress_bar when max == 0 + +Index: unsquashfs.c +=================================================================== +RCS file: /cvsroot/squashfs/squashfs/squashfs-tools/unsquashfs.c,v +retrieving revision 1.120 +retrieving revision 1.121 +diff -u -p -r1.120 -r1.121 +--- squashfs-tools/unsquashfs.c 7 Mar 2010 03:16:46 -0000 1.120 ++++ squashfs-tools/unsquashfs.c 8 Mar 2010 01:30:17 -0000 1.121 +@@ -1871,12 +1871,17 @@ void update_progress_bar() + void progress_bar(long long current, long long max, int columns) + { + char rotate_list[] = { '|', '/', '-', '\\' }; +- int max_digits = floor(log10(max)) + 1; +- int used = max_digits * 2 + 11; +- int hashes = (current * (columns - used)) / max; +- int spaces = columns - used - hashes; ++ int max_digits, used, hashes, spaces; + static int tty = -1; + ++ if(max == 0) ++ return; ++ ++ max_digits = floor(log10(max)) + 1; ++ used = max_digits * 2 + 11; ++ hashes = (current * (columns - used)) / max; ++ spaces = columns - used - hashes; ++ + if((current > max) || (columns - used < 0)) + return; + diff --git a/sys-fs/squashfs-tools/files/squashfs-tools-4.0-read-ret.patch b/sys-fs/squashfs-tools/files/squashfs-tools-4.0-read-ret.patch new file mode 100644 index 000000000000..f57d49c0eed5 --- /dev/null +++ b/sys-fs/squashfs-tools/files/squashfs-tools-4.0-read-ret.patch @@ -0,0 +1,23 @@ +http://bugs.gentoo.org/292011 + +revision 1.21 +date: 2009/04/21 00:59:16; author: plougher; state: Exp; lines: +1 -1 +Fix return in read_fragment_table_4 + +Index: squashfs-tools/unsquash-4.c +=================================================================== +RCS file: /cvsroot/squashfs/squashfs/squashfs-tools/unsquash-4.c,v +retrieving revision 1.20 +retrieving revision 1.21 +diff -u -p -r1.20 -r1.21 +--- squashfs-tools/unsquash-4.c 31 Mar 2009 04:38:53 -0000 1.20 ++++ squashfs-tools/unsquash-4.c 21 Apr 2009 00:59:16 -0000 1.21 +@@ -38,7 +38,7 @@ int read_fragment_table_4() + sBlk.fragment_table_start); + + if(sBlk.fragments == 0) +- return; ++ return TRUE; + + if((fragment_table = malloc(sBlk.fragments * + sizeof(squashfs_fragment_entry))) == NULL) diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.0-r1.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.0-r1.ebuild new file mode 100644 index 000000000000..c6e60fda7dbb --- /dev/null +++ b/sys-fs/squashfs-tools/squashfs-tools-4.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0-r1.ebuild,v 1.1 2010/09/20 02:03:38 vapier Exp $ + +inherit toolchain-funcs eutils + +MY_PV=${PV} +DESCRIPTION="Tool for creating compressed filesystem type squashfs" +HOMEPAGE="http://squashfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/squashfs/squashfs${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="sys-libs/zlib" + +S=${WORKDIR}/squashfs${MY_PV}/squashfs-tools + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:-O2:$(CFLAGS):' \ + -e '/-lz/s:$: $(LDFLAGS):' \ + Makefile || die "sed failed" + sed -i -e 's:get_nprocs():sysconf(_SC_NPROCESSORS_ONLN):' *.c + epatch "${FILESDIR}"/${P}-read-ret.patch #292011 + epatch "${FILESDIR}"/${P}-progress-bar.patch #292011 +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin mksquashfs unsquashfs || die + cd .. + dodoc README ACKNOWLEDGEMENTS CHANGES PERFORMANCE.README +} + +pkg_postinst() { + ewarn "This version of mksquashfs requires a 2.6.29 kernel or better" +} |