diff options
author | jseger <jseger@FreeBSD.org> | 1999-04-12 08:03:00 +0800 |
---|---|---|
committer | jseger <jseger@FreeBSD.org> | 1999-04-12 08:03:00 +0800 |
commit | d4744744bb66dff6c8dc6aac9be6b51929544366 (patch) | |
tree | c41118d59863d821eedc8da54baa0d616b2e9c2d /devel | |
parent | 8d44371d0a7804db8026853d949af33ab5472211 (diff) | |
download | freebsd-ports-gnome-d4744744bb66dff6c8dc6aac9be6b51929544366.tar.gz freebsd-ports-gnome-d4744744bb66dff6c8dc6aac9be6b51929544366.tar.zst freebsd-ports-gnome-d4744744bb66dff6c8dc6aac9be6b51929544366.zip |
Import of devel/elftoaout 2.0
A program that is used to convert static elf images to a.out format.
The SUN OpenBoot PROM can only boot a.out images.
PR: ports/7150
Submitted by: Kapil Chowksey <kchowksey@hss.hns.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/elftoaout/Makefile | 19 | ||||
-rw-r--r-- | devel/elftoaout/distinfo | 1 | ||||
-rw-r--r-- | devel/elftoaout/files/patch-aa | 19 | ||||
-rw-r--r-- | devel/elftoaout/pkg-comment | 1 | ||||
-rw-r--r-- | devel/elftoaout/pkg-descr | 2 | ||||
-rw-r--r-- | devel/elftoaout/pkg-plist | 1 |
6 files changed, 43 insertions, 0 deletions
diff --git a/devel/elftoaout/Makefile b/devel/elftoaout/Makefile new file mode 100644 index 000000000000..4159d22860f8 --- /dev/null +++ b/devel/elftoaout/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: elftoaout +# Version required: 2.0 +# Date created: 3 Jul 1998 +# Whom: kchowksey@hss.hns.com +# +# $Id$ +# + +DISTNAME= elftoaout-2.0 +CATEGORIES= devel +MASTER_SITES= ftp://sunsite.mff.cuni.cz/OS/Linux/Sparc/local/ultra/ +EXTRACT_SUFX= .tgz + +MAINTAINER= kchowksey@hss.hns.com + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/elftoaout ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/devel/elftoaout/distinfo b/devel/elftoaout/distinfo new file mode 100644 index 000000000000..31b3729002a4 --- /dev/null +++ b/devel/elftoaout/distinfo @@ -0,0 +1 @@ +MD5 (elftoaout-2.0.tgz) = a966fdec49c028005a43b6e891e88e41 diff --git a/devel/elftoaout/files/patch-aa b/devel/elftoaout/files/patch-aa new file mode 100644 index 000000000000..b351f87889b8 --- /dev/null +++ b/devel/elftoaout/files/patch-aa @@ -0,0 +1,19 @@ +--- elftoaout.c~ Thu Jul 10 16:48:06 1997 ++++ elftoaout.c Fri Jul 3 09:36:09 1998 +@@ -9,7 +9,15 @@ + #include <linux/elf.h> + #define ELFDATA2MSB 2 + #else +-#include <sys/elf.h> ++#include <elf.h> ++#include <sys/elf64.h> ++#endif ++ ++#ifndef PT_LOPROC ++#define PT_LOPROC 0x70000000 ++#endif ++#ifndef PT_HIPROC ++#define PT_HIPROC 0x7fffffff + #endif + + #define swab16(x) (((x)<<8&0xFF00)|((x)>>8&0x00FF)) diff --git a/devel/elftoaout/pkg-comment b/devel/elftoaout/pkg-comment new file mode 100644 index 000000000000..9c5f67ff8b66 --- /dev/null +++ b/devel/elftoaout/pkg-comment @@ -0,0 +1 @@ +ELF to a.out conversion tool by Jakub Jelinek and Pete Zaitcev. diff --git a/devel/elftoaout/pkg-descr b/devel/elftoaout/pkg-descr new file mode 100644 index 000000000000..c3f2a402f839 --- /dev/null +++ b/devel/elftoaout/pkg-descr @@ -0,0 +1,2 @@ +A program that is used to convert static elf images to a.out format. +The SUN OpenBoot PROM can only boot a.out images. diff --git a/devel/elftoaout/pkg-plist b/devel/elftoaout/pkg-plist new file mode 100644 index 000000000000..241c8582d437 --- /dev/null +++ b/devel/elftoaout/pkg-plist @@ -0,0 +1 @@ +bin/elftoaout |