git: 62fb8fa415e8 - main - devel/elf-dissector: New port, GUI Tools for ELF inspection

Adriaan de Groot adridg at FreeBSD.org
Mon Jul 19 13:57:04 UTC 2021


The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=62fb8fa415e89d736decc94be35507337fe4f1ab

commit 62fb8fa415e89d736decc94be35507337fe4f1ab
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-05-10 14:04:11 +0000
Commit:     Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2021-07-19 13:57:02 +0000

    devel/elf-dissector: New port, GUI Tools for ELF inspection
    
    ELF-Dissector is a tool from the KDE Community for doing
    visually pleasing inspections of, and optimizations on,
    ELF files, including whole applications.
    
    The tool is at an early stage of development (and needs work
    on FreeBSD), but is, in itself, quite useful for chasing
    unused dependencies and the like.
---
 devel/Makefile                |  1 +
 devel/elf-dissector/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/elf-dissector/distinfo  |  3 +++
 devel/elf-dissector/pkg-descr | 11 +++++++++++
 devel/elf-dissector/pkg-plist | 11 +++++++++++
 5 files changed, 54 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 777738e5e0c2..f45d9b0ee978 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -537,6 +537,7 @@
     SUBDIR += egypt
     SUBDIR += eiffelstudio
     SUBDIR += electron12
+    SUBDIR += elf-dissector
     SUBDIR += elf
     SUBDIR += elfio
     SUBDIR += elfkickers
diff --git a/devel/elf-dissector/Makefile b/devel/elf-dissector/Makefile
new file mode 100644
index 000000000000..f5d1b8a1c1d3
--- /dev/null
+++ b/devel/elf-dissector/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	elf-dissector
+DISTVERSION=	0.0.1
+CATEGORIES=	devel kde
+
+MAINTAINER=	kde at FreeBSD.org
+COMMENT=	Tools for inspecting, analyzing and optimizing ELF files
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libcapstone.so:devel/capstone4
+
+BUILD_DEPENDS=	gnulibiberty>=2.33.1:devel/gnulibiberty \
+		binutils>=2.33.1:devel/binutils
+
+USES=		cmake compiler:c++17-lang \
+		kde:5 pkgconfig qt:5
+
+USE_QT=		core \
+		buildtools_build qmake_build testlib_build
+USE_KDE=	itemmodels \
+		doctools_build ecm_build
+
+KDE_INVENT=	92497fd2b887ff9ba1484450788db3910440213e sdk
+
+.include <bsd.port.mk>
+
+
diff --git a/devel/elf-dissector/distinfo b/devel/elf-dissector/distinfo
new file mode 100644
index 000000000000..8b5d80d8f58a
--- /dev/null
+++ b/devel/elf-dissector/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626701595
+SHA256 (sdk-elf-dissector-92497fd2b887ff9ba1484450788db3910440213e_GL0.tar.gz) = 3ea3fb9a59b161de8f0ab97dab53281d36f6e3d888b319cf5f46626b1a1aa947
+SIZE (sdk-elf-dissector-92497fd2b887ff9ba1484450788db3910440213e_GL0.tar.gz) = 168293
diff --git a/devel/elf-dissector/pkg-descr b/devel/elf-dissector/pkg-descr
new file mode 100644
index 000000000000..089fcf3b1427
--- /dev/null
+++ b/devel/elf-dissector/pkg-descr
@@ -0,0 +1,11 @@
+ELF Dissector: Static analysis tool for ELF libraries and executables.
+
+ELF Dissector is useful if you need to do one or more of the following:
+
+- Inspecting forward and backward dependencies, on library
+  and symbol level.
+- Identifying load-time performance bottlenecks such as expensive
+  static constructors or excessive relocations.
+- Size profiling of ELF files.
+
+WWW: https://invent.kde.org/sdk/elf-dissector
diff --git a/devel/elf-dissector/pkg-plist b/devel/elf-dissector/pkg-plist
new file mode 100644
index 000000000000..7f8fd2b74893
--- /dev/null
+++ b/devel/elf-dissector/pkg-plist
@@ -0,0 +1,11 @@
+bin/elf-deadcodefinder
+bin/elf-depcheck
+bin/elf-dissector
+bin/elf-optimizer
+bin/elf-packcheck
+bin/elf-rtticheck
+bin/ldbenchmark-runner
+share/applications/org.kde.elf-dissector.desktop
+share/icons/hicolor/16x16/apps/elf-dissector.svg
+share/icons/hicolor/32x32/apps/elf-dissector.svg
+share/metainfo/org.kde.elf-dissector.appdata.xml


More information about the dev-commits-ports-all mailing list