From 0a1b50503bdf202fb6fa7ca62124b0242a004e69 Mon Sep 17 00:00:00 2001
From: Brandon Rhodes
Date: Thu, 1 Dec 2022 08:58:12 -0500
Subject: [PATCH] Switch from "celestrak.com" to "celestrak.org"
---
GUI/xephem/fallbacks.c | 10 +++++-----
GUI/xephem/help/xephem.html | 4 ++--
Site/changes.html | 2 ++
Site/earthsat.html | 2 +-
libastro/earthsat.c | 2 +-
5 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/GUI/xephem/fallbacks.c b/GUI/xephem/fallbacks.c
index 01ef68f..5b31788 100644
--- a/GUI/xephem/fallbacks.c
+++ b/GUI/xephem/fallbacks.c
@@ -744,11 +744,11 @@ String fallbacks[] = {
"XEphem*WCS.y: 10",
"XEphem*WebDB*Pattern.value: ",
"XEphem*WebDB*Search.set: False",
- "XEphem*WebDB*URL0.value: http://celestrak.com/NORAD/elements/stations.txt",
- "XEphem*WebDB*URL1.value: http://celestrak.com/NORAD/elements/science.txt",
- "XEphem*WebDB*URL2.value: http://celestrak.com/NORAD/elements/tle-new.txt",
- "XEphem*WebDB*URL3.value: http://celestrak.com/NORAD/elements/amateur.txt",
- "XEphem*WebDB*URL4.value: http://celestrak.com/NORAD/elements/visual.txt",
+ "XEphem*WebDB*URL0.value: http://celestrak.org/NORAD/elements/stations.txt",
+ "XEphem*WebDB*URL1.value: http://celestrak.org/NORAD/elements/science.txt",
+ "XEphem*WebDB*URL2.value: http://celestrak.org/NORAD/elements/tle-new.txt",
+ "XEphem*WebDB*URL3.value: http://celestrak.org/NORAD/elements/amateur.txt",
+ "XEphem*WebDB*URL4.value: http://celestrak.org/NORAD/elements/visual.txt",
"XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt",
"XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt",
"XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt",
diff --git a/GUI/xephem/help/xephem.html b/GUI/xephem/help/xephem.html
index 8612e52..574d346 100644
--- a/GUI/xephem/help/xephem.html
+++ b/GUI/xephem/help/xephem.html
@@ -7992,7 +7992,7 @@ format if it is not already.
Several particularly useful sites as of this build are already entered.
The first five are from Dr. TS Kelso's Earth satellite lists at celestrak.com. The other four are
+ href="http://www.celestrak.org">celestrak.org. The other four are
the Minor Planet Center's lists of hot comets and unusual asteroids
specially formatted for XEphem.
@@ -8950,7 +8950,7 @@ code, as converted from FORTRAN to C by Magnus Backstrom,
b@eta.chalmers.se. See "Spacetrack Report Number 3: Models for
Propagation of NORAD Element Sets" at
http://www.celestrak.com/NORAD/documentation/spacetrk.pdf
+ href="http://www.celestrak.org/NORAD/documentation/spacetrk.pdf">http://www.celestrak.org/NORAD/documentation/spacetrk.pdf
Improvements to Delta T code, help and wording contributed by Neal
McBurnett, nealmcb@bell-labs.com.
diff --git a/Site/changes.html b/Site/changes.html
index 8aa6e5d..76d8573 100644
--- a/Site/changes.html
+++ b/Site/changes.html
@@ -26,6 +26,8 @@ Not yet released.
if the code detects it’s being compiled against OpenSSL ≥1.1.
Closing the INDI window with your window manager’s “Close” button
no longer crashes XEphem.
+ All references to “celestrak.com”
+ have been changed to their new hostname “celestrak.org”.
A few other small fixes.
diff --git a/Site/earthsat.html b/Site/earthsat.html
index eb00367..37b8a95 100644
--- a/Site/earthsat.html
+++ b/Site/earthsat.html
@@ -12,7 +12,7 @@ XEphem: Earth Satellite Tracks
Plot ground tracks and orbits for any number of Earth satellites
simultaneously in either "Mission Control" or spherical format. Sunlit side
shows colored relief profile, night side shows light sources viewed from space.
-Get up-to-date TLE parameter sets with one click from celestrak.com or other
+Get up-to-date TLE parameter sets with one click from celestrak.org or other
web sites.
diff --git a/libastro/earthsat.c b/libastro/earthsat.c
index f7ac1d2..08605f3 100644
--- a/libastro/earthsat.c
+++ b/libastro/earthsat.c
@@ -4,7 +4,7 @@
* the original FORTRAN to C by Magnus Backstrom. The paper "Spacetrack
* Report Number 3: Models for Propagation of NORAD Element Sets" describes
* the calculations.
- * See http://www.celestrak.com/NORAD/documentation/spacetrk.pdf.
+ * See http://www.celestrak.org/NORAD/documentation/spacetrk.pdf.
*
* A few topocentric routines are also used from the 'orbit' program which is
* Copyright (c) 1986,1987,1988,1989,1990 Robert W. Berger N3EMO