Update shtk to 1.7:

**Released on 2017-02-17.**

* This is the first release with fixes for and confirmed to work with all
  of bash, dash, pdksh, and zsh.  We now have continuous integration runs
  for all these interpreters to ensure that this holds true in future
  releases.

* Added the `shtk_abort` function to terminate a script on fatal internal
  errors.

* Added the `shtk_cli_debug` function to log debug-level messages.

* Added the `shtk_cli_log_level` and `shtk_cli_set_log_level` functions to
  query and set the maximum log level.

* Added the `shtk_fs` module with the `shtk_fs_join_paths` and
  `shtk_fs_normalize_path` functions.

* Added the `shtk_hw` module with the `shtk_hw_ncpus` function.

* Fixed option parsing to detect missing arguments to options.

* Fixed pattern matching in `shtk_list_filter` so that it supports
  alternative branches.
This commit is contained in:
jmmv 2017-02-17 21:20:07 +00:00
parent 71bef8fd05
commit f4607192c0
3 changed files with 23 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.11 2015/03/11 19:39:57 tnn Exp $
# $NetBSD: Makefile,v 1.12 2017/02/17 21:20:07 jmmv Exp $
DISTNAME= shtk-1.6
DISTNAME= shtk-1.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}
GITHUB_RELEASE= ${DISTNAME}

View file

@ -1,17 +1,21 @@
@comment $NetBSD: PLIST,v 1.4 2014/11/17 19:55:53 jmmv Exp $
@comment $NetBSD: PLIST,v 1.5 2017/02/17 21:20:07 jmmv Exp $
bin/shtk
lib/pkgconfig/shtk.pc
man/man1/shtk.1
man/man3/shtk.3
man/man3/shtk_abort.3
man/man3/shtk_bool.3
man/man3/shtk_bool_check.3
man/man3/shtk_cleanup.3
man/man3/shtk_cleanup_register.3
man/man3/shtk_cli.3
man/man3/shtk_cli_debug.3
man/man3/shtk_cli_dirname.3
man/man3/shtk_cli_error.3
man/man3/shtk_cli_info.3
man/man3/shtk_cli_log_level.3
man/man3/shtk_cli_progname.3
man/man3/shtk_cli_set_log_level.3
man/man3/shtk_cli_usage_error.3
man/man3/shtk_cli_warning.3
man/man3/shtk_config.3
@ -30,6 +34,11 @@ man/man3/shtk_cvs.3
man/man3/shtk_cvs_checkout.3
man/man3/shtk_cvs_fetch.3
man/man3/shtk_cvs_update.3
man/man3/shtk_fs.3
man/man3/shtk_fs_join_paths.3
man/man3/shtk_fs_normalize_path.3
man/man3/shtk_hw.3
man/man3/shtk_hw_ncpus.3
man/man3/shtk_import.3
man/man3/shtk_list.3
man/man3/shtk_list_contains.3
@ -59,8 +68,8 @@ man/man3/shtk_version_is.3
share/aclocal/shtk.m4
share/doc/shtk/AUTHORS
share/doc/shtk/COPYING
share/doc/shtk/NEWS
share/doc/shtk/README
share/doc/shtk/NEWS.md
share/doc/shtk/README.md
share/shtk/base.subr
share/shtk/bool.subr
share/shtk/bootstrap.subr
@ -68,6 +77,8 @@ share/shtk/cleanup.subr
share/shtk/cli.subr
share/shtk/config.subr
share/shtk/cvs.subr
share/shtk/fs.subr
share/shtk/hw.subr
share/shtk/list.subr
share/shtk/process.subr
share/shtk/unittest.subr
@ -82,6 +93,8 @@ tests/shtk/cleanup_test
tests/shtk/cli_test
tests/shtk/config_test
tests/shtk/cvs_test
tests/shtk/fs_test
tests/shtk/hw_test
tests/shtk/list_test
tests/shtk/process_test
tests/shtk/shtk_test

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2015/11/03 03:29:33 agc Exp $
$NetBSD: distinfo,v 1.5 2017/02/17 21:20:07 jmmv Exp $
SHA1 (shtk-1.6.tar.gz) = aa5d1f1290784b3d95a8a2d2e430f2be20d4bae0
RMD160 (shtk-1.6.tar.gz) = 8089a82463c4e2e502c5252e6db8907ed98b0c11
SHA512 (shtk-1.6.tar.gz) = c509931967a0f3564ad98d279a65fd493f06cb63e9388a4868094ec2b849881401c2a0664ed6f67cd7cc2f1839c965cdd2789b18306912b3449a3ef7a02a033b
Size (shtk-1.6.tar.gz) = 109423 bytes
SHA1 (shtk-1.7.tar.gz) = f188f2e21fa9ebf221a92fe44aa0143f3a09c118
RMD160 (shtk-1.7.tar.gz) = 10e39c956cffe4abad524ac58c2b778b7a2eeafd
SHA512 (shtk-1.7.tar.gz) = d6d06aadd269326073c5a3ff7c256e84f097311dee406b196ca5fc3db1f3a8f6575287eb4143963372e94a1848f1a9b0230fcdd6d99a17460866d07c268a5f4d
Size (shtk-1.7.tar.gz) = 118956 bytes