slackware-current/source
Patrick J Volkerding 194ec853e8 Thu Feb 6 01:59:35 UTC 2020
a/hwdata-0.332-noarch-1.txz:  Upgraded.
a/kernel-firmware-20200204_b791e15-noarch-1.txz:  Upgraded.
a/kernel-generic-5.4.18-x86_64-1.txz:  Upgraded.
a/kernel-huge-5.4.18-x86_64-1.txz:  Upgraded.
a/kernel-modules-5.4.18-x86_64-1.txz:  Upgraded.
d/cmake-3.16.4-x86_64-1.txz:  Upgraded.
d/icecream-1.3.1-x86_64-1.txz:  Upgraded.
d/kernel-headers-5.4.18-x86-1.txz:  Upgraded.
k/kernel-source-5.4.18-noarch-1.txz:  Upgraded.
xap/xlockmore-5.62-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2020-02-06 08:59:47 +01:00
..
a Fri Jan 31 20:46:25 UTC 2020 2020-02-01 08:59:50 +01:00
ap Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
d Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
e Mon Nov 25 19:17:07 UTC 2019 2019-11-26 17:59:50 +01:00
f Mon May 28 19:12:29 UTC 2018 2018-05-31 23:39:35 +02:00
installer Sat Feb 1 22:45:14 UTC 2020 2020-02-02 08:59:50 +01:00
k Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
kde Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
kdei Mon Sep 30 21:08:32 UTC 2019 2019-10-01 08:59:50 +02:00
l Sat Feb 1 22:45:14 UTC 2020 2020-02-02 08:59:50 +01:00
n Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
t Mon Oct 7 04:41:29 UTC 2019 2019-10-07 17:59:47 +02:00
tcl Fri Nov 22 22:09:33 UTC 2019 2019-11-23 08:59:50 +01:00
x Mon Feb 3 20:47:44 UTC 2020 2020-02-04 08:59:48 +01:00
xap Thu Feb 6 01:59:35 UTC 2020 2020-02-06 08:59:47 +01:00
xfce Mon Feb 3 20:47:44 UTC 2020 2020-02-04 08:59:48 +01: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