Index of /ftp/mirror/Slackware/source
Name Last modified Size Description
Parent Directory -
MANIFEST.bz2 22-Feb-2007 20:43 3.8M
FILE_LIST 22-Feb-2007 20:43 221K
CHECKSUMS.md5 22-Feb-2007 20:44 157K
CHECKSUMS.md5.asc 22-Feb-2007 20:44 189
y/ 25-Jun-2002 13:30 -
xap/ 12-Sep-2006 17:43 -
x/ 23-Feb-2005 17:57 -
tcl/ 10-Nov-1999 19:22 -
t/ 12-Sep-2006 17:43 -
rootdisks/ 12-Sep-2006 17:43 -
n/ 12-Sep-2006 17:43 -
l/ 12-Sep-2006 17:43 -
kdei/ 12-Sep-2006 17:43 -
kde/ 26-Sep-2005 03:39 -
k/ 12-Sep-2006 17:43 -
f/ 14-Feb-2004 02:15 -
e/ 12-Sep-2006 17:43 -
d/ 20-Sep-2005 03:37 -
ap/ 23-Feb-2005 17:57 -
a/ 23-Feb-2005 17:57 -
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