Add py-sqlelf: explore ELF objects through the power of SQL.
Might work, given Python bindings from lief and some TOOL_DEPENDS.master
parent
33939dce15
commit
d2384fe9c2
|
@ -0,0 +1,10 @@
|
|||
A tool that utilizes SQLite's virtual table functionality to allow you
|
||||
to explore Linux ELF objects through SQL.
|
||||
|
||||
Traditionally exploring an ELF file was limited to tools such as objdump
|
||||
or readelf. While these tools are full featured in their parsing
|
||||
capability, the output format and ability to ask exploratory questions
|
||||
is limited.
|
||||
|
||||
SQL is the lingua franca for asking questions in a declarative manner.
|
||||
Let's enhance our ability to introspect binaries!
|
|
@ -0,0 +1,28 @@
|
|||
# $NetBSD$
|
||||
|
||||
DISTNAME= sqlelf-0.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=fzakaria/}
|
||||
GITHUB_RELEASE= v${PKGVERSION_NOREV}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/fzakaria/sqlelf/
|
||||
COMMENT= Explore ELF objects through the power of SQL
|
||||
LICENSE= mit
|
||||
|
||||
PYTHON_VERSIONS_ACCEPTED= 311 310
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
# TOOL_DEPENDS:
|
||||
# setuptools
|
||||
# setuptools-scm[toml]
|
||||
# setuptools.build_meta
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-apsw>=3.43.1.0:../../databases/py-apsw
|
||||
DEPENDS+= ${PYPKGPREFIX}-capstone>=5.0.1:../../devel/py-capstone
|
||||
DEPENDS+= ${PYPKGPREFIX}-lief>=0.14.0:../../wip/lief
|
||||
DEPENDS+= ${PYPKGPREFIX}-sh>=2.0.6:../../sysutils/py-sh
|
||||
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,4 @@
|
|||
@comment $NetBSD$
|
||||
@comment TODO: to fill this file with the file listing:
|
||||
@comment TODO: 1. run "/opt/pkg/bin/bmake package"
|
||||
@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
|
|
@ -0,0 +1,5 @@
|
|||
$NetBSD$
|
||||
|
||||
BLAKE2s (sqlelf-0.4.tar.gz) = c43f530626a5fde3214a799efc5d8434d9b5439d274735a0630682fb273af7dc
|
||||
SHA512 (sqlelf-0.4.tar.gz) = 038ba58b68fbda2fe9fc36c76aafd10c9d45c6ac3f2d3113ad965f7d60e681af1e3b560f6d7c79f37f5223a5bd045b0b24c70b7967e429612ed39a039ea2f205
|
||||
Size (sqlelf-0.4.tar.gz) = 180009 bytes
|
Loading…
Reference in New Issue