Index of /slackware/slackware-current/source

Icon  Name                        Last modified      Size  Description
[   ] CHECKSUMS.md5 16-Oct-2018 01:38 449K [TXT] CHECKSUMS.md5.asc 16-Oct-2018 01:38 163 [   ] FILE_LIST 16-Oct-2018 01:37 635K [   ] MANIFEST.bz2 16-Oct-2018 01:37 15M [TXT] README.TXT 02-Oct-2006 06:40 1.3K [DIR] a/ 01-Oct-2018 19:28 - [DIR] ap/ 07-Sep-2018 00:56 - [TXT] buildlist-from-changelog.sh 23-Apr-2018 21:29 12K [DIR] d/ 28-Sep-2018 01:57 - [DIR] e/ 03-Feb-2018 03:50 - [DIR] f/ 27-Feb-2018 07:13 - [DIR] installer/ 11-Oct-2018 00:22 - [DIR] k/ 13-Oct-2018 20:23 - [DIR] kde/ 18-Jun-2018 04:22 - [DIR] kdei/ 31-Jan-2018 06:38 - [DIR] l/ 21-Sep-2018 05:08 - [TXT] make_world.sh 08-May-2018 04:32 13K [DIR] n/ 04-Oct-2018 20:44 - [DIR] t/ 24-Feb-2018 21:15 - [DIR] tcl/ 01-Feb-2018 04:10 - [DIR] x/ 10-Oct-2018 20:16 - [DIR] xap/ 30-Jul-2018 23:05 - [DIR] xfce/ 25-Jun-2018 22:55 - [DIR] y/ 04-Feb-2018 20:07 -

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