diff options
author | steve <steve@FreeBSD.org> | 1999-09-27 10:23:53 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-09-27 10:23:53 +0800 |
commit | 30fb5457a49f6c542ae790083531de6b1d533794 (patch) | |
tree | a77a041d6a747b8ad9f2d07584ea74cbec6190b2 /net | |
parent | 219198e1e66749d28d0f3a8b5057822126191c84 (diff) | |
download | freebsd-ports-graphics-30fb5457a49f6c542ae790083531de6b1d533794.tar.gz freebsd-ports-graphics-30fb5457a49f6c542ae790083531de6b1d533794.tar.zst freebsd-ports-graphics-30fb5457a49f6c542ae790083531de6b1d533794.zip |
Update to version 4.2.5.
PR: 13126
Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/etherboot/Makefile | 31 | ||||
-rw-r--r-- | net/etherboot/distinfo | 3 | ||||
-rw-r--r-- | net/etherboot/files/patch-aa | 140 |
3 files changed, 102 insertions, 72 deletions
diff --git a/net/etherboot/Makefile b/net/etherboot/Makefile index 1ea9929e4c1..da08dab1989 100644 --- a/net/etherboot/Makefile +++ b/net/etherboot/Makefile @@ -6,18 +6,33 @@ # $FreeBSD$ # -DISTNAME= etherboot-4.1pre9 -PKGNAME= etherboot-4.1p9 +DISTNAME= etherboot-4.2.5 +PKGNAME= etherboot-4.2 CATEGORIES= net -MASTER_SITES= http://www.slug.org.au/etherboot/ +MASTER_SITES= http://www.slug.org.au/etherboot/ \ + http://www.us.kernel.org/pub/linux/devel/gcc/ +DISTFILES= ${DISTNAME}.tar.gz ${BINUTILS_VER}.tar.gz MAINTAINER= ambrisko@whistle.com -BUILD_DEPENDS= as86:${PORTSDIR}/devel/bcc +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -NO_PACKAGE= yes # lots of configuration necessary -USE_BZIP2= yes -USE_GMAKE=1 # note uses is from emulation package -WRKSRC= ${WRKDIR}/etherboot-4.1/src-32 +NO_PACKAGE= lots of configuration necessary +USE_GMAKE=1 +WRKSRC= ${WRKDIR}/${PKGNAME}/src-32 +BINUTILS_VER= binutils-2.9.1.0.25 # need newer version of gas for data32 + +pre-configure: + cd ${WRKDIR}/${BINUTILS_VER} ; \ + ./configure -host=i386-unknown-freebsdelf + +pre-build: + cd ${WRKDIR}/${BINUTILS_VER} ; \ + make + +do-install: + @${ECHO} Refer ${PKGDIR}/DESCR and ${WRKDIR}/${PKGNAME}/doc for how to + @${ECHO} build and install the rom/floppy image. + @exit 1 .include <bsd.port.mk> diff --git a/net/etherboot/distinfo b/net/etherboot/distinfo index 32fbe5b47cc..a7b4a0855fb 100644 --- a/net/etherboot/distinfo +++ b/net/etherboot/distinfo @@ -1 +1,2 @@ -MD5 (etherboot-4.1pre9.tar.bz2) = a15aeeecc4ab5fff98e253598ccc71f9 +MD5 (etherboot-4.2.5.tar.gz) = e1526698a78b9a65c972e80258e30b99 +MD5 (binutils-2.9.1.0.25.tar.gz) = 2350a282f8fd53b409f523e77fccb904 diff --git a/net/etherboot/files/patch-aa b/net/etherboot/files/patch-aa index 01f32ea233c..1c98a4f1bac 100644 --- a/net/etherboot/files/patch-aa +++ b/net/etherboot/files/patch-aa @@ -318,67 +318,81 @@ diff -rNu ../../../virgin/etherboot-4.1/src-32/makerom.c ./makerom.c if ((fs = fread(rom, sizeof(char), romsize, fd)) < 0) { perror("fread"); exit(1); -diff -rNu ../../../virgin/etherboot-4.1/src-32/objdump86.c ./objdump86.c ---- ../../../virgin/etherboot-4.1/src-32/objdump86.c Sun Feb 22 04:39:10 1998 -+++ ./objdump86.c Tue Apr 13 16:31:19 1999 -@@ -1,5 +1,10 @@ - #include <stdio.h> -+#ifdef __FreeBSD__ -+#include <a.out.h> -+#define A_HEADERSIZ (sizeof(struct exec)) -+#else - #include "a.out.h" -+#endif +*** pci.h.orig Wed Apr 21 05:24:33 1999 +--- pci.h Mon Jul 26 12:45:20 1999 +*************** +*** 89,96 **** + #define PCI_DEVICE_ID_KTI_ET32P2 0x3000 + #define PCI_VENDOR_ID_NETVIN 0x4a14 + #define PCI_DEVICE_ID_NETVIN_NV5000SC 0x5000 + +! /*#define PCI_VENDOR_ID_SMC 0x10B8*/ + #ifndef PCI_DEVICE_ID_SMC_EPIC100 + # define PCI_DEVICE_ID_SMC_EPIC100 0x0005 + #endif +--- 89,107 ---- + #define PCI_DEVICE_ID_KTI_ET32P2 0x3000 + #define PCI_VENDOR_ID_NETVIN 0x4a14 + #define PCI_DEVICE_ID_NETVIN_NV5000SC 0x5000 ++ #define PCI_VENDOR_ID_3COM 0x10b7 ++ #define PCI_DEVICE_ID_3COM_3C905B_TX 0x9055 ++ #define PCI_VENDOR_ID_INTEL 0x8086 ++ #define PCI_DEVICE_ID_INTEL_82557 0x1229 ++ #define PCI_VENDOR_ID_AMD 0x1022 ++ #define PCI_DEVICE_ID_AMD_LANCE 0x2000 ++ #define PCI_VENDOR_ID_DEC 0x1011 ++ #define PCI_DEVICE_ID_DEC_TULIP 0x0002 ++ #define PCI_DEVICE_ID_DEC_TULIP_FAST 0x0009 ++ #define PCI_DEVICE_ID_DEC_TULIP_PLUS 0x0014 ++ #define PCI_DEVICE_ID_DEC_21142 0x0019 + +! #define PCI_VENDOR_ID_SMC 0x10B8 + #ifndef PCI_DEVICE_ID_SMC_EPIC100 + # define PCI_DEVICE_ID_SMC_EPIC100 0x0005 + #endif +*** Makefile.orig Mon Jul 26 13:45:33 1999 +--- Makefile Mon Jul 26 13:45:40 1999 +*************** +*** 74,79 **** +--- 74,80 ---- + VERSION= 4.2.4 + CFLAGS+= -DVERSION=\"$(VERSION)\" + CFLAGS+= -DRELOC=$(RELOCADDR) ++ AS= `echo ../../bin*/gas/as-new` + # Stack must be below 640kb so we have real memory there + # In 32 bit version, stack is automatically set using BIOS call + # to avoid trampling on extended BIOS area at top of 640kB +*************** +*** 166,173 **** + .S.s: + $(CC) $(LCONFIG) $(CFLAGS) $(ASFLAGS) -E $< > $@ + + .S.o: +! $(CC) $(LCONFIG) $(CFLAGS) $(ASFLAGS) -c -o $@ $< + + # general rule for .roms, may be overriden + .o.rom: config-$*.o $(RLOADER) $(START) +--- 166,177 ---- + .S.s: + $(CC) $(LCONFIG) $(CFLAGS) $(ASFLAGS) -E $< > $@ + ++ #.S.o: ++ # $(CC) $(LCONFIG) $(CFLAGS) $(ASFLAGS) -c -o $@ $< ++ + .S.o: +! $(CC) -E $(LCONFIG) $(CFLAGS) $(ASFLAGS) $< | \ +! $(AS) $(ASFLAGS) -o $@ + + # general rule for .roms, may be overriden + .o.rom: config-$*.o $(RLOADER) $(START) +--- Makefile.orig Wed Jul 28 13:10:28 1999 ++++ Makefile Wed Jul 28 13:10:40 1999 +@@ -110,7 +110,7 @@ + # If you have made changes to the *.asm files + # and you want to rebuild *loader.bin and floppyload.bin and you have nasm + # (not most people) +-#AS86= nasm ++AS86= nasm - /* Fix to work when running on big-endian systems - */ - /* jim.hague@acm.org, 1998-02-06. */ -@@ -33,19 +38,22 @@ - if ((f = fopen(filename, "r")) == NULL) - { - perror(filename); -- return; -+ exit(1); - } - if (fread(&ex, sizeof(ex), 1, f) != 1) - { - fprintf(stderr, "%s: Cannot read header\n", filename); - fclose(f); -- return; -+ exit(1); - } -- if (BADMAG(ex)) -+ if (N_BADMAG(ex)) - { - fprintf(stderr, "%s: Not an a.out file\n", filename); -+ fprintf(stderr, "bad magic (%#x %#x)", -+ ex.a_midmag & 0xff, -+ ex.a_midmag & 0xff00 >>8); - fclose(f); -- return; -+ exit(1) ; - } - if (fseek(f, (long)A_HEADERSIZ, SEEK_SET) < 0) - { -diff -rNu ../../../virgin/etherboot-4.1/src-32/pci.h ./pci.h ---- ../../../virgin/etherboot-4.1/src-32/pci.h Wed Mar 31 23:15:37 1999 -+++ ./pci.h Tue Apr 13 16:37:44 1999 -@@ -87,8 +87,18 @@ - #define PCI_DEVICE_ID_KTI_ET32P2 0x3000 - #define PCI_VENDOR_ID_NETVIN 0x4a14 - #define PCI_DEVICE_ID_NETVIN_NV5000SC 0x5000 -+#define PCI_VENDOR_ID_3COM 0x10b7 -+#define PCI_DEVICE_ID_3COM_3C905B_TX 0x9055 -+#define PCI_VENDOR_ID_INTEL 0x8086 -+#define PCI_DEVICE_ID_INTEL_82557 0x1229 -+#define PCI_VENDOR_ID_AMD 0x1022 -+#define PCI_DEVICE_ID_AMD_LANCE 0x2000 -+#define PCI_VENDOR_ID_DEC 0x1011 -+#define PCI_DEVICE_ID_DEC_TULIP 0x0002 -+#define PCI_DEVICE_ID_DEC_TULIP_FAST 0x0009 -+#define PCI_DEVICE_ID_DEC_TULIP_PLUS 0x0014 - --/*#define PCI_VENDOR_ID_SMC 0x10B8*/ -+#define PCI_VENDOR_ID_SMC 0x10B8 - #ifndef PCI_DEVICE_ID_SMC_EPIC100 - # define PCI_DEVICE_ID_SMC_EPIC100 0x0005 - #endif + # if your as has trouble with .code16, .code32, or data32, uncomment this + # but note that the premade start*.o will be larger than necessary because it |