slackware-current/source
Patrick J Volkerding 16c26916c0 Tue Aug 7 23:24:17 UTC 2018
a/btrfs-progs-v4.17.1-x86_64-1.txz:  Upgraded.
a/sysvinit-scripts-2.1-noarch-16.txz:  Rebuilt.
  rc.M: call update-gdk-pixbuf-loaders with HOME=/root to prevent creating
  a .cache directory in /. Thanks to Konrad Rzepecki.
n/NetworkManager-1.12.2-x86_64-2.txz:  Rebuilt.
  Fix libnm compile errors due to NM_AVAILABLE_IN_1_12_2 macro.
x/xorg-server-1.20.1-x86_64-1.txz:  Upgraded.
x/xorg-server-xephyr-1.20.1-x86_64-1.txz:  Upgraded.
x/xorg-server-xnest-1.20.1-x86_64-1.txz:  Upgraded.
x/xorg-server-xvfb-1.20.1-x86_64-1.txz:  Upgraded.
xap/network-manager-applet-1.8.16-x86_64-1.txz:  Upgraded.
2018-08-08 09:00:27 +02:00
..
a Tue Aug 7 23:24:17 UTC 2018 2018-08-08 09:00:27 +02:00
ap Tue Aug 7 05:51:28 UTC 2018 2018-08-07 21:52:45 +02:00
d Sat Aug 4 07:38:34 UTC 2018 2018-08-04 21:00:37 +02:00
e Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
f Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
installer Wed Jul 25 03:50:17 UTC 2018 2018-07-25 13:47:10 +02:00
k Tue Aug 7 05:51:28 UTC 2018 2018-08-07 21:52:45 +02:00
kde Fri Jul 20 23:16:32 UTC 2018 2018-07-21 09:00:35 +02:00
kdei Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
l Tue Aug 7 05:51:28 UTC 2018 2018-08-07 21:52:45 +02:00
n Tue Aug 7 23:24:17 UTC 2018 2018-08-08 09:00:27 +02:00
t Fri Jul 20 23:16:32 UTC 2018 2018-07-21 09:00:35 +02:00
tcl Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
x Tue Aug 7 23:24:17 UTC 2018 2018-08-08 09:00:27 +02:00
xap Tue Aug 7 23:24:17 UTC 2018 2018-08-08 09:00:27 +02:00
xfce Fri Jul 20 23:16:32 UTC 2018 2018-07-21 09:00:35 +02:00
y Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
buildlist-from-changelog.sh Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
make_world.sh Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
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