diff options
author | 2014-10-19 06:41:17 +0000 | |
---|---|---|
committer | 2014-10-19 06:41:17 +0000 | |
commit | 1441439fd9f7832cf0af891ca473da1b41f1c2f4 (patch) | |
tree | 2cbd309026a61c0d52aaaf7d8c2f79455f71fba1 /app-admin/lastpass | |
parent | Version bump. (diff) | |
download | gentoo-2-1441439fd9f7832cf0af891ca473da1b41f1c2f4.tar.gz gentoo-2-1441439fd9f7832cf0af891ca473da1b41f1c2f4.tar.bz2 gentoo-2-1441439fd9f7832cf0af891ca473da1b41f1c2f4.zip |
Bug #524864: improve CRX unpack.
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-admin/lastpass')
-rw-r--r-- | app-admin/lastpass/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/lastpass/lastpass-3.1.61.ebuild | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app-admin/lastpass/ChangeLog b/app-admin/lastpass/ChangeLog index 6a0157c84b80..565fd75ba852 100644 --- a/app-admin/lastpass/ChangeLog +++ b/app-admin/lastpass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/lastpass # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass/ChangeLog,v 1.2 2014/10/09 06:47:12 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass/ChangeLog,v 1.3 2014/10/19 06:41:17 robbat2 Exp $ + + 19 Oct 2014; Robin H. Johnson <robbat2@gentoo.org> lastpass-3.1.61.ebuild: + Bug #524864: improve CRX unpack. 09 Oct 2014; Justin Lecher <jlec@gentoo.org> lastpass-3.1.61.ebuild, metadata.xml: diff --git a/app-admin/lastpass/lastpass-3.1.61.ebuild b/app-admin/lastpass/lastpass-3.1.61.ebuild index 12b5ff76b2b7..f6e634699ede 100644 --- a/app-admin/lastpass/lastpass-3.1.61.ebuild +++ b/app-admin/lastpass/lastpass-3.1.61.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild,v 1.3 2014/10/09 06:47:12 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild,v 1.4 2014/10/19 06:41:17 robbat2 Exp $ EAPI=5 inherit eutils @@ -45,7 +45,10 @@ S="${WORKDIR}" src_unpack() { unpack ${MAINDISTFILE} mkdir -p "${S}"/crx || die - unzip -qq -o "${DISTDIR}/lpchrome_linux.crx" -d "${S}"/crx || die + # bug #524864: strip Chrome CRX header + # otherwise the unzip warning can be fatal in some cases + dd bs=306 skip=1 if="${DISTDIR}"/lpchrome_linux.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die + unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die } src_install() { |