From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-dev@lists.gentoo.org
Cc: azamat.hackimov@gmail.com
Subject: [gentoo-dev] [RFC] unpacker.eclass extensions
Date: Sat, 15 Jun 2013 15:39:10 +0700 [thread overview]
Message-ID: <51BC282E.9020306@mva.name> (raw)
[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]
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: <files to unpack>
# @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="$@"
for i in $unpack_files ; do
unpack_banner "$i"
# Make sure that file exists
[[ -f "./$i" ]] && (
local type=$(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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
next reply other threads:[~2013-06-15 8:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 8:39 Vadim A. Misbakh-Soloviov [this message]
2013-06-15 14:33 ` [gentoo-dev] [RFC] unpacker.eclass extensions Markos Chandras
2013-06-15 14:37 ` Markos Chandras
2013-06-17 5:55 ` Mike Frysinger
2013-06-17 7:15 ` Diego Elio Pettenò
2013-06-17 16:08 ` Mike Frysinger
2013-06-17 16:54 ` Rick "Zero_Chaos" Farina
2013-06-17 20:19 ` Diego Elio Pettenò
2013-06-17 20:37 ` Rick "Zero_Chaos" Farina
2013-06-17 21:41 ` Brian Dolbec
2013-06-19 21:15 ` Mike Frysinger
2013-06-22 17:55 ` [gentoo-dev] unpacker.eclass: add decompress probe helper Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51BC282E.9020306@mva.name \
--to=mva@mva.name \
--cc=azamat.hackimov@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox