mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update tsung to 1.8.0
Update diff from Volker Schlecht
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
COMMENT= multi-protocol distributed load testing tool
|
||||
|
||||
V= 1.7.0
|
||||
DISTNAME= tsung-$V
|
||||
REVISION= 5
|
||||
V= 1.8.0
|
||||
GH_ACCOUNT= processone
|
||||
GH_PROJECT= tsung
|
||||
GH_TAGNAME= v${V}
|
||||
|
||||
CATEGORIES= benchmarks net
|
||||
|
||||
HOMEPAGE= http://tsung.erlang-projects.org/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MASTER_SITES= http://tsung.erlang-projects.org/dist/
|
||||
|
||||
MODULES= lang/erlang \
|
||||
lang/python
|
||||
MODERL_VERSION= 25
|
||||
@@ -36,4 +33,10 @@ FAKE_FLAGS= CONFDIR="${PREFIX}/share/examples/tsung/" \
|
||||
|
||||
SUBST_VARS+= V
|
||||
|
||||
post-install:
|
||||
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
||||
${PREFIX}/lib/tsung/tsung_plotter/__init__.py
|
||||
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
||||
${PREFIX}/lib/tsung/tsung_plotter/tsung.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (tsung-1.7.0.tar.gz) = Y5REWGDvNPrt+MRtqVo8sga8FzARRbySAVEQf/os5So=
|
||||
SIZE (tsung-1.7.0.tar.gz) = 1572265
|
||||
SHA256 (tsung-1.8.0.tar.gz) = bFXfSLgvGF39YK5yceCbvCXGyLxWi7i/wM2wVtd8OJk=
|
||||
SIZE (tsung-1.8.0.tar.gz) = 972168
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
Pull in an upstream fix for a failing testcase with erlang >= 21
|
||||
https://github.com/processone/tsung/commit/e53a59d16df5a2d3781ef9d4f0171ad0ca5bc931
|
||||
Index: src/test/ts_test_utils.erl
|
||||
--- src/test/ts_test_utils.erl.orig
|
||||
+++ src/test/ts_test_utils.erl
|
||||
@@ -48,7 +48,7 @@ mkey1search_string_test()->
|
||||
?assertEqual(["bar","caps"],ts_utils:mkey1search(Data,"foo")).
|
||||
|
||||
datestr_test()->
|
||||
- ?assertEqual(["2013","10","17",45,"19","41"],ts_utils:datestr({{2013,10,17},{19,41,29}})).
|
||||
+ ?assertEqual("20131017-1941",lists:flatten(ts_utils:datestr({{2013,10,17},{19,41,29}}))).
|
||||
|
||||
export_text_test()->
|
||||
?assertEqual("foo",ts_utils:export_text("foo")).
|
||||
@@ -178,6 +178,7 @@ lib/tsung/tsung_controller-${V}/ebin/ts_controller_sup.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_file_server.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_interaction_server.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_job_notify.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_local_file_server.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_match_logger.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_mon.beam
|
||||
lib/tsung/tsung_controller-${V}/ebin/ts_msg_server.beam
|
||||
@@ -236,6 +237,7 @@ lib/tsung/tsung_controller-${V}/src/ts_controller_sup.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_file_server.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_interaction_server.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_job_notify.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_local_file_server.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_match_logger.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_mon.erl
|
||||
lib/tsung/tsung_controller-${V}/src/ts_msg_server.erl
|
||||
@@ -252,6 +254,9 @@ lib/tsung/tsung_controller-${V}/src/ts_web.erl
|
||||
lib/tsung/tsung_controller-${V}/src/tsung_controller.erl
|
||||
lib/tsung/tsung_plotter/
|
||||
lib/tsung/tsung_plotter/__init__.py
|
||||
${MODPY_COMMENT}lib/tsung/tsung_plotter/${MODPY_PYCACHE}/
|
||||
lib/tsung/tsung_plotter/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/tsung/tsung_plotter/${MODPY_PYCACHE}tsung.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/tsung/tsung_plotter/tsung.py
|
||||
lib/tsung/tsung_recorder-${V}/
|
||||
lib/tsung/tsung_recorder-${V}/ebin/
|
||||
|
||||
Reference in New Issue
Block a user