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
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
py-capstone Python bindings for the Capstone Disassembly Engine
5.0.3 devel on this many watch lists=2 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 5.0.3Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-01-27 14:01:55
Last Update: 2024-08-21 07:56:02
Commit Hash: db85b47
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://www.capstone-engine.org
Description:
Python bindings for the Capstone Disassembly Engine Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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}capstone>0:devel/py-capstone@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-capstone/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-capstone
  • pkg install py311-capstone
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-capstone listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-capstone
Package flavors (<flavor>: <package>)
  • py311: py311-capstone
distinfo:
TIMESTAMP = 1724225310 SHA256 (python/capstone-5.0.3.tar.gz) = 1f15616c0528f5268f2dc0a81708483e605ce71961b02a01a791230b51fe862d SIZE (python/capstone-5.0.3.tar.gz) = 2943858

Packages (timestamps in pop-ups are UTC):
py37-capstone
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--4.0.1---4.0.1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-capstone
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--4.0.2--5.0.15.0.15.0.1
FreeBSD:14:latest--4.0.2--4.0.2-4.0.2
FreeBSD:14:quarterly-----5.0.15.0.15.0.1
FreeBSD:15:latest--n/a-n/a5.0.15.0.15.0.1
 
py311-capstone
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.0.35.0.3-5.0.35.0.3---
FreeBSD:13:quarterly5.0.35.0.3-5.0.35.0.3---
FreeBSD:14:latest5.0.35.0.3-5.0.35.0.3---
FreeBSD:14:quarterly5.0.35.0.3-5.0.35.0.3---
FreeBSD:15:latest5.0.35.0.3n/a5.0.3n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Library dependencies:
  1. libcapstone.so : devel/capstone
This port is required by:
for Run
  1. devel/plasma
  2. security/gef
  3. security/py-angr
  4. security/py-first-server
  5. security/py-pwntools
  6. security/py-ropgadget
  7. security/py-ropper
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. security/py-volatility3
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. security/py-rekall-core*
  2. security/sandsifter*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_py-capstone
USES:
cpe python
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/c/capstone/
  2. https://pypi.org/packages/source/c/capstone/
Collapse this list.

Number of commits found: 25

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.3
21 Aug 2024 07:56:02
commit hash: db85b47b33ac7d853a037d48fc862011500be8ebcommit hash: db85b47b33ac7d853a037d48fc862011500be8ebcommit hash: db85b47b33ac7d853a037d48fc862011500be8ebcommit hash: db85b47b33ac7d853a037d48fc862011500be8eb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-capstone: Update version 5.0.2=>5.0.3

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.3
5.0.2
17 Aug 2024 00:39:50
commit hash: f17e4f2e04eee0bd8ea4bb3a0cc8051fdde7383bcommit hash: f17e4f2e04eee0bd8ea4bb3a0cc8051fdde7383bcommit hash: f17e4f2e04eee0bd8ea4bb3a0cc8051fdde7383bcommit hash: f17e4f2e04eee0bd8ea4bb3a0cc8051fdde7383b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-capstone: Update version 5.0.1=>5.0.2

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.2
5.0.1
23 Aug 2023 04:37:50
commit hash: 7f6c03dfe77de9e42b154cca9ca6f54a866cd085commit hash: 7f6c03dfe77de9e42b154cca9ca6f54a866cd085commit hash: 7f6c03dfe77de9e42b154cca9ca6f54a866cd085commit hash: 7f6c03dfe77de9e42b154cca9ca6f54a866cd085 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-capstone: Update version 5.0.0.post1=>5.0.1

Changelog:
https://github.com/capstone-engine/capstone/releases/tag/5.0.1
5.0.0.p1
15 Jul 2023 19:01:03
commit hash: 2619476372c0cb9d88d1243ebaf7d49f0eb6ef72commit hash: 2619476372c0cb9d88d1243ebaf7d49f0eb6ef72commit hash: 2619476372c0cb9d88d1243ebaf7d49f0eb6ef72commit hash: 2619476372c0cb9d88d1243ebaf7d49f0eb6ef72 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-capstone: Update version 4.0.2=>5.0.0.p1

