Showing Slackware Changelog

From SlackWiki
Jump to navigation Jump to search

Since this is most useful on Login, make sure to comment out /etc/rc.d/rc.S, line 385 (or 334 in Slack 12) so it reads

 # echo "$(/bin/uname -sr)." > /etc/motd

Otherwise, Slackware will keep printing the kernel version you're using.

 root@tachikoma:/tmp# cat /etc/cron.daily/slacklog
 wget -q -O /tmp/slacklog.$$
 diff /tmp/.slack-changelog /tmp/slacklog.$$ > /etc/motd
 mv /tmp/slacklog.$$ /tmp/.slack-changelog

 root@tachikoma:/tmp# cat /etc/motd
 > Tue Sep 19 14:07:49 CDT 2006
 > patches/packages/gzip-1.3.5-i486-1_slack10.2.tgz:
 >   Upgraded to gzip-1.3.5, and fixed a variety of bugs.
 >   Some of the bugs have possible security implications if gzip or its tools are
 >   fed a carefully constructed malicious archive.  Most of these issues were
 >   recently discovered by Tavis Ormandy and the Google Security Team.  Thanks
 >   to them, and also to the ALT and Owl developers for cleaning up the patch.
 >   For further details about the issues fixed, please see:
 >   (* Security fix *)