[oe] [meta-oe][PATCH 4/9] xinput-calibrator: add new version 0.7.5 and include .inc to recipe directly

Martin Jansa martin.jansa at gmail.com
Wed May 11 07:18:30 UTC 2011


On Tue, May 10, 2011 at 11:41:31PM -0700, Khem Raj wrote:
> On Tue, May 10, 2011 at 11:17 PM, Khem Raj <raj.khem at gmail.com> wrote:
> > On Tue, May 10, 2011 at 4:40 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > this is causing some gripe.
> >
> > $ wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
> > --2011-05-10 23:16:17--
> > http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
> > Resolving github.com... 207.97.227.239
> > Connecting to github.com|207.97.227.239|:80... connected.
> > HTTP request sent, awaiting response... 301 Moved Permanently
> > Location: https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
> > [following]
> > --2011-05-10 23:16:17--
> > https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
> > Connecting to github.com|207.97.227.239|:443... connected.
> > ERROR: certificate common name `*.github.com' doesn't match requested
> > host name `github.com'.
> > To connect to github.com insecurely, use `--no-check-certificate'.

strange here it finally resolves to cloud.github.com with common name
matching

wget http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
--2011-05-11 09:13:11--  http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz [following]
--2011-05-11 09:13:11--  https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz [following]
--2011-05-11 09:13:12--  http://cloud.github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
Resolving cloud.github.com... 205.251.205.31, 205.251.205.41, 205.251.205.93, ...
Connecting to cloud.github.com|205.251.205.31|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355313 (347K) [application/octet-stream]
Saving to: `xinput_calibrator-0.7.5.tar.gz.1'

100%[===================================================================================================================================================================================================>] 355 313      624K/s   in 0,6s

2011-05-11 09:13:18 (624 KB/s) - `xinput_calibrator-0.7.5.tar.gz.1' saved [355313/355313]

but maybe my wget should also check certificate before accepting 302

$ wget --version
GNU Wget 1.12 built on linux-gnu.

> >
> > Which seems to be a known problem with wget as described here
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409938
> >
> > So one option we  have is to cache the tar on angstrom mirror.
> >
> 
> or we could fix it with patching bitbake.conf something like this
> http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/commit/?h=kraj/misc-fixes&id=570e4eedba1c7de84db20de8f2c8730ce6c8a249

looks reasonable as we're checking checksum on downloaded archive anyway

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110511/9071607f/attachment-0002.sig>


More information about the Openembedded-devel mailing list