Changelog:
https://github.com/capstone-engine/capstone/releases/tag/5.0-post1
4.0.2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
4.0.2
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
4.0.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.0.2
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.0.2
12 Mar 2022 10:41:07
commit hash: c375a3f78c35191e3694a266122a2fa1dafc28fbcommit hash: c375a3f78c35191e3694a266122a2fa1dafc28fbcommit hash: c375a3f78c35191e3694a266122a2fa1dafc28fbcommit hash: c375a3f78c35191e3694a266122a2fa1dafc28fb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-capstone: Update version 4.0.1=>4.0.2

Relnotes: http://www.capstone-engine.org/changelog.html
4.0.1
08 Mar 2022 02:09:57
commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9commit hash: bc808e2bfff33c5b4260c571ee628017ca41f1b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Take maintainership
4.0.1
07 Mar 2022 19:07:39
commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970commit hash: 3d89f95e2ff861b1e06ad114422b5d116a856970 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: return koobs' ports to the pool after safekeeping his commit bit.
4.0.1
14 Oct 2021 21:30:39
commit hash: bc39fa5fc43c8b4171180e6839a9a1a7a9c713a1commit hash: bc39fa5fc43c8b4171180e6839a9a1a7a9c713a1commit hash: bc39fa5fc43c8b4171180e6839a9a1a7a9c713a1commit hash: bc39fa5fc43c8b4171180e6839a9a1a7a9c713a1 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
devel/py-capstone: Add CPE information

Approved by:	portmgr (blanket)
4.0.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
4.0.1
03 Jan 2021 09:11:52
Revision:559997Original commit files touched by this commit
antoine search for other commits by this committer
Remove python 2.7 support from a few ports
4.0.1
02 Mar 2020 14:24:01
Revision:527634Original commit files touched by this commit
0mp search for other commits by this committer
devel/py-capstone: Update to 4.0.1

devel/py-capstone has to be kept in sync with its Capstone library. At the
moment, there are two versions of the library in ports: devel/capstone3 and
devel/capstone4. The version 3 is an old version of the library so the
bindings should be updated to follow version 4, which is the newest major
version.

Currently, there is no need to introduce a port with Python bindings
compatible with Capstone 3 as there are no known ports dependant on version
3 of the bindings.

Some ports need to be updated so that they depend on devel/capstone4
instead of devel/capstone3 to avoid build problems. They will be updated in
subsequent commits.

Also, set NO_ARCH while here.

Approved by:	koobs (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23751
3.0.5
03 Sep 2018 12:20:08
Revision:478858Original commit files touched by this commit
antoine search for other commits by this committer
Update capstone3 and py-capstone to 3.0.5

PR:		230347
Approved by:	maintainer timeout (30 days)
3.0.4_1
10 Jul 2016 12:57:26
Revision:418316Original commit files touched by this commit
pi search for other commits by this committer
devel/capstone: move to capstone3, introduce capstone4

- update py-capstone to use capstone3

PR:		206941
Submitted by:	oleksii.tsai@gmail.com
Approved by:	oliver.pntr@gmail.com (maintainer timeout)
3.0.4
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
3.0.4
15 Nov 2015 13:26:52
Revision:401705Original commit files touched by this commit
antoine search for other commits by this committer
Update to 3.0.4

PR:		203997
Approved by:	maintainer
2.1
20 Oct 2014 16:04:14
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
2.1
20 Mar 2014 11:50:09
Revision:348681Original commit files touched by this commit
koobs search for other commits by this committer
devel/py-capstone: Update to 2.1

- Update to 2.1
- Limit USE_PYTHON to 2.x
2.0_1
12 Feb 2014 12:41:54
Revision:343914Original commit files touched by this commit
koobs search for other commits by this committer
devel/py-capstone: Delete stray pkg-plist (thanks ruslan!)

Delete empty pkg-plist, leftover after AUTOPLIST

Reported by:	rm
2.0_1
28 Jan 2014 11:05:32
Revision:341533Original commit files touched by this commit
koobs search for other commits by this committer
devel/py-capstone: Actually add LIB_DEPENDS on libcapstone

capstone will not import without the library installed. This seems obvious in
hindsight :)
2.0
27 Jan 2014 14:01:45
Revision:341409Original commit files touched by this commit
koobs search for other commits by this committer
devel/py-capstone: Python bindings for the Capstone Disassembly Engine [NEW
PORT]

Python bindings for the Capstone Disassembly Engine

Capstone is a disassembly framework with the target of becoming the ultimate
disasm engine for binary analysis and reversing in the security community.

WWW: http://www.capstone-engine.org

Number of commits found: 25