Commit c45b196e authored by sobomax's avatar sobomax
Browse files

Add debugedit - ELF file debug information extractor and editor.

Sponsored by:	Sippy Software, Inc.
parent e53a4661
......@@ -403,6 +403,7 @@
SUBDIR += dconf
SUBDIR += dconf-editor
SUBDIR += ddd
SUBDIR += debugedit
SUBDIR += dee
SUBDIR += deforaos-libsystem
SUBDIR += deheader
......
# Created by: sobomax
# $FreeBSD$
PORTNAME= debugedit
PORTVERSION= 20170411.1
#PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= sobomax@FreeBSD.org
COMMENT= ELF file debug information extractor and editor
LICENSE= GPLv2
LIB_DEPENDS= libpopt.so:devel/popt
USE_GITHUB= yes
GH_ACCOUNT= CoryXie
GH_TAGNAME= b1e81ec
USES= gmake
WRKSRC= ${WRKDIR}/DebugEdit-${GH_TAGNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/debugedit ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
TIMESTAMP = 1491954011
SHA256 (CoryXie-debugedit-20170411.1-b1e81ec_GH0.tar.gz) = 858c42bce793ef6f0effa175529b0f9c1c83c9679b18ea568fc450b750aaeade
SIZE (CoryXie-debugedit-20170411.1-b1e81ec_GH0.tar.gz) = 5080094
$FreeBSD$
--- Makefile.orig 2017-04-11 06:09:46 UTC
+++ Makefile
@@ -1,5 +1,5 @@
CC?=gcc
-CFLAGS+=-lelf -lpopt -Wall
+CFLAGS+=-lelf -lpopt -Wall -I${LOCALBASE}/include -L${LOCALBASE}/lib
SOURCES=debugedit.c hashtab.c
OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=debugedit
An ELF file debug information editor and extractor based on debugedit tool
in the rpm package.
The intention of this project is to have some fun playing with ELF as well as
DWARF for the image files.
WWW: https://github.com/CoryXie/DebugEdit
bin/debugedit
%%DOCSDIR%%/README.txt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment