maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Future of Maemo 5 Fremantle (https://talk.maemo.org/showthread.php?t=75174)

momcilo 2011-08-21 16:45

Re: Future of Maemo 5 Fremantle
 
Quote:

Originally Posted by pali (Post 1074118)
for downloads.maemo.nokia.com you need:
* send Basic HTTP authentication information (--auth-no-challenge for wget)
* with login qa9recEP and password Pat2UGuP

wget --auth-no-challenge --http-user=qa9recpEP --http-password=Pat2UGuP https://downloads.maemo.nokia.com/fremantle/ssu/apps/

It does not work

Edit: I'll try with specific file

pali 2011-08-21 16:53

Re: Future of Maemo 5 Fremantle
 
Code:

$ wget --user=qa9recEP --password=Pat2UGuP --auth-no-challenge https://downloads.maemo.nokia.com/fremantle/ssu/apps/Packages.gz
--2011-08-21 18:52:40--  https://downloads.maemo.nokia.com/fremantle/ssu/apps/Packages.gz
Resolving downloads.maemo.nokia.com... 2.21.99.200
Connecting to downloads.maemo.nokia.com|2.21.99.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69160 (68K) [application/x-gzip]
Saving to: `Packages.gz'

100%[=======================================================================================================================================================================================>] 69,160      --.-K/s  in 0.04s 

2011-08-21 18:52:40 (1.70 MB/s) - `Packages.gz' saved [69160/69160]


momcilo 2011-08-21 16:55

Re: Future of Maemo 5 Fremantle
 
Quote:

Originally Posted by pali (Post 1074128)
Code:

$ wget --user=qa9recEP --password=Pat2UGuP --auth-no-challenge https://downloads.maemo.nokia.com/fremantle/ssu/apps/Packages.gz
--2011-08-21 18:52:40--  https://downloads.maemo.nokia.com/fremantle/ssu/apps/Packages.gz
Resolving downloads.maemo.nokia.com... 2.21.99.200
Connecting to downloads.maemo.nokia.com|2.21.99.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69160 (68K) [application/x-gzip]
Saving to: `Packages.gz'

100%[=======================================================================================================================================================================================>] 69,160      --.-K/s  in 0.04s 

2011-08-21 18:52:40 (1.70 MB/s) - `Packages.gz' saved [69160/69160]


Thanks, I did not expect flat repository.

Will try later. Thank you.

momcilo 2011-08-23 08:01

Re: Future of Maemo 5 Fremantle
 
@pali

I made a quick test with apt-mirror + --auth-no-challenge option added to wget, and it works.

I have to test/modify it and submit the (trivial) patch upstream.

pali 2011-09-04 11:21

Re: Future of Maemo 5 Fremantle
 
I made my own https patch for apt-mirror to support auth-no-challenge and no-check-certificate. Patch is based on version 0.4.8-3ubuntu1 from ubuntu natty. Here is apt-mirror patch and mirror.list file for all maemo 5 fremantle repositories:

apt-mirror-https.patch
mirror.list

Happy downloading and backuping :)

EDIT:
patch attached to relevant ubuntu bug
mirror.list moved to wiki

pali 2011-09-10 17:26

Re: Future of Maemo 5 Fremantle
 
After backup I unpacked all closed/non-free deb packages and I found out that some of them has GPL/LGPL license written in /usr/share/<package>/copyright. All these packages are now red on wiki http://wiki.maemo.org/Fremantle_closed_packages

So what to do now?

davedickson 2011-09-10 17:41

Re: Future of Maemo 5 Fremantle
 
Quote:

Originally Posted by pali (Post 1085700)
After backup I unpacked all closed/non-free deb packages and I found out that some of them has GPL/LGPL license written in /usr/share/<package>/copyright. All these packages are now red on wiki http://wiki.maemo.org/Fremantle_closed_packages

So what to do now?

Naughty naughty, doesn't the code HAVE to be included if it is under GPL/LGPL???

What was the complete size of backup out of interest, still haven't got round to doing this yet but hope to very soon :)

pali 2011-09-13 12:05

Re: Future of Maemo 5 Fremantle
 
Quote:

Originally Posted by davedickson (Post 1085715)
Naughty naughty, doesn't the code HAVE to be included if it is under GPL/LGPL???

Yes, of course.

I reported first bugs:
https://bugs.maemo.org/show_bug.cgi?id=11715#c3
https://bugs.maemo.org/show_bug.cgi?id=12388

But there are more packages with (L)GPL licenses without source code (see wiki).

Quote:

Originally Posted by davedickson (Post 1085715)
What was the complete size of backup out of interest, still haven't got round to doing this yet but hope to very soon :)

downloads.maemo.nokia.com (mr0+apps) 280M
repository.maemo.org (SDK+tools+nokia-binaries) 5,8G

Ovi, Extras, Extras-devel, Extras-testing and Community SSU I do not have backuped.

momcilo 2011-09-13 12:26

Re: Future of Maemo 5 Fremantle
 
Quote:

Originally Posted by pali (Post 1081673)
I made my own https patch for apt-mirror to support auth-no-challenge and no-check-certificate. Patch is based on version 0.4.8-3ubuntu1 from ubuntu natty. Here is apt-mirror patch and mirror.list file for all maemo 5 fremantle repositories:

apt-mirror-https.patch: http://pastebin.com/SWeDqgZJ
maemo5-apt-mirror.list: http://pastebin.com/4GVQVZxL

Happy downloading and backuping :)

I've looked at the patch, good thing you've added it to configuration file.

Currently the setting is global. I am concerned that it may conflict with other deb lines that don't need it.

Have you posted your patch upstream?

BTW: I had an issue with apt-mirror while backing up chinook repositories. One single package (pygtkeditor) did include extra empty line in "Files" section, I had to add one-liner to skip the line if separation result is of length 0 (around line 474, 3 is expected).

pali 2011-09-13 12:48

Re: Future of Maemo 5 Fremantle
 
Next bug about osso-backup reported here:
https://bugs.maemo.org/show_bug.cgi?id=12415

For my apt-mirror patch: Added option only change behaviour of https transports. And old version of wget had these options enabled by default. So if apt-mirror worked fine with old version of wget, it should work with new + my patches.


All times are GMT. The time now is 08:11.

vBulletin® Version 3.8.8