FreeBSD Bugzilla – Attachment 226389 Details for
Bug 257041
[NEW PORT] devel/py-lief: Parse, modify and abstract ELF, PE and MachO formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Git diff of new port.
py38-lief-0.11.5.diff (text/plain), 2.09 KB, created by
Neal Nelson
on 2021-07-12 12:46:14 UTC
(
hide
)
Description:
Git diff of new port.
Filename:
MIME Type:
Creator:
Neal Nelson
Created:
2021-07-12 12:46:14 UTC
Size:
2.09 KB
patch
obsolete
>diff --git a/devel/py-lief/Makefile b/devel/py-lief/Makefile >new file mode 100644 >index 000000000000..6f891f004731 >--- /dev/null >+++ b/devel/py-lief/Makefile >@@ -0,0 +1,25 @@ >+PORTNAME= lief >+DISTVERSION= 0.11.5 >+CATEGORIES= devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= ports@nicandneal.net >+COMMENT= Library to instrument executable formats >+ >+LICENSE= APACHE20 >+ >+# Note: cmake is needed to build, but distutils is used directly. >+# If USES= cmake is set, the build wqill not work. >+BUILD_DEPENDS= cmake:devel/cmake >+ >+USES= python:3.6+ zip >+USE_PYTHON= distutils concurrent >+ >+PY_VER= ${PYTHON_VER:S/.//} >+PLIST_SUB= PY_VER=${PY_VER} >+ >+post-install: >+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lief.cpython-${PY_VER}.so >+ >+.include <bsd.port.mk> >diff --git a/devel/py-lief/distinfo b/devel/py-lief/distinfo >new file mode 100644 >index 000000000000..77399f747f6f >--- /dev/null >+++ b/devel/py-lief/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1626076347 >+SHA256 (lief-0.11.5.zip) = 932ba495388fb52b4ba056a0b00abe0bda3567ad3ebc6d726be1e87b8be08b3f >+SIZE (lief-0.11.5.zip) = 15699277 >diff --git a/devel/py-lief/pkg-descr b/devel/py-lief/pkg-descr >new file mode 100644 >index 000000000000..c03068dba958 >--- /dev/null >+++ b/devel/py-lief/pkg-descr >@@ -0,0 +1,13 @@ >+The purpose of this project is to provide a cross platform library which can >+parse, modify and abstract ELF, PE and MachO formats. >+ >+Main features: >+ >+- Parsing: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides a >+ user-friendly API to access to format internals. >+- Modify: LIEF enables to modify some parts of these formats >+- Abstract: Three formats have common features like sections, symbols, entry >+ point... LIEF factors them. >+- API: LIEF can be used in C, C++ and Python >+ >+WWW: https://github.com/lief-project/lief >diff --git a/devel/py-lief/pkg-plist b/devel/py-lief/pkg-plist >new file mode 100644 >index 000000000000..ed8f1e24a237 >--- /dev/null >+++ b/devel/py-lief/pkg-plist >@@ -0,0 +1,4 @@ >+bin/elf_reader.py >+bin/macho_reader.py >+bin/pe_reader.py >+%%PYTHON_SITELIBDIR%%/lief.cpython-%%PY_VER%%.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257041
:
226285
| 226389