slackware-current/source
Patrick J Volkerding e942aa8f7c Sat Oct 20 19:41:13 UTC 2018
a/kernel-generic-4.14.78-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.14.78-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.14.78-x86_64-1.txz:  Upgraded.
d/Cython-0.29-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.14.78-x86-1.txz:  Upgraded.
d/meson-0.48.1-x86_64-1.txz:  Upgraded.
k/kernel-source-4.14.78-noarch-1.txz:  Upgraded.
l/cairo-1.16.0-x86_64-1.txz:  Upgraded.
l/python-certifi-2018.10.15-x86_64-1.txz:  Upgraded.
l/python-requests-2.20.0-x86_64-1.txz:  Upgraded.
l/python-urllib3-1.24-x86_64-1.txz:  Upgraded.
x/libwacom-0.31-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2018-10-21 09:00:29 +02:00
..
a Fri Oct 19 19:59:54 UTC 2018 2018-10-20 09:00:32 +02:00
ap Wed Oct 17 03:11:25 UTC 2018 2018-10-17 09:00:35 +02:00
d Sat Oct 20 19:41:13 UTC 2018 2018-10-21 09:00:29 +02:00
e Fri Sep 21 18:51:07 UTC 2018 2018-09-22 09:00:39 +02:00
f Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
installer Wed Oct 10 23:09:36 UTC 2018 2018-10-11 09:00:31 +02:00
k Sat Oct 20 19:41:13 UTC 2018 2018-10-21 09:00:29 +02:00
kde Wed Oct 17 03:11:25 UTC 2018 2018-10-17 09:00:35 +02:00
kdei Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
l Fri Oct 19 19:59:54 UTC 2018 2018-10-20 09:00:32 +02:00
n Fri Oct 19 19:59:54 UTC 2018 2018-10-20 09:00:32 +02:00
t Wed Oct 17 03:11:25 UTC 2018 2018-10-17 09:00:35 +02:00
tcl Fri Sep 21 18:51:07 UTC 2018 2018-09-22 09:00:39 +02:00
x Fri Oct 19 19:59:54 UTC 2018 2018-10-20 09:00:32 +02:00
xap Wed Oct 3 05:26:51 UTC 2018 2018-10-03 18:00:31 +02:00
xfce Wed Oct 17 03:11:25 UTC 2018 2018-10-17 09:00:35 +02:00
y Fri Sep 21 18:51:07 UTC 2018 2018-09-22 09:00:39 +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