diff options
author | arved <arved@FreeBSD.org> | 2003-04-17 17:56:26 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-04-17 17:56:26 +0000 |
commit | 9d29e9869e1e055a0172eaa2b5edafa44fabe58e (patch) | |
tree | 17492707cd774c4ddeb5c594b0605458c81bbea0 /net/netboot | |
parent | 892849d883703d4c2e9c3b27e600205b60284e1d (diff) | |
download | FreeBSD-ports-9d29e9869e1e055a0172eaa2b5edafa44fabe58e.zip FreeBSD-ports-9d29e9869e1e055a0172eaa2b5edafa44fabe58e.tar.gz |
Netboot produces bootloaders for many NICs, similar to etherboot.
PR: 51075
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'net/netboot')
-rw-r--r-- | net/netboot/Makefile | 22 | ||||
-rw-r--r-- | net/netboot/distinfo | 1 | ||||
-rw-r--r-- | net/netboot/files/patch-misc::instdrv | 41 | ||||
-rw-r--r-- | net/netboot/pkg-descr | 13 | ||||
-rw-r--r-- | net/netboot/pkg-plist | 51 |
5 files changed, 128 insertions, 0 deletions
diff --git a/net/netboot/Makefile b/net/netboot/Makefile new file mode 100644 index 0000000..3e1bcb2 --- /dev/null +++ b/net/netboot/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: netboot +# Date created: 16 Apr 2003 +# Whom: dyeske@yahoo.com +# +# $FreeBSD$ + +PORTNAME= netboot +PORTVERSION= 0.9.8 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= dyeske@yahoo.com +COMMENT= Netboot with Packet or NDIS-2 drivers + +USE_GMAKE= yes +GNU_CONFIGURE= yes + +MAN5= netboot.5 netboot.config.5 netboot.drivers.5 netboot.db.5 +MAN8= mknbi-mgl.8 makerom.8 mknbi-dos.8 mknbi-linux.8 + +.include <bsd.port.mk> diff --git a/net/netboot/distinfo b/net/netboot/distinfo new file mode 100644 index 0000000..3fba25e --- /dev/null +++ b/net/netboot/distinfo @@ -0,0 +1 @@ +MD5 (netboot-0.9.8.tar.gz) = 2c4c83c3d7743b73247e2acdda79919d diff --git a/net/netboot/files/patch-misc::instdrv b/net/netboot/files/patch-misc::instdrv new file mode 100644 index 0000000..8e0d92a --- /dev/null +++ b/net/netboot/files/patch-misc::instdrv @@ -0,0 +1,41 @@ +--- misc/instdrv.orig Sun Dec 15 05:50:10 2002 ++++ misc/instdrv Mon Mar 17 01:12:06 2003 +@@ -48,13 +48,8 @@ + # Get name of driver subdirectory, name of driver file and check for MD5 + # checksum file + # +-MD5FILE="`echo "$DRVFILE" | sed 's,\.[^/]\+$,\.md5,'`" +-SUBDIR="`echo "$ABSDRVFILE" | sed 's,^.*netdrvr/\([^/]\+\)/.*$,\1,'`" ++SUBDIR="`echo "$ABSDRVFILE" | sed 's,^.*netdrvr/\([^/].*\)/.*$,\1,'`" + DRVNAME="`echo "$ABSDRVFILE" | sed 's,^.*/\([^/]\+\.[^/]\+\)$,\1,'`" +-if [ ! -r "$MD5FILE" ]; then +- echo "$0: unable to read MD5 file $MD5FILE" +- exit 1 +-fi + + + # +@@ -68,12 +63,6 @@ + echo $INSTPROG -d $INSTDIR/netdrvr + $INSTPROG -d $INSTDIR/netdrvr + fi +-SUMFILE="$INSTDIR/netdrvr/MD5SUMS" +-if [ ! -f $SUMFILE ]; then +- echo "# MD5 checksum file" > $SUMFILE +-fi +-TMPFILE="${TEMP-/tmp}/MD5SUMS.$$" +-trap "rm -f $TMPFILE" 0 + + + # +@@ -91,10 +80,5 @@ + # Install MD5 checksum into checksum database. This involves to first + # remove the old entry from the file, and then to append the new entry + # +-echo "Installing MD5 checksum into $SUMFILE" +-MD5="`cat $MD5FILE | sed 's,^\(.\+[ ]\+[ *]\)[^ *].*$,\1,'`" +-sed "/^.*$DRVNAME\$/d;\$a\\ +-$MD5$SUBDIR/$DRVNAME" $SUMFILE >$TMPFILE +-$INSTPROG -m 644 $TMPFILE $SUMFILE + exit 0 + diff --git a/net/netboot/pkg-descr b/net/netboot/pkg-descr new file mode 100644 index 0000000..8e7d341 --- /dev/null +++ b/net/netboot/pkg-descr @@ -0,0 +1,13 @@ +This code produces bootloaders for many cards that can be loaded +from a floppy disk or burnt into an EEPROM as raw or hex + +Netboot uses standard DOS drivers (either Packet or NDIS-2), all +network cards can be used for which those drivers exist, even PCI +and 100MBps cards. In case no such driver has been delivered with +a network card it can usually be downloaded from an FTP server of +the manufacturer + +WWW: http://netboot.sourceforge.net/ + +- David +dyeske@yahoo.com diff --git a/net/netboot/pkg-plist b/net/netboot/pkg-plist new file mode 100644 index 0000000..b0906ab --- /dev/null +++ b/net/netboot/pkg-plist @@ -0,0 +1,51 @@ +bin/makerom +bin/mknbi-dos +bin/mknbi-linux +bin/mknbi-mgl +lib/netboot/netboot.drivers +lib/netboot/binaries/floppy.bin +lib/netboot/binaries/floppy86.bin +lib/netboot/binaries/kernel.bin +lib/netboot/binaries/kernel86.bin +lib/netboot/binaries/kernelm.bin +lib/netboot/binaries/netndis.bin +lib/netboot/binaries/netndis86.bin +lib/netboot/binaries/netpkt.bin +lib/netboot/binaries/netpkt86.bin +lib/netboot/binaries/netundi.bin +lib/netboot/binaries/netundi86.bin +lib/netboot/binaries/rom.bin +lib/netboot/binaries/rom86.bin +lib/netboot/netdrvr/pktdrvr/drivers/3c501.com +lib/netboot/netdrvr/pktdrvr/drivers/3c503.com +lib/netboot/netdrvr/pktdrvr/drivers/3c505.com +lib/netboot/netdrvr/pktdrvr/drivers/3c507.com +lib/netboot/netdrvr/pktdrvr/drivers/3c509.com +lib/netboot/netdrvr/pktdrvr/drivers/3c523.com +lib/netboot/netdrvr/pktdrvr/drivers/dc21x4.com +lib/netboot/netdrvr/pktdrvr/drivers/de600.com +lib/netboot/netdrvr/pktdrvr/drivers/depca.com +lib/netboot/netdrvr/pktdrvr/drivers/ee10pkt.com +lib/netboot/netdrvr/pktdrvr/drivers/e10ppkt.com +lib/netboot/netdrvr/pktdrvr/drivers/e100bpkt.com +lib/netboot/netdrvr/pktdrvr/drivers/epropkt.com +lib/netboot/netdrvr/pktdrvr/drivers/exos205.com +lib/netboot/netdrvr/pktdrvr/drivers/exp16.com +lib/netboot/netdrvr/pktdrvr/drivers/hppclan.com +lib/netboot/netdrvr/pktdrvr/drivers/hppclanp.com +lib/netboot/netdrvr/pktdrvr/drivers/lan595.com +lib/netboot/netdrvr/pktdrvr/drivers/ne1000.com +lib/netboot/netdrvr/pktdrvr/drivers/ne2.com +lib/netboot/netdrvr/pktdrvr/drivers/ne2000.com +lib/netboot/netdrvr/pktdrvr/drivers/ne2100.com +lib/netboot/netdrvr/pktdrvr/drivers/smc_wd.com +lib/netboot/utils/pktwatch.com +lib/netboot/utils/romcheck.bin +@dirrm lib/netboot/binaries +@dirrm lib/netboot/netdrvr/ndis2 +@dirrm lib/netboot/netdrvr/pktdrvr/drivers +@dirrm lib/netboot/netdrvr/pktdrvr +@dirrm lib/netboot/netdrvr/undi +@dirrm lib/netboot/netdrvr +@dirrm lib/netboot/utils +@dirrm lib/netboot |