Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774933 - sci-astronomy/xephem: patch to allow downloading from https URLs fixing ephemeris, SOHO and wx updates.
Summary: sci-astronomy/xephem: patch to allow downloading from https URLs fixing ephem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2021-03-08 23:20 UTC by Alexander Wessel
Modified: 2022-03-01 15:05 UTC (History)
1 user (show)

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


Attachments
xephem-3.7.7-r2 ebuild with the added xephem-3.7.7-openssl_with_wx.patch (xephem-3.7.7-r2.ebuild,1.20 KB, text/plain)
2021-03-08 23:20 UTC, Alexander Wessel
Details
Patch to enable HTTPS downloads by xephem. (xephem-3.7.7-openssl_with_wx.patch,22.57 KB, patch)
2021-03-08 23:21 UTC, Alexander Wessel
Details | Diff
Output of diff -ruNa /usr/portage/sci-astronomy/xephem /usr/local/portage/sci-astronomy/xephem on my box. (usr-portage-vs-usr-local-portage_sci-astronomy_xephem.diff,28.63 KB, text/plain)
2021-03-08 23:30 UTC, Alexander Wessel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wessel 2021-03-08 23:20:00 UTC
Created attachment 690096 [details]
xephem-3.7.7-r2 ebuild with the added xephem-3.7.7-openssl_with_wx.patch

Hi,

I'll attach an ebuild and patch to enable downloading resources from HTTPS. The original 3.7.7 codebase could only download from HTTP URLs.

With that downloading MPC ephemeris, sun and global weather maps works again.

I'll also attach a diff of my /usr/local/portage/sci-astronomy/xepehem relative to the current /usr/portage/sci-astronomy/xepehem, in case that helps the maintainers.

I suggest to release this as xephem-3.7.7-r2.

Cheers,
Alexander Wessel
Comment 1 Alexander Wessel 2021-03-08 23:21:14 UTC
Created attachment 690099 [details, diff]
Patch to enable HTTPS downloads by xephem.
Comment 2 Alexander Wessel 2021-03-08 23:30:12 UTC
Created attachment 690102 [details]
Output of diff -ruNa /usr/portage/sci-astronomy/xephem /usr/local/portage/sci-astronomy/xephem on my box.
Comment 3 Alexander Wessel 2021-03-08 23:54:40 UTC
I should point out that I am *not* the original author of these patches. I've integrated a couple of patches by Lutz Mändle <lmaendle@gmx.net> (as per https://www.clearskyinstitute.com/xephem/contrib/contrib.html) some time ago in a local Cygwin build of xephem, and now found that they seem to work fine for the Gentoo package as well.

And I just learned that Elwood Downey has released xephem under the MIT license now, and a bunch of contributors now works at https://github.com/XEphem/XEphem on it. That's great news! Anyway, I hope this patch is still useful for the time being.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-01 15:05:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e954e30d906676f203c02b983e4367dd602209

commit b6e954e30d906676f203c02b983e4367dd602209
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-03-01 15:05:00 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-03-01 15:05:29 +0000

    sci-astronomy/xephem: add version 4.1.0
    
    This version adds ssl support
    
    Closes: https://bugs.gentoo.org/776166
    Closes: https://bugs.gentoo.org/774933
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-astronomy/xephem/Manifest                      |   1 +
 .../files/xephem-4.1.0-respect_env_vars.patch      | 128 +++++++++++++++++++++
 sci-astronomy/xephem/xephem-4.1.0.ebuild           |  58 ++++++++++
 3 files changed, 187 insertions(+)