Welcome to ftp.nluug.nl Current directory: /ftp/os/Linux/distr/slackware/slackware-12.1/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/ 23-Apr-2008 22:46 - ap/ 12-Apr-2008 01:52 - d/ 10-Apr-2008 01:51 - e/ 15-Apr-2008 05:17 - f/ 08-Sep-2003 03:18 - installer/ 13-Mar-2008 20:22 - k/ 30-Apr-2008 23:42 - kde/ 20-Feb-2008 06:22 - kdei/ 20-Feb-2008 04:28 - l/ 28-Apr-2008 23:28 - n/ 14-Apr-2008 00:09 - t/ 14-Apr-2008 06:55 - tcl/ 14-Apr-2008 04:32 - x/ 01-Apr-2008 06:02 - xap/ 14-Apr-2008 07:30 - y/ 08-Sep-2006 23:06 - CHECKSUMS.md5 21-Aug-2013 23:30 267K CHECKSUMS.md5.asc 21-Aug-2013 23:30 198 FILE_LIST 21-Aug-2013 23:30 373K MANIFEST.bz2 21-Aug-2013 23:30 4.4M README.TXT 02-Oct-2006 06:40 1.3K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!