Welcome to ftp.nluug.nl Current directory: /ftp/os/Linux/distr/slackware/slackware-10.0/source/ |
|
Contents of README.TXT: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 |
Name Last modified Size
Parent Directory - a/ 20-Jun-2004 10:45 - ap/ 08-Jun-2004 21:02 - d/ 22-Jun-2004 08:00 - e/ 23-May-2003 07:45 - f/ 08-Sep-2003 03:18 - gnome/ 20-Jun-2004 01:58 - k/ 09-Jun-2004 06:36 - kde/ 09-Jun-2004 09:39 - kdei/ 09-Jun-2004 09:38 - l/ 20-Jun-2004 02:59 - n/ 14-Jun-2004 08:43 - rootdisks/ 29-Aug-2002 23:10 - t/ 18-Sep-2003 23:37 - tcl/ 11-May-2004 08:10 - x/ 30-May-2004 03:28 - xap/ 20-Jun-2004 04:23 - y/ 10-Mar-2002 06:42 - CHECKSUMS.md5 23-Feb-2007 05:25 162K CHECKSUMS.md5.asc 23-Feb-2007 05:25 189 FILE_LIST 23-Feb-2007 05:24 235K MANIFEST.bz2 23-Feb-2007 05:24 4.0M README.TXT 22-Jun-2004 21:01 1.2K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!