pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import elfcat-1.0.0 as wip/elfcat.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Jan 27 00:39:01 2016 +0100
Changeset:	8c4dd122b8b0ce7b7088ab97fb109d9fa81033b9

Added Files:
	elfcat/DESCR
	elfcat/Makefile
	elfcat/PLIST
	elfcat/distinfo

Log Message:
Import elfcat-1.0.0 as wip/elfcat.

elfcat dumps requested parts (sections and segments) of an ELF file
(executable, shared object, .o file) to stdout.

Dumping sections can be achieved with "objcopy --dump-section" but this
tools relies on BFD which abstracts all executable files and is not able
to see some ELF sections.  Morever it cannot handle program header table
entries.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c4dd122b8b0ce7b7088ab97fb109d9fa81033b9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 elfcat/DESCR    |  7 +++++++
 elfcat/Makefile | 21 +++++++++++++++++++++
 elfcat/PLIST    |  3 +++
 elfcat/distinfo |  6 ++++++
 4 files changed, 37 insertions(+)

diffs:
diff --git a/elfcat/DESCR b/elfcat/DESCR
new file mode 100644
index 0000000..eb78fa3
--- /dev/null
+++ b/elfcat/DESCR
@@ -0,0 +1,7 @@
+elfcat dumps requested parts (sections and segments) of an ELF file
+(executable, shared object, .o file) to stdout.
+
+Dumping sections can be achieved with "objcopy --dump-section" but this
+tools relies on BFD which abstracts all executable files and is not able
+to see some ELF sections.  Morever it cannot handle program header table
+entries.
diff --git a/elfcat/Makefile b/elfcat/Makefile
new file mode 100644
index 0000000..c601785
--- /dev/null
+++ b/elfcat/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	elfcat-1.0.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=randomstuff/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.rog@localhost
+HOMEPAGE=	${MASTER_SITE_GITHUB:=randomstuff/elfcat/}
+COMMENT=	Dump sections or program entries from a ELF file
+LICENSE=	mit
+
+USE_TOOLS+=	automake autoconf autoreconf
+
+GNU_CONFIGURE=	yes
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && autoreconf -fiv
+
+.include "../../devel/libelf/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/elfcat/PLIST b/elfcat/PLIST
new file mode 100644
index 0000000..432b027
--- /dev/null
+++ b/elfcat/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/elfcat
+man/man1/elfcat.1
diff --git a/elfcat/distinfo b/elfcat/distinfo
new file mode 100644
index 0000000..f5c9f76
--- /dev/null
+++ b/elfcat/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (elfcat-1.0.0.tar.gz) = e4102ffcfa7cccc7f7c31c160d4f2508060d505a
+RMD160 (elfcat-1.0.0.tar.gz) = 29c0ef8359187a6be5eb4f8a461ead73c83b48cc
+SHA512 (elfcat-1.0.0.tar.gz) = e06bc8f1639ae491b7fc0fa6f86d76d36aae96ca47a7aaa100512087cb9b5125f86c0dc82fc8b60a90b5a81f0f36c66c967be245b97d93d4b36ad77642c77164
+Size (elfcat-1.0.0.tar.gz) = 4615 bytes


Home | Main Index | Thread Index | Old Index