ports/144741: [NEW PORT] net/gpxe: Create an open-source PXE implementation and bootloader
Gürkan Karaman
gk.freebsd at googlemail.com
Sun Mar 14 17:50:07 UTC 2010
>Number: 144741
>Category: ports
>Synopsis: [NEW PORT] net/gpxe: Create an open-source PXE implementation and bootloader
>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: Sun Mar 14 17:50:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Gürkan Karaman
>Release:
>Organization:
>Environment:
FreeBSD ks363556 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Sun Jan 18 13:26:40 CET 2009 root at ks363556:/usr/obj/usr/src/sys/KS363556 i386
>Description:
gPXE is an open-source PXE implementation and bootloader.
Create network booting code that allows computers to load
their operating system from a network or to extend an
existing PXE implementation with support for additional
protocols, such iSCSI, HTTP, TFTP, NFS, FTP and ATA
over Ethernet.
WWW: http://etherboot.org
>How-To-Repeat:
>Fix:
# 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:
#
# /usr/ports/net/gpxe/
# /usr/ports/net/gpxe/files
# /usr/ports/net/gpxe/files/patch-arch__i386__Makefile
# /usr/ports/net/gpxe/pkg-descr
# /usr/ports/net/gpxe/Makefile
# /usr/ports/net/gpxe/distinfo
# /usr/ports/net/gpxe/pkg-message
#
echo c - /usr/ports/net/gpxe/
mkdir -p /usr/ports/net/gpxe/ > /dev/null 2>&1
echo c - /usr/ports/net/gpxe/files
mkdir -p /usr/ports/net/gpxe/files > /dev/null 2>&1
echo x - /usr/ports/net/gpxe/files/patch-arch__i386__Makefile
sed 's/^X//' >/usr/ports/net/gpxe/files/patch-arch__i386__Makefile << 'd9e883753200f5a55384cbb6d1aff8f8'
X--- ./arch/i386/Makefile.orig 2010-02-02 17:12:44.000000000 +0100
X+++ ./arch/i386/Makefile 2010-03-14 14:53:41.000000000 +0100
X@@ -69,7 +69,7 @@
X
X # Locations of utilities
X #
X-ISOLINUX_BIN = /usr/lib/syslinux/isolinux.bin
X+ISOLINUX_BIN = /usr/local/share/syslinux/isolinux.bin
X
X # i386-specific directories containing source files
X #
d9e883753200f5a55384cbb6d1aff8f8
echo x - /usr/ports/net/gpxe/pkg-descr
sed 's/^X//' >/usr/ports/net/gpxe/pkg-descr << '8d71b9a807d3b6d06e571c6e43b7657e'
XgPXE is an open-source PXE implementation and bootloader.
X
XCreate network booting code that allows computers to load
Xtheir operating system from a network or to extend an
Xexisting PXE implementation with support for additional
Xprotocols, such iSCSI, HTTP, TFTP, NFS, FTP and ATA
Xover Ethernet.
X
XWWW: http://etherboot.org
8d71b9a807d3b6d06e571c6e43b7657e
echo x - /usr/ports/net/gpxe/Makefile
sed 's/^X//' >/usr/ports/net/gpxe/Makefile << '1169493dff075546b13cbd60d8200dd9'
X# New ports collection makefile for: gpxe
X# Date created: 27-02-2010
X# Whom: Gürkan Karaman <gk.freebsd at googlemail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gpxe
XPORTVERSION= 1.0.0
XCATEGORIES= net
XMASTER_SITES= http://kernel.org/pub/software/utils/boot/gpxe/
XDISTNAME= ${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= gk.freebsd at googlemail.com
XCOMMENT= Create an open-source PXE implementation and bootloader
X
XBUILD_DEPENDS= syslinux:${PORTSDIR}/sysutils/syslinux
X
XUSE_BZIP2= 1
XUSE_GMAKE= 1
XUSE_CDRTOOLS= 1
XWRKSRC= ${WRKDIR}/${DISTNAME}/src
XONLY_FOR_ARCHS= i386
X
XPLIST_DIRS= %%DATADIR%%
XPLIST_FILES= %%DATADIR%%/gpxe.dsk \
X %%DATADIR%%/gpxe.usb \
X %%DATADIR%%/gpxe.iso
X
Xdo-install:
X @${MKDIR} ${DATADIR}
X ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.dsk ${DATADIR}
X ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.usb ${DATADIR}
X ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/src/bin/gpxe.iso ${DATADIR}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
1169493dff075546b13cbd60d8200dd9
echo x - /usr/ports/net/gpxe/distinfo
sed 's/^X//' >/usr/ports/net/gpxe/distinfo << 'f0de063f96cc2ae09943be6ca27b026f'
XMD5 (gpxe-1.0.0.tar.bz2) = 15cb4bcc1c37dd96f47009da5e3f20b5
XSHA256 (gpxe-1.0.0.tar.bz2) = 7f5f1553626e1d4ba65f0e2efe6624e8fdf44b735aae71062b77252b08136708
XSIZE (gpxe-1.0.0.tar.bz2) = 1620040
f0de063f96cc2ae09943be6ca27b026f
echo x - /usr/ports/net/gpxe/pkg-message
sed 's/^X//' >/usr/ports/net/gpxe/pkg-message << '1472019fecf2a5f50f1c4f906f265fa6'
X
XThe following files have been installed in /usr/local/share/gpxe
X
X- gpxe.dsk
X To create a bootable floppy, type
X cat /usr/local/share/gpxe/gpxe.dsk > /dev/fd0
X where /dev/fd0 is your floppy drive.
X This will erase any data already on the disk.
X
X- gpxe.usb
X To create a bootable USB key, type
X cat /usr/local/share/gpxe/gpxe.usb > /dev/sdX
X where /dev/sdX is your USB key, and is *not* a real hard
X disk on your system.
X This will erase any data already on the USB key.
X
X- gpxe.iso
X To create a bootable CD-ROM, burn the ISO image
X /usr/local/share/gpxe/gpxe.iso to a blank CD-ROM.
X
1472019fecf2a5f50f1c4f906f265fa6
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list