notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
shtk Application toolkit for POSIX-compliant shell scripts
1.6 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.6Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2013-12-28 16:01:53
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
People watching this port, also watch:: python, py38-pycparser, json-c, sysinfo, monit
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (99 items)
Collapse this list.
  1. /usr/local/share/licenses/shtk-1.6/
  2. /usr/local/share/licenses/shtk-1.6/LICENSE
  3. /usr/local/share/licenses/shtk-1.6/BSD3CLAUSE
  4. bin/shtk
  5. libdata/pkgconfig/shtk.pc
  6. man/man1/shtk.1.gz
  7. man/man3/shtk.3.gz
  8. man/man3/shtk_bool.3.gz
  9. man/man3/shtk_bool_check.3.gz
  10. man/man3/shtk_cleanup.3.gz
  11. man/man3/shtk_cleanup_register.3.gz
  12. man/man3/shtk_cli.3.gz
  13. man/man3/shtk_cli_dirname.3.gz
  14. man/man3/shtk_cli_error.3.gz
  15. man/man3/shtk_cli_info.3.gz
  16. man/man3/shtk_cli_progname.3.gz
  17. man/man3/shtk_cli_usage_error.3.gz
  18. man/man3/shtk_cli_warning.3.gz
  19. man/man3/shtk_config.3.gz
  20. man/man3/shtk_config_get.3.gz
  21. man/man3/shtk_config_get_bool.3.gz
  22. man/man3/shtk_config_get_default.3.gz
  23. man/man3/shtk_config_has.3.gz
  24. man/man3/shtk_config_include.3.gz
  25. man/man3/shtk_config_init.3.gz
  26. man/man3/shtk_config_load.3.gz
  27. man/man3/shtk_config_override.3.gz
  28. man/man3/shtk_config_run_hook.3.gz
  29. man/man3/shtk_config_set.3.gz
  30. man/man3/shtk_config_unset.3.gz
  31. man/man3/shtk_cvs.3.gz
  32. man/man3/shtk_cvs_checkout.3.gz
  33. man/man3/shtk_cvs_fetch.3.gz
  34. man/man3/shtk_cvs_update.3.gz
  35. man/man3/shtk_import.3.gz
  36. man/man3/shtk_list.3.gz
  37. man/man3/shtk_list_contains.3.gz
  38. man/man3/shtk_list_filter.3.gz
  39. man/man3/shtk_process.3.gz
  40. man/man3/shtk_process_run.3.gz
  41. man/man3/shtk_unittest.3.gz
  42. man/man3/shtk_unittest_add_fixture.3.gz
  43. man/man3/shtk_unittest_add_test.3.gz
  44. man/man3/shtk_unittest_assert_command.3.gz
  45. man/man3/shtk_unittest_assert_equal.3.gz
  46. man/man3/shtk_unittest_assert_file.3.gz
  47. man/man3/shtk_unittest_assert_not_equal.3.gz
  48. man/man3/shtk_unittest_delayed_fail.3.gz
  49. man/man3/shtk_unittest_expect_command.3.gz
  50. man/man3/shtk_unittest_expect_equal.3.gz
  51. man/man3/shtk_unittest_expect_file.3.gz
  52. man/man3/shtk_unittest_expect_not_equal.3.gz
  53. man/man3/shtk_unittest_fail.3.gz
  54. man/man3/shtk_unittest_main.3.gz
  55. man/man3/shtk_unittest_set_expected_failure.3.gz
  56. man/man3/shtk_unittest_skip.3.gz
  57. man/man3/shtk_version.3.gz
  58. man/man3/shtk_version_at_least.3.gz
  59. man/man3/shtk_version_at_most.3.gz
  60. man/man3/shtk_version_is.3.gz
  61. share/aclocal/shtk.m4
  62. share/doc/shtk/AUTHORS
  63. share/doc/shtk/COPYING
  64. share/doc/shtk/NEWS
  65. share/doc/shtk/README
  66. share/shtk/base.subr
  67. share/shtk/bool.subr
  68. share/shtk/bootstrap.subr
  69. share/shtk/cleanup.subr
  70. share/shtk/cli.subr
  71. share/shtk/config.subr
  72. share/shtk/cvs.subr
  73. share/shtk/list.subr
  74. share/shtk/process.subr
  75. share/shtk/unittest.subr
  76. share/shtk/unittest/commands.subr
  77. share/shtk/unittest/files.subr
  78. share/shtk/unittest/operators.subr
  79. share/shtk/version.subr
  80. tests/shtk/Kyuafile
  81. tests/shtk/base_test
  82. tests/shtk/bool_test
  83. tests/shtk/cleanup_test
  84. tests/shtk/cli_test
  85. tests/shtk/config_test
  86. tests/shtk/cvs_test
  87. tests/shtk/list_test
  88. tests/shtk/process_test
  89. tests/shtk/shtk_test
  90. tests/shtk/unittest/Kyuafile
  91. tests/shtk/unittest/commands_test
  92. tests/shtk/unittest/files_test
  93. tests/shtk/unittest/operators_test
  94. tests/shtk/unittest_inttest
  95. tests/shtk/unittest_test
  96. tests/shtk/version_test
  97. @owner
  98. @group
  99. @mode
Collapse this list.
Dependency lines:
  • shtk>0:devel/shtk
To install the port:
cd /usr/ports/devel/shtk/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/shtk
  • pkg install shtk
Flavors: there is no flavor information for this port.
Packages (timestamps in pop-ups are UTC):

