Welcome to ftp.nluug.nl Current directory: /pub/os/Linux/distr/salix/x86_64/slackware-14.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/ 21-Aug-2012 19:47 - ap/ 09-Sep-2012 19:03 - d/ 19-Sep-2012 19:57 - e/ 16-Mar-2010 05:13 - f/ 16-Mar-2009 22:18 - installer/ 02-Jul-2012 05:57 - k/ 19-Sep-2012 04:01 - kde/ 21-Jun-2012 04:31 - kdei/ 21-Jun-2012 04:39 - l/ 23-Sep-2012 20:03 - n/ 12-Sep-2012 00:11 - t/ 17-May-2010 21:31 - tcl/ 25-May-2012 02:55 - x/ 15-Aug-2012 04:02 - xap/ 09-Sep-2012 04:56 - xfce/ 09-Aug-2012 05:55 - y/ 12-May-2010 06:10 - CHECKSUMS.md5 25-Sep-2012 20:01 375K CHECKSUMS.md5.asc 25-Sep-2012 20:01 198 FILE_LIST 10-Jul-2017 19:50 529K MANIFEST.bz2 10-Jul-2017 19:50 8.0M 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!