Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 20:49:26 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438413 - in head/devel: . debugedit debugedit/files
Message-ID:  <201704122049.v3CKnQS9032104@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sobomax
Date: Wed Apr 12 20:49:26 2017
New Revision: 438413
URL: https://svnweb.freebsd.org/changeset/ports/438413

Log:
  Add debugedit - ELF file debug information extractor and editor.
  
  Sponsored by:	Sippy Software, Inc.

Added:
  head/devel/debugedit/
  head/devel/debugedit/Makefile   (contents, props changed)
  head/devel/debugedit/distinfo   (contents, props changed)
  head/devel/debugedit/files/
  head/devel/debugedit/files/patch-Makefile   (contents, props changed)
  head/devel/debugedit/pkg-descr   (contents, props changed)
  head/devel/debugedit/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Apr 12 20:48:28 2017	(r438412)
+++ head/devel/Makefile	Wed Apr 12 20:49:26 2017	(r438413)
@@ -403,6 +403,7 @@
     SUBDIR += dconf
     SUBDIR += dconf-editor
     SUBDIR += ddd
+    SUBDIR += debugedit
     SUBDIR += dee
     SUBDIR += deforaos-libsystem
     SUBDIR += deheader

Added: head/devel/debugedit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/debugedit/Makefile	Wed Apr 12 20:49:26 2017	(r438413)
@@ -0,0 +1,29 @@
+# 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>

Added: head/devel/debugedit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/debugedit/distinfo	Wed Apr 12 20:49:26 2017	(r438413)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491954011
+SHA256 (CoryXie-debugedit-20170411.1-b1e81ec_GH0.tar.gz) = 858c42bce793ef6f0effa175529b0f9c1c83c9679b18ea568fc450b750aaeade
+SIZE (CoryXie-debugedit-20170411.1-b1e81ec_GH0.tar.gz) = 5080094

Added: head/devel/debugedit/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/debugedit/files/patch-Makefile	Wed Apr 12 20:49:26 2017	(r438413)
@@ -0,0 +1,12 @@
+
+$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

Added: head/devel/debugedit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/debugedit/pkg-descr	Wed Apr 12 20:49:26 2017	(r438413)
@@ -0,0 +1,7 @@
+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

Added: head/devel/debugedit/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/debugedit/pkg-plist	Wed Apr 12 20:49:26 2017	(r438413)
@@ -0,0 +1,2 @@
+bin/debugedit
+%%DOCSDIR%%/README.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704122049.v3CKnQS9032104>