Hi @ports

Attached is an update for sysutils/detox 1.4.5 -> 3.0.1

Enabled tests, though with some caveats.
The test suite doesn't seem to integrate with ports.
> # TOTAL: 0

> Making all in tests
> Making all in legacy
> Making all in unit
> ===>  Regression tests for detox-3.0.1
> Making check in src
> Making check in tests
> Making check in legacy
> if [ -x ../../tests/legacy/test.sh ] ; then ../../tests/legacy/test.sh 
> ../../src/detox ; else ../../src/detox -V ; ../../src/detox -L -v ; fi
> DETOX=/usr/ports/pobj/detox-3.0.1/detox-3.0.1/src/detox
> TESTBASE=/usr/ports/pobj/detox-3.0.1/detox-3.0.1/tests/legacy
> ------------------------------------------------------
> running test github-issue-0011
> ------------------------------------------------------
> running test github-issue-0012
> ------------------------------------------------------
> running test github-issue-0014
> ------------------------------------------------------
> running test github-issue-0019
> ------------------------------------------------------
> running test github-issue-0020
> ------------------------------------------------------
> running test github-issue-0021
> ------------------------------------------------------
> running test github-issue-0023
> ------------------------------------------------------
> running test github-issue-0028
> WARNING: strace is not installed
strace unavailable.
> ------------------------------------------------------
> running test github-issue-0037
> ------------------------------------------------------
> running test github-issue-0043
> ------------------------------------------------------
> running test github-issue-0050-invalid
> detox: unable to locate builtin table "safe "
This looks like a fail but it is a pass.
> ------------------------------------------------------
> running test github-issue-0056
> WARNING: valgrind is not installed
Valgrind marked broken: can't add to TEST_DEPENDS.
> ------------------------------------------------------
> running test github-issue-0062
> ------------------------------------------------------
> running test github-issue-0064
> ------------------------------------------------------
> running test legacy-dir
> ------------------------------------------------------
> running test man-page-example
> ------------------------------------------------------
> running test man-page-sequence-with-language
> ------------------------------------------------------
> Making check in unit
> make
> make  check-TESTS
> ============================================================================
> Testsuite summary for detox 3.0.1
> ============================================================================
> # TOTAL: 0
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================

diff --git a/sysutils/detox/Makefile b/sysutils/detox/Makefile
index 1e1fa1b07..499b24f41 100644
--- a/sysutils/detox/Makefile
+++ b/sysutils/detox/Makefile
@@ -1,6 +1,6 @@
 COMMENT =              utility designed to clean up filenames

-V =                    1.4.5
+V =                    3.0.1
 DISTNAME =             detox-${V}

 CATEGORIES =           sysutils
@@ -10,16 +10,12 @@ HOMEPAGE =          https://github.com/dharple/detox
 #BSD
 PERMIT_PACKAGE =       Yes

-WANTLIB +=             c
+WANTLIB +=             c m

 SITES =                        ${HOMEPAGE}/releases/download/v${V}/

-USE_GMAKE =            Yes
-
 CONFIGURE_STYLE =      gnu

-NO_TEST =              Yes
-
 FAKE_FLAGS =           sysconfdir=${PREFIX}/share/examples/detox

 .include <bsd.port.mk>
diff --git a/sysutils/detox/distinfo b/sysutils/detox/distinfo
index edb3d6ef6..cb242e6af 100644
--- a/sysutils/detox/distinfo
+++ b/sysutils/detox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (detox-1.4.5.tar.gz) = uKDtgw8wVPvgl3HSuO2K42Z1KWeMGnPrjlEmk+jHTTw=
-SIZE (detox-1.4.5.tar.gz) = 147196
+SHA256 (detox-3.0.1.tar.gz) = s9rE9/z6piHG/FlQosfldHzcnXiqy5BBh1+tkWuDjmA=
+SIZE (detox-3.0.1.tar.gz) = 312527
diff --git a/sysutils/detox/pkg/PLIST b/sysutils/detox/pkg/PLIST
index 4a27c0e79..fdc8818d2 100644
--- a/sysutils/detox/pkg/PLIST
+++ b/sysutils/detox/pkg/PLIST
@@ -5,14 +5,24 @@
 @man man/man5/detox.tbl.5
 @man man/man5/detoxrc.5
 share/detox/
+share/detox/cp1252.tbl
 share/detox/iso8859_1.tbl
 @comment share/detox/iso8859_1.tbl.sample
+share/detox/legacy/
+share/detox/legacy/cp1252.tbl
+share/detox/legacy/iso8859_1.tbl
+share/detox/legacy/unicode.tbl
+share/detox/legacy/unidecode.tbl
 share/detox/safe.tbl
 @comment share/detox/safe.tbl.sample
 share/detox/unicode.tbl
 @comment share/detox/unicode.tbl.sample
 share/doc/detox/
+share/doc/detox/BUILD.md
+share/doc/detox/CHANGELOG.md
+share/doc/detox/LICENSE
 share/doc/detox/README.md
+share/doc/detox/THANKS.md
 share/examples/detox/
 share/examples/detox/detoxrc
 @sample ${SYSCONFDIR}/detoxrc

Attachment: signature.asc
Description: PGP signature

Reply via email to