LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   sourceforge as slapt-get mirror? (http://www.linuxquestions.org/questions/slackware-14/sourceforge-as-slapt-get-mirror-4175483922/)

Geremia 11-08-2013 02:12 PM

sourceforge as slapt-get mirror?
 
How could I use sourceforge as a slapt-get mirror?

SourceForge has Slackware packages for WINE here:
http://sourceforge.net/projects/wine...re%20Packages/

I would like slapt-get or slackpkg to get its recent WINE packages from there.

thanks

gapan 11-08-2013 03:23 PM

You can't. You need a location with repository information that slapt-get can use and that's not one. You just download the package and install it with installpkg.

ReaperX7 11-08-2013 03:59 PM

Sourceforge uses redirects to mirrors. Wget can negotiate them, but not slapt-get.

Geremia 11-09-2013 10:45 AM

Quote:

Originally Posted by ReaperX7 (Post 5061010)
Sourceforge uses redirects to mirrors.

Couldn't I just make my own mirror? How would I do that?

ReaperX7 11-09-2013 04:36 PM

Mirror redirects create a different connection. Because slapt-get works with direct archives on FTP style services and HTTP file servers, it can not negotiate multiple relinks.

TommyC7 11-09-2013 06:17 PM

Geremia,

slapt-get reads the PACKAGES.TXT file for package information (which is also what it reads for a package's dependencies). Simply put, sourceforge.net does not provide this file to tell where a package's files (or it's dependencies) are.

You can create your own mirror, but that requires some work that is usually scripted. For example, in order to add a package's dependency information into the PACKAGES.TXT when you decide to put in a new package, the slapt-get documentation asks that you use a "slack-required" text file included with the package in the $BUILD_ROOT/install directory with a list of required packages that can be scripted to be added into PACKAGES.TXT.

In addition to that, you would probably want some meta files and other such tings. I think Alien Bob might have a script to assist in creating mirrors (or it was a different Slackware developer) to help with most of this stuff.


All times are GMT -5. The time now is 02:48 PM.