Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial work on the distorm3 disassembler library.
New version has issues, so I am waiting for upstream to fix. Also I need to SUBDIRS/MULTIPACKAGE the various bindings.
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# $OpenBSD$ | ||
|
||
# XXX this is just the python binding | ||
# I need to MULTIPACKAGE or SUBDIR this to make one package | ||
# for each binding | ||
|
||
# XXX there is a bug in the DecomposeInterface preventing me from submitting | ||
# this: http://code.google.com/p/distorm/issues/detail?id=51 | ||
|
||
COMMENT = lightweight disassembler library for x86/AMD64 | ||
|
||
MODPY_EGG_VERSION = 3 | ||
DISTNAME = distorm3-${MODPY_EGG_VERSION} | ||
PKGNAME = py-${DISTNAME} | ||
CATEGORIES = devel | ||
EXTRACT_SUFX = .zip | ||
|
||
HOMEPAGE = http://ragestorm.net/distorm/ | ||
MAINTAINER = Edd Barrett <edd@openbsd.org> | ||
|
||
# GPLv2 - or commercial license if consumer is not GPLv2 XXX | ||
PERMIT_PACKAGE_CDROM = Yes | ||
PERMIT_PACKAGE_FTP = Yes | ||
PERMIT_DISTFILES_CDROM =Yes | ||
PERMIT_DISTFILES_FTP = Yes | ||
|
||
MASTER_SITES = http://distorm.googlecode.com/files/ | ||
MODULES = lang/python | ||
NO_REGRESS = Yes | ||
|
||
EXAMPLEDIR = ${PREFIX}/share/examples/distorm | ||
post-install: | ||
${INSTALL_DATA_DIR} ${EXAMPLEDIR} | ||
mv ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/distorm3/sample.py \ | ||
${EXAMPLEDIR} | ||
rm ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/distorm3/sample.py{c,o} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (distorm3-3.zip) = 3c8YjHyAo97ZaLU18yHpgHIs0QPSaa29mJypm03o8vw= | ||
SIZE (distorm3-3.zip) = 142948 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
diStorm [pronounced dee�storm] | ||
|
||
Definition: A lightweight, Easy-to-Use and Fast Disassembler/Decomposer | ||
Library for x86/AMD64. A Decomposer means that you get a binary | ||
structure that describes an instruction rather than textual | ||
representation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@comment $OpenBSD$ | ||
lib/python${MODPY_VERSION}/site-packages/distorm3/ | ||
lib/python${MODPY_VERSION}/site-packages/distorm3-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info | ||
lib/python${MODPY_VERSION}/site-packages/distorm3/__init__.py | ||
lib/python${MODPY_VERSION}/site-packages/distorm3/__init__.pyc | ||
lib/python${MODPY_VERSION}/site-packages/distorm3/__init__.pyo | ||
lib/python${MODPY_VERSION}/site-packages/distorm3/libdistorm${MODPY_EGG_VERSION}.so | ||
share/examples/distorm/ | ||
share/examples/distorm/sample.py |