Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update py-angr to 8.20.7.27, along with associated pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba891f31c216
branches:  trunk
changeset: 437231:ba891f31c216
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Aug 18 20:24:57 2020 +0000

description:
Update py-angr to 8.20.7.27, along with associated packages.

Version is consolidated into devel/py-angr/version.mk now so the next
person to come along will know what else needs to be updated.

devel/py-pyvex distfiles are still kinda kludgey, and devel/py-angr's
tests don't run without binary samples that I got bored trying to
incorporate.

diffstat:

 devel/py-ailment/DESCR                         |    1 +
 devel/py-ailment/Makefile                      |   24 ++
 devel/py-ailment/PLIST                         |   38 +++
 devel/py-ailment/distinfo                      |    6 +
 devel/py-angr/Makefile                         |   48 +++-
 devel/py-angr/PLIST                            |  279 ++++++++++++++++++++++--
 devel/py-angr/distinfo                         |   13 +-
 devel/py-angr/patches/patch-native_Makefile    |   38 +-
 devel/py-angr/version.mk                       |    9 +
 devel/py-archinfo/Makefile                     |    6 +-
 devel/py-archinfo/PLIST                        |    3 +-
 devel/py-archinfo/distinfo                     |   10 +-
 devel/py-cle/Makefile                          |   21 +-
 devel/py-cle/PLIST                             |   14 +-
 devel/py-cle/distinfo                          |   10 +-
 devel/py-pyvex/Makefile                        |   25 +-
 devel/py-pyvex/PLIST                           |    6 +-
 devel/py-pyvex/distinfo                        |   12 +-
 devel/py-pyvex/patches/patch-pyvex__c_Makefile |   20 +-
 math/py-claripy/Makefile                       |    8 +-
 math/py-claripy/distinfo                       |   10 +-
 21 files changed, 483 insertions(+), 118 deletions(-)

diffs (truncated from 1096 to 300 lines):

diff -r 8179b5602a4b -r ba891f31c216 devel/py-ailment/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ailment/DESCR    Tue Aug 18 20:24:57 2020 +0000
@@ -0,0 +1,1 @@
+The angr intermediate language.
diff -r 8179b5602a4b -r ba891f31c216 devel/py-ailment/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ailment/Makefile Tue Aug 18 20:24:57 2020 +0000
@@ -0,0 +1,24 @@
+#      $NetBSD: Makefile,v 1.1 2020/08/18 20:24:57 riastradh Exp $
+
+.include "../../devel/py-angr/version.mk"
+
+DISTNAME=      ailment-${ANGR_VERSION}
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/ailment/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/angr/ailment
+COMMENT=       The angr intermediate language
+LICENSE=       2-clause-bsd
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-archinfo>=0:../../devel/py-archinfo
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyvex>=0:../../devel/py-pyvex
+
+do-test:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} \
+       ${PYTHONBIN} -m unittest discover
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8179b5602a4b -r ba891f31c216 devel/py-ailment/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ailment/PLIST    Tue Aug 18 20:24:57 2020 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/18 20:24:57 riastradh Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ailment/__init__.py
+${PYSITELIB}/ailment/__init__.pyc
+${PYSITELIB}/ailment/__init__.pyo
+${PYSITELIB}/ailment/analyses/__init__.py
+${PYSITELIB}/ailment/analyses/__init__.pyc
+${PYSITELIB}/ailment/analyses/__init__.pyo
+${PYSITELIB}/ailment/analyses/block_simplifier.py
+${PYSITELIB}/ailment/analyses/block_simplifier.pyc
+${PYSITELIB}/ailment/analyses/block_simplifier.pyo
+${PYSITELIB}/ailment/analyses/callsite_maker.py
+${PYSITELIB}/ailment/analyses/callsite_maker.pyc
+${PYSITELIB}/ailment/analyses/callsite_maker.pyo
+${PYSITELIB}/ailment/analyses/simplifier.py
+${PYSITELIB}/ailment/analyses/simplifier.pyc
+${PYSITELIB}/ailment/analyses/simplifier.pyo
+${PYSITELIB}/ailment/block.py
+${PYSITELIB}/ailment/block.pyc
+${PYSITELIB}/ailment/block.pyo
+${PYSITELIB}/ailment/converter.py
+${PYSITELIB}/ailment/converter.pyc
+${PYSITELIB}/ailment/converter.pyo
+${PYSITELIB}/ailment/expression.py
+${PYSITELIB}/ailment/expression.pyc
+${PYSITELIB}/ailment/expression.pyo
+${PYSITELIB}/ailment/manager.py
+${PYSITELIB}/ailment/manager.pyc
+${PYSITELIB}/ailment/manager.pyo
+${PYSITELIB}/ailment/statement.py
+${PYSITELIB}/ailment/statement.pyc
+${PYSITELIB}/ailment/statement.pyo
+${PYSITELIB}/ailment/tagged_object.py
+${PYSITELIB}/ailment/tagged_object.pyc
+${PYSITELIB}/ailment/tagged_object.pyo
diff -r 8179b5602a4b -r ba891f31c216 devel/py-ailment/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ailment/distinfo Tue Aug 18 20:24:57 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/18 20:24:57 riastradh Exp $
+
+SHA1 (ailment-8.20.7.27.tar.gz) = 631f653a154c1718e27b7a5bc077bab3007f399b
+RMD160 (ailment-8.20.7.27.tar.gz) = a5662156984e8a918538eaff7a3d2388f0b0ad09
+SHA512 (ailment-8.20.7.27.tar.gz) = 0692602a55b7146bbb68b455e07b9e9c12c4f8fbe7dc03cc1833e0353e05ee2de8c4409e7f3b1f48035788d43a44d3ac69664440f9cc21847d00f79d75c80d9f
+Size (ailment-8.20.7.27.tar.gz) = 13972 bytes
diff -r 8179b5602a4b -r ba891f31c216 devel/py-angr/Makefile
--- a/devel/py-angr/Makefile    Tue Aug 18 20:20:46 2020 +0000
+++ b/devel/py-angr/Makefile    Tue Aug 18 20:24:57 2020 +0000
@@ -1,32 +1,53 @@
-# $NetBSD: Makefile,v 1.5 2020/05/31 20:44:31 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2020/08/18 20:24:57 riastradh Exp $
 
