Skip to contentSkip to conversation

tcp-wrappers: Update checksum for SRC_URI

PATCH In review Junling Zheng 2 participants 5 messages Jan 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 tcp-wrappers: Update checksum for SRC_URI

Commit a11edd68b2 (Change ftp:// URIs to http(s)://) changed the URI from ftp to http without updating tarball's checksum, which is different between them unfortunately.

---
 meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +2 -2
index e903b9db14..f769a9d229 100644
@@ -52,8 +52,8 @@ SRC_URI = "http://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \
            file://0001-Remove-fgets-extern-declaration.patch \
            "
 
-SRC_URI[md5sum] = "e6fa25f71226d090f34de3f6b122fb5a"
-SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d"
+SRC_URI[md5sum] = "5da85a422a30045a62da165404575d8e"
+SRC_URI[sha256sum] = "98c38ba2469a4873a0d85bbead180c0d23c2989a946c16c6f1fe04fbac6c1dd3"
 
 S = "${WORKDIR}/tcp_wrappers_${PV}"
 
Signature · 1 line
2.30.0
#1 lore raw

PATCH 2/2 libxml2: Update checksum for testtar

For some unknown factor, the checksum of testtar(xmlts20080827.tar.gz) is mismatch with that of remote. Let's fix it.

---
 meta/recipes-core/libxml/libxml2_2.9.10.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/libxml/libxml2_2.9.10.bb +2 -2
index 07ae68610c..cab234f9b7 100644
@@ -28,8 +28,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \
 
 SRC_URI[libtar.md5sum] = "10942a1dc23137a8aa07f0639cbfece5"
 SRC_URI[libtar.sha256sum] = "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f"
-SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
-SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
+SRC_URI[testtar.md5sum] = "3a944b972f2da90b97d8a57c6f939fa8"
+SRC_URI[testtar.sha256sum] = "9b2c865aba66c6429ca301a7ef048d7eca2cdb7a9106184416710853c7b37d0d"
 
 BINCONFIG = "${bindir}/xml2-config"
 
Signature · 1 line
2.30.0
#2 lore raw

Re: [OE-core] [PATCH 2/2] libxml2: Update checksum for testtar

Quoted 19 lines · Junling Zheng via lists.openembedded.org

For some unknown factor, the checksum of testtar(xmlts20080827.tar.gz) is mismatch with that of remote. Let's fix it.

---
 meta/recipes-core/libxml/libxml2_2.9.10.bb | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/libxml/libxml2_2.9.10.bb +0 -0
index 07ae68610c..cab234f9b7 100644
@@ -28,8 +28,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \

 SRC_URI[libtar.md5sum] = "10942a1dc23137a8aa07f0639cbfece5" SRC_URI[libtar.sha256sum] = "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f"

meta/recipes-core/libxml/libxml2_2.9.10.bb SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \ · line 32

Quoted 4 lines
meta/recipes-core/libxml/libxml2_2.9.10.bb +2 -2
-SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
-SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
+SRC_URI[testtar.md5sum] = "3a944b972f2da90b97d8a57c6f939fa8"
+SRC_URI[testtar.sha256sum] = "9b2c865aba66c6429ca301a7ef048d7eca2cdb7a9106184416710853c7b37d0d"
$ wget http://www.w3.org/XML/Test/xmlts20080827.tar.gz
--2021-01-19 12:38:58--  http://www.w3.org/XML/Test/xmlts20080827.tar.gz
Resolving www.w3.org (www.w3.org)... 128.30.52.100
Connecting to www.w3.org (www.w3.org)|128.30.52.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 638940 (624K) [application/gzip]
Saving to: ‘xmlts20080827.tar.gz’

xmlts20080827.tar.gz 100%[=======================================================================>] 623.96K 1.27MB/s in 0.5s

2021-01-19 12:38:59 (1.27 MB/s) - ‘xmlts20080827.tar.gz’ saved [638940/638940]
$ md5sum xmlts20080827.tar.gz 
ae3d1ebe000a3972afa104ca7f0e1b4a  xmlts20080827.tar.gz

So seems ok to me?

Cheers,

Richard

#3 lore raw

Re: [OE-core] [PATCH 2/2] libxml2: Update checksum for testtar

Quoted 34 lines · Richard Purdie
Quoted 19 lines · Junling Zheng via lists.openembedded.org

For some unknown factor, the checksum of testtar(xmlts20080827.tar.gz) is mismatch with that of remote. Let's fix it.

---
 meta/recipes-core/libxml/libxml2_2.9.10.bb | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/libxml/libxml2_2.9.10.bb +0 -0
index 07ae68610c..cab234f9b7 100644
@@ -28,8 +28,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \

 SRC_URI[libtar.md5sum] = "10942a1dc23137a8aa07f0639cbfece5" SRC_URI[libtar.sha256sum] = "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f"

meta/recipes-core/libxml/libxml2_2.9.10.bb SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \ · line 32

Quoted 4 lines
meta/recipes-core/libxml/libxml2_2.9.10.bb +2 -2
-SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
-SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
+SRC_URI[testtar.md5sum] = "3a944b972f2da90b97d8a57c6f939fa8"
+SRC_URI[testtar.sha256sum] = "9b2c865aba66c6429ca301a7ef048d7eca2cdb7a9106184416710853c7b37d0d"
$ wget http://www.w3.org/XML/Test/xmlts20080827.tar.gz
--2021-01-19 12:38:58--  http://www.w3.org/XML/Test/xmlts20080827.tar.gz
Resolving www.w3.org (www.w3.org)... 128.30.52.100
Connecting to www.w3.org (www.w3.org)|128.30.52.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 638940 (624K) [application/gzip]
Saving to: ‘xmlts20080827.tar.gz’
Quoted 9 lines

xmlts20080827.tar.gz 100%[=======================================================================>] 623.96K 1.27MB/s in 0.5s

2021-01-19 12:38:59 (1.27 MB/s) - ‘xmlts20080827.tar.gz’ saved [638940/638940]
$ md5sum xmlts20080827.tar.gz 
ae3d1ebe000a3972afa104ca7f0e1b4a  xmlts20080827.tar.gz

So seems ok to me?

Sorry, it seems to be a problem with my host env, and the downloaded packages cannot be unpacked successfully. Please ignore these two patches. I'm so sorry :(

Cheers,

Junling

Quoted 7 lines

Cheers,

Richard

.

#4 lore raw
In reply to Junling Zheng
Quoted 3 lines · Junling Zheng via lists.openembedded.org

Commit a11edd68b2 (Change ftp:// URIs to http(s)://) changed the URI from ftp to http without updating tarball's checksum, which is different between them unfortunately.

That seems strange. I tried to reproduce:

$ wget http://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz
--2021-01-19 12:33:34--  http://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz
Resolving ftp.porcupine.org (ftp.porcupine.org)... 168.100.185.123
Connecting to ftp.porcupine.org (ftp.porcupine.org)|168.100.185.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 99438 (97K) [application/x-tar]
Saving to: ‘tcp_wrappers_7.6.tar.gz’

tcp_wrappers_7.6.tar.gz 100%[=======================================================================>] 97.11K 295KB/s in 0.3s

2021-01-19 12:33:35 (295 KB/s) - ‘tcp_wrappers_7.6.tar.gz’ saved [99438/99438]
$ wget ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz
--2021-01-19 12:33:46--  ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz
           => ‘tcp_wrappers_7.6.tar.gz.1’
Resolving ftp.porcupine.org (ftp.porcupine.org)... 168.100.185.123
Connecting to ftp.porcupine.org (ftp.porcupine.org)|168.100.185.123|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/security ... done.
==> SIZE tcp_wrappers_7.6.tar.gz ... 99438
==> PASV ... done.    ==> RETR tcp_wrappers_7.6.tar.gz ... done.
Length: 99438 (97K) (unauthoritative)

tcp_wrappers_7.6.tar.gz.1 100%[=======================================================================>] 97.11K 295KB/s in 0.3s

2021-01-19 12:33:47 (295 KB/s) - ‘tcp_wrappers_7.6.tar.gz.1’ saved [99438]
$ md5sum tcp_wrappers_7.6.tar.gz*
e6fa25f71226d090f34de3f6b122fb5a  tcp_wrappers_7.6.tar.gz
e6fa25f71226d090f34de3f6b122fb5a  tcp_wrappers_7.6.tar.gz.1

So the checksums seem the same to me and match the recipe?

Cheers,

Richard