cherokee: fix SRC_URI
The package is no longer available in the official cherokee site, so download it from a mirror.
---
Notes:
To be cherry-picked to Dylan as well.
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +1 -1
@@ -9,7 +9,7 @@ PR = "r9" DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.osuosl.org/.1/cherokee/1.2/${PV}/cherokee-${PV}.tar.gz \ file://cherokee.init \ file://cherokee.service \ "
I can see that this is hosted on a University website, but is there a policy for using non-official mirrors?
This seems like it opens up a lot of potential security problems IMO. Not only could the third-party mirror be easy to compromise, but how would be assure we don't use a malicious mirror? Or that a malicious contributer doesn't add a deliberatively tainted mirror?
In short, is there some sort of policy on when and how we use third-party mirrors? Is security considerations part of the policy?
Kind Regards,
Emil Petersen
Quoted 29 lines · Javier Viguera
The package is no longer available in the official cherokee site, so download it from a mirror.
Signed-off-by Javier Viguera<[email protected]>---
Notes:
To be cherry-picked to Dylan as well.meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +1
-1@@ -9,7 +9,7 @@ PR = "r9" DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.osuosl.org/.1/cherokee/1.2/${PV}/cherokee-${PV}.tar.gz \ file://cherokee.init \ file://cherokee.service \ "_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Emil,
Quoted 7 lines · On Thursday 05 September 2013 14:04:23 Emil R. Petersen wrote:
I can see that this is hosted on a University website, but is there a policy for using non-official mirrors?
This seems like it opens up a lot of potential security problems IMO. Not only could the third-party mirror be easy to compromise, but how would be assure we don't use a malicious mirror? Or that a malicious contributer doesn't add a deliberatively tainted mirror?
The SRC_URI checksums protect against this being a problem. If the tarball was tampered with it could not pass both the md5sum and sha256sum.
Quoted 2 lines
In short, is there some sort of policy on when and how we use third-party mirrors? Is security considerations part of the policy?
We use them if we're forced to; however we also have the option of uploading files to the openembedded.org mirrors if needed e.g. in the case where upstream completely goes away and there are no other stable mirrors.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Hi Javier,
Quoted 17 lines · Javier Viguera
The package is no longer available in the official cherokee site, so download it from a mirror.
Signed-off-by Javier Viguera <[email protected]>---
Notes:
To be cherry-picked to Dylan as well.meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +0
-0
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb PR = "r9" · line 15
Quoted 8 lines
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +1
-1@@ -9,7 +9,7 @@ PR = "r9" DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.osuosl.org/.1/cherokee/1.2/${PV}/cherokee-${PV}.tar.gz \ file://cherokee.init \ file://cherokee.service \ "
in fact the correct URL is now :
https://github.com/cherokee/webserver/archive/v1.2.98.tar.gz
so I think you can switch to :
+SRC_URI = "https://github.com/cherokee/webserver/archive/v${PV}.tar.gz
Eric
Which would also invalidate my concern about possibly insecure third-party mirrors. Fantastic.
Quoted 40 lines · Eric Bénard
Hi Javier,
Quoted 17 lines · Javier Viguera
The package is no longer available in the official cherokee site, so download it from a mirror.
Signed-off-by Javier Viguera<[email protected]>---
Notes:
To be cherry-picked to Dylan as well.meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +0
-0meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb PR = "r9" · line 15
Quoted 8 lines
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +1
-1@@ -9,7 +9,7 @@ PR = "r9" DEPENDS = "libpcre openssl mysql5 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -SRC_URI = "http://www.cherokee-project.com/download/1.2/${PV}/cherokee-${PV}.tar.gz \ +SRC_URI = "ftp://ftp.osuosl.org/.1/cherokee/1.2/${PV}/cherokee-${PV}.tar.gz \ file://cherokee.init \ file://cherokee.service \ "in fact the correct URL is now :
https://github.com/cherokee/webserver/archive/v1.2.98.tar.gz
so I think you can switch to :
+SRC_URI = "https://github.com/cherokee/webserver/archive/v${PV}.tar.gzEric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Eric
Quoted 4 lines · Eric Bénard
in fact the correct URL is now :
https://github.com/cherokee/webserver/archive/v1.2.98.tar.gz
so I think you can switch to :
+SRC_URI = "https://github.com/cherokee/webserver/archive/v${PV}.tar.gz
The problem with the "official" one in github is that it is not the same. The checksums are different and a basic *diff* verification between the unpacked packages shows a bunch of differences.
The one in the OSUOSL is exactly the same (same checksums).
Regarding the mirror policies i just don't know. I was bitten by this problem trying to build cherokee in Dylan branch and tried to find a mirror. I selected OSUOSL because of its track supporting open source projects.
Signature · 3 lines
Javier Viguera Software Engineer Digi International® Spain S.A.U.
Quoted 11 lines · Javier Viguera
Hi Eric
Quoted 4 lines · Eric Bénard
in fact the correct URL is now :
https://github.com/cherokee/webserver/archive/v1.2.98.tar.gz
so I think you can switch to :
+SRC_URI = "https://github.com/cherokee/webserver/archive/v${PV}.tar.gzThe problem with the "official" one in github is that it is not the same. The checksums are different and a basic *diff* verification between the unpacked packages shows a bunch of differences.
Yes and github tarballs seem to be regenerated on-demand or at least sometimes, so checksums don't stay the same even if we update them now.
Quoted 15 lines
The one in the OSUOSL is exactly the same (same checksums).
Regarding the mirror policies i just don't know. I was bitten by this problem trying to build cherokee in Dylan branch and tried to find a mirror. I selected OSUOSL because of its track supporting open source projects.
Signature · 7 lines
Javier Viguera Software Engineer Digi International® Spain S.A.U. _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Hi Javier,
Quoted 10 lines · Javier Viguera
Quoted 4 lines · Eric Bénard
in fact the correct URL is now :
https://github.com/cherokee/webserver/archive/v1.2.98.tar.gz
so I think you can switch to :
+SRC_URI = "https://github.com/cherokee/webserver/archive/v${PV}.tar.gzThe problem with the "official" one in github is that it is not the same. The checksums are different and a basic *diff* verification between the unpacked packages shows a bunch of differences.
interesting :-(
Quoted 7 lines
The one in the OSUOSL is exactly the same (same checksums).
Regarding the mirror policies i just don't know. I was bitten by this problem trying to build cherokee in Dylan branch and tried to find a mirror. I selected OSUOSL because of its track supporting open source projects.
while you keep the same checksum there is no risk to get a wrong source base so I don't see a problem here.
Eric