-DISTNAME=      angr-8.20.1.7
+.include "version.mk"
+
+DISTNAME=      angr-${ANGR_VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${EGG_NAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=angr/}
 GITHUB_PROJECT=        angr
-GITHUB_TAG=    5cb726d5139537cbe7c03bc5ed540b9cdb7c7e21
+GITHUB_TAG=    bd3edf575855a4e0316e8717b5297021de879b37
 
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      https://github.com/angr/angr/
 COMMENT=       Platform-agnostic binary analysis framework
 LICENSE=       2-clause-bsd
 
+# Needed for the automatic tests, but I got bored trying to make them
+# work.  Here's the partial effort, at least.
+#
+# BINARIES_TAG=        f517c1ae88f4a9ccf19f5c90ff1519827df0157c
+# BINARIES_DIST=       angr-binaries-${BINARIES_TAG}.tar.gz
+# SITES.${BINARIES_DIST}=      -${MASTER_SITES:=binaries/archive/${BINARIES_TAG}.tar.gz}
+
+# DISTFILES=   ${DEFAULT_DISTFILES}
+# DISTFILES+=  ${BINARIES_DIST}
+
+# post-extract:
+#      ${RUN} cd ${WRKDIR} && \
+#      ${MV} -f binaries-${BINARIES_TAG} binaries
+
 USE_LANGUAGES+=        c c++
 USE_TOOLS+=    gmake
 
 MAKE_FLAGS+=   LIBDIR=${LIBDIR:Q}
 
-DEPENDS+=      ${PYPKGPREFIX}-archinfo-[0-9]*:../../devel/py-archinfo
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+DEPENDS+=      ${PYPKGPREFIX}-CppHeaderParser-[0-9]*:../../devel/py-CppHeaderParser
+DEPENDS+=      ${PYPKGPREFIX}-archinfo>=${ANGR_VERSION}:../../devel/py-archinfo
 DEPENDS+=      ${PYPKGPREFIX}-cachetools-[0-9]*:../../devel/py-cachetools
-DEPENDS+=      ${PYPKGPREFIX}-capstone-[0-9]*:../../devel/py-capstone
+DEPENDS+=      ${PYPKGPREFIX}-capstone>=4.0.2:../../devel/py-capstone
 DEPENDS+=      ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
-DEPENDS+=      ${PYPKGPREFIX}-cle-[0-9]*:../../devel/py-cle
-DEPENDS+=      ${PYPKGPREFIX}-pyvex-[0-9]*:../../devel/py-pyvex
+DEPENDS+=      ${PYPKGPREFIX}-claripy>=${ANGR_VERSION}:../../math/py-claripy
+DEPENDS+=      ${PYPKGPREFIX}-cle>=${ANGR_VERSION}:../../devel/py-cle
+DEPENDS+=      ${PYPKGPREFIX}-itanium_demangler-[0-9]*:../../devel/py-itanium_demangler
+DEPENDS+=      ${PYPKGPREFIX}-mulpyplexer-[0-9]*:../../devel/py-mulpyplexer
+DEPENDS+=      ${PYPKGPREFIX}-networkx-[0-9]*:../../math/py-networkx
+DEPENDS+=      ${PYPKGPREFIX}-progressbar2-[0-9]*:../../devel/py-progressbar2
+DEPENDS+=      ${PYPKGPREFIX}-protobuf-[0-9]*:../../devel/py-protobuf
+DEPENDS+=      ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+DEPENDS+=      ${PYPKGPREFIX}-pyvex>=${ANGR_VERSION}:../../devel/py-pyvex
 DEPENDS+=      ${PYPKGPREFIX}-unicorn-[0-9]*:../../emulators/py-unicorn
-DEPENDS+=      ${PYPKGPREFIX}-claripy-[0-9]*:../../math/py-claripy
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
@@ -35,6 +56,13 @@
 SOEXT.*=       so
 PLIST_SUBST+=  SOEXT=${SOEXT}
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-test
+
+do-test:
+       ${RUN} cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} \
+       ${PYTHONBIN} -m nose
+
 .include "../../devel/py-pyvex/buildlink3.mk"
 .include "../../emulators/unicorn/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff -r 8179b5602a4b -r ba891f31c216 devel/py-angr/PLIST
