Skip to contentSkip to conversation

package/expat: update site link

PATCH Fabrice Fontaine 2 participants 2 messages Mar 17, 2022 – Mar 21, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

Quoted 10 lines · bruno seifert

expat is currently in the process of changing the file hosting site from sourceforge to github. This adjusts the site URL to the new github location. Old versions are already not available on sourceforge anymore.

---
Backport to: all versions
I think the hashes don't need to be changed, but someone who actually knows stuff should confirm that.

Indeed, the hash is the same.

Quoted 12 lines

Feel free to adjust the name and syntax. I've just started working a month a go and really don't know what I'm doing.

---
 package/expat/expat.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/expat/expat.mk +0 -0
index b29b0e1d26..3dba920083 100644

package/expat/expat.mk line 9

Quoted 6 lines
package/expat/expat.mk +2 -1
@@ -5,7 +5,8 @@
 ################################################################################
 
 EXPAT_VERSION = 2.4.7
-EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
+EXPAT_VERSION_TO_URL = $(subst .,_,$(EXPAT_VERSION))
+EXPAT_SITE = https://github.com/libexpat/libexpat/releases/download/R_$(EXPAT_VERSION_TO_URL)

A single liner would be better:
EXPAT_SITE = https://github.com/libexpat/libexpat/releases/download/R_$(subst
.,_,$(EXPAT_VERSION))

However, I don't understand why we have to update the URL now? Can't we wait for the next expat bump?

Quoted 15 lines
package/expat/expat.mk +0 -1
 EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
 EXPAT_INSTALL_STAGING = YES
 EXPAT_DEPENDENCIES = host-pkgconf
--

2.25.1

--

3Brain AG
Einsiedlerstrasse 30
8820 Wädenswil
Switzerland
+41 81 322 70 86

Quoted 14 lines

www.3brain.com <https://www.3brain.com/>

<https://twitter.com/3brain>
<https://www.linkedin.com/company/3brain/>
<https://www.youtube.com/channel/UCLSFhw2saf7RdZt3Emmvt_Q>
<https://goo.gl/maps/6dA7fb5je94L4Pyf6>

Best Regards,

Fabrice
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hi,

This can absolutely wait for the next expat bump.
I simply had to write this fix as I'm still on buildroot 2019.11 and the corresponding expat version isn't available on sourceforge anymore, only the new github location. I just guessed you guys weren't aware of the upcoming change yet. And since I had to figure out the solution anyway, I might as well tell you about it.

Best regards,
Bruno

Fabrice Fontaine
Thu, Mar 17, 11:17 AM (4 days ago)

to me, Buildroot

Quoted 82 lines · Fabrice Fontaine

Hello,

Le jeu. 17 mars 2022 à 10:51, bruno seifert <[email protected]> a écrit :

Quoted 10 lines

expat is currently in the process of changing the file hosting site from sourceforge to github. This adjusts the site URL to the new github location. Old versions are already not available on sourceforge anymore.

---
Backport to: all versions
I think the hashes don't need to be changed, but someone who actually knows stuff should confirm that.

Indeed, the hash is the same.

Quoted 1 line

Feel free to adjust the name and syntax. I've just started working a

month a go and really don't know what I'm doing.

package/expat/expat.mk line 5

Quoted 12 lines
---
 package/expat/expat.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/expat/expat.mk +0 -0
index b29b0e1d26..3dba920083 100644
@@ -5,7 +5,8 @@
 

################################################################################

package/expat/expat.mk line 7

Quoted 3 lines
package/expat/expat.mk +0 -1
 EXPAT_VERSION = 2.4.7
-EXPAT_SITE =

http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)

package/expat/expat.mk line 8

Quoted 2 lines
package/expat/expat.mk +2 -0
+EXPAT_VERSION_TO_URL = $(subst .,_,$(EXPAT_VERSION))
+EXPAT_SITE =

https://github.com/libexpat/libexpat/releases/download/R_$(EXPAT_VERSION_TO_URL)

A single liner would be better:
EXPAT_SITE =
https://github.com/libexpat/libexpat/releases/download/R_$(subst
.,_,$(EXPAT_VERSION))
<https://github.com/libexpat/libexpat/releases/download/R_$(subst.,_,$(EXPAT_VERSION))>

However, I don't understand why we have to update the URL now? Can't we wait for the next expat bump?

Quoted 15 lines
package/expat/expat.mk +0 -1
 EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
 EXPAT_INSTALL_STAGING = YES
 EXPAT_DEPENDENCIES = host-pkgconf
--

2.25.1

--

3Brain AG
Einsiedlerstrasse 30
8820 Wädenswil
Switzerland
+41 81 322 70 86

Quoted 14 lines

www.3brain.com <https://www.3brain.com/>

<https://twitter.com/3brain>
<https://www.linkedin.com/company/3brain/>
<https://www.youtube.com/channel/UCLSFhw2saf7RdZt3Emmvt_Q>
<https://goo.gl/maps/6dA7fb5je94L4Pyf6>

Best Regards,

Fabrice

Signature · 12 lines
3Brain AG
Einsiedlerstrasse 30
8820 Wädenswil
Switzerland
+41 81 322 70 86

www.3brain.com <https://www.3brain.com/>

 <https://twitter.com/3brain>    
 <https://www.linkedin.com/company/3brain/>     
<https://www.youtube.com/channel/UCLSFhw2saf7RdZt3Emmvt_Q>     
<https://goo.gl/maps/6dA7fb5je94L4Pyf6>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot