Port details
capstone Multi-platform, multi-architecture disassembly framework
5.0.9_1 devel Σ=0 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.9_1Version 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 07:00:40
Last Update: 2026-11-24 16:06:28
Commit Hash: a9844c5
License: BSD3CLAUSE
WWW:
http://capstone-engine.org/
Description: #
Capstone is a lightweight multi-platform, multi-architecture disassembly framework. Features: * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86 * Clean/simple/lightweight/intuitive architecture-neutral API * Provide details on disassembled instruction (called "decomposer") * Provide some semantics of the disassembled instruction, such as list of implicit registers read & written. * Implemented in pure C language, with bindings for Python, Ruby, C#, Java, GO, OCaml & Vala available. * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris) * Thread-safe by design * Distributed under the open source BSD license
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 #
Expand this list (33 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/capstone-5.0.9_1/catalog.mk
  3. /usr/local/share/licenses/capstone-5.0.9_1/LICENSE
  4. /usr/local/share/licenses/capstone-5.0.9_1/BSD3CLAUSE
  5. share/sbom/pc/capstone.pc
  6. bin/cstool
  7. include/capstone/arm.h
  8. include/capstone/arm64.h
  9. include/capstone/bpf.h
  10. include/capstone/capstone.h
  11. include/capstone/evm.h
  12. include/capstone/m680x.h
  13. include/capstone/m68k.h
  14. include/capstone/mips.h
  15. include/capstone/mos65xx.h
  16. include/capstone/platform.h
  17. include/capstone/ppc.h
  18. include/capstone/riscv.h
  19. include/capstone/sh.h
  20. include/capstone/sparc.h
  21. include/capstone/systemz.h
  22. include/capstone/tms320c64x.h
  23. include/capstone/tricore.h
  24. include/capstone/wasm.h
  25. include/capstone/x86.h
  26. include/capstone/xcore.h
  27. lib/libcapstone.a
  28. lib/libcapstone.so
  29. lib/libcapstone.so.5
  30. libdata/pkgconfig/capstone.pc
  31. @owner
  32. @group
  33. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • capstone>0:devel/capstone
  • For LIB depends:
    • libcapstone.so:devel/capstone
Conflicts: #
CONFLICTS:
  • capstone
CONFLICTS_BUILD:
  • capstone[34]
To install the port: #
cd /usr/ports/devel/capstone/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/capstone
  • pkg install capstone
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . capstone
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: capstone
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1780059385 SHA256 (capstone-5.0.9.tar.xz) = 1b70351879f6998998ebcbe09bd5f3c5e27127e985af14722cbe52c11c35178e SIZE (capstone-5.0.9.tar.xz) = 4916468

Packages (timestamps in pop-ups are UTC): #
capstone
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest5.0.95.0.9-5.0.65.0.9
FreeBSD:14:quarterly5.0.95.0.9-5.0.65.0.9
FreeBSD:15:latest5.0.95.0.9n/a5.0.6n/a
FreeBSD:15:quarterly5.0.95.0.9n/a-n/a
FreeBSD:16:latest CURRENT5.0.95.0.9n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
This port is required by: #
for Build #

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/plasma*
  2. Collapse this list of deleted ports.
for Libraries #
  1. cad/nvc
  2. devel/bloaty
  3. devel/elf-dissector
  4. devel/iaito
  5. devel/py-capstone
  6. devel/radare2
  7. editors/rehex
Expand this list (12 items / 5 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. emulators/hatari
  3. emulators/qemu-cheri
  4. emulators/qemu-devel
  5. lang/rizin
  6. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/php85-opcache*
  2. 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_capstone
USES: #
cpe gmake tar:xz
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://github.com/capstone-engine/capstone/releases/download/5.0.9/
Collapse this list.
Port Moves
  • port moved here from devel/capstone5 on 2023-07-15
    REASON: Keep the latest version without any pkgnamesufix

Number of commits found: 21 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0.9_1
24 Nov 2026 16:06:28
commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump ports with CPE data
5.0.9
29 May 2026 14:03:18
commit hash: a179881a8a7a83dcc031d778893f9bea957aec6bcommit hash: a179881a8a7a83dcc031d778893f9bea957aec6bcommit hash: a179881a8a7a83dcc031d778893f9bea957aec6bcommit hash: a179881a8a7a83dcc031d778893f9bea957aec6b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.8=>5.0.9

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.9
5.0.8
24 May 2026 17:02:50
commit hash: e6896e5c8c7d427e62cd4302c563f9102f94d231commit hash: e6896e5c8c7d427e62cd4302c563f9102f94d231commit hash: e6896e5c8c7d427e62cd4302c563f9102f94d231commit hash: e6896e5c8c7d427e62cd4302c563f9102f94d231 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.7=>5.0.8

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.8
5.0.7
14 Feb 2026 11:32:24
commit hash: f7c38b10d670e68c596b3646763ea3713efa0da7commit hash: f7c38b10d670e68c596b3646763ea3713efa0da7commit hash: f7c38b10d670e68c596b3646763ea3713efa0da7commit hash: f7c38b10d670e68c596b3646763ea3713efa0da7 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.6=>5.0.7

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.7
5.0.6
01 Apr 2025 15:18:38
commit hash: 0a2cae0e6f95f3d704dd85e778d9c78189baf0a4commit hash: 0a2cae0e6f95f3d704dd85e778d9c78189baf0a4commit hash: 0a2cae0e6f95f3d704dd85e778d9c78189baf0a4commit hash: 0a2cae0e6f95f3d704dd85e778d9c78189baf0a4 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.5=>5.0.6

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.6
5.0.5
04 Feb 2025 22:02:42
commit hash: 9cd7bc59cdd7d92e97d16c4f934309adf3513004commit hash: 9cd7bc59cdd7d92e97d16c4f934309adf3513004commit hash: 9cd7bc59cdd7d92e97d16c4f934309adf3513004commit hash: 9cd7bc59cdd7d92e97d16c4f934309adf3513004 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.3=>5.0.5

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.5
5.0.3
21 Aug 2024 07:56:01
commit hash: 9a7a75003e6f0a7c75cd4fc73f9d31b883d332b9commit hash: 9a7a75003e6f0a7c75cd4fc73f9d31b883d332b9commit hash: 9a7a75003e6f0a7c75cd4fc73f9d31b883d332b9commit hash: 9a7a75003e6f0a7c75cd4fc73f9d31b883d332b9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/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:49
commit hash: 6df919dddaf81514f6044e17687b9afb94d54453commit hash: 6df919dddaf81514f6044e17687b9afb94d54453commit hash: 6df919dddaf81514f6044e17687b9afb94d54453commit hash: 6df919dddaf81514f6044e17687b9afb94d54453 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0.1=>5.0.2

Changelog: https://github.com/capstone-engine/capstone/releases/tag/5.0.2
5.0.1_1
05 Sep 2023 04:56:13
commit hash: b242d6d26f2b3820c9fad44e5f98133c0d3c7b42commit hash: b242d6d26f2b3820c9fad44e5f98133c0d3c7b42commit hash: b242d6d26f2b3820c9fad44e5f98133c0d3c7b42commit hash: b242d6d26f2b3820c9fad44e5f98133c0d3c7b42 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: John Hein
devel/capstone: Fix runtime permissions

bin/cstool is installed with 0644 perissions instead of 0755 which gives
permission denied error. This patch fixes this.

PR:		273570
5.0.1
23 Aug 2023 04:37:49
commit hash: dd01707cfe4de657684938371035ffc1f284757ccommit hash: dd01707cfe4de657684938371035ffc1f284757ccommit hash: dd01707cfe4de657684938371035ffc1f284757ccommit hash: dd01707cfe4de657684938371035ffc1f284757c files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone: Update version 5.0-post1=>5.0.1

Changelog:
https://github.com/capstone-engine/capstone/releases/tag/5.0.1
5.0.p1
15 Jul 2023 19:01:03
commit hash: 72bcb38f9cc98b89af7166835d2da50ab8d6a04ccommit hash: 72bcb38f9cc98b89af7166835d2da50ab8d6a04ccommit hash: 72bcb38f9cc98b89af7166835d2da50ab8d6a04ccommit hash: 72bcb38f9cc98b89af7166835d2da50ab8d6a04c files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/capstone{5}: Update version 5.0-rc2=>5.0-p1

- Move the port devel/capstone5 to devel/capstone. As this is the latest
  upstream version keep this without any pkgnamesuffix.

Changelog:
https://github.com/capstone-engine/capstone/releases/tag/5.0-post1
3.0.4
10 Jul 2016 12:57:26
Revision:418316commit hash: f54fee3c6ca519d84561f8eb80775e52f6d49960commit hash: f54fee3c6ca519d84561f8eb80775e52f6d49960commit hash: f54fee3c6ca519d84561f8eb80775e52f6d49960commit hash: f54fee3c6ca519d84561f8eb80775e52f6d49960Original 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
15 Nov 2015 13:25:58
Revision:401704commit hash: cf0becfc3b02394142f5b7eaa7a3a94bc9eaf1d8commit hash: cf0becfc3b02394142f5b7eaa7a3a94bc9eaf1d8commit hash: cf0becfc3b02394142f5b7eaa7a3a94bc9eaf1d8commit hash: cf0becfc3b02394142f5b7eaa7a3a94bc9eaf1d8Original commit files touched by this commit
antoine search for other commits by this committer
Update to 3.0.4

PR:		203997
Approved by:	maintainer timeout (3 weeks)
2.1.2
24 Oct 2015 06:00:36
Revision:400108commit hash: 1e9abb7f8ed51ddccc3281604d9706f1643cfbdccommit hash: 1e9abb7f8ed51ddccc3281604d9706f1643cfbdccommit hash: 1e9abb7f8ed51ddccc3281604d9706f1643cfbdccommit hash: 1e9abb7f8ed51ddccc3281604d9706f1643cfbdcOriginal commit files touched by this commit
antoine search for other commits by this committer
Unbreak fetch by swithing to USE_GITHUB, there is no diff between the
extracted tarballs
2.1.2
24 Oct 2015 00:44:38
Revision:400077commit hash: 7bb9af1e1538a72a197cdb80b6bc9af0c05b5c90commit hash: 7bb9af1e1538a72a197cdb80b6bc9af0c05b5c90commit hash: 7bb9af1e1538a72a197cdb80b6bc9af0c05b5c90commit hash: 7bb9af1e1538a72a197cdb80b6bc9af0c05b5c90Original commit files touched by this commit
bapt search for other commits by this committer
Mark as broken: does not fetch
2.1.2
27 Oct 2014 10:10:59
Revision:371544commit hash: e52c1f9d98293cc7561f357c085d783447947e35commit hash: e52c1f9d98293cc7561f357c085d783447947e35commit hash: e52c1f9d98293cc7561f357c085d783447947e35commit hash: e52c1f9d98293cc7561f357c085d783447947e35Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2.1.2
08 Sep 2014 20:18:47
Revision:367692commit hash: 4adc756b762b04a138a7cf5a1624352716c6ee9dcommit hash: 4adc756b762b04a138a7cf5a1624352716c6ee9dcommit hash: 4adc756b762b04a138a7cf5a1624352716c6ee9dcommit hash: 4adc756b762b04a138a7cf5a1624352716c6ee9dOriginal commit files touched by this commit
arved search for other commits by this committer
Update to 2.1.2

PR:             193307
Submitted by:   Gasol Wu
Approved by:    maintainer
2.1.1
31 Mar 2014 19:56:48
Revision:349794commit hash: 6ed80b9d062daffb05cfc9bd011038c1b89ffcc9commit hash: 6ed80b9d062daffb05cfc9bd011038c1b89ffcc9commit hash: 6ed80b9d062daffb05cfc9bd011038c1b89ffcc9commit hash: 6ed80b9d062daffb05cfc9bd011038c1b89ffcc9Original commit files touched by this commit
pawel search for other commits by this committer
Revert part of last commit. This adds DragonFly support back.

Noticed by:	marino
2.1.1
17 Mar 2014 20:44:45
Revision:348504commit hash: 0e0ef34406efa4adfe1806d2c2de3db69c01bb2ccommit hash: 0e0ef34406efa4adfe1806d2c2de3db69c01bb2ccommit hash: 0e0ef34406efa4adfe1806d2c2de3db69c01bb2ccommit hash: 0e0ef34406efa4adfe1806d2c2de3db69c01bb2cOriginal commit files touched by this commit
pawel search for other commits by this committer
Update to version 2.1.1

PR:		ports/187582
Submitted by:	maintainer
2.0
02 Mar 2014 09:56:46
Revision:346753commit hash: 095bfc7bbbe2862dfc2b2e0109931f880e3c52eecommit hash: 095bfc7bbbe2862dfc2b2e0109931f880e3c52eecommit hash: 095bfc7bbbe2862dfc2b2e0109931f880e3c52eecommit hash: 095bfc7bbbe2862dfc2b2e0109931f880e3c52eeOriginal commit files touched by this commit
marino search for other commits by this committer
devel/capstone: Add DragonFly support

The makefile patch was strange in that it defined LIBDATADIR once
unconditionally and then again conditionally.  This could have been
done via MAKE_ARGS and no patch at all.  However, I changed the
patch to a single definition that is true for "ports" regardless
of the platform used (pkgconfig files always in libdata in ports).
This allows port to build on DragonFly and no-op for FreeBSD.
2.0
27 Jan 2014 07:00:24
Revision:341330commit hash: f7980a1f735ad3e5bc95c7ee0728ba33571638a7commit hash: f7980a1f735ad3e5bc95c7ee0728ba33571638a7commit hash: f7980a1f735ad3e5bc95c7ee0728ba33571638a7commit hash: f7980a1f735ad3e5bc95c7ee0728ba33571638a7Original commit files touched by this commit
koobs search for other commits by this committer
devel/capstone: Multi-platform, multi-architecture disassembly framework [NEW
PORT]

Capstone is a lightweight multi-platform, multi-architecture disassembly
framework.

Features:
 * Supported architectures: ARM, ARM64 (aka ARMv8), Mips, PowerPC & X86
 * Clean/simple/lightweight/intuitive architecture-neutral API
 * Provide details on disassembled instruction (called "decomposer")
 * Provide some semantics of the disassembled instruction, such as list of
   implicit registers read & written.
 * Implemented in pure C language, with bindings for Python, Ruby, C#, Java,
   GO, OCaml & Vala available.
 * Native support for Windows & *nix (including MacOSX, Linux, *BSD & Solaris)
 * Thread-safe by design
 * Distributed under the open source BSD license

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

PR:		ports/186102
Submitted by:	Oliver Pinter <oliver.pntr@gmail.com>

Number of commits found: 21