Module Name: src Committed By: agc Date: Mon Aug 21 19:51:32 UTC 2017
Modified Files: src/usr.bin/sys_info: sys_info.sh Log Message: also add tzdata versioning information To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 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.
Modified files: Index: src/usr.bin/sys_info/sys_info.sh diff -u src/usr.bin/sys_info/sys_info.sh:1.6 src/usr.bin/sys_info/sys_info.sh:1.7 --- src/usr.bin/sys_info/sys_info.sh:1.6 Mon Aug 21 19:36:57 2017 +++ src/usr.bin/sys_info/sys_info.sh Mon Aug 21 19:51:32 2017 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: sys_info.sh,v 1.6 2017/08/21 19:36:57 agc Exp $ +# $NetBSD: sys_info.sh,v 1.7 2017/08/21 19:51:32 agc Exp $ # Copyright (c) 2016 Alistair Crooks <a...@netbsd.org> # All rights reserved. @@ -141,6 +141,11 @@ getversion() { echo "tcsh: not found" fi ;; + tzdata) + if [ -f /usr/share/zoneinfo/TZDATA_VERSION ]; then + cat /usr/share/zoneinfo/TZDATA_VERSION + fi + ;; unbound) if which_prog unboundpath unbound-control; then ${unboundpath} -h | awk '/^Version/ { print "unbound-" $2 }' @@ -174,7 +179,7 @@ fi if ${all}; then args='awk bind bzip2 calendar ftpd g++ gcc grep gzip httpd netbsd netpgp' args="${args} netpgpverify ntp openssl sqlite ssh sshd sys_info tcsh" - args="${args} unbound xz" + args="${args} tzdata unbound xz" else args=$(echo $@ | tr ' ' '\n' | sort | uniq) fi