summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-05 20:35:19 +0100
committerJustin Lecher <jlec@gentoo.org>2011-12-05 20:35:19 +0100
commitac548dd490276bd7dbbd86eea6c4adb09612c04e (patch)
treeaf14be347397ffe525c099aae41f8e46427872aa /app-arch/lbzip2
parentAdopted to changes in HEAD (diff)
downloadbetagarden-ac548dd490276bd7dbbd86eea6c4adb09612c04e.tar.gz
betagarden-ac548dd490276bd7dbbd86eea6c4adb09612c04e.tar.bz2
betagarden-ac548dd490276bd7dbbd86eea6c4adb09612c04e.zip
Added live ebuild
(Portage version: 2.2.0_alpha79/git/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'app-arch/lbzip2')
-rw-r--r--app-arch/lbzip2/ChangeLog125
-rw-r--r--app-arch/lbzip2/Manifest15
-rw-r--r--app-arch/lbzip2/files/0.23-s_isreg.patch11
-rw-r--r--app-arch/lbzip2/files/2.1-crc-missmatch.patch16
-rw-r--r--app-arch/lbzip2/lbzip2-9999.ebuild48
-rw-r--r--app-arch/lbzip2/metadata.xml16
6 files changed, 231 insertions, 0 deletions
diff --git a/app-arch/lbzip2/ChangeLog b/app-arch/lbzip2/ChangeLog
new file mode 100644
index 0000000..a6f08a3
--- /dev/null
+++ b/app-arch/lbzip2/ChangeLog
@@ -0,0 +1,125 @@
+# ChangeLog for app-arch/lbzip2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/ChangeLog,v 1.29 2011/11/28 12:12:52 jlec Exp $
+
+*lbzip2-9999 (05 Dec 2011)
+
+ 05 Dec 2011; Justin Lecher <jlec@gentoo.org> +files/0.23-s_isreg.patch,
+ +files/2.1-crc-missmatch.patch, +lbzip2-9999.ebuild, +metadata.xml:
+ Added live ebuild
+
+*lbzip2-2.1-r1 (28 Nov 2011)
+
+ 28 Nov 2011; Justin Lecher <jlec@gentoo.org> +files/2.1-crc-missmatch.patch,
+ +lbzip2-2.1-r1.ebuild:
+ Fixes crc missmatch, https://github.com/kjn/lbzip2/issues/5
+
+ 28 Nov 2011; Justin Lecher <jlec@gentoo.org> lbzip2-2.1.ebuild:
+ Keyworded for prefix, tested by me
+
+*lbzip2-2.1 (24 Nov 2011)
+
+ 24 Nov 2011; Justin Lecher <jlec@gentoo.org> -lbzip2-2.0.ebuild,
+ +lbzip2-2.1.ebuild:
+ Version Bump, fixes https://github.com/kjn/lbzip2/issues/4 which was rated to
+ be a security lack in addition to the function loss.
+
+ 20 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> lbzip2-0.23-r2.ebuild:
+ ppc64 stable wrt #370685
+
+ 06 Nov 2011; Brent Baude <ranger@gentoo.org> lbzip2-0.23-r2.ebuild:
+ Marking lbzip2-0.23-r2 ppc for bug 370685
+
+*lbzip2-2.0 (03 Nov 2011)
+
+ 03 Nov 2011; Justin Lecher <jlec@gentoo.org> +lbzip2-2.0.ebuild,
+ metadata.xml:
+ Version Bump, #389389; thanks Tim Harder for the updated ebuild
+
+ 23 Oct 2011; Raúl Porcel <armin76@gentoo.org> lbzip2-0.23-r2.ebuild:
+ alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #370685
+
+ 13 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> lbzip2-0.23-r2.ebuild:
+ x86 stable wrt bug #370685
+
+ 13 Oct 2011; Tony Vroon <chainsaw@gentoo.org> lbzip2-0.23-r2.ebuild:
+ Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
+ Elijah "Armageddon" El Lazkani in bug #370685.
+
+ 06 Sep 2011; Naohiro Aota <naota@gentoo.org> lbzip2-0.23-r2.ebuild:
+ Add ~x86-fbsd. Bug #370685
+
+ 15 Aug 2011; Matt Turner <mattst88@gentoo.org> -files/0.20-Makefile.patch,
+ -lbzip2-0.20.ebuild, -lbzip2-0.22.ebuild, -lbzip2-0.23.ebuild,
+ -lbzip2-0.23-r1.ebuild, -files/0.22-Makefile.patch, lbzip2-0.23-r2.ebuild:
+ Remove old versions.
+
+ 14 Aug 2011; Matt Turner <mattst88@gentoo.org> +files/0.23-test.sh.patch,
+ lbzip2-0.23-r2.ebuild:
+ Don't use lfs.sh from test.sh. Should help BSD.
+
+*lbzip2-0.23-r2 (06 Aug 2011)
+
+ 06 Aug 2011; Matt Turner <mattst88@gentoo.org> +files/0.23-Makefile.patch,
+ +lbzip2-0.23-r2.ebuild:
+ BSD fixes: Replaced dependency on app-shells/dash with app-shells/bash; Added
+ option to use freebsd-ubin instead of sys-process/time. Removed
+ _X_OPEN_SOURCE from Makefile. Thanks to Alexis Ballier, Laszlo Ersek, and
+ Naohiro Aota for their suggestions in bug 370685.
+
+ 06 Aug 2011; Matt Turner <mattst88@gentoo.org> metadata.xml:
+ Add myself as a maintainer.
+
+ 10 Jul 2011; Raúl Porcel <armin76@gentoo.org> lbzip2-0.23-r1.ebuild:
+ Add ~ia64/~m68k/~s390/~sh/~sparc wrt #370685
+
+ 12 Jun 2011; Markus Meier <maekke@gentoo.org> lbzip2-0.23-r1.ebuild:
+ add ~arm, bug #370685
+
+ 10 Jun 2011; Justin Lecher <jlec@gentoo.org> lbzip2-0.20.ebuild,
+ lbzip2-0.22.ebuild, lbzip2-0.23.ebuild, lbzip2-0.23-r1.ebuild, metadata.xml:
+ Adopted DESCRIPTION as sugested in bug 370685
+
+ 09 Jun 2011; Jeroen Roovers <jer@gentoo.org> lbzip2-0.23-r1.ebuild:
+ Marked ~hppa (bug #370685).
+
+ 08 Jun 2011; Kacper Kowalik <xarthisius@gentoo.org> lbzip2-0.23-r1.ebuild:
+ Marked ~ppc/~ppc64 wrt #370685
+
+ 08 Jun 2011; Matt Turner <mattst88@gentoo.org> lbzip2-0.23-r1.ebuild:
+ Add ~alpha and ~mips, bug 370685
+
+ 08 Jun 2011; Matt Turner <mattst88@gentoo.org> lbzip2-0.23-r1.ebuild:
+ Add missing sys-devel/bc dependency for USE=test
+
+*lbzip2-0.23-r1 (27 Mar 2010)
+
+ 27 Mar 2010; Justin Lecher <jlec@gentoo.org>
+ +files/0.23-s_isreg.patch, +lbzip2-0.23-r1.ebuild:
+ Add support for symlink decompression #309683
+
+*lbzip2-0.23 (04 Mar 2010)
+
+ 04 Mar 2010; Justin Lecher <jlec@gentoo.org>
+ +lbzip2-0.23.ebuild:
+ Version Bump
+
+*lbzip2-0.22 (19 Feb 2010)
+
+ 19 Feb 2010; Justin Lecher <jlec@gentoo.org>
+ -files/0.21-Makefile.patch, -lbzip2-0.21.ebuild,
+ +files/0.22-Makefile.patch, +lbzip2-0.22.ebuild:
+ Version Bump
+
+*lbzip2-0.21 (18 Feb 2010)
+
+ 18 Feb 2010; Justin Lecher <jlec@gentoo.org>
+ +files/0.21-Makefile.patch, +lbzip2-0.21.ebuild:
+ Version Bump
+
+*lbzip2-0.20 (09 Feb 2010)
+
+ 09 Feb 2010; Justin Lecher <jlec@gentoo.org>
+ +files/0.20-Makefile.patch, +lbzip2-0.20.ebuild, +metadata.xml:
+ Added on request of bug 264002
+ thanks Daniel Lin for initial ebuild
diff --git a/app-arch/lbzip2/Manifest b/app-arch/lbzip2/Manifest
new file mode 100644
index 0000000..de76d06
--- /dev/null
+++ b/app-arch/lbzip2/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX 0.23-s_isreg.patch 350 RMD160 7df41d6497744477c8976a9d04c607cca3863bec SHA1 26c5dab3730669b6bf36f35ce0258ccdf62a5119 SHA256 38c1c133faf8c30440164fad7c1539df555cee606934a3e75ed6a149eeb5d1d6
+AUX 2.1-crc-missmatch.patch 608 RMD160 5b28f1f91925fa2f67dbb8e4482ea1b9c4def8a2 SHA1 0e9cf1c837b0a4b50c3833157b0950c14d7e1a08 SHA256 d2f34a863dc4a9b86f188a7ea3b3c80cd29fcdd46d39ed5255c3307f5b999b9c
+EBUILD lbzip2-9999.ebuild 860 RMD160 4bdf0a12c9476730630978fd2a753efacadb3743 SHA1 e1fe673811544058e34a4ce66ada2509ec68d48c SHA256 eb0d3a62950cac570614eb4735a5ffb455a74947becc0a718546388d876b46e8
+MISC ChangeLog 4472 RMD160 67d493cbc77b77cffa27f774314d367499b74ad1 SHA1 f3c4e11fc750c036151bf6baff5b1817cbf2e3b5 SHA256 00569d38b6d305073864f4dfea4d0964c02f275e412dcba8cff809e685719c2a
+MISC metadata.xml 506 RMD160 59baf943b52d748b7a8c155509224bfc5f4dd2eb SHA1 336b7330c0962cb6ef259d181a30d3ae0956ffd4 SHA256 23c838cae918b805fef6c43f9cf06570ad578cbbe1d6153efc03f1e1fd65f62a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEAREKAAYFAk7dHPcACgkQgAnW8HDreRZtywCfXe2bzN6aH/qUpkcZnkyeK1Gl
+gqkAoNJrJS3Cn9gB0+X0P9d/6hxoFxUD
+=cAdX
+-----END PGP SIGNATURE-----
diff --git a/app-arch/lbzip2/files/0.23-s_isreg.patch b/app-arch/lbzip2/files/0.23-s_isreg.patch
new file mode 100644
index 0000000..aab6832
--- /dev/null
+++ b/app-arch/lbzip2/files/0.23-s_isreg.patch
@@ -0,0 +1,11 @@
+--- main.c.orig 2010-03-03 02:12:45.000000000 +0100
++++ main.c 2010-03-15 10:20:19.562892780 +0100
+@@ -1252,7 +1252,7 @@
+ return -1;
+ }
+
+- if (!S_ISREG(sbuf->st_mode)) {
++ if (!decompress && !S_ISREG(sbuf->st_mode)) {
+ log_warning("%s: skipping \"%s\": not a regular file\n", pname,
+ operand->val);
+ return -1;
diff --git a/app-arch/lbzip2/files/2.1-crc-missmatch.patch b/app-arch/lbzip2/files/2.1-crc-missmatch.patch
new file mode 100644
index 0000000..662eb89
--- /dev/null
+++ b/app-arch/lbzip2/files/2.1-crc-missmatch.patch
@@ -0,0 +1,16 @@
+ src/lbunzip2.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/lbunzip2.c b/src/lbunzip2.c
+index 113be47..67579ea 100644
+--- a/src/lbunzip2.c
++++ b/src/lbunzip2.c
+@@ -1453,7 +1453,7 @@ mux(struct w2m_q *w2m_q, struct m2s_q *m2s_q, struct filespec *ispec,
+ if (w2m_blk->bs100k) {
+ bs100k = w2m_blk->bs100k;
+ any |= (9u >= bs100k);
+- if (crc != w2m_blk->crc)
++ if (0 && crc != w2m_blk->crc)
+ log_fatal("%s: %s%s%s: stream CRC mismatch\n", pname, ispec->sep,
+ ispec->fmt, ispec->sep);
+ crc = 0u;
diff --git a/app-arch/lbzip2/lbzip2-9999.ebuild b/app-arch/lbzip2/lbzip2-9999.ebuild
new file mode 100644
index 0000000..d8418be
--- /dev/null
+++ b/app-arch/lbzip2/lbzip2-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lbzip2/lbzip2-2.1-r1.ebuild,v 1.1 2011/11/28 12:12:52 jlec Exp $
+
+EAPI=4
+
+inherit autotools eutils git-2
+
+DESCRIPTION="Parallel bzip2 utility"
+HOMEPAGE="https://github.com/kjn/lbzip2/"
+SRC_URI=""
+EGIT_REPO_URI="git://github.com/kjn/lbzip2.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="symlink"
+
+RDEPEND=""
+DEPEND="
+ dev-lang/perl
+ dev-libs/gnulib"
+
+src_prepare() {
+ pushd src > /dev/null
+ epatch \
+ "${FILESDIR}"/0.23-s_isreg.patch
+ popd > /dev/null
+
+ sed \
+ -e '/^aclocal/d' \
+ -e '/autoconf/d' \
+ -e '/uatoheader/d' \
+ -e '/automake/d' \
+ -i build-aux/autogen.sh || die
+
+ bash build-aux/autogen.sh
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ if use symlink; then
+ dosym ${PN} /usr/bin/bzip2
+ fi
+}
diff --git a/app-arch/lbzip2/metadata.xml b/app-arch/lbzip2/metadata.xml
new file mode 100644
index 0000000..bf9b027
--- /dev/null
+++ b/app-arch/lbzip2/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>mattst88@gentoo.org</email>
+ <name>Matt Turner</name>
+ </maintainer>
+ <longdescription lang="en">
+ A multi-threaded bzip2/bunzip2 utility that employs multiple threads and an
+ input-bound splitter even when decompressing .bz2 files created by standard
+ bzip2
+ </longdescription>
+</pkgmetadata>