Reply
Thread Tools
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#71
Originally Posted by pali View Post
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
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#72
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]
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#73
Originally Posted by pali View Post
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.
 
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#74
@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.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#75
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

Last edited by pali; 2012-06-19 at 14:42.
 

The Following 6 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#76
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?
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 248 | Thanked: 66 times | Joined on Oct 2009 @ Birmingham
#77
Originally Posted by pali View Post
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
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#78
Originally Posted by davedickson View Post
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).

Originally Posted by davedickson View Post
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.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#79
Originally Posted by pali View Post
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).

Last edited by momcilo; 2011-09-13 at 12:32.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#80
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.
 
Reply

Tags
apt-mirror, closed packages, futureproofing, orphaned, repository dump


 
Forum Jump


All times are GMT. The time now is 15:39.