View Single Post

   
  #5 (permalink)  
Old 02-20-2008, 01:56 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Package building with SlackBuilds: "stripping"?

Niki Kovacs <mickey@mouse.com> wrote:
> Check out http://slackware.tuxfamily.org, I created some space for a
> SlackBuild repository.


It looks like a very good start. In the README you say that you don't put
the sources on your web-site as you only have a modem connection and only
have limited space on the server. You also say that you don't have any
automatic routine to use wget.

If you would like you could borrow my automatic wget routine. It does the
following:

1) It pings all the servers.

2) It sorts the servers so the quickest to reply to ping comes first.

3) It downloads until wget ruturns true.

4) (optional) it checks an md5sum of the downloaded file and redo the
download from the next server if md5sum fails.

The above functionality is written in a Makefile, but it shouldn't be hard
to translate to a shell script as it basically consists of shell commands.

If you don't want to add the functionality to your script but still want
to borrow the functionality from my Makefile you could get the
functionality by writing a rule file which contains the name of the
package and the directory part of the URLs. With such a rule file you will
be able to use my Makefile to do "make all download" to get all the
sources or "make speex download" to only get the source of speex.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Reply With Quote