Commit 777e2af9 authored by Rene Ladan's avatar Rene Ladan
Browse files

devel/plasma: Remove expired port

2026-07-31 devel/plasma: Upstream inactive since +7 years. Please use lang/rizin instead
parent efb8c46b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -4417,7 +4417,6 @@
    SUBDIR += pkg-info.el
    SUBDIR += pkgconf
    SUBDIR += plan9port
    SUBDIR += plasma
    SUBDIR += plasma6-kwrited
    SUBDIR += plasma6-plasma-sdk
    SUBDIR += plasma6-plasma5support

devel/plasma/Makefile

deleted100644 → 0
+0 −42
Original line number Diff line number Diff line
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>

devel/plasma/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1551048444
SHA256 (plasma-disassembler-plasma-g20180708-5bb07b3_GH0.tar.gz) = 586b577dc3c428b7e45d76039921b56c3a60743f977756374614081f2730f0f4
SIZE (plasma-disassembler-plasma-g20180708-5bb07b3_GH0.tar.gz) = 352170
+0 −69
Original line number Diff line number Diff line
--- 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)
 
Loading