Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 21:58:28 +0100
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78962: [NEW PORT] net/mknbi: Creates tagged boot images for net/ether boot
Message-ID:  <E1DC24a-0005KW-Ds@sanatana.dharma>
Resent-Message-ID: <200503172130.j2HLU3Hl004535@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78962
>Category:       ports
>Synopsis:       [NEW PORT] net/mknbi: Creates tagged boot images for net/ether boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 17 21:30:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD sanatana.dharma 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #8: Wed Mar 16 20:18:32 CET 2005
>Description:
mknbi is a program that makes network bootable images for various operating
systems suitable for network loading by Etherboot or Netboot, which are ROM
boot loaders. If you are looking to boot using PXE, look no further, mknbi is
not what you want. You probably want something like PXELINUX which is part of
the SYSLINUX package.

WWW: http://www.etherboot.org/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mknbi-1.4.4.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mknbi
#	mknbi/Makefile
#	mknbi/distinfo
#	mknbi/pkg-descr
#	mknbi/files
#	mknbi/files/patch-Makefile
#	mknbi/pkg-plist
#
echo c - mknbi
mkdir -p mknbi > /dev/null 2>&1
echo x - mknbi/Makefile
sed 's/^X//' >mknbi/Makefile << 'END-of-mknbi/Makefile'
X# New ports collection makefile for:   mknbi
X# Date created:        17 Mar 2005
X# Whom:                X
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mknbi
XPORTVERSION=	1.4.4
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	etherboot
X
XMAINTAINER=	ports@freebsd.org
XCOMMENT=	Creates tagged boot images for net/ether boot
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
X
XMAN1=		mknbi.1 disnbi.1
X.for i in	mkelf.1 mknbi-linux.1 mkelf-linux.1 \
X		mknbi-rom.1 mkelf-img.1 mknbi-menu.1 mkelf-menu.1 \
X		mknbi-nfl.1 mkelf-nfl.1 mknbi-dos.1 mknbi-fdos.1 mkelf-lua.1
XMLINKS+=	mknbi.1 ${i}
X.endfor
X
XPORTDOCS=	COPYING README LOG spec.txt
X
XUSE_GMAKE=	yes
XUSE_PERL5=	yes
XONLY_FOR_ARCHS=	i386
X
X.include <bsd.port.mk>
END-of-mknbi/Makefile
echo x - mknbi/distinfo
sed 's/^X//' >mknbi/distinfo << 'END-of-mknbi/distinfo'
XMD5 (mknbi-1.4.4.tar.gz) = 5ddafef0a582cfb2b3cd30951662e6e2
XSIZE (mknbi-1.4.4.tar.gz) = 212454
END-of-mknbi/distinfo
echo x - mknbi/pkg-descr
sed 's/^X//' >mknbi/pkg-descr << 'END-of-mknbi/pkg-descr'
Xmknbi is a program that makes network bootable images for various operating
Xsystems suitable for network loading by Etherboot or Netboot, which are ROM
Xboot loaders. If you are looking to boot using PXE, look no further, mknbi is
Xnot what you want. You probably want something like PXELINUX which is part of
Xthe SYSLINUX package.
X
XWWW: http://www.etherboot.org/
END-of-mknbi/pkg-descr
echo c - mknbi/files
mkdir -p mknbi/files > /dev/null 2>&1
echo x - mknbi/files/patch-Makefile
sed 's/^X//' >mknbi/files/patch-Makefile << 'END-of-mknbi/files/patch-Makefile'
X--- Makefile.orig	Tue Aug 17 04:47:29 2004
X+++ Makefile	Thu Mar 17 21:33:37 2005
X@@ -18,7 +18,7 @@
X FIRSTRELOCS=	0x92800 0x82800
X OLDGAS:=	$(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
X CFLAGS=		-I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
X-		-mcpu=i386 \
X+		-march=i386 \
X 		-Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
X LDBINARYFLAG=	--oformat binary
X FIRST32SIZE=	6144
X@@ -38,13 +38,13 @@
X # Must pick ANSIMODE=1 if ANSIESC is chosen
X BOOTMENU_FLAGS=	-DCONSOLE_CRT -DANSIESC -DANSIMODE=1 -DMOTD -DUSRPARMS -DPASSWD -DPOWERSAVE -DCOMCONSOLE=0x3f8 -DCOMPRESERVE
X 
X-PREFIX=		/usr/local
X+PREFIX?=		/usr/local
X INSTPREFIX=	$(BUILD_ROOT)$(PREFIX)
X LIBDIR=		$(PREFIX)/lib/mknbi
X INSTLIBDIR=	$(INSTPREFIX)/lib/mknbi
X BINDIR=		$(INSTPREFIX)/bin
X-MANDIR=		$(INSTPREFIX)/share/man/man1
X-DOCDIR=		$(INSTPREFIX)/share/doc/packages/mknbi-$(RPMVERSION)
X+MANDIR=		$(INSTPREFIX)/man/man1
X+DOCDIR=		$(INSTPREFIX)/share/doc/mknbi
X 
X INSTALL=	install
X 
END-of-mknbi/files/patch-Makefile
echo x - mknbi/pkg-plist
sed 's/^X//' >mknbi/pkg-plist << 'END-of-mknbi/pkg-plist'
Xbin/mknbi-linux
Xbin/mknbi-rom
Xbin/mknbi-fdos
Xbin/mknbi-dos
Xbin/mknbi-menu
Xbin/mknbi-nfl
Xbin/mkelf-linux
Xbin/mkelf-img
Xbin/mkelf-menu
Xbin/mkelf-nfl
Xbin/mkelf-lua
Xbin/disnbi
Xbin/dismbr
Xbin/disdosbb
Xbin/nbitoelf
Xlib/mknbi/mknbi
Xlib/mknbi/disnbi
Xlib/mknbi/dismbr
Xlib/mknbi/disdosbb
Xlib/mknbi/nbitoelf
Xlib/mknbi/Nbi.pm
Xlib/mknbi/Elf.pm
Xlib/mknbi/TruncFD.pm
Xlib/mknbi/first32@0x92800.linux
Xlib/mknbi/first32elf@0x92800.linux
Xlib/mknbi/first32@0x82800.linux
Xlib/mknbi/first32elf@0x82800.linux
Xlib/mknbi/first.dos
Xlib/mknbi/first.fdos
Xlib/mknbi/menu
Xlib/mknbi/nfl
Xlib/mknbi/altboot.bin
Xlib/mknbi/rmrd.com
Xlib/mknbi/lua
X@dirrm lib/mknbi
END-of-mknbi/pkg-plist
exit
--- mknbi-1.4.4.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DC24a-0005KW-Ds>