summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-08-30 10:50:04 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-08-30 10:50:04 +0000
commit281c1662b708248a629ce0e66db9f7aef8a59f19 (patch)
treeab43c37422f59bb5c3d3503efa6880ca5a05b963 /app-arch/deb2targz
parentversion bump (diff)
downloadhistorical-281c1662b708248a629ce0e66db9f7aef8a59f19.tar.gz
historical-281c1662b708248a629ce0e66db9f7aef8a59f19.tar.bz2
historical-281c1662b708248a629ce0e66db9f7aef8a59f19.zip
Support for LZMA as written by Oschtan in bug #357703. Ported to EAPI 4.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'app-arch/deb2targz')
-rw-r--r--app-arch/deb2targz/ChangeLog10
-rw-r--r--app-arch/deb2targz/Manifest14
-rw-r--r--app-arch/deb2targz/deb2targz-1-r1.ebuild29
-rw-r--r--app-arch/deb2targz/files/deb2targz-lzma-support.patch18
4 files changed, 68 insertions, 3 deletions
diff --git a/app-arch/deb2targz/ChangeLog b/app-arch/deb2targz/ChangeLog
index 66ca7acf321c..6c2516c8e186 100644
--- a/app-arch/deb2targz/ChangeLog
+++ b/app-arch/deb2targz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/deb2targz
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/deb2targz/ChangeLog,v 1.12 2009/06/19 22:07:35 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/deb2targz/ChangeLog,v 1.13 2011/08/30 10:50:04 chainsaw Exp $
+
+*deb2targz-1-r1 (30 Aug 2011)
+
+ 30 Aug 2011; Tony Vroon <chainsaw@gentoo.org>
+ +files/deb2targz-lzma-support.patch, +deb2targz-1-r1.ebuild:
+ Support for LZMA as written by Oschtan in bug #357703. Ported to EAPI 4.
19 Jun 2009; Brent Baude <ranger@gentoo.org> deb2targz-1.ebuild:
keyworded ~arch for ppc64, bug 272587
diff --git a/app-arch/deb2targz/Manifest b/app-arch/deb2targz/Manifest
index 8772e1d21f7b..bd88348cbdcd 100644
--- a/app-arch/deb2targz/Manifest
+++ b/app-arch/deb2targz/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX deb2targz-lzma-support.patch 571 RMD160 bdd3e1601a28df1b39dd829099ba2cfefb6f6c89 SHA1 3fd16de0cfef8d2fe4e0db3c09cb5bb39eccffe4 SHA256 a045166c93a76538587fdd1c825494e96fa9b5eaac44f3249b8547db69372efd
DIST deb2targz 1947 RMD160 b1d2d064989ac3571bad4afdf73767db9cf963b4 SHA1 171337e6010b024a30388c4a475c889b89c65854 SHA256 f597319db098a9d6b5199e39b8a9ced0973d9ee84927286de4d5816d8e76a44b
+EBUILD deb2targz-1-r1.ebuild 685 RMD160 46c950dd17fb34456f9c12369127b21c42e5262e SHA1 ba4af1f5d4ae9f2180b8880b80d0ab0a6514f9f7 SHA256 dd212fdb4a2114c2bab8b0e15f68551e811904baaecca5b64e1cc615adb9b479
EBUILD deb2targz-1.ebuild 601 RMD160 dda05936e60196d2b03ca61ae84f67298c9795d0 SHA1 e664c5cc174d94c2b37f233ba0f68c5586bd5cae SHA256 4d0be39f146919027afe5a7e8ade93c9255e327b7d28ddfa3cb668f29b86eef8
-MISC ChangeLog 1392 RMD160 34c8aac3a768173e8af1c1195939a1e00aafa151 SHA1 90f1944a4eabef3456ad9e5ec68a59dc6ee76245 SHA256 e02c4c79896da1a2e5dbf3caea8c8d5dcf4730efb3515160f58d46f497442a0a
+MISC ChangeLog 1612 RMD160 6aabb7396e6368326cd0bc6ce8ff22dd37681f2f SHA1 19c2367d857584bc0ed283f3cb0c43f28b2f9d59 SHA256 b6f69895d79a3f4779d61be1bd42638fa192680398423cf8ed886c21a8c511e3
MISC metadata.xml 220 RMD160 2390b6ee3b22f50253c620e2c43e8041469f8fbb SHA1 ecc54fae084220817cadb04cea88ed1f410173da SHA256 ee7ebf67a80d38cd4390f0ef813962c0501b57fb1cad958fba2aa4677da06e8b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk5cwGQACgkQp5vW4rUFj5pYVgCgkWeo/eLmCDyOsqhRyPnLGf5o
+RRsAnRaCGTD5XJZC5DDFwgFJLf6jcYE6
+=jk5l
+-----END PGP SIGNATURE-----
diff --git a/app-arch/deb2targz/deb2targz-1-r1.ebuild b/app-arch/deb2targz/deb2targz-1-r1.ebuild
new file mode 100644
index 000000000000..6155b1c3a48d
--- /dev/null
+++ b/app-arch/deb2targz/deb2targz-1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/deb2targz/deb2targz-1-r1.ebuild,v 1.1 2011/08/30 10:50:04 chainsaw Exp $
+
+EAPI=4
+inherit base
+
+DESCRIPTION="Convert a .deb file to a .tar.gz archive"
+HOMEPAGE="http://www.miketaylor.org.uk/tech/deb/"
+SRC_URI="http://www.miketaylor.org.uk/tech/deb/${PN}"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/perl"
+
+S=${WORKDIR}
+PATCHES=( "${FILESDIR}/${PN}-lzma-support.patch" )
+
+src_unpack() {
+ cp "${DISTDIR}/${PN}" "${S}"
+}
+
+src_install() {
+ dobin ${PN}
+}
diff --git a/app-arch/deb2targz/files/deb2targz-lzma-support.patch b/app-arch/deb2targz/files/deb2targz-lzma-support.patch
new file mode 100644
index 000000000000..3999f6c66977
--- /dev/null
+++ b/app-arch/deb2targz/files/deb2targz-lzma-support.patch
@@ -0,0 +1,18 @@
+--- deb2targz-old 2011-03-07 03:24:22.000000000 +0600
++++ deb2targz 2011-03-07 03:22:20.000000000 +0600
+@@ -59,4 +59,15 @@
+ next FILE;
+ }
++ if ($name eq "data.tar.lzma") {
++ # Found it
++ $data = substr($data, 0, $len);
++ $filename =~ s/\.deb$/.tar.gz/;
++ my $fh = new IO::File(">$filename")
++ or die "can't write '$filename': $!";
++ print $fh $data;
++ $fh->close();
++ print "$0: wrote '$filename'\n";
++ next FILE;
++ }
+
+ print "$0: skipping section '$name'\n";