Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46772 - [calibre] Use github link for download (for https)
Attached to Project:
Community Packages
Opened by Florez Brownlee (frownlee) - Saturday, 17 October 2015, 19:23 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 10 January 2016, 12:47 GMT
Opened by Florez Brownlee (frownlee) - Saturday, 17 October 2015, 19:23 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 10 January 2016, 12:47 GMT
|
DetailsDescription:
Releases are also uploaded to github, which has the advantage that downloads are done over https. In particular, source=("https://github.com/kovidgoyal/calibre/releases/download/v${pkgver}/calibre-${pkgver}.tar.xz") downloads the same package but securely. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 10 January 2016, 12:47 GMT
Reason for closing: Fixed
Additional comments about closing: Moved url's to https thanks to upstream switching to https (thanks LE)
Sunday, 10 January 2016, 12:47 GMT
Reason for closing: Fixed
Additional comments about closing: Moved url's to https thanks to upstream switching to https (thanks LE)
I don't see why security is an issue. Source downloads are already checksummed -- though if you want to enhance security, maybe move from md5sum to sha256sum.
But if you want to rely on GitHub downloads for the HTTPS benefits, you can use the git tag archives instead:
https://github.com/kovidgoyal/${pkgname}/archive/v${pkgver}.tar.gz
As the (built or otherwise) localizations are not contained in the source tree, you would also need a snapshot of https://github.com/kovidgoyal/calibre-translations and you'd need to add several build steps (which are already done in the *-git package I maintain in the AUR: https://aur.archlinux.org/packages/calibre-git/ )
It's pre-built in the tarball at calibre-${pkgver}/resources/localization/locales.zip
That's why I suggested here: https://bugs.archlinux.org/task/46148#comment138545 that the commented-out lines in the PKGBUILD could be removed.
And the sha/md5 checksums I am referring to are the ones generated by the package maintainer... I guess that doesn't work for the initial packaging... (thinking more of people building from ABS...)
calibre's main website can now be accessed over HTTPS, so no need to download from GitHub at all.