notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
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 1.6Version of this port present on the latest quarterly branch.
Maintainer: jmmv@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-12-28 16:01:53
Last Update: 2016-10-21 13:51:41
SVN Revision: 424411
License: BSD3CLAUSE
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (96 items)
  1. /usr/local/share/licenses/shtk-1.6/catalog.mk
  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
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: pkg install shtk
PKGNAME: shtk
Flavors: there is no flavor information for this port.
distinfo:

There are no ports dependent upon this port

Configuration Options
Master Sites:
  1. http://distcache.FreeBSD.org/local-distfiles/jmmv/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/jmmv/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/jmmv/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/jmmv/
  5. https://github.com/jmmv/shtk/releases/download/shtk-1.6/

Number of commits found: 14

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
21 Oct 2016 12:51:41
Original commit files touched by this commit  1.6
Revision:424411  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  1.6
Revision:381119
sunpoet search for other commits by this committer
- Update MAINTAINER: use @FreeBSD.org
21 Nov 2014 22:41:20
Original commit files touched by this commit  1.6
Revision:373021
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  1.5_2
Revision:371552
bapt search for other commits by this committer
Cleanup plist
03 Jun 2014 21:13:40
Original commit files touched by this commit  1.5_2
Revision:356413
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
26 May 2014 22:09:14
Original commit files touched by this commit  1.5_2
Revision:355460
antoine search for other commits by this committer
Unbreak
26 May 2014 02:57:19
Original commit files touched by this commit  1.5_2
Revision:355276
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  1.5_1
Revision:355077
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  1.5
Revision:348389
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
09 Feb 2014 12:59:08
Original commit files touched by this commit  1.4_1
Revision:343497
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  1.4
Revision:338511
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  1.4
Revision:338140
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
29 Dec 2013 12:33:07
Original commit files touched by this commit  1.3
Revision:337975
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
28 Dec 2013 16:01:38
Original commit files touched by this commit  1.3
Revision:337877
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: 14

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30
mongodb36Sep 30

8 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-15 15:43:31


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 37688
Broken 77
Deprecated 104
Ignore 343
Forbidden 3
Restricted 158
No CDROM 73
Vulnerable 27
Expired 18
Set to expire 75
Interactive 0
new 24 hours 3
new 48 hours9
new 7 days27
new fortnight60
new month231

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.