mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] kernel mirror url updated
@ 2022-08-25  5:00 Bruno Thomsen
  2022-08-30  7:15 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2022-08-25  5:00 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen

Downloading packages from kernel.org mirror result in http code 301
Moved Permanently from server. Update used URL to match redirect URL.

--2022-08-24 08:58:18--  https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz
Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1
Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz [following]
--2022-08-24 08:58:18--  https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.80.249, 2604:1380:4601:e00::3
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.80.249|:443... connected.
HTTP request sent, awaiting response... 200 OK

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
Not sure how to regenerate config/setup/ptxdistrc.default

 config/setup/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/setup/Kconfig b/config/setup/Kconfig
index 8f6a60eac..77a231d29 100644
--- a/config/setup/Kconfig
+++ b/config/setup/Kconfig
@@ -160,7 +160,7 @@ config SETUP_GNUMIRROR
 
 config SETUP_KERNELMIRROR
 	string
-	default "https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux"
+	default "https://mirrors.edge.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux"
 	prompt "kernel.org Mirror"
 	help
 	  For all kernel.org related packages enter an available mirror here.

base-commit: bdb6f5f98505a13dbeffda3dfdea4a4f3bf586c6
-- 
2.37.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] kernel mirror url updated
  2022-08-25  5:00 [ptxdist] [PATCH] kernel mirror url updated Bruno Thomsen
@ 2022-08-30  7:15 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-08-30  7:15 UTC (permalink / raw)
  To: Bruno Thomsen; +Cc: ptxdist

On Thu, Aug 25, 2022 at 07:00:13AM +0200, Bruno Thomsen wrote:
> Downloading packages from kernel.org mirror result in http code 301
> Moved Permanently from server. Update used URL to match redirect URL.
> 
> --2022-08-24 08:58:18--  https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz
> Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1
> Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected.
> HTTP request sent, awaiting response... 301 Moved Permanently
> Location: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz [following]
> --2022-08-24 08:58:18--  https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.65.tar.xz
> Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.80.249, 2604:1380:4601:e00::3
> Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.80.249|:443... connected.
> HTTP request sent, awaiting response... 200 OK

Hmmm, so https://www.kernel.org/ still has https://www.kernel.org/pub/ as
the official URL, so I'd like to keep it in the list.
I checked the other URLs and http://mirror.linux.org.au/linux is gone (just
a Debian mirror now from what I can see).
And for http://www.linux-mips.org/pub/linux/mips the certificate is
expired.
So maybe:

	default "https://mirrors.edge.kernel.org/pub/linux https://www.kernel.org/pub/linux"

> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> ---
> Not sure how to regenerate config/setup/ptxdistrc.default

For stuff like that I just manually update the file. Please do that as
well.

Michael

> 
>  config/setup/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/config/setup/Kconfig b/config/setup/Kconfig
> index 8f6a60eac..77a231d29 100644
> --- a/config/setup/Kconfig
> +++ b/config/setup/Kconfig
> @@ -160,7 +160,7 @@ config SETUP_GNUMIRROR
>  
>  config SETUP_KERNELMIRROR
>  	string
> -	default "https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux"
> +	default "https://mirrors.edge.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux"
>  	prompt "kernel.org Mirror"
>  	help
>  	  For all kernel.org related packages enter an available mirror here.
> 
> base-commit: bdb6f5f98505a13dbeffda3dfdea4a4f3bf586c6
> -- 
> 2.37.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-30  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  5:00 [ptxdist] [PATCH] kernel mirror url updated Bruno Thomsen
2022-08-30  7:15 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox