notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-lief Library to instrument executable formats
0.12.3_1 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.12.3Version of this port present on the latest quarterly branch.
Maintainer: ports@nicandneal.net search for ports maintained by this maintainer
Port Added: 2023-09-01 17:18:29
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch:: supercollider, nim, py311-clang, PrusaSlicer, yosys-systemverilog
Also Listed In: python
License: APACHE20
WWW:
https://github.com/lief-project/lief
Description:
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}lief>0:devel/py-lief@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-lief/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-lief
  • pkg install py311-lief
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-lief listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-lief
Package flavors (<flavor>: <package>)
  • py311: py311-lief
distinfo:
TIMESTAMP = 1705834470 SHA256 (lief-0.12.3.zip) = 62e81d2f1a827d43152aed12446a604627e8833493a51dca027026eed0ce7128 SIZE (lief-0.12.3.zip) = 16185043

Packages (timestamps in pop-ups are UTC):
py39-lief
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly-----0.11.50.11.50.11.5
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----0.11.50.11.50.11.5
FreeBSD:15:latest--n/a-n/a0.12.30.12.30.12.3
 

py311-lief
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.12.3_10.12.3_1-0.12.3_10.12.3_1---
FreeBSD:13:quarterly0.12.30.12.3-0.12.30.12.3---
FreeBSD:14:latest0.12.30.12.3_1-0.12.30.12.3_1---
FreeBSD:14:quarterly0.12.30.12.3-0.12.30.12.3---
FreeBSD:15:latest0.12.3_10.12.3_1n/a0.12.3_1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-lief
USES:
cmake:indirect python zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/l/lief/
  2. https://pypi.org/packages/source/l/lief/
Collapse this list.

Number of commits found: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.12.3_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.12.3
11 Apr 2024 09:27:00
commit hash: bc80854f3bb625b0c53915a2edb94a02375945bfcommit hash: bc80854f3bb625b0c53915a2edb94a02375945bfcommit hash: bc80854f3bb625b0c53915a2edb94a02375945bfcommit hash: bc80854f3bb625b0c53915a2edb94a02375945bf files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: clean up after swith to cmake:indirect
0.12.3
11 Apr 2024 09:16:53
commit hash: 43d9a1336ddec3ddb059a4c78b33888272692c36commit hash: 43d9a1336ddec3ddb059a4c78b33888272692c36commit hash: 43d9a1336ddec3ddb059a4c78b33888272692c36commit hash: 43d9a1336ddec3ddb059a4c78b33888272692c36 files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: convert to cmake:indirect

Convert bunch of ports to USES=cmake:indirect
0.12.3
21 Jan 2024 11:51:30
commit hash: c3991087a876db50a585c3778a046650d50c3519commit hash: c3991087a876db50a585c3778a046650d50c3519commit hash: c3991087a876db50a585c3778a046650d50c3519commit hash: c3991087a876db50a585c3778a046650d50c3519 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/py-lief: Update to 0.12.3 and fix build with python-3.11

PR:		275494
Approved by:	portmgr(blanket, fix build)
0.11.5
14 Nov 2023 17:16:47
commit hash: 4e3aee4153923fc3a9248c2586c1f766d2094a8acommit hash: 4e3aee4153923fc3a9248c2586c1f766d2094a8acommit hash: 4e3aee4153923fc3a9248c2586c1f766d2094a8acommit hash: 4e3aee4153923fc3a9248c2586c1f766d2094a8a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-lief: Use PYPI instead of CHEESESHOP

Approved by:	portmgr (blanket)
With hat:	python
0.11.5
15 Oct 2023 13:48:57
commit hash: ade460a9ffe449c953506c97dbe3e59d88fc2d28commit hash: ade460a9ffe449c953506c97dbe3e59d88fc2d28commit hash: ade460a9ffe449c953506c97dbe3e59d88fc2d28commit hash: ade460a9ffe449c953506c97dbe3e59d88fc2d28 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/py-lief: Correct build dependency of CMake

CMake binary is provided by devel/cmake-core not devel/cmake which
is a metaport

Approved by:	portmgr (blanket)
0.11.5
01 Sep 2023 17:16:15
commit hash: 2cde3efd909901be11505bac4617e88ad1d7a34bcommit hash: 2cde3efd909901be11505bac4617e88ad1d7a34bcommit hash: 2cde3efd909901be11505bac4617e88ad1d7a34bcommit hash: 2cde3efd909901be11505bac4617e88ad1d7a34b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Neal Nelson
devel/py-lief: New Port

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
PR:		257041

Number of commits found: 7