mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
*: Use angr.mk in the ports tree
This commit is contained in:
parent
41a3548060
commit
eae623906c
@ -10,19 +10,14 @@ COMMENT= Classes with architecture-specific information useful to other projects
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyvex>0:security/py-pyvex@${PY_FLAVOR} \
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyvex>0:security/py-pyvex@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}unicorn>0:emulators/py-unicorn@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USES= angr:nose python:3.6+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= angr
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
|
||||
|
||||
.include "${.CURDIR}/../../security/py-angr/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,21 +16,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyelftools>0.25:devel/py-pyelftools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyvex>=${ANGR_VERSION}:security/py-pyvex@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.0:devel/py-sortedcontainers@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USES= angr:binaries,nose python:3.6+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= angr
|
||||
GH_TUPLE= angr:binaries:${ANGR_BINARIES_TAGNAME}:binaries
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
pre-test:
|
||||
@${LN} -Fs ${WRKSRC_binaries} ${WRKDIR}/binaries
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
|
||||
|
||||
.include "${.CURDIR}/../../security/py-angr/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,18 +15,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>0:devel/py-cachetools@${PY_FLAVOR
|
||||
${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pysmt>0:math/py-pysmt@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}z3-solver>4.8.5.0:math/py-z3-solver@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
||||
z3>4.8.5.0:math/z3
|
||||
TEST_DEPENDS= z3>4.8.5.0:math/z3
|
||||
|
||||
USES= python:3.6+
|
||||
USES= angr:nose python:3.6+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= angr
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
|
||||
|
||||
.include "${.CURDIR}/../../security/py-angr/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,23 +12,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}angr>=${ANGR_VERSION}:security/py-angr@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}archinfo>=${ANGR_VERSION}:devel/py-archinfo@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyvex>=${ANGR_VERSION}:security/py-pyvex@${PY_FLAVOR} \
|
||||
z3>0:math/z3
|
||||
|
||||
USES= gmake localbase python:3.6+
|
||||
USES= angr:binaries,nose gmake localbase python:3.6+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= angr
|
||||
GH_TUPLE= angr:binaries:${ANGR_BINARIES_TAGNAME}:binaries
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
pre-test:
|
||||
@${LN} -Fs ${WRKSRC_binaries} ${WRKDIR}/binaries
|
||||
|
||||
do-test:
|
||||
@(cd ${TEST_WRKSRC}/tests && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})
|
||||
|
||||
.include "${.CURDIR}/../../security/py-angr/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,9 +39,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ailment>=${ANGR_VERSION}:security/py-ailment
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystone-engine>=0:devel/py-keystone-engine@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
|
||||
|
||||
USES= gmake localbase:ldflags python:3.6+
|
||||
USES= angr:binaries gmake localbase:ldflags python:3.6+
|
||||
USE_GITHUB= yes
|
||||
GH_TUPLE= ${PORTNAME}:binaries:${ANGR_BINARIES_TAGNAME}:binaries
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
@ -85,11 +84,7 @@ _NOSE_EXCLUDE= (${_EXCLUDED_TESTS:S, , ,g:S, ,|,gW})
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/lib/angr_native*.so
|
||||
|
||||
pre-test:
|
||||
@${LN} -Fs ${WRKSRC_binaries} ${WRKDIR}/binaries
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} -v)
|
||||
|
||||
.include "${.CURDIR}/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +0,0 @@
|
||||
ANGR_VERSION= 9.0.5405
|
||||
ANGR_BINARIES_TAGNAME= v${ANGR_VERSION}
|
@ -27,11 +27,10 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}angr>=${DISTVERSION}:security/py-angr@${PY_FLAVOR} \
|
||||
z3>=0:math/z3
|
||||
|
||||
USES= gmake localbase python:3.5+
|
||||
USES= angr:binaries gmake localbase python:3.5+
|
||||
USE_CSTD= c99
|
||||
USE_GITHUB= nodefault
|
||||
GH_TUPLE= angr:${PORTNAME}:v${DISTVERSION}:tests \
|
||||
angr:binaries:9bf9c59002c2fb751ae2357f08fb9f4f8171a4ff:binaries
|
||||
GH_TUPLE= angr:${PORTNAME}:v${DISTVERSION}:tests
|
||||
USE_LDCONFIG= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/lib
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
@ -49,12 +48,7 @@ post-patch:
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/lib/lib${PORTNAME}*.so
|
||||
|
||||
pre-test:
|
||||
@${LN} -Fs ${WRKSRC_tests}/tests ${WRKSRC}/tests
|
||||
@${LN} -Fs ${WRKSRC_binaries} ${WRKDIR}/binaries
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
|
||||
|
||||
.include "${.CURDIR}/../../security/py-angr/Makefile.version"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
TIMESTAMP = 1610804745
|
||||
TIMESTAMP = 1626098519
|
||||
SHA256 (pyvex-9.0.5405.tar.gz) = 6d34fb801432b6c5f95ab6b86c462d3aec8c93b751544dad3b40ba7d12984c29
|
||||
SIZE (pyvex-9.0.5405.tar.gz) = 1767188
|
||||
SHA256 (angr-pyvex-v9.0.5405_GH0.tar.gz) = 63d3b4ca662c052a714e83e1d573ccf5865004cfd63cdbd5fb85b533864651be
|
||||
SIZE (angr-pyvex-v9.0.5405_GH0.tar.gz) = 87680
|
||||
SHA256 (angr-binaries-9bf9c59002c2fb751ae2357f08fb9f4f8171a4ff_GH0.tar.gz) = 2c6f5130f5ee51e4cd8d891a137a347141cf155a6b2dbb248b02ac7cf11c2631
|
||||
SIZE (angr-binaries-9bf9c59002c2fb751ae2357f08fb9f4f8171a4ff_GH0.tar.gz) = 56723730
|
||||
SHA256 (angr-binaries-v9.0.5405_GH0.tar.gz) = c6cf9e357450d485ff9f32bba6f495e7a0336178b6d8dde1bb16430da8b58efe
|
||||
SIZE (angr-binaries-v9.0.5405_GH0.tar.gz) = 57764618
|
||||
|
Loading…
Reference in New Issue
Block a user