Port details |
- shtk Application toolkit for POSIX-compliant shell scripts
- 1.7 devel =4 1.7Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- 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:: e2fsprogs, fusefs-sshfs, monit, inotify-tools, freeradius3
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- 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):
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.7 23 Feb 2024 14:50:10 |
Muhammad Moinur Rahman (bofh) |
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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
1.6 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.6 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.6 21 Oct 2016 12:51:41 |
mat |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
1.6 12 Mar 2015 17:12:20 |
sunpoet |
- Update MAINTAINER: use @FreeBSD.org |
1.6 21 Nov 2014 22:41:20 |
jmmv |
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 ) |
1.5_2 27 Oct 2014 11:07:20 |
bapt |
Cleanup plist |
1.5_2 03 Jun 2014 21:13:40 |
antoine |
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 |
antoine |
Unbreak |
1.5_2 26 May 2014 02:57:19 |
jmmv |
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 |
jmmv |
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 |
jmmv |
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 |
jmmv |
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 |
bapt |
Part 1 at removing now useless FETCH_ARGS redifition |
1.4 30 Dec 2013 16:54:12 |
jmmv (src 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 |
jmmv (src 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 |
jmmv (src 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) |