There are no ports dependent upon this port

Configuration Options:
Options name:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: see SVNWeb link above for full details)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1.6
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.6
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
21 Oct 2016 12:51:41
Original commit files touched by this commit Revision:424411  1.6  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
12 Mar 2015 17:12:20
Original commit files touched by this commit Revision:381119  1.6
sunpoet search for other commits by this committer
- Update MAINTAINER: use
21 Nov 2014 22:41:20
Original commit files touched by this commit Revision:373021  1.6
jmmv search for other commits by this committer
Update devel/shtk to 1.6:

Released on 2014-11-17.

* Added the unittest module, a framework with which to implement
  robust test programs purely in shell.  This new module supports
  defining test programs as a collection of standalone test cases or
  test fixtures; supports assert-syle vs. expect-style checks; and
  provides advanced checks to simplify the implementation of tests
  cases for command-line utilities.  unittest-based test programs
  can be trivially plugged into the Kyua testing framework.

* Added manual pages for all public API functions.  See shtk(3) for
  an introduction and follow all linked pages for details.  All
  docstrings have been removed from the code in favor of the manual
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 11:07:20
Original commit files touched by this commit Revision:371552  1.5_2
bapt search for other commits by this committer
Cleanup plist
03 Jun 2014 21:13:40
Original commit files touched by this commit Revision:356413  1.5_2
antoine search for other commits by this committer
This fixes build on FreeBSD 10 which has libatf in base

Phabric:	D134
26 May 2014 22:09:14
Original commit files touched by this commit Revision:355460  1.5_2
antoine search for other commits by this committer
26 May 2014 02:57:19
Original commit files touched by this commit Revision:355276  1.5_2
jmmv search for other commits by this committer
Enable the TEST option by default in atf-based ports.

Get ports that use the atf libraries to install their tests by default.
This is to showcase the potential of getting the tests installed on a
live system and will also simplify the process of running them periodically
out of /usr/local/tests/.

Packages confirmed to build with this option enabled.

Approved by:	bapt (ports)
24 May 2014 20:11:06
Original commit files touched by this commit Revision:355077  1.5_1
jmmv search for other commits by this committer
Change ports that use the ATF libraries to depend on devel/atf.

As part of this, make it possible to install devel/atf independently of
the presence of ATF in the base system.  This is so that we can turn the
ATF libraries in base into private libraries.

Note that this should have no effect on prebuilt binary packages because
these changes only apply when the TEST option is selected, and this option
is not yet the default.

Approved by:	eadler (ports)
16 Mar 2014 00:15:58
Original commit files touched by this commit Revision:348389  1.5
jmmv search for other commits by this committer
Update devel/shtk to 1.5:

Released on 2014-03-16.

* Added a version module with helper functions to check if shtk is a
  given version or matches some constraints.  Useful to dynamically
  determine which functions to call in a script, if their need is

* Added timeout support to shtk_process_run.  The new '-t' option to
  this function takes the number of seconds before forcibly killing the

Approved by:	bdrewery
09 Feb 2014 12:59:08
Original commit files touched by this commit Revision:343497  1.4_1
jmmv search for other commits by this committer
Make devel/shtk install its tests.

This is a proof of concept to showcase the installation of tests into the
new 'tests' top-level subdirectory of /usr/local.  Other ports will follow
later on.

The installation of tests is protected by the already-existing TEST option.

Bump the port revision to 1.

Approved by:	bdrewery
03 Jan 2014 00:46:47
Original commit files touched by this commit Revision:338511  1.4
bapt search for other commits by this committer
Part 1 at removing now useless FETCH_ARGS redifition
30 Dec 2013 16:54:12
Original commit files touched by this commit Revision:338140  1.4
jmmv (src committer) search for other commits by this committer
Update devel/shtk to 1.4.

Released on 2013-12-30.

* Added support for a user-defined SHTK_MODULESPATH variable.  This
  colon-separated, user-tunable variable lists the directories that
  contain modules.

* Added a modulesdir variable to shtk.pc so that third-party packages
  can install shtk-compliant modules into the shared directory.  This
  variable is also exposed by the SHTK_CHECK macro of shtk.m4 as

* Added a new bool module with a shtk_bool_check function to convert a
  string to a boolean.

* Added a new cleanup module to simplify the installation and automatic
  execution of termination handlers.

* Fixed the config module in Mac OS X 10.9 to respect default values
  of configuration variables.

Approved by:	bdrewery
29 Dec 2013 12:33:07
Original commit files touched by this commit Revision:337975  1.3
jmmv (src committer) search for other commits by this committer
Miscellaneous fixes to devel/shtk.

- Provide an http master site given that fetch(1) in 8 does not support
- Move manpage definition to the pkg-plist.
- Handle two missing directories in the pkg-plist.

The first problem was spotted by QAT and the latter two by antoine@, who
gave advice on how to fix them.

Approved by:	antoine
28 Dec 2013 16:01:38
Original commit files touched by this commit Revision:337877  1.3
jmmv (src committer) search for other commits by this committer
Add devel/shtk.

The Shell Toolkit (shtk) is an application toolkit for programmers
writing POSIX-compliant shell scripts.

shtk provides a collection of reusable modules that work on a wide
variety of operating systems and shell interpreters.  The included
modules aid developers in implementing usable and consistent CLI
interfaces, interacting with processes, parsing configuration files
and manipulating higher-level data types among other things.

Reviewed by:	rpaulo (ex-mentor)
Approved by:	bdrewery (ports)

Number of commits found: 16