Skip to contentSkip to conversation

libp11: update to 0.4.10

PATCH Superseded Oleksandr Kravchuk 3 participants 3 messages May 28, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libp11: update to 0.4.10

---
 .../libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb}                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb} (92%)
meta-oe/recipes-support/libp11/libp11_0.4.10.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.7.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-support/libp11/libp11_0.4.7.bb
rename to meta-oe/recipes-support/libp11/libp11_0.4.10.bb
index 87d99c1a6..2911e37c7 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
 DEPENDS = "libtool openssl"
 
 SRC_URI = "git://github.com/OpenSC/libp11.git"
-SRCREV = "64569a391897bd29c5060b19fa4613e619e59277"
+SRCREV = "libp11-0.4.10"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 14 lines · Oleksandr Kravchuk
---
 .../libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb}                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb} (92%)
meta-oe/recipes-support/libp11/libp11_0.4.10.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.7.bb +0 -0
similarity index 92%
rename from meta-oe/recipes-support/libp11/libp11_0.4.7.bb
rename to meta-oe/recipes-support/libp11/libp11_0.4.10.bb
index 87d99c1a6..2911e37c7 100644

meta-oe/recipes-support/libp11/libp11_0.4.10.bb LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29" · line 12

Quoted 6 lines
meta-oe/recipes-support/libp11/libp11_0.4.10.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.7.bb +1 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
 DEPENDS = "libtool openssl"
 
 SRC_URI = "git://github.com/OpenSC/libp11.git"
-SRCREV = "64569a391897bd29c5060b19fa4613e619e59277"
+SRCREV = "libp11-0.4.10"
...

This is not a good idea - upstream might move the label, and a man-in-the-middle attack on someone building this recipe might also be possible.

Please use a commit hash instead.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw
Quoted 17 lines · Adrian Bunk
Quoted 16 lines · Oleksandr Kravchuk
---
 .../libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb}                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libp11/{libp11_0.4.7.bb => libp11_0.4.10.bb} (92%)
meta-oe/recipes-support/libp11/libp11_0.4.10.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.7.bb +0 -0
similarity index 92%
rename from meta-oe/recipes-support/libp11/libp11_0.4.7.bb
rename to meta-oe/recipes-support/libp11/libp11_0.4.10.bb
index 87d99c1a6..2911e37c7 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
 DEPENDS = "libtool openssl"
 
Quoted 8 lines

meta-oe/recipes-support/libp11/libp11_0.4.10.bb LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29" · line 12

Quoted 4 lines
meta-oe/recipes-support/libp11/libp11_0.4.10.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.7.bb +1 -1
 SRC_URI = "git://github.com/OpenSC/libp11.git"
-SRCREV = "64569a391897bd29c5060b19fa4613e619e59277"
+SRCREV = "libp11-0.4.10"
...

This is not a good idea - upstream might move the label, and a man-in-the-middle attack on someone building this recipe might also be possible.

Not only that, but bitbake fetcher will convert the tag name to the hash every single time the recipe is being parsed which is not only annoying, but also breaks parsing for people who don't even use this recipe when they loose network connection during build (or build intentionally without one).

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]