aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch.txt
blob: 5c428bacffd83e939cf8bd79112aa9d01579ee69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
*** SITE ADMINS, please edit the last paragraph of this file and ***
*** REMOVE these two lines!                                      ***

This is an archive of the source files linked to by the .info files
on SlackBuilds.org.

SlackBuilds.org (SBo) doesn't host the source code to the packages it
builds, only links to the sources and the build scripts themselves.
This archive is an attempt to gather all the sources together in one
(rather large) collection. It can be used interactively, or a script
can be used to access the archive automatically.

Normally, when using an SBo build, you either manually download the files
or use a frontend like sbopkg which downloads them for you.  From time
to time, this fails, due to the upstream site going out of service,
or rearranging their links, etc. When that happens, it's up to you to
find another copy of the same source tarball somewhere else on the web,
if you can.

For interactive use: Suppose you're trying to build audio/zita-ajbridge,
and the original download site is down. You'll find the source file in
this archive, under "by-name/audio/zita-ajbridge/".

For scripting, there's a by-md5/ directory, with subdirectories named
after the first 2 hex digits of the md5sum. If you look at the zita-ajbridge.info
file from the SlackBuild, you'll see:

  MD5SUM="9b834537b26063cc9ea6990cadeef62d"

The first 2 digits are 9 and b, so the file you're looking for will be
found in the "by-md5/9/b/9b834537b26063cc9ea6990cadeef62d" directory.

There is a simple client script that knows how to find files in the
archive, and a more complex one that uses this archive plus other
well-known archives and the archive.org wayback machine.

Simple script here:

  https://slackware.uk/repos/sbostuff/plain/sbosrc

Complex script here:

  https://slackware.uk/repos/sbostuff/plain/sbofindsrc

As the SBo builds are upgraded for new versions, the files here will get
outdated. Once a week (or however often the archive operator decides),
this archive is updated from the .info files in the latest SBo git tree.

This archive is incomplete, because not all sources can be automatically
downloaded. Some require registration at the upstream site, for instance.
Also, the site administrator can set a size limit, and files larger than
the limit will not be downloaded or kept in the archive... or the admin
can black packages or entire categories (e.g. some archives may not wish
to carry games). Even a partial archive can be useful, though.

There are other SBo source archives like this one. A list of them can
be found at:

  http://urchlay.naptime.net/repos/sbostuff/plain/sbosrcarch.list

Policy for this particular instance of the SBo source archive is:

[ site admins, please replace this text with details of your archive:
file size limit, how often you run 'sbosrcarch update', and list any
blacklisted categories ]