robbat2 14/10/19 06:41:17 Modified: lastpass-3.1.61.ebuild ChangeLog Log: Bug #524864: improve CRX unpack. (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.4 app-admin/lastpass/lastpass-3.1.61.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild?r1=1.3&r2=1.4 Index: lastpass-3.1.61.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/lastpass/lastpass-3.1.61.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- lastpass-3.1.61.ebuild 9 Oct 2014 06:47:12 -0000 1.3 +++ lastpass-3.1.61.ebuild 19 Oct 2014 06:41:17 -0000 1.4 @@ -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 @@ 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() { 1.3 app-admin/lastpass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/ChangeLog?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/ChangeLog?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/lastpass/ChangeLog?r1=1.2&r2=1.3 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/lastpass/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 9 Oct 2014 06:47:12 -0000 1.2 +++ ChangeLog 19 Oct 2014 06:41:17 -0000 1.3 @@ -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 <robb...@gentoo.org> lastpass-3.1.61.ebuild: + Bug #524864: improve CRX unpack. 09 Oct 2014; Justin Lecher <j...@gentoo.org> lastpass-3.1.61.ebuild, metadata.xml: