Index of /pub/linux/slackware/slackware-11.0/source

      Name                    Last modified       Size  Description

[DIR] Parent Directory 21-Apr-2011 13:15 - [   ] CHECKSUMS.md5 23-Feb-2007 15:55 181k [TXT] CHECKSUMS.md5.asc 23-Feb-2007 15:55 1k [   ] FILE_LIST 23-Feb-2007 15:54 254k [   ] MANIFEST.bz2 23-Feb-2007 15:54 4.0M [DIR] a/ 01-Oct-2006 09:05 - [DIR] ap/ 20-Sep-2006 15:09 - [DIR] d/ 18-Sep-2006 17:32 - [DIR] e/ 12-Sep-2006 11:39 - [DIR] f/ 08-Sep-2003 11:18 - [DIR] k/ 01-Sep-2006 16:48 - [DIR] kde/ 25-Sep-2006 11:35 - [DIR] kdei/ 03-Aug-2006 04:30 - [DIR] l/ 30-Sep-2006 12:55 - [DIR] n/ 01-Oct-2006 10:07 - [DIR] rootdisks/ 30-Aug-2002 07:10 - [DIR] t/ 15-Aug-2006 10:34 - [DIR] tcl/ 31-Jul-2006 17:58 - [DIR] x/ 21-Sep-2006 18:56 - [DIR] xap/ 23-Sep-2006 18:25 - [DIR] y/ 09-Sep-2006 07:06 -


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