LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2010, 02:22 PM   #1
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Rep: Reputation: 47
sbopkg : trying to set a different mirror for sourceforge.net


The default sourceforge mirror selected by wget or sbopkg is too slow for me. How do i set a different mirror permanently? Thanks.
 
Old 06-11-2010, 02:47 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
So far as I know the download location is stored in the .info file which is stored in the Slackbuild tar file. I don't think using sbokg you can override this but I may be wrong. If not then just download the package from your preferred location and build it yourself or download the Slackbuild, amend this accordingly, (if the tar file has changed names), and download the differently named tar file. Then run the amended, (if it is amended), slackbuild script.

In other ( and hopefully simpler) words - I think the sbopkg way of running a slackbuild is dependant on the stored .info file download information. If yoiu want to do otherwise, download from the preferred location and if the source code name has changed, amend the slackbuild otherwise just run it.

This was the way of running a slackbuild before the marvellous sbopkg came about.

Last edited by bgeddy; 06-11-2010 at 02:58 PM.
 
Old 06-11-2010, 03:13 PM   #3
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
Yes, you can override this in sbopkg. There is an option in the menu for the particular app where you can manually edit/customize the SlackBuild or .info file, and it will be saved as a separate 'local' copy. Just edit the .info and put in your download URL. When you build the app with sbopkg, it will prompt you if you want to use the original .info or the locally-edited one. Just choose the locally-edited one and you'll be good to go.
 
Old 06-12-2010, 06:13 AM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Aha - thanks Chess and apologies for missing that sbopkg functionality. That's useful to know - thanks again and please keep up the good work, it's appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't download glui from sourceforge, need someone to mirror it if possible... POW R TOC H General 4 11-04-2008 10:41 AM
iptables - rc.firewall (Projectfiles/lfw.sourceforge.net) mirror of script ledow Linux - Security 3 11-06-2007 05:14 PM
Any sourceforge.net users here? vharishankar General 6 12-15-2005 06:58 AM
How to work with Sourceforge.net? kornerr Programming 1 10-08-2005 01:04 PM
Can't resolve sourceforge.net. grayswander Linux - Networking 1 04-05-2004 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration