aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-07-31 20:11:25 +0000
committerRene Ladan <rene@FreeBSD.org>2026-07-31 20:11:25 +0000
commit777e2af941ae9822daef5ce3f3b4d04c35a7cda2 (patch)
treec8ae27139d7dc52c7deefcb565d695f410ee2e0f
parentefb8c46b11aa637e27ba39c14d2f3964ea9e472e (diff)
devel/plasma: Remove expired port
2026-07-31 devel/plasma: Upstream inactive since +7 years. Please use lang/rizin instead
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/plasma/Makefile42
-rw-r--r--devel/plasma/distinfo3
-rw-r--r--devel/plasma/files/patch-plasma_lib_fileformat_elf.py69
-rw-r--r--devel/plasma/files/patch-setup.py45
-rw-r--r--devel/plasma/pkg-descr8
-rw-r--r--devel/plasma/pkg-message12
8 files changed, 1 insertions, 180 deletions
diff --git a/MOVED b/MOVED
index 3c762b25edf5..4af97590a541 100644
--- a/MOVED
+++ b/MOVED
@@ -5519,3 +5519,4 @@ archivers/quazip@qt6|archivers/quazip|2026-07-29|Unflavorize
graphics/libkdcraw-qt5||2026-07-30|Removed: the last consumer has been switched to Qt6-based libkdcraw
benchmarks/py-naarad||2026-07-31|Has expired: Upstream last activity was in 2016, and the project has been moved to the LinkedInAttic GitHub account
security/libpreludedb||2026-07-31|Has expired: Upstream project is dead
+devel/plasma|lang/rizin|2026-07-31|Has expired: Upstream inactive since +7 years. Please use lang/rizin instead
diff --git a/devel/Makefile b/devel/Makefile
index 2265f26d323e..5d3953a71a01 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4417,7 +4417,6 @@
SUBDIR += pkg-info.el
SUBDIR += pkgconf
SUBDIR += plan9port
- SUBDIR += plasma
SUBDIR += plasma6-kwrited
SUBDIR += plasma6-plasma-sdk
SUBDIR += plasma6-plasma5support
diff --git a/devel/plasma/Makefile b/devel/plasma/Makefile
deleted file mode 100644
index 7eccded5f44d..000000000000
--- a/devel/plasma/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME= plasma
-DISTVERSION= g20180708
-PORTREVISION= 3
-CATEGORIES= devel python
-
-MAINTAINER= kai@FreeBSD.org
-COMMENT= Interactive disassembler for x86/ARM/MIPS
-WWW= https://www.github.com/plasma-disassembler/plasma
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Upstream inactive since +7 years. Please use lang/rizin instead
-EXPIRATION_DATE=2026-07-31
-
-BUILD_DEPENDS= bash:shells/bash \
- binutils>=2:devel/binutils \
- capstone>=3:devel/capstone
-RUN_DEPENDS= binutils>=2:devel/binutils \
- ${PYTHON_PKGNAMEPREFIX}capstone>=3:devel/py-capstone@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}keystone-engine>=:devel/py-keystone-engine@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pefile>=0:devel/py-pefile@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR}
-
-USES= python shebangfix
-
-USE_GITHUB= yes
-GH_ACCOUNT= plasma-disassembler
-GH_TAGNAME= 5bb07b3
-
-USE_PYTHON= distutils noflavors autoplist
-SHEBANG_FILES= tests/analyzer/run.sh
-SHEBANG_GLOB= *.py
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
- @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
-
-.include <bsd.port.mk>
diff --git a/devel/plasma/distinfo b/devel/plasma/distinfo
deleted file mode 100644
index ee8f1d1fb0ca..000000000000
--- a/devel/plasma/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1551048444
-SHA256 (plasma-disassembler-plasma-g20180708-5bb07b3_GH0.tar.gz) = 586b577dc3c428b7e45d76039921b56c3a60743f977756374614081f2730f0f4
-SIZE (plasma-disassembler-plasma-g20180708-5bb07b3_GH0.tar.gz) = 352170
diff --git a/devel/plasma/files/patch-plasma_lib_fileformat_elf.py b/devel/plasma/files/patch-plasma_lib_fileformat_elf.py
deleted file mode 100644
index 8f7053efd5a0..000000000000
--- a/devel/plasma/files/patch-plasma_lib_fileformat_elf.py
+++ /dev/null
@@ -1,69 +0,0 @@
---- plasma/lib/fileformat/elf.py.orig 2019-02-27 16:23:45 UTC
-+++ plasma/lib/fileformat/elf.py
-@@ -215,9 +215,13 @@ class ELF(Binary):
- # pyreadelf's assumptions make our own string table
- fakestrtabheader = {
- "sh_offset": self.__get_offset(self.dtags["DT_STRTAB"]),
-+ "sh_size":0,
-+ "sh_flags":0,
-+ "sh_addralign":0
- }
-+
- strtab = StringTableSection(
-- fakestrtabheader, "strtab_plasma", self.elf.stream)
-+ fakestrtabheader, "strtab_plasma", self.elf)
-
- # ...
- # Here in CLE was checked the DT_SONAME
-@@ -232,7 +236,9 @@ class ELF(Binary):
- fakesymtabheader = {
- "sh_offset": self.__get_offset(self.dtags["DT_SYMTAB"]),
- "sh_entsize": self.dtags["DT_SYMENT"],
-- "sh_size": 0
-+ "sh_size": 0,
-+ "sh_flags": 0,
-+ "sh_addralign" : 0
- } # bogus size: no iteration allowed
-
- # ...
-@@ -240,7 +246,7 @@ class ELF(Binary):
- # ...
-
- self.dynsym = SymbolTableSection(
-- fakesymtabheader, "symtab_plasma", self.elf.stream,
-+ fakesymtabheader, "symtab_plasma",
- self.elf, strtab)
-
- # mips' relocations are absolutely screwed up, handle some of them here.
-@@ -276,11 +282,12 @@ class ELF(Binary):
- "sh_offset": self.__get_offset(reloffset),
- "sh_type": "SHT_" + rela_type,
- "sh_entsize": relentsz,
-- "sh_size": relsz
-+ "sh_size": relsz,
-+ "sh_flags":0,
-+ "sh_addralign":0
- }
- reloc_sec = RelocationSection(
-- fakerelheader, "reloc_plasma",
-- self.elf.stream, self.elf)
-+ fakerelheader, "reloc_plasma", self.elf)
- self.__register_relocs(reloc_sec)
-
- # try to parse relocations out of a table of type DT_JMPREL
-@@ -291,11 +298,13 @@ class ELF(Binary):
- "sh_offset": self.__get_offset(jmpreloffset),
- "sh_type": "SHT_" + rela_type,
- "sh_entsize": relentsz,
-- "sh_size": jmprelsz
-+ "sh_size": jmprelsz,
-+ "sh_flags":0,
-+ "sh_addralign":0
- }
- jmprel_sec = RelocationSection(
- fakejmprelheader, "jmprel_plasma",
-- self.elf.stream, self.elf)
-+ self.elf)
-
- self.jmprel = self.__register_relocs(jmprel_sec)
-
diff --git a/devel/plasma/files/patch-setup.py b/devel/plasma/files/patch-setup.py
deleted file mode 100644
index 0c59c85a3327..000000000000
--- a/devel/plasma/files/patch-setup.py
+++ /dev/null
@@ -1,45 +0,0 @@
---- setup.py.orig 2018-04-15 11:48:52 UTC
-+++ setup.py
-@@ -6,30 +6,33 @@ except ImportError:
- from distutils.core import setup
-
-
--from pip.req import parse_requirements
-+#from pip.req import parse_requirements
- from distutils.core import Extension
- import plasma
-
--requirements = parse_requirements('requirements.txt', session=False)
-+#requirements = parse_requirements('requirements.txt', session=False)
-
- requires = []
--for item in requirements:
-+#for item in requirements:
- # we want to handle package names and also repo urls
-- if getattr(item, 'url', None): # older pip has url
-- links.append(str(item.url))
-- if getattr(item, 'link', None): # newer pip has link
-- links.append(str(item.link))
-- if item.req:
-- requires.append(str(item.req))
-+# if getattr(item, 'url', None): # older pip has url
-+# links.append(str(item.url))
-+# if getattr(item, 'link', None): # newer pip has link
-+# links.append(str(item.link))
-+# if item.req:
-+# requires.append(str(item.req))
-
-
- x86_analyzer = Extension('plasma.lib.arch.x86.analyzer',
-+ include_dirs = ['%%PREFIX%%/include'],
- sources = ['plasma/lib/arch/x86/analyzer.c'])
-
- mips_analyzer = Extension('plasma.lib.arch.mips.analyzer',
-+ include_dirs = ['%%PREFIX%%/include'],
- sources = ['plasma/lib/arch/mips/analyzer.c'])
-
- arm_analyzer = Extension('plasma.lib.arch.arm.analyzer',
-+ include_dirs = ['%%PREFIX%%/include'],
- sources = ['plasma/lib/arch/arm/analyzer.c'])
-
-
diff --git a/devel/plasma/pkg-descr b/devel/plasma/pkg-descr
deleted file mode 100644
index c55db78add43..000000000000
--- a/devel/plasma/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-PLASMA is an interactive disassembler. It can generate a more readable assembly
- (pseudo code) with a colored syntax. One can write scripts with the available
- Python API.
-
-It supports :
-
-* Architectures : x86{64}, ARM, MIPS{64} (partially for ARM and MIPS)
-* Formats : ELF, PE, RAW
diff --git a/devel/plasma/pkg-message b/devel/plasma/pkg-message
deleted file mode 100644
index e43151934914..000000000000
--- a/devel/plasma/pkg-message
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-{ type: install
- message: <<EOM
-To use the visual mode (command 'v' in the interactive mode) the terminal must
-support 256 colors.
-
-For xterm this can be enabled by
-
-export TERM=xterm-256color
-EOM
-}
-]