Hi, all:
Here is a patch for security/boofuzz:
i) Update to 0.4.1
ii) Add missing depends
iii) Remove the uneeded patch.
It build well and run well on my amd64-current system.
Regards,
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/boofuzz/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 11 Mar 2022 19:53:18 -0000 1.12
+++ Makefile 11 Jul 2022 02:33:44 -0000
@@ -1,8 +1,7 @@
COMMENT = extensible network protocol fuzzer
-MODPY_EGG_VERSION = 0.2.1
+MODPY_EGG_VERSION = 0.4.1
DISTNAME = boofuzz-${MODPY_EGG_VERSION}
-REVISION = 1
CATEGORIES = security
@@ -22,8 +21,10 @@ RUN_DEPENDS = devel/py-attrs${MODPY_FL
devel/py-click${MODPY_FLAVOR} \
devel/py-colorama${MODPY_FLAVOR} \
devel/py-crc32c${MODPY_FLAVOR} \
+ devel/py-funcy${MODPY_FLAVOR} \
devel/py-future${MODPY_FLAVOR} \
devel/py-serial${MODPY_FLAVOR} \
+ devel/py-six${MODPY_FLAVOR} \
graphics/py-dot${MODPY_FLAVOR} \
net/py-impacket${MODPY_FLAVOR} \
sysutils/py-psutil${MODPY_FLAVOR} \
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/boofuzz/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 30 Oct 2020 19:28:51 -0000 1.5
+++ distinfo 11 Jul 2022 02:33:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (boofuzz-0.2.1.tar.gz) = a28lQA1oKyplRy8HneI1q0g9iUXAwdlxe6+CGGapcWs=
-SIZE (boofuzz-0.2.1.tar.gz) = 1071618
+SHA256 (boofuzz-0.4.1.tar.gz) = LLLqorLI/VhHlLXlGmn2lLMa8XxVessNNkdrHCn6Buk=
+SIZE (boofuzz-0.4.1.tar.gz) = 1093987
Index: patches/patch-setup_py
===================================================================
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- patches/patch-setup_py 11 Mar 2022 19:53:18 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-Relax overly strict dependencies
-
-Index: setup.py
---- setup.py.orig
-+++ setup.py
-@@ -65,7 +65,7 @@ setup(
- "pyserial",
- "pydot",
- "six",
-- "tornado~=5.0",
-+ "tornado",
- ],
- extras_require=extra_requirements,
- python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/boofuzz/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- pkg/PLIST 11 Mar 2022 19:53:18 -0000 1.7
+++ pkg/PLIST 11 Jul 2022 02:33:44 -0000
@@ -11,6 +11,7 @@ lib/python${MODPY_VERSION}/site-packages
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}cli_context.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}constants.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}data_test_case.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}data_test_step.${MODPY_PYC_MAGIC_TAG}pyc
@@ -21,28 +22,36 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzz_logger_curses.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzz_logger_db.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzz_logger_text.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzzable.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzzable_block.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}fuzzers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}helpers.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}ifuzz_logger.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}ifuzz_logger_backend.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}ifuzzable.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}mutation.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}mutation_context.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}protocol_session.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}protocol_session_reference.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}repeater.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/${MODPY_PYCACHE}sessions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}aligned.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}block.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}checksum.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}repeat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}request.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/${MODPY_PYCACHE}size.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/aligned.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/block.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/checksum.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/repeat.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/request.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/blocks/size.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/cli.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/cli_context.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}/
@@ -52,6 +61,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}ip_constants.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}iserial_like.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}itarget_connection.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}netconf_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}raw_l2_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}raw_l3_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}serial_connection.${MODPY_PYC_MAGIC_TAG}pyc
@@ -60,11 +70,13 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}ssl_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}tcp_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}udp_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/${MODPY_PYCACHE}unix_socket_connection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/base_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/file_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/ip_constants.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/iserial_like.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/itarget_connection.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/netconf_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/raw_l2_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/raw_l3_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/serial_connection.py
@@ -73,6 +85,7 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/ssl_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/tcp_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/udp_socket_connection.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/connections/unix_socket_connection.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/constants.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/data_test_case.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/data_test_step.py
@@ -83,11 +96,12 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzz_logger_curses.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzz_logger_db.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzz_logger_text.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzzable.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzzable_block.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/fuzzers.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/helpers.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/ifuzz_logger.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/ifuzz_logger_backend.py
-lib/python${MODPY_VERSION}/site-packages/boofuzz/ifuzzable.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/legos/
lib/python${MODPY_VERSION}/site-packages/boofuzz/legos/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/boofuzz/legos/${MODPY_PYCACHE}/
@@ -116,6 +130,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/monitors/network_monitor.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/monitors/pedrpc.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/monitors/process_monitor.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/mutation.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/mutation_context.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/pgraph/
lib/python${MODPY_VERSION}/site-packages/boofuzz/pgraph/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/boofuzz/pgraph/${MODPY_PYCACHE}/
@@ -138,11 +154,13 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}bytes.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}delim.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}dword.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}float.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}from_file.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}group.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}mirror.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}qword.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}random_data.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}simple.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}static.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}string.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/${MODPY_PYCACHE}word.${MODPY_PYC_MAGIC_TAG}pyc
@@ -152,14 +170,18 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/bytes.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/delim.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/dword.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/float.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/from_file.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/group.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/mirror.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/qword.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/random_data.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/simple.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/static.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/string.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/primitives/word.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/protocol_session.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/protocol_session_reference.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/repeater.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/sessions.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/
@@ -170,12 +192,14 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}dcerpc.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}debugger_thread_pydbg.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}debugger_thread_simple.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}process_monitor_local.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}process_monitor_pedrpc_server.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/${MODPY_PYCACHE}scada.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/crash_binning.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/dcerpc.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/debugger_thread_pydbg.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/debugger_thread_simple.py
+lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/process_monitor_local.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/process_monitor_pedrpc_server.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/utils/scada.py
lib/python${MODPY_VERSION}/site-packages/boofuzz/web/
@@ -197,6 +221,8 @@ lib/python${MODPY_VERSION}/site-packages
lib/python${MODPY_VERSION}/site-packages/boofuzz/web/templates/test-case-log-widget.html
lib/python${MODPY_VERSION}/site-packages/boofuzz/web/templates/test-case.html
share/examples/boofuzz/
+share/examples/boofuzz/autoprog.py
+share/examples/boofuzz/crc16ccitt.py
share/examples/boofuzz/ftp_simple.py
share/examples/boofuzz/ftp_with_procmon.py
share/examples/boofuzz/fuzz_ssl_client.py
@@ -204,8 +230,11 @@ share/examples/boofuzz/fuzz_ssl_server.p
share/examples/boofuzz/fuzz_trend_control_manager_20901.py
share/examples/boofuzz/fuzz_trend_server_protect_5168.py
share/examples/boofuzz/fuzz_trillian_jabber.py
+share/examples/boofuzz/groups_demo.py
share/examples/boofuzz/http_simple.py
share/examples/boofuzz/http_with_body.py
share/examples/boofuzz/iso8385.py
share/examples/boofuzz/mdns.py
+share/examples/boofuzz/s_float.py
+share/examples/boofuzz/simple.py
share/examples/boofuzz/tftp_simple.py