Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 774933

Summary: sci-astronomy/xephem: patch to allow downloading from https URLs fixing ephemeris, SOHO and wx updates.
Product: Gentoo Linux Reporter: Alexander Wessel <flexx>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=776166
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xephem-3.7.7-r2 ebuild with the added xephem-3.7.7-openssl_with_wx.patch
Patch to enable HTTPS downloads by xephem.
Output of diff -ruNa /usr/portage/sci-astronomy/xephem /usr/local/portage/sci-astronomy/xephem on my box.

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(+)