Index of /slackware/slackware-current/source

Icon  Name                        Last modified      Size  Description
[   ] CHECKSUMS.md5 08-Oct-2021 05:26 566K [TXT] CHECKSUMS.md5.asc 08-Oct-2021 05:26 163 [   ] FILE_LIST 08-Oct-2021 05:25 788K [   ] MANIFEST.bz2 08-Oct-2021 05:25 22M [TXT] README.TXT 02-Oct-2006 06:40 1.3K [DIR] a/ 25-Sep-2021 02:50 - [DIR] ap/ 18-Sep-2021 21:45 - [TXT] buildlist-from-changelog.sh 08-Oct-2021 03:36 12K [DIR] d/ 28-Aug-2021 21:44 - [DIR] e/ 01-Feb-2021 03:52 - [DIR] f/ 27-Feb-2018 07:13 - [DIR] installer/ 06-Oct-2021 19:22 - [DIR] k/ 07-Oct-2021 19:10 - [DIR] kde/ 18-Jan-2021 00:28 - [DIR] l/ 06-Oct-2021 19:52 - [TXT] make_world.sh 14-Feb-2021 07:12 14K [DIR] n/ 26-Sep-2021 20:27 - [DIR] t/ 06-Jul-2021 21:21 - [DIR] tcl/ 01-Feb-2018 04:10 - [DIR] x/ 01-Oct-2021 07:29 - [DIR] xap/ 25-Sep-2021 07:05 - [DIR] xfce/ 15-Jan-2021 05:25 - [DIR] y/ 30-Dec-2020 22:23 -

This is the source used for Slackware.

To look for a particular bit of source (let's say for 'cp'), first you would
look for the full path:

fuzzy:~# which cp
/bin/cp

Then, you grep for the package it came from. Note that the leading '/'
is removed:

fuzzy:~# grep bin/cp /var/log/packages/*
/var/log/packages/cpio-2.4.2.91-i386-1:bin/cpio
/var/log/packages/fileutils-4.1-i386-2:bin/cp
/var/log/packages/gcc-2.95.3-i386-2:usr/bin/cpp
/var/log/packages/gnome-applets-1.4.0.5-i386-1:usr/bin/cpumemusage_applet


From this, you can see that 'cp' came from the fileutils-4.1-i386-2 package.
The source will be found in a corresponding subdirectory.  In this case, that
would be ./a/bin.   Don't be fooled into thinking that the _bin.tar.gz in this
directory is the package with the source code -- anything starting with '_' is
just a framework package full of empty files with the correct permissions and 
ownerships for the completed package to use.

Many of these packages now have scripts that untar, patch, and compile the
source automatically.  These are the 'SlackBuild' scripts.  Moving back to the
example above, you can figure out which package the bin/cp source came from by
examining the SlackBuild script.

Have fun!

---
Patrick J. Volkerding
volkerdi@slackware.com