notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
shtk Application toolkit for POSIX-compliant shell scripts
1.7 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: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-12-28 16:01:53
Last Update: 2024-02-23 14:50:10
Commit Hash: 3a66554
People watching this port, also watch:: python, py39-pycparser, json-c, sysinfo, openjdk8
License: BSD3CLAUSE
WWW:
https://github.com/jmmv/shtk/
Description:
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. shtk-based scripts are "built" by using the included shtk(1) utility, which adds the necessary machinery to the scripts so that they can trivially import and use the modular interfaces of shtk.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (112 items)
Collapse this list.
  1. /usr/local/share/licenses/shtk-1.7/catalog.mk
  2. /usr/local/share/licenses/shtk-1.7/LICENSE
  3. /usr/local/share/licenses/shtk-1.7/BSD3CLAUSE
  4. bin/shtk
  5. libdata/pkgconfig/shtk.pc
  6. share/aclocal/shtk.m4
  7. share/doc/shtk/AUTHORS
  8. share/doc/shtk/COPYING
  9. share/doc/shtk/NEWS.md
  10. share/doc/shtk/README.md
  11. share/man/man1/shtk.1.gz
  12. share/man/man3/shtk.3.gz
  13. share/man/man3/shtk_abort.3.gz
  14. share/man/man3/shtk_bool.3.gz
  15. share/man/man3/shtk_bool_check.3.gz
  16. share/man/man3/shtk_cleanup.3.gz
  17. share/man/man3/shtk_cleanup_register.3.gz
  18. share/man/man3/shtk_cli.3.gz
  19. share/man/man3/shtk_cli_debug.3.gz
  20. share/man/man3/shtk_cli_dirname.3.gz
  21. share/man/man3/shtk_cli_error.3.gz
  22. share/man/man3/shtk_cli_info.3.gz
  23. share/man/man3/shtk_cli_log_level.3.gz
  24. share/man/man3/shtk_cli_progname.3.gz
  25. share/man/man3/shtk_cli_set_log_level.3.gz
  26. share/man/man3/shtk_cli_usage_error.3.gz
  27. share/man/man3/shtk_cli_warning.3.gz
  28. share/man/man3/shtk_config.3.gz
  29. share/man/man3/shtk_config_get.3.gz
  30. share/man/man3/shtk_config_get_bool.3.gz
  31. share/man/man3/shtk_config_get_default.3.gz
  32. share/man/man3/shtk_config_has.3.gz
  33. share/man/man3/shtk_config_include.3.gz
  34. share/man/man3/shtk_config_init.3.gz
  35. share/man/man3/shtk_config_load.3.gz
  36. share/man/man3/shtk_config_override.3.gz
  37. share/man/man3/shtk_config_run_hook.3.gz
  38. share/man/man3/shtk_config_set.3.gz
  39. share/man/man3/shtk_config_unset.3.gz
  40. share/man/man3/shtk_cvs.3.gz
  41. share/man/man3/shtk_cvs_checkout.3.gz
  42. share/man/man3/shtk_cvs_fetch.3.gz
  43. share/man/man3/shtk_cvs_update.3.gz
  44. share/man/man3/shtk_fs.3.gz
  45. share/man/man3/shtk_fs_join_paths.3.gz
  46. share/man/man3/shtk_fs_normalize_path.3.gz
  47. share/man/man3/shtk_hw.3.gz
  48. share/man/man3/shtk_hw_ncpus.3.gz
  49. share/man/man3/shtk_import.3.gz
  50. share/man/man3/shtk_list.3.gz
  51. share/man/man3/shtk_list_contains.3.gz
  52. share/man/man3/shtk_list_filter.3.gz
  53. share/man/man3/shtk_process.3.gz
  54. share/man/man3/shtk_process_run.3.gz
  55. share/man/man3/shtk_unittest.3.gz
  56. share/man/man3/shtk_unittest_add_fixture.3.gz
  57. share/man/man3/shtk_unittest_add_test.3.gz
  58. share/man/man3/shtk_unittest_assert_command.3.gz
  59. share/man/man3/shtk_unittest_assert_equal.3.gz
  60. share/man/man3/shtk_unittest_assert_file.3.gz
  61. share/man/man3/shtk_unittest_assert_not_equal.3.gz
  62. share/man/man3/shtk_unittest_delayed_fail.3.gz
  63. share/man/man3/shtk_unittest_expect_command.3.gz
  64. share/man/man3/shtk_unittest_expect_equal.3.gz
  65. share/man/man3/shtk_unittest_expect_file.3.gz
  66. share/man/man3/shtk_unittest_expect_not_equal.3.gz
  67. share/man/man3/shtk_unittest_fail.3.gz
  68. share/man/man3/shtk_unittest_main.3.gz
  69. share/man/man3/shtk_unittest_set_expected_failure.3.gz
  70. share/man/man3/shtk_unittest_skip.3.gz
  71. share/man/man3/shtk_version.3.gz
  72. share/man/man3/shtk_version_at_least.3.gz
  73. share/man/man3/shtk_version_at_most.3.gz
  74. share/man/man3/shtk_version_is.3.gz
  75. share/shtk/base.subr
  76. share/shtk/bool.subr
  77. share/shtk/bootstrap.subr
  78. share/shtk/cleanup.subr
  79. share/shtk/cli.subr
  80. share/shtk/config.subr
  81. share/shtk/cvs.subr
  82. share/shtk/fs.subr
  83. share/shtk/hw.subr
  84. share/shtk/list.subr
  85. share/shtk/process.subr
  86. share/shtk/unittest.subr
  87. share/shtk/unittest/commands.subr
  88. share/shtk/unittest/files.subr
  89. share/shtk/unittest/operators.subr
  90. share/shtk/version.subr
  91. tests/shtk/Kyuafile
  92. tests/shtk/base_test
  93. tests/shtk/bool_test
  94. tests/shtk/cleanup_test
  95. tests/shtk/cli_test
  96. tests/shtk/config_test
  97. tests/shtk/cvs_test
  98. tests/shtk/fs_test
  99. tests/shtk/hw_test
  100. tests/shtk/list_test
  101. tests/shtk/process_test
  102. tests/shtk/shtk_test
  103. tests/shtk/unittest/Kyuafile
  104. tests/shtk/unittest/commands_test
  105. tests/shtk/unittest/files_test
  106. tests/shtk/unittest/operators_test
  107. tests/shtk/unittest_inttest
  108. tests/shtk/unittest_test
  109. tests/shtk/version_test
  110. @owner
  111. @group
  112. @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
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: shtk
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1708698591 SHA256 (shtk-1.7.tar.gz) = 9386b7dbf1a28361eaf56dd1712385abdbdf3a02f03e17ccbf5579bf22695e27 SIZE (shtk-1.7.tar.gz) = 118956

