Showing Slackware Changelog

From SlackWiki
Jump to: navigation, 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
 #!/bin/sh
 wget -q ftp://ftp.slackware.com/pub/slackware/slackware-10.2/ChangeLog.txt -O /tmp/slacklog.$$
 diff /tmp/.slack-changelog /tmp/slacklog.$$ > /etc/motd
 mv /tmp/slacklog.$$ /tmp/.slack-changelog


 root@tachikoma:/tmp# cat /etc/motd
 0a1,17
 > 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:
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0758
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0988
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1228
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4334
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4335
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4336
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4337
 >     http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4338
 >   (* Security fix *)