Module Name: src Committed By: agc Date: Thu Sep 21 01:15:45 UTC 2017
Modified Files: src/usr.bin/sys_info: sys_info.1 sys_info.sh Log Message: Update sys_info to 20170920 + add a -d <destdir> option, which allows the versions of programs in a directory tree rooted at "<destdir>" to be reported on, rather than the programs and libraries rooted under /. This is useful, for example, for finding out the versions of utilities and libraries after a build.sh run: % sys_info awk-20121220 bind-9.10.5pl2 bozohttpd-20170201 bzip2-1.0.6 calendar-20160601 dhcpcd-7.0.0-rc1 dtc-1.4.4 ftpd-20110904 g++-5.4.0 gcc-5.4.0 grep-2.5.1anb1 gzip-20170803 libc-12.208 ... % sys_info -d /data/8/build/dest/x86_64 awk-20121220 bind-9.10.5pl1 bozohttpd-20170201 bzip2-1.0.6 calendar-20160601 dhcpcd-7.0.0-rc1 ftpd-20110904 g++-5.4.0 gcc-5.4.0 grep-2.5.1anb1 gzip-20150113 libc-12.207 ... % To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.bin/sys_info/sys_info.1 cvs rdiff -u -r1.14 -r1.15 src/usr.bin/sys_info/sys_info.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.