slackware-current/source
Patrick J Volkerding 5d65e7741e Sun Oct 13 19:01:25 UTC 2019
a/pkgtools-15.0-noarch-26.txz:  Rebuilt.
  upgradepkg: add spaces to --dry-run package list. Thanks to Markus Wiesner.
l/aspell-0.60.8-x86_64-1.txz:  Upgraded.
n/network-scripts-15.0-noarch-9.txz:  Rebuilt.
  rc.inet1: Fix typos and spacing.
  rc.inet2: Start rc.firewall first. This had been later in the script due to
  the now unsupported idea of having /usr on NFS. Thanks to abga.
  rc.inet2: If present and executable, start the Kerberos init scripts.
  rc.inet2: Remove obsolete rpc.pcnfsd/rpc.bwnfsd section from the end.
n/proftpd-1.3.6a-x86_64-1.txz:  Upgraded.
xap/pan-0.146-x86_64-1.txz:  Upgraded.
2019-10-13 23:17:53 +02:00
..
a Sun Oct 13 19:01:25 UTC 2019 2019-10-13 23:17:53 +02:00
ap Sat Oct 12 17:56:55 UTC 2019 2019-10-13 08:59:48 +02:00
d Sat Oct 12 17:56:55 UTC 2019 2019-10-13 08:59:48 +02:00
e Mon Sep 30 21:08:32 UTC 2019 2019-10-01 08:59:50 +02:00
f Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
installer Wed Aug 21 19:21:45 UTC 2019 2019-08-22 08:59:48 +02:00
k Fri Oct 11 21:23:09 UTC 2019 2019-10-12 08:59:49 +02:00
kde Mon Oct 7 04:41:29 UTC 2019 2019-10-07 17:59:47 +02:00
kdei Mon Sep 30 21:08:32 UTC 2019 2019-10-01 08:59:50 +02:00
l Fri Oct 11 21:23:09 UTC 2019 2019-10-12 08:59:49 +02:00
n Sun Oct 13 19:01:25 UTC 2019 2019-10-13 23:17:53 +02:00
t Mon Oct 7 04:41:29 UTC 2019 2019-10-07 17:59:47 +02:00
tcl Mon Sep 30 21:08:32 UTC 2019 2019-10-01 08:59:50 +02:00
x Sat Oct 12 17:56:55 UTC 2019 2019-10-13 08:59:48 +02:00
xap Sun Oct 13 19:01:25 UTC 2019 2019-10-13 23:17:53 +02:00
xfce Mon Sep 30 21:08:32 UTC 2019 2019-10-01 08:59:50 +02:00
y Sun Feb 17 23:44:53 UTC 2019 2019-02-18 08:59:47 +01:00
buildlist-from-changelog.sh Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
make_world.sh Thu Nov 22 05:56:56 UTC 2018 2018-11-22 17:59:46 +01:00
README.TXT Slackware 14.0 2018-05-31 22:51:55 +02:00

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