From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 583A21381F3 for ; Sat, 15 Jun 2013 08:39:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD6F6E07FA; Sat, 15 Jun 2013 08:39:06 +0000 (UTC) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [84.201.143.139]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B040E07F0 for ; Sat, 15 Jun 2013 08:39:05 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward6l.mail.yandex.net (Yandex) with ESMTP id D715414E0CFA; Sat, 15 Jun 2013 12:39:03 +0400 (MSK) Received: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id 8E4851BA0871; Sat, 15 Jun 2013 12:39:03 +0400 (MSK) Received: from host-109-171-17-91.bbcustomer.zsttk.net (host-109-171-17-91.bbcustomer.zsttk.net [109.171.17.91]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id aowlhpFXTU-d3cefP8W; Sat, 15 Jun 2013 12:39:03 +0400 Message-ID: <51BC282E.9020306@mva.name> Date: Sat, 15 Jun 2013 15:39:10 +0700 From: "Vadim A. Misbakh-Soloviov" Organization: Alpha LLC User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130519 Firefox/17.0 Thunderbird/17.0.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org CC: azamat.hackimov@gmail.com Subject: [gentoo-dev] [RFC] unpacker.eclass extensions X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2GVKWDUFAFNGNEQJHXLBO" X-Archives-Salt: db5709d9-a155-4856-be66-fdf81c0d12b0 X-Archives-Hash: f3c333d4ab2b84e4cbeebd22884e0bf2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2GVKWDUFAFNGNEQJHXLBO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable As gamerlay maintainer, I'd be glad to introduce some changes to unpacker.eclass: 1) merging unpacker-nixstaller (Makeself subspecies) from gamerlay: # @FUNCTION: unpack_nixstaller # @USAGE: # @DESCRIPTION: # Unpack nixstaller generated files # They're shell scripts with the blob package tagged onto # the end of the archive. In the blob placed tarballs with # actual content. # # Please note, if you need additional dependecies make sure to unpack subarch # archive as first argument. # nixstaller_unpack() { unpack_makeself local unpack_files=3D"$@" for i in $unpack_files ; do unpack_banner "$i" # Make sure that file exists [[ -f "./$i" ]] && ( local type=3D$(file -b ${i}) case ${type} in data) tar -xJf "./$i" ;; gzip*) tar -xzf "./$i" ;; esac ) || die "Failed to unpack $i" done } Original author is Azamat Hackimov aka winterheart (in CC). 2) It'd be also nice to detect mojo installers (most of the time, they're "*-bin" or "*Installer" ELF32 sfx-archives) and pass them to unpack_zip by default. Unfortunately, I've no free time ATM, but if it is needed, I can write prototype for Mojo unpacking. ------enig2GVKWDUFAFNGNEQJHXLBO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRvCguAAoJECZQPTSbOzNLCIcP/ilG7PwlnSOjZJquz30yynGf 81kieKBMcbtw0CICzRZOqKlW35MnNjoeMd/RGRzg5GlILtjHgi/V25YjYtiFyUgU L3Z+g812fWvvTAAGmSRCaKYKYgQpW5Dnhu4J8aGSAmvuNsb+BH0p7FmfIuWROheH 4+HsmXKhikijoE7T/e74YCwV9yIT7Zr77NCtlTHlnvmfDJRnKCA0vI/siVFmnhml J4Yz5D2Lk2ir8CIDCyHwieWyUz1R89GJQQPj3hvM+fUtTmOK0NGuMVzrGhB0YjZm ZXld93sVxVzXV1/sRKX/3p1BVLcESHB5+qiCuYkzgJUKdhsKoBbJhn4282s8KVJw 22r61JLIaRhjvceA0AkVSq6KnDcFPauE/ArGywXoptvZ+2ZQPYYiDvatuoCMVi0y WR6NALBBv6ZIHx94UsFBlMNSkxoDXYXVPKdY9wKa/LGcJuNnFWsM02KzI9WjjB9R FxNA0Ar+Obtj7IcmpF4x2H933ZIcEshuwmjISKvTqE9HFW0FANACPSaTg7w9YUUN AXisd2fi+AWJ7PLh0s29BuRou1yKU+7npdgfX7ufY4zdlY2FClid/al3g7jlzSBc FqSiWclt1OuzY1ZZC42EMLyNWLaBUI/S6ubrIqFJCWOA8l58oHYMwBfIoQ87IFas 8o2fvv5ADQ+AR9Sx24pj =MDUC -----END PGP SIGNATURE----- ------enig2GVKWDUFAFNGNEQJHXLBO--