FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
shtk Application toolkit for POSIX-compliant shell scripts
1.6 devel on this many watch lists=1 search for ports that depend on this port
Maintained by: jmmv@freebsd.org search for ports maintained by this maintainer
Port Added: 28 Dec 2013 16:01:53
License: BSD3CLAUSE


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.

WWW: https://github.com/jmmv/shtk/
SVNWeb : Main Web Site : Distfiles Availability : PortsMonThere are no ports dependent upon this port

To install the port: cd /usr/ports/devel/shtk/ && make install clean
To add the package: pkg install devel/shtk


Configuration Options
===> The following configuration options are available for shtk-1.6:
     DOCS=on: Build and/or install documentation
     TEST=on: Build and/or run tests
===> Use 'make config' to modify these settings

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

Number of commits found: 12

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 12

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
flacNov 25
asterisk11Nov 21
asterisk11Nov 21
phpmyadminNov 21
kde4-runtimeNov 20
kwebkitpartNov 20
yiiNov 19
chromiumNov 18
kde4-workspaceNov 17
dbusNov 11
wgetNov 08
konversation-kde4Nov 05
jenkinsOct 31
jenkins-ltsOct 31
twikiOct 31

9 vulnerabilities affecting 11 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24384
Broken 140
Deprecated 74
Ignore 397
Forbidden 1
Restricted 206
No CDROM 93
Vulnerable 18
Expired 12
Set to expire 70
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days50
new fortnight174
new month231

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