Bug 203728 - [NEW PORT] devel/staf: Software Testing Automation Framework
Summary: [NEW PORT] devel/staf: Software Testing Automation Framework
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thomas Zander
URL: https://reviews.freebsd.org/D3874
Keywords: feature, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-10-12 19:56 UTC by Serhii (Sergey) Kozlov
Modified: 2015-10-29 09:48 UTC (History)
3 users (show)

See Also:


Attachments
Port's shar archive 3.4.23 (23.71 KB, text/plain)
2015-10-12 19:56 UTC, Serhii (Sergey) Kozlov
no flags Details
Poudriere testport log for 3.4.23: default options (566.63 KB, text/plain)
2015-10-12 19:57 UTC, Serhii (Sergey) Kozlov
no flags Details
Poudriere testport log for 3.4.23: debug only (565.28 KB, text/plain)
2015-10-12 19:58 UTC, Serhii (Sergey) Kozlov
no flags Details
Poudriere testport log for 3.4.23: w/Python 2.7 (586.78 KB, text/plain)
2015-10-12 19:59 UTC, Serhii (Sergey) Kozlov
no flags Details
Poudriere testport log for 3.4.23: w/Python 3.4 (586.77 KB, text/plain)
2015-10-12 20:00 UTC, Serhii (Sergey) Kozlov
no flags Details
Poudriere testport log for 3.4.23: w/LibreSSL (571.38 KB, text/plain)
2015-10-12 20:01 UTC, Serhii (Sergey) Kozlov
no flags Details
Port's shar archive 3.4.23 v2 (updated) (23.79 KB, text/plain)
2015-10-13 21:23 UTC, Serhii (Sergey) Kozlov
no flags Details
Port's shar archive 3.4.23 v3 (updated) (23.85 KB, text/plain)
2015-10-14 21:06 UTC, Serhii (Sergey) Kozlov
no flags Details
Port's shar archive 3.4.23 v4 (updated) (23.89 KB, text/plain)
2015-10-15 19:34 UTC, Serhii (Sergey) Kozlov
koobs: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 19:56:17 UTC
Created attachment 161960 [details]
Port's shar archive 3.4.23

A port of STAF (Software Testing Automation Framework)

This port:
- Unlike #94286 fully respects hier(7).
- Has full development process log which can be found at <https://github.com/mutalisk404/staf-port/commits/master>
- Implements Python 2.7-3.4 support (2.7, 3.4 tested)
- Implements OpenSSL support (base, port, LibreSSL tested)
- Implements optional IPv6 support (locally tested)

Known limitations:
- Does not implement support for many other STAF bindings like Java, Perl etc. Work in progress.

Questionable:
- stafproc daemon runs as root by default. See <https://github.com/mutalisk404/staf-port/commit/eb0490c59b4b151b48486fb29c935b7375d7ba82>

Testing:
- Tested basic functionality as described in <http://staf.sourceforge.net/current/STAFDiag.htm#d0e633> using local ipc, IPv4 and IPv6
- Tested Python bindings by importing all installed modules and running random informational functions
- Tested that debug/non-debug build produce not-stripped/stripped binaries and libs
Comment 1 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 19:57:53 UTC
Created attachment 161961 [details]
Poudriere testport log for 3.4.23: default options
Comment 2 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 19:58:45 UTC
Created attachment 161962 [details]
Poudriere testport log for 3.4.23: debug only
Comment 3 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 19:59:40 UTC
Created attachment 161963 [details]
Poudriere testport log for 3.4.23: w/Python 2.7
Comment 4 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 20:00:39 UTC
Created attachment 161964 [details]
Poudriere testport log for 3.4.23: w/Python 3.4
Comment 5 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 20:01:11 UTC
Created attachment 161965 [details]
Poudriere testport log for 3.4.23: w/LibreSSL
Comment 6 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 20:05:42 UTC
Portlint output can be found in poudriere's logs.

Explained:
- Absolute path to /var used for definition of db directory, nothing to substitute with from ports' framework.
- Absolute path to /etc can only be found in pkg-message
Comment 7 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-12 22:05:27 UTC
Added review D3874
Comment 8 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-13 21:23:36 UTC
Created attachment 162001 [details]
Port's shar archive 3.4.23 v2 (updated)

Updated with review suggestions from Koobs
Comment 9 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-14 21:06:11 UTC
Created attachment 162055 [details]
Port's shar archive 3.4.23 v3 (updated)

Explicitly disable IPV6 and OPENSSL options

If the environment which "make" is ran in has one of STAF_USE_[IPV6|OPENSSL]=1
set it can affect the building process of cause the building process to fail
Comment 10 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-15 19:34:58 UTC
Created attachment 162098 [details]
Port's shar archive 3.4.23 v4 (updated)

- Added LICENSE_FILE
- Make setting IPV6 and OPENSSL off even more explicit
Comment 11 commit-hook freebsd_committer freebsd_triage 2015-10-29 09:46:31 UTC
A commit references this bug:

Author: riggs
Date: Thu Oct 29 09:45:36 UTC 2015
New revision: 400451
URL: https://svnweb.freebsd.org/changeset/ports/400451

Log:
  New port: devel/staf (Software Testing Automation Framework)

  PR:		203728
  Submitted by:	kozlov.sergey.404@gmail.com (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D3874

Changes:
  head/devel/Makefile
  head/devel/staf/
  head/devel/staf/Makefile
  head/devel/staf/distinfo
  head/devel/staf/files/
  head/devel/staf/files/patch-build_makefile.gcc
  head/devel/staf/files/patch-connproviders_tcp_STAFTCPConnProvider.cpp
  head/devel/staf/files/patch-connproviders_tcp_makefile.connprov__tcp
  head/devel/staf/files/patch-stafif_STAFConverter.cpp
  head/devel/staf/files/patch-stafproc_STAFProc.cpp
  head/devel/staf/files/patch-stafproc_makefile.staf
  head/devel/staf/files/stafproc.in
  head/devel/staf/pkg-descr
  head/devel/staf/pkg-message
  head/devel/staf/pkg-plist
Comment 12 Thomas Zander freebsd_committer freebsd_triage 2015-10-29 09:48:47 UTC
I took the liberty to create %%STAF_VAR_DIR%% during install, so we can have a @dir entry for it in pkg-plist.