summaryrefslogtreecommitdiff
path: root/devel/elf
diff options
context:
space:
mode:
authorsalo <salo>2003-05-04 20:38:07 +0000
committersalo <salo>2003-05-04 20:38:07 +0000
commit876d717d1c340a687e796dfbd04893e7f59c27ad (patch)
treefd36b6c2e7098aa6feab3994f61c7e790f67ab8d /devel/elf
parent13bdbbdcdd787dafc3d1822951e5d197f8a2d89e (diff)
downloadpkgsrc-876d717d1c340a687e796dfbd04893e7f59c27ad.tar.gz
Import elf-0.5.3: ELF header analyzer.
elf is an ELF header (e_header) statistics tool. It allows you to gather various statistics about a binary's ELF header, unlike other releases (readelf), elf concentrates on the e_header itself. This allows for some more usability in many instances (be it by an end-user or application). Package submitted to pkgsrc-wip by Douwe Kiela with modifications by me.
Diffstat (limited to 'devel/elf')
-rw-r--r--devel/elf/DESCR4
-rw-r--r--devel/elf/Makefile24
-rw-r--r--devel/elf/PLIST3
-rw-r--r--devel/elf/distinfo5
-rw-r--r--devel/elf/patches/patch-aa10
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/elf/DESCR b/devel/elf/DESCR
new file mode 100644
index 00000000000..70130be49e9
--- /dev/null
+++ b/devel/elf/DESCR
@@ -0,0 +1,4 @@
+elf is an ELF header (e_header) statistics tool. It allows you to gather
+various statistics about a binary's ELF header, unlike other releases
+(readelf), elf concentrates on the e_header itself. This allows for some
+more usability in many instances (be it by an end-user or application).
diff --git a/devel/elf/Makefile b/devel/elf/Makefile
new file mode 100644
index 00000000000..fe85d96a462
--- /dev/null
+++ b/devel/elf/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/04 20:38:07 salo Exp $
+#
+
+DISTNAME= elf-0.5.3
+CATEGORIES= devel
+MASTER_SITES= http://www.kerneled.com/projects/elf/
+
+MAINTAINER= virtus@wanadoo.nl
+HOMEPAGE= http://www.kerneled.com/projects/elf/
+COMMENT= ELF header analyzer
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+
+BUILD_DIRS= ${WRKSRC}/src
+ALL_TARGET= elf
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/elf ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/elf.1 ${PREFIX}/man/man1
+
+.include "../../devel/ncurses/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/elf/PLIST b/devel/elf/PLIST
new file mode 100644
index 00000000000..1e9b39b7417
--- /dev/null
+++ b/devel/elf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/04 20:38:07 salo Exp $
+bin/elf
+man/man1/elf.1
diff --git a/devel/elf/distinfo b/devel/elf/distinfo
new file mode 100644
index 00000000000..c218ee3943c
--- /dev/null
+++ b/devel/elf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/04 20:38:07 salo Exp $
+
+SHA1 (elf-0.5.3.tar.gz) = 7cf3ea7d098b239c7b70405a2641dfcd55a49c37
+Size (elf-0.5.3.tar.gz) = 43552 bytes
+SHA1 (patch-aa) = 014c15b1f440cd1695ac768883accf7a972350bc
diff --git a/devel/elf/patches/patch-aa b/devel/elf/patches/patch-aa
new file mode 100644
index 00000000000..f8db1db0c70
--- /dev/null
+++ b/devel/elf/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/04 20:38:07 salo Exp $
+
+--- src/Makefile.in.orig 2002-12-19 11:20:51.000000000 +0100
++++ src/Makefile.in 2003-05-04 22:12:37.000000000 +0200
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC=@CC@
+ CFLAGS=@CFLAGS@
+ INC=-I../include
+ INSDIR=@prefix@/bin