Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551312 - app-admin/lastpass-3.1.92: version bump
Summary: app-admin/lastpass-3.1.92: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 13:58 UTC by Perfect Gentleman
Modified: 2015-12-14 21:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2015-06-05 13:58:05 UTC
3.1.92 is out.

Reproducible: Always
Comment 1 Göktürk Yüksek archtester gentoo-dev 2015-11-05 09:22:08 UTC
Github pull request submitted for 3.2.16: https://github.com/gentoo/gentoo/pull/325
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-05 21:58:05 UTC
Robin, could you take a look at the pull request and let me know if it's fine to merge?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-05 22:00:57 UTC
Also, Robin should decide on this, but I suggest using SRC_URI -> arrows to rename the downloaded distfiles so we don't end up constantly replacing the same file on bumps.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-06 19:25:50 UTC
Goturk:
1. Why did you delete the old ebuild? Please do not do that.
2. I also strongly agree on using the arrows.

Rebase your PR please, so that it's a single commit that adds the new ebuild, with your second change merged as well.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-06 19:30:34 UTC
(In reply to Robin Johnson from comment #4)
> Goturk:
> 1. Why did you delete the old ebuild? Please do not do that.

I guess he removed it because distfiles was no longer fetchable ;-).
Comment 6 Göktürk Yüksek archtester gentoo-dev 2015-12-07 23:57:44 UTC
(In reply to Robin Johnson from comment #4)
> Goturk:
> 1. Why did you delete the old ebuild? Please do not do that.
Like mgorny mentioned, upstream does not version the tarballs and I couldn't find a tarball archive. As such, you cannot download the old version.

> 2. I also strongly agree on using the arrows.
> 
I did do that for the tarball. I'm not sure about handling browser extension files. They don't follow the same versioning scheme as the package itself. If they get updated, repoman manifest may not catch it. Should I rename them using arrows too?

> Rebase your PR please, so that it's a single commit that adds the new
> ebuild, with your second change merged as well.
PR is updated as requested.

@robbat2: there is also a proxy maintainer bug open for this package (Bug 525912). It looks like nobody CC'd proxy-maint and there has been no progress. If you have no time to maintain this package, would you consider dropping it to maintainer-needed so it can potentially be picked up by somebody else again?
Comment 7 Göktürk Yüksek archtester gentoo-dev 2015-12-08 00:15:46 UTC
Also, this ebuild uses unzip in src_unpack. unzip is provided by app-arch/unzip which is not part of @system. Should I add unzip to DEPEND?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-08 01:01:08 UTC
(In reply to Gokturk Yuksek from comment #7)
> Also, this ebuild uses unzip in src_unpack. unzip is provided by
> app-arch/unzip which is not part of @system. Should I add unzip to DEPEND?
Does unpack correctly handle the zip? If it does, please use it instead (I suggest an variant prefix of ./filename.zip). It will add the relevant tools as needed. You'll have to use mv instead of the -d "${S}"/crx.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-08 01:05:19 UTC
(In reply to Gokturk Yuksek from comment #6)
> (In reply to Robin Johnson from comment #4)
> > Goturk:
> > 1. Why did you delete the old ebuild? Please do not do that.
> Like mgorny mentioned, upstream does not version the tarballs and I couldn't
> find a tarball archive. As such, you cannot download the old version.
I have an archive already.

> > 2. I also strongly agree on using the arrows.
> I did do that for the tarball. I'm not sure about handling browser extension
> files. They don't follow the same versioning scheme as the package itself.
> If they get updated, repoman manifest may not catch it. Should I rename them
> using arrows too?
Yes, use arrows for all distfiles. I've seen them change independently of the zipfiles, so at times we're going to have to bump this anyway, we might want to consider adding $PR in the local distfile name for the extensions if upstream does continue that trend.

> > Rebase your PR please, so that it's a single commit that adds the new
> > ebuild, with your second change merged as well.
> PR is updated as requested.
Thanks. See above.

> 
> @robbat2: there is also a proxy maintainer bug open for this package (Bug
> 525912). It looks like nobody CC'd proxy-maint and there has been no
> progress. If you have no time to maintain this package, would you consider
> dropping it to maintainer-needed so it can potentially be picked up by
> somebody else again?
See my often-posted policy to -dev, that anybody is free to update my packages. Changing it to maintainer-needed would do it a disservice. I'm not stopping anybody from updating it anyway.
Comment 10 Göktürk Yüksek archtester gentoo-dev 2015-12-08 04:02:49 UTC
(In reply to Robin Johnson from comment #8)
> (In reply to Gokturk Yuksek from comment #7)
> > Also, this ebuild uses unzip in src_unpack. unzip is provided by
> > app-arch/unzip which is not part of @system. Should I add unzip to DEPEND?
> Does unpack correctly handle the zip? If it does, please use it instead (I
> suggest an variant prefix of ./filename.zip). It will add the relevant tools
> as needed. You'll have to use mv instead of the -d "${S}"/crx.

According to devmanual[1], we still have to add unzip to DEPEND. Not being able to specify a destination dir, or a source dir with absolute path is pretty problematic. I want to do something like this but not sure if this is preferred:
  dd [..] of="${S}"/crx/lpchrome_linux.zip [..]
  cd "${S}"/crx && unpack ./lpchrome_linux.zip || die

[1] https://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/other-formats/index.html
Comment 11 Göktürk Yüksek archtester gentoo-dev 2015-12-08 04:23:42 UTC
(In reply to Robin Johnson from comment #9)
> (In reply to Gokturk Yuksek from comment #6)
> > (In reply to Robin Johnson from comment #4)
> > > Goturk:
> > > 1. Why did you delete the old ebuild? Please do not do that.
> > Like mgorny mentioned, upstream does not version the tarballs and I couldn't
> > find a tarball archive. As such, you cannot download the old version.
> I have an archive already.
> 
But there is no way for the ebuild to know which version you have. It will simply fail for other users who don't have it. We are keeping a version in the tree that there is no publicly available source for. How do we exactly close bugs like  Bug 550834 in this case?
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-08 21:34:08 UTC
(In reply to Gokturk Yuksek from comment #10)
> According to devmanual[1], we still have to add unzip to DEPEND.
Read EAPI5's handling of zipfiles. It adds it automatically.

> Not being
> able to specify a destination dir, or a source dir with absolute path is
> pretty problematic. I want to do something like this but not sure if this is
> preferred:
>   dd [..] of="${S}"/crx/lpchrome_linux.zip [..]
>   cd "${S}"/crx && unpack ./lpchrome_linux.zip || die
What you're doing is fine, but I'd not put the zipfile in the target directory.
Comment 13 Göktürk Yüksek archtester gentoo-dev 2015-12-09 03:28:03 UTC
(In reply to Robin Johnson from comment #12)
> (In reply to Gokturk Yuksek from comment #10)
> > According to devmanual[1], we still have to add unzip to DEPEND.
> Read EAPI5's handling of zipfiles. It adds it automatically.
> 
EAPI 5-progress document[1] mentions: "Dependencies on packages required to unpack archives specified in SRC_URI are automatically appended to DEPEND."
However, EAPI 5 document[2] does not contain the same clause, perhaps it's been taken out later on?
Moreover, PMS for EAPI 5 [3] section "11.3.3.13 Misc Commands" has the following clause under "unpack": "zip files (*.zip, *.ZIP, *.jar). Ebuilds must ensure that Info-ZIP Unzip is installed."

> > Not being
> > able to specify a destination dir, or a source dir with absolute path is
> > pretty problematic. I want to do something like this but not sure if this is
> > preferred:
> >   dd [..] of="${S}"/crx/lpchrome_linux.zip [..]
> >   cd "${S}"/crx && unpack ./lpchrome_linux.zip || die
> What you're doing is fine, but I'd not put the zipfile in the target
> directory.
The problem is that unpack does not take absolute paths for EAPI 5. So something like: "unpack ${T}/lpchrome_linux.zip" fails. I am not sure how do I fix this.


[1] https://dev.gentoo.org/~zmedico/portage/doc/ch06s03s09.html
[2] https://dev.gentoo.org/~zmedico/portage/doc/ch06s03s08.html
[3] https://projects.gentoo.org/pms/5/pms.pdf
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-09 07:08:23 UTC
(In reply to Gokturk Yuksek from comment #13)
> (In reply to Robin Johnson from comment #12)
> > (In reply to Gokturk Yuksek from comment #10)
> > > According to devmanual[1], we still have to add unzip to DEPEND.
> > Read EAPI5's handling of zipfiles. It adds it automatically.
> > 
> EAPI 5-progress document[1] mentions: "Dependencies on packages required to
> unpack archives specified in SRC_URI are automatically appended to DEPEND."
> However, EAPI 5 document[2] does not contain the same clause, perhaps it's
> been taken out later on?

EAPI 5-progress is a 'fork' of EAPI 5 and not used in Gentoo. You can safely ignore it ;-).

> Moreover, PMS for EAPI 5 [3] section "11.3.3.13 Misc Commands" has the
> following clause under "unpack": "zip files (*.zip, *.ZIP, *.jar). Ebuilds
> must ensure that Info-ZIP Unzip is installed."

Yes, that's what I recall as well.

> > > Not being
> > > able to specify a destination dir, or a source dir with absolute path is
> > > pretty problematic. I want to do something like this but not sure if this is
> > > preferred:
> > >   dd [..] of="${S}"/crx/lpchrome_linux.zip [..]
> > >   cd "${S}"/crx && unpack ./lpchrome_linux.zip || die
> > What you're doing is fine, but I'd not put the zipfile in the target
> > directory.
> The problem is that unpack does not take absolute paths for EAPI 5. So
> something like: "unpack ${T}/lpchrome_linux.zip" fails. I am not sure how do
> I fix this.

You could switch to EAPI 6 then, if Robin doesn't mind. Just please note to quote "${T}" to keep it whitespace-safe.

> [1] https://dev.gentoo.org/~zmedico/portage/doc/ch06s03s09.html
> [2] https://dev.gentoo.org/~zmedico/portage/doc/ch06s03s08.html
> [3] https://projects.gentoo.org/pms/5/pms.pdf
Comment 15 Göktürk Yüksek archtester gentoo-dev 2015-12-11 06:15:22 UTC
(In reply to Robin Johnson from comment #8)
> (In reply to Gokturk Yuksek from comment #7)
> > Also, this ebuild uses unzip in src_unpack. unzip is provided by
> > app-arch/unzip which is not part of @system. Should I add unzip to DEPEND?
> Does unpack correctly handle the zip? If it does, please use it instead (I
> suggest an variant prefix of ./filename.zip). It will add the relevant tools
> as needed. You'll have to use mv instead of the -d "${S}"/crx.

Given the nature of the package, I'm not sure if there's value in using unpack. Even if I use unpack on the zip file, manual use of unzip will be required for the .xpi file because the suffix isn't recognized by unpack. Also we have to jump through hoops because unpack doesn't take an absolute path as a source, no destination directory can be specified and tarballs extract to the current directory.
Comment 16 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-12-14 21:35:23 UTC
InGit.