Packages (timestamps in pop-ups are UTC):
shtk
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.71.71.61.71.7-1.6-
FreeBSD:13:quarterly1.61.61.61.61.61.61.61.6
FreeBSD:14:latest1.71.71.61.71.71.6-1.6
FreeBSD:14:quarterly1.61.6-1.61.61.61.61.6
FreeBSD:15:latest1.71.7n/a1.6n/a1.61.61.7
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for shtk-1.7: DOCS=on: Build and/or install documentation TEST=on: Build and/or run tests ===> Use 'make config' to modify these settings
Options name:
devel_shtk
USES:
pathfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/jmmv/shtk/releases/download/shtk-1.7/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7
23 Feb 2024 14:50:10
commit hash: 3a665546a1a69beb2c94c20e3e23ef3d926ba627commit hash: 3a665546a1a69beb2c94c20e3e23ef3d926ba627commit hash: 3a665546a1a69beb2c94c20e3e23ef3d926ba627commit hash: 3a665546a1a69beb2c94c20e3e23ef3d926ba627 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/shtk: Update version 1.6=>1.7

- Moved man to share/man
- Adopt port as commit bit of jmmv has been safekept

Changelog: https://github.com/jmmv/shtk/releases/tag/shtk-1.7

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.6
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.6
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.6
21 Oct 2016 12:51:41
Revision:424411Original commit files touched by this commit 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
1.6
12 Mar 2015 17:12:20
Revision:381119Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update MAINTAINER: use @FreeBSD.org
1.6
21 Nov 2014 22:41:20
Revision:373021Original commit files touched by this commit
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)
1.5_2
27 Oct 2014 11:07:20
Revision:371552Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
1.5_2
03 Jun 2014 21:13:40
Revision:356413Original commit files touched by this commit
antoine search for other commits by this committer
Replace LIB_DEPENDS on libatf by RUN_DEPENDS+BUILD_DEPENDS
This fixes build on FreeBSD 10 which has libatf in base

Phabric:	D134
1.5_2
26 May 2014 22:09:14
Revision:355460Original commit files touched by this commit
antoine search for other commits by this committer
Unbreak
1.5_2
26 May 2014 02:57:19
Revision:355276Original commit files touched by this commit
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)
1.5_1
24 May 2014 20:11:06
Revision:355077Original commit files touched by this commit
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)
1.5
16 Mar 2014 00:15:58
Revision:348389Original commit files touched by this commit
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
  optional.

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

Approved by:	bdrewery
1.4_1
09 Feb 2014 12:59:08
Revision:343497Original commit files touched by this commit
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
1.4
03 Jan 2014 00:46:47
Revision:338511Original commit files touched by this commit
bapt search for other commits by this committer
Part 1 at removing now useless FETCH_ARGS redifition
1.4
30 Dec 2013 16:54:12
Revision:338140Original commit files touched by this commit
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
  SHTK_MODULESDIR.

* 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
1.3
29 Dec 2013 12:33:07
Revision:337975Original commit files touched by this commit
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
  https.
- 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
1.3
28 Dec 2013 16:01:38
Revision:337877Original commit files touched by this commit
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: 19