diff mbox series

[next,1/1] package/bc: update _SITE to use BR2_GNU_MIRROR

Message ID 20241117123026.532997-1-ju.o@free.fr
State Accepted
Headers show
Series [next,1/1] package/bc: update _SITE to use BR2_GNU_MIRROR | expand

Commit Message

Julien Olivain Nov. 17, 2024, 12:30 p.m. UTC
The bc package is distributed on the GNU project servers. See [1]
and [2]. Buildroot has the BR2_GNU_MIRROR configuration which can
be used for that purpose. See [3]

For consistency with all other GNU packages, this commit updates
the _SITE to use BR2_GNU_MIRROR.

As a side note, the bc package was introduced long time ago using
BR2_GNU_MIRROR. See [4]. It was then updated to an alpha version
in [5]. When the alpha version was no longer needed, it was switched
to the main GNU download server in [6].

[1] https://www.gnu.org/software/bc/
[2] https://www.gnu.org/prep/ftp.html
[3] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08.2/Config.in#L286
[4] https://gitlab.com/buildroot.org/buildroot/-/commit/c95dcd464512ede5ffdef5567558611f05e2e52b
[5] https://gitlab.com/buildroot.org/buildroot/-/commit/1faa7c344e10986a4afd1d17bf6d4265b3c821fc
[6] https://gitlab.com/buildroot.org/buildroot/-/commit/ed7572cc7ff69584116c4e763a608afc225bd0c6

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 package/bc/bc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Romain Naour Dec. 11, 2024, 2:06 p.m. UTC | #1
Hello Julien,

Le 17/11/2024 à 13:30, Julien Olivain a écrit :
> The bc package is distributed on the GNU project servers. See [1]
> and [2]. Buildroot has the BR2_GNU_MIRROR configuration which can
> be used for that purpose. See [3]
> 
> For consistency with all other GNU packages, this commit updates
> the _SITE to use BR2_GNU_MIRROR.
> 
> As a side note, the bc package was introduced long time ago using
> BR2_GNU_MIRROR. See [4]. It was then updated to an alpha version
> in [5]. When the alpha version was no longer needed, it was switched
> to the main GNU download server in [6].
> 
> [1] https://www.gnu.org/software/bc/
> [2] https://www.gnu.org/prep/ftp.html
> [3] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08.2/Config.in#L286
> [4] https://gitlab.com/buildroot.org/buildroot/-/commit/c95dcd464512ede5ffdef5567558611f05e2e52b
> [5] https://gitlab.com/buildroot.org/buildroot/-/commit/1faa7c344e10986a4afd1d17bf6d4265b3c821fc
> [6] https://gitlab.com/buildroot.org/buildroot/-/commit/ed7572cc7ff69584116c4e763a608afc225bd0c6
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>

Applied to master, thanks.

Best regards,
Romain


> ---
>  package/bc/bc.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/bc/bc.mk b/package/bc/bc.mk
> index 06b6feae4f..5691ca9e67 100644
> --- a/package/bc/bc.mk
> +++ b/package/bc/bc.mk
> @@ -5,7 +5,7 @@
>  ################################################################################
>  
>  BC_VERSION = 1.07.1
> -BC_SITE = http://ftp.gnu.org/gnu/bc
> +BC_SITE = $(BR2_GNU_MIRROR)/bc
>  BC_DEPENDENCIES = host-flex
>  BC_LICENSE = GPL-2.0+, LGPL-2.1+
>  BC_LICENSE_FILES = COPYING COPYING.LIB
Peter Korsgaard Dec. 13, 2024, 10:37 p.m. UTC | #2
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:

 > The bc package is distributed on the GNU project servers. See [1]
 > and [2]. Buildroot has the BR2_GNU_MIRROR configuration which can
 > be used for that purpose. See [3]

 > For consistency with all other GNU packages, this commit updates
 > the _SITE to use BR2_GNU_MIRROR.

 > As a side note, the bc package was introduced long time ago using
 > BR2_GNU_MIRROR. See [4]. It was then updated to an alpha version
 > in [5]. When the alpha version was no longer needed, it was switched
 > to the main GNU download server in [6].

 > [1] https://www.gnu.org/software/bc/
 > [2] https://www.gnu.org/prep/ftp.html
 > [3] https://gitlab.com/buildroot.org/buildroot/-/blob/2024.08.2/Config.in#L286
 > [4] https://gitlab.com/buildroot.org/buildroot/-/commit/c95dcd464512ede5ffdef5567558611f05e2e52b
 > [5] https://gitlab.com/buildroot.org/buildroot/-/commit/1faa7c344e10986a4afd1d17bf6d4265b3c821fc
 > [6] https://gitlab.com/buildroot.org/buildroot/-/commit/ed7572cc7ff69584116c4e763a608afc225bd0c6

 > Signed-off-by: Julien Olivain <ju.o@free.fr>

Committed to 2024.02.x and 2024.11.x, thanks.
diff mbox series

Patch

diff --git a/package/bc/bc.mk b/package/bc/bc.mk
index 06b6feae4f..5691ca9e67 100644
--- a/package/bc/bc.mk
+++ b/package/bc/bc.mk
@@ -5,7 +5,7 @@ 
 ################################################################################
 
 BC_VERSION = 1.07.1
-BC_SITE = http://ftp.gnu.org/gnu/bc
+BC_SITE = $(BR2_GNU_MIRROR)/bc
 BC_DEPENDENCIES = host-flex
 BC_LICENSE = GPL-2.0+, LGPL-2.1+
 BC_LICENSE_FILES = COPYING COPYING.LIB