WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: curl  (Read 12901 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
curl
« on: November 27, 2009, 12:04:12 AM »
Updated:

Code: [Select]
Title:          curl-dev.tcz
Description:    Client and library for network transfers dev files.
Version:        7.19.7
Author:         Daniel Stenberg
Original-site:  http://curl.haxx.se/
Copying-policy: MIT
Size: 217KB
Extension_by:   Jason W
Comments:       Use this extension along with curl.tczl to compile
apps dependent on curl.
Change-log:     2008/09/10 First version
       2008/12/12 Rebuilt for i486, size, cramfs.
Current: 2009/11/26 Updated and built against openssl-0.9.8k.

Code: [Select]
Title:          curl.tczl
Description:    Client and library for network transfers.
Version:        7.19.7
Author:         Daniel Stenberg
Original-site:  http://curl.haxx.se/
Copying-policy: MIT
Size: 200K
Extension_by:   Jason W
Comments:       ---------
Change-log:     2008/09/10 First version
         2008/12/12 Rebuilt for i486, size, cramfs.
Current: 2009/11/26 Updated and rebuilt against openssl-0.9.8k.

« Last Edit: November 27, 2009, 12:26:31 AM by Jason W »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: curl
« Reply #1 on: February 18, 2010, 02:27:57 AM »
the dep file still says openssl-0.9.8h.tcz - should it be openssl-0.9.8k?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #2 on: February 18, 2010, 05:12:43 AM »
Fixed.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: curl
« Reply #3 on: February 18, 2010, 05:01:28 PM »
Hmm, I don't think that this was a successful change:
Code: [Select]
tc@box:~$ curl http://example.com
curl: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

Tested on a "plain" TC 2.9rc4 system.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #4 on: February 18, 2010, 05:37:16 PM »
Oops, I did build it against openssl-0.9.8k, but I forgot  to make a wrapper for it as it does not automatically find the libs.  Some openssl dependent apps do and some don't.  I will make one when I get home tonight.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #5 on: February 18, 2010, 05:40:36 PM »
Better yet, I see how to rebuild it with a hard coded openssl path that wont need a wrapper, by adding:

 env LDFLAGS=-R/usr/local/openssl-0.9.8k/lib ./configure --with-ssl
« Last Edit: February 18, 2010, 06:01:25 PM by Jason W »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #6 on: February 18, 2010, 08:12:51 PM »
Updated and fixed:

Code: [Select]
Title:          curl-dev.tcz
Description:    Client and library for network transfers dev files.
Version:        7.20.0
Author:         Daniel Stenberg
Original-site:  http://curl.haxx.se/
Copying-policy: MIT
Size: 237KB
Extension_by:   Jason W
Comments:       Use this extension along with curl.tcz to compile
apps dependent on curl.
Change-log:     2008/09/10 First version
        2008/12/12 Rebuilt for i486, size, cramfs.
2009/11/26 Updated and built against openssl-0.9.8k
Current: 2010/02/18 Updated to 7.20.0 and hardlinked against openssl-0.9.8k.


Code: [Select]
Title:          curl.tcz
Description:    Client and library for network transfers.
Version:        7.20.0
Author:         Daniel Stenberg
Original-site:  http://curl.haxx.se/
Copying-policy: MIT
Size: 200K
Extension_by:   Jason W
Comments:       ---------
Change-log:     2008/09/10 First version
        2008/12/12 Rebuilt for i486, size, cramfs.
2009/11/26 Updated and rebuilt against openssl-0.9.8k.
Current: 2010/02/18 Updated to 7.20.0 and hardlinked against openssl-0.9.8k.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: curl
« Reply #7 on: February 26, 2010, 05:26:00 AM »
Since the last reported fix, I have set up various virgin test rigs using TC 2.8.1.  Whenever curl is installed and a check for missing dependencies is made, openssl-0.9.8k.tcz is always reported as missing and must be installed seperately.

For example:  http://forum.tinycorelinux.net/index.php?topic=5131.0
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #8 on: February 26, 2010, 06:30:06 AM »
openssl-0.9.8k.tcz is in the curl dep file.  Is it installed at the time the check for dependencies is made?

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: curl
« Reply #9 on: February 26, 2010, 06:46:54 AM »
openssl-0.9.8k.tcz is in the curl dep file.  Is it installed at the time the check for dependencies is made?
No.  It is consistently identified as missing. 

The latest instance of this occurred today - see the link given in my earlier post.  The only apps installed to this virgin system were OSS, Midori, getFlash10 and Flash10.  At this point the check for missing dependencies was run which again identified openssl-0.9.8k.tcz.
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #10 on: February 26, 2010, 08:56:31 AM »
I will check when I get home today and see if booting "base norestore" and using the Appbrowser to install curl.tcz also fetches openssl-0.9.8k.tcz.  I will also see if checking for missing deps exhibits the behavior you are seeing when those two extensions are installed.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: curl
« Reply #11 on: February 26, 2010, 09:33:09 AM »
As a reference point these are the results I obtained from running the tests you propose.

I will check when I get home today and see if booting "base norestore" and using the Appbrowser to install curl.tcz also fetches openssl-0.9.8k.tcz. 
Booting "base norestore"
Via Appbrowser installing curl.tcz
Both curl.tcz and openssl-0.9.8k.tcz are installed.

I will also see if checking for missing deps exhibits the behavior you are seeing when those two extensions are installed.
Booting "base norestore"
Via Appbrowser installing getFlash10.tcz
curl.tcz is installed, openssl-0.9.8k.tcz is not installed.    openssl-0.9.8h.tcz is listed as  a dependency.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #12 on: February 26, 2010, 09:34:37 AM »
Thanks for the info, it is an issue with the Getflash10 dep file.  I will correct it now.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: curl
« Reply #13 on: February 26, 2010, 10:28:37 AM »
These dep files contain curl and therefore need to have openssl-0.9.8k.tcz included.  I added openssl-0.9.8k.tcz to those that do not have it.  I did not remove openssl-0.9.8h.tcz from them as some of the apps themselves are built against openssl-0.9.8h and some only contain openssl in its dep file because of it is a curl dependency.  I would rather prune a harmless redundant entry as they are tested rather than break the extensions and then fix them as they are reported broken.

bibletime.tcz.dep
bitstormlite.tcz.dep
centerim-encrypt.tcz.dep
centerim.tcz.dep
fbreader.tcz.dep
firefox.tcz.dep
flash.tcz.dep
getFlash10.tcz.dep
gnash-dev.tcz.dep
gnash.tcz.dep
gpredict.tcz.dep
icecat.tcz.dep
logjam.tcz.dep
moc.tcz.dep
namoroka.tcz.dep
openlierox.tcz.dep
php5-pear.tcz.dep
php5.tcz.dep
qmmp.tcz.dep
shiretoko.tcz.dep
sword-dev.tcz.dep
sword-locale.tcz.dep
sword.tcz.dep
transmission-locale.tcz.dep
transmission.tcz.dep
wormux-locale.tcz.dep
wormux.tcz.dep
xine-xvesa.tcz.dep

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: curl
« Reply #14 on: March 13, 2010, 11:44:00 PM »
Jason: I'm sure you've got a lot on your plate, but maybe you could consider at some stage to rebuild curl with 'openssl-0.9.8m.tcz'.

That might then allow in a second step to change from 'openssl-0.9.8k.tcz' to 'openssl-0.9.8m.tcz' for all those extensions listen in reply #13 (and maybe some more). I'm happy to undertake some analysis which of the currently listed 37 extensions really require 'openssl-0.9.8k.tcz' (considering that 30 of them are also listing 'curl.tcz' as dependency).