--- a/devel/py-angr/PLIST       Tue Aug 18 20:20:46 2020 +0000
+++ b/devel/py-angr/PLIST       Tue Aug 18 20:24:57 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/01/09 14:02:31 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/08/18 20:24:57 riastradh Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -70,6 +70,12 @@
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/amd64_elf_got.py
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/amd64_elf_got.pyc
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/amd64_elf_got.pyo
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/arm_elf_fast.py
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/arm_elf_fast.pyc
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/arm_elf_fast.pyo
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/const_resolver.py
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/const_resolver.pyc
+${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/const_resolver.pyo
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/default_resolvers.py
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/default_resolvers.pyc
 ${PYSITELIB}/angr/analyses/cfg/indirect_jump_resolvers/default_resolvers.pyo
@@ -91,12 +97,24 @@
 ${PYSITELIB}/angr/analyses/cfg/segment_list.py
 ${PYSITELIB}/angr/analyses/cfg/segment_list.pyc
 ${PYSITELIB}/angr/analyses/cfg/segment_list.pyo
-${PYSITELIB}/angr/analyses/code_location.py
-${PYSITELIB}/angr/analyses/code_location.pyc
-${PYSITELIB}/angr/analyses/code_location.pyo
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/__init__.py
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/__init__.pyc
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/__init__.pyo
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/cfg_slice_to_sink.py
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/cfg_slice_to_sink.pyc
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/cfg_slice_to_sink.pyo
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/graph.py
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/graph.pyc
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/graph.pyo
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/transitions.py
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/transitions.pyc
+${PYSITELIB}/angr/analyses/cfg_slice_to_sink/transitions.pyo
 ${PYSITELIB}/angr/analyses/code_tagging.py
 ${PYSITELIB}/angr/analyses/code_tagging.pyc
 ${PYSITELIB}/angr/analyses/code_tagging.pyo
+${PYSITELIB}/angr/analyses/complete_calling_conventions.py
+${PYSITELIB}/angr/analyses/complete_calling_conventions.pyc
+${PYSITELIB}/angr/analyses/complete_calling_conventions.pyo
 ${PYSITELIB}/angr/analyses/congruency_check.py
 ${PYSITELIB}/angr/analyses/congruency_check.pyc
 ${PYSITELIB}/angr/analyses/congruency_check.pyo
@@ -109,21 +127,45 @@
 ${PYSITELIB}/angr/analyses/decompiler/__init__.py
 ${PYSITELIB}/angr/analyses/decompiler/__init__.pyc
 ${PYSITELIB}/angr/analyses/decompiler/__init__.pyo
+${PYSITELIB}/angr/analyses/decompiler/ailblock_walker.py
+${PYSITELIB}/angr/analyses/decompiler/ailblock_walker.pyc
+${PYSITELIB}/angr/analyses/decompiler/ailblock_walker.pyo
+${PYSITELIB}/angr/analyses/decompiler/ailgraph_walker.py
+${PYSITELIB}/angr/analyses/decompiler/ailgraph_walker.pyc
+${PYSITELIB}/angr/analyses/decompiler/ailgraph_walker.pyo
 ${PYSITELIB}/angr/analyses/decompiler/clinic.py
 ${PYSITELIB}/angr/analyses/decompiler/clinic.pyc
 ${PYSITELIB}/angr/analyses/decompiler/clinic.pyo
+${PYSITELIB}/angr/analyses/decompiler/condition_processor.py
+${PYSITELIB}/angr/analyses/decompiler/condition_processor.pyc
+${PYSITELIB}/angr/analyses/decompiler/condition_processor.pyo
+${PYSITELIB}/angr/analyses/decompiler/decompilation_options.py
+${PYSITELIB}/angr/analyses/decompiler/decompilation_options.pyc
+${PYSITELIB}/angr/analyses/decompiler/decompilation_options.pyo
 ${PYSITELIB}/angr/analyses/decompiler/decompiler.py
 ${PYSITELIB}/angr/analyses/decompiler/decompiler.pyc
 ${PYSITELIB}/angr/analyses/decompiler/decompiler.pyo
+${PYSITELIB}/angr/analyses/decompiler/empty_node_remover.py
+${PYSITELIB}/angr/analyses/decompiler/empty_node_remover.pyc
+${PYSITELIB}/angr/analyses/decompiler/empty_node_remover.pyo
+${PYSITELIB}/angr/analyses/decompiler/graph_region.py
+${PYSITELIB}/angr/analyses/decompiler/graph_region.pyc
+${PYSITELIB}/angr/analyses/decompiler/graph_region.pyo
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/__init__.py
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/__init__.pyc
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/__init__.pyo
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/base_ptr_save_simplifier.py
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/base_ptr_save_simplifier.pyc
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/base_ptr_save_simplifier.pyo
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/const_derefs.py
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/const_derefs.pyc
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/const_derefs.pyo
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/div_simplifier.py
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/div_simplifier.pyc
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/div_simplifier.pyo
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/eager_returns.py
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/eager_returns.pyc
+${PYSITELIB}/angr/analyses/decompiler/optimization_passes/eager_returns.pyo
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/engine_base.py
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/engine_base.pyc
 ${PYSITELIB}/angr/analyses/decompiler/optimization_passes/engine_base.pyo
@@ -145,12 +187,21 @@
 ${PYSITELIB}/angr/analyses/decompiler/region_simplifier.py
 ${PYSITELIB}/angr/analyses/decompiler/region_simplifier.pyc
 ${PYSITELIB}/angr/analyses/decompiler/region_simplifier.pyo
+${PYSITELIB}/angr/analyses/decompiler/sequence_walker.py
+${PYSITELIB}/angr/analyses/decompiler/sequence_walker.pyc
+${PYSITELIB}/angr/analyses/decompiler/sequence_walker.pyo
 ${PYSITELIB}/angr/analyses/decompiler/structured_codegen.py
 ${PYSITELIB}/angr/analyses/decompiler/structured_codegen.pyc
 ${PYSITELIB}/angr/analyses/decompiler/structured_codegen.pyo
 ${PYSITELIB}/angr/analyses/decompiler/structurer.py
 ${PYSITELIB}/angr/analyses/decompiler/structurer.pyc
 ${PYSITELIB}/angr/analyses/decompiler/structurer.pyo
+${PYSITELIB}/angr/analyses/decompiler/structurer_nodes.py
+${PYSITELIB}/angr/analyses/decompiler/structurer_nodes.pyc
+${PYSITELIB}/angr/analyses/decompiler/structurer_nodes.pyo
+${PYSITELIB}/angr/analyses/decompiler/utils.py
+${PYSITELIB}/angr/analyses/decompiler/utils.pyc
+${PYSITELIB}/angr/analyses/decompiler/utils.pyo
 ${PYSITELIB}/angr/analyses/disassembly.py
 ${PYSITELIB}/angr/analyses/disassembly.pyc
 ${PYSITELIB}/angr/analyses/disassembly.pyo
@@ -280,6 +331,9 @@
 ${PYSITELIB}/angr/analyses/identifier/runner.py
 ${PYSITELIB}/angr/analyses/identifier/runner.pyc
 ${PYSITELIB}/angr/analyses/identifier/runner.pyo
+${PYSITELIB}/angr/analyses/init_finder.py
+${PYSITELIB}/angr/analyses/init_finder.pyc
+${PYSITELIB}/angr/analyses/init_finder.pyo
 ${PYSITELIB}/angr/analyses/loop_analysis.py
 ${PYSITELIB}/angr/analyses/loop_analysis.pyc
 ${PYSITELIB}/angr/analyses/loop_analysis.pyo
@@ -310,21 +364,12 @@
 ${PYSITELIB}/angr/analyses/reaching_definitions/__init__.py
 ${PYSITELIB}/angr/analyses/reaching_definitions/__init__.pyc
 ${PYSITELIB}/angr/analyses/reaching_definitions/__init__.pyo
-${PYSITELIB}/angr/analyses/reaching_definitions/atoms.py
-${PYSITELIB}/angr/analyses/reaching_definitions/atoms.pyc



Home | Main Index | Thread Index | Old Index