svn commit: r319753 - in head/net: . pxe-pdhcp pxe-pdhcp/files
Hiroki Sato
hrs at FreeBSD.org
Mon Jun 3 04:26:26 UTC 2013
Author: hrs
Date: Mon Jun 3 04:26:24 2013
New Revision: 319753
URL: http://svnweb.freebsd.org/changeset/ports/319753
Log:
Add net/pxe-pdhcp, an implementation of Preboot Execution Environment (PXE)
server which can cooperate with an existing DHCP server.
Added:
head/net/pxe-pdhcp/
head/net/pxe-pdhcp/Makefile (contents, props changed)
head/net/pxe-pdhcp/distinfo (contents, props changed)
head/net/pxe-pdhcp/files/
head/net/pxe-pdhcp/files/Makefile.in (contents, props changed)
head/net/pxe-pdhcp/files/pxe-pdhcp.8 (contents, props changed)
head/net/pxe-pdhcp/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Mon Jun 3 03:38:13 2013 (r319752)
+++ head/net/Makefile Mon Jun 3 04:26:24 2013 (r319753)
@@ -895,6 +895,7 @@
SUBDIR += pvm
SUBDIR += pvm++
SUBDIR += pxe
+ SUBDIR += pxe-pdhcp
SUBDIR += py-GeoIP
SUBDIR += py-amqp
SUBDIR += py-amqplib
Added: head/net/pxe-pdhcp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pxe-pdhcp/Makefile Mon Jun 3 04:26:24 2013 (r319753)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= pxe-pdhcp
+PORTVERSION= 0.0.2007
+CATEGORIES= net
+MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/
+
+MAINTAINER= hrs at FreeBSD.org
+COMMENT= Preboot Execution Environment server
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/README.md
+
+WRKSRC= ${WRKDIR}/frsyuki-${PORTNAME}-a201b88
+SUB_FILES= Makefile
+MAKE_JOBS_SAFE= yes
+MAKE_ENV= PORTDOCS=${PORT_OPTIONS:MDOCS}
+PLIST_FILES= sbin/${PORTNAME}
+
+PORTDOCS= README.md
+MAN8= ${PORTNAME}.8
+
+OPTIONS_DEFINE= DOCS
+
+post-extract: apply-slist
+ @${INSTALL_DATA} ${WRKDIR}/Makefile ${FILESDIR}/${PORTNAME}.8 ${WRKSRC}
+
+.include <bsd.port.mk>
Added: head/net/pxe-pdhcp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pxe-pdhcp/distinfo Mon Jun 3 04:26:24 2013 (r319753)
@@ -0,0 +1,2 @@
+SHA256 (pxe-pdhcp-0.0.2007.tar.gz) = 7a3afce183abcd23619c52c037477c1ba99fe440bb6ea3e15233c7a475f69a5a
+SIZE (pxe-pdhcp-0.0.2007.tar.gz) = 8134
Added: head/net/pxe-pdhcp/files/Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pxe-pdhcp/files/Makefile.in Mon Jun 3 04:26:24 2013 (r319753)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PROG= pxe-pdhcp
+SRCS= pdhcp.c pxe-pdhcp.c
+MAN= ${PROG}.8
+NO_MANCOMPRESS=
+
+PREFIX?= /usr/local
+LOCALBASE?= /usr/local
+MANDIR?= ${PREFIX}/man/man
+BINDIR?= ${PREFIX}/sbin
+
+.if !empty(PORTDOCS)
+FILES= README.md
+FILESDIR?= ${PREFIX}/share/doc/${PROG}
+
+beforeinstall:
+ mkdir -p ${FILESDIR}
+.endif
+
+.include <bsd.prog.mk>
+
Added: head/net/pxe-pdhcp/files/pxe-pdhcp.8
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pxe-pdhcp/files/pxe-pdhcp.8 Mon Jun 3 04:26:24 2013 (r319753)
@@ -0,0 +1,94 @@
+.\" Copyright (c) 2007 FURUHASHI Sadayuki
+.\"
+.\" Permission is hereby granted, free of charge, to any person
+.\" obtaining a copy of this software and associated documentation
+.\" files (the "Software"), to deal in the Software without
+.\" restriction, including without limitation the rights to use, copy,
+.\" modify, merge, publish, distribute, sublicense, and/or sell copies
+.\" of the Software, and to permit persons to whom the Software is
+.\" furnished to do so, subject to the following conditions:
+.\"
+.\" The above copyright notice and this permission notice shall be
+.\" included in all copies or substantial portions of the Software.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+.\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+.\" HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+.\" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+.\" DEALINGS IN THE SOFTWARE.
+.\"
+.\" dhcp.h is provided by ISC-DHCP copyright by Internet Systems
+.\" Consortium licensed under MIT license. the original software and
+.\" related information is available at
+.\" https://www.isc.org/software/dhcp/.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd June 3, 2013
+.Dt PXE-PDHCP
+.Os
+.Sh NAME
+.Nm pxe-pdhcp
+.Nd "An implementation of Preboot Execution Environment (PXE) server"
+.Sh SYNOPSIS
+.Nm
+.Op Fl d
+.Op Fl i Ar interface
+.Op Fl l Ar listen_address
+.Op Fl t Ar tftp_address
+.Op Fl b Ar broadcast address
+.Op Ar nbp_name
+.Sh DESCRIPTION
+The
+.Nm
+is an implementation of Preboot Execution Environment (PXE) server.
+.Nm
+works with DHCP server running on another host. The DHCP server
+doesn't need to be configured for any PXE specific options.
+This means that you can set up network boot environment without
+re-configuring existent DHCP server.
+.Pp
+.Nm
+listens on two well-known ports (67/udp and 68/udp) so the root
+privilege is needed to run.
+.Pp
+With
+.Fl d
+option,
+.Nm
+runs on foreground.
+This option is useful for debugging.
+.Pp
+Specify nework interface name
+.Pq Li eth0 for example, on Linux
+to
+.Fl i
+option.
+.Pp
+If the network interface has more than one IP address,
+use
+.Fl l ,
+.Fl t ,
+.Fl b
+options.
+.Fl i
+or
+.Po Fl l ,
+.Fl t
+and
+.Fl b
+option
+.Pc
+is required.
+.Pp
+Finally specify the path of Network Bootstrap Program on the TFTP server to
+.Ar nbp name
+option.
+It will be
+.Li pxelinux.0
+if you are using PXELINUX.
+.Sh AUTHORS
+.An FURUHASHI Sadayuki
Added: head/net/pxe-pdhcp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/pxe-pdhcp/pkg-descr Mon Jun 3 04:26:24 2013 (r319753)
@@ -0,0 +1,8 @@
+An implementation of Preboot Execution Environment (PXE) server.
+
+pxe-pdhcp works with DHCP server running on another host. The DHCP
+server doesn't need to be configured for any PXE specific
+options. This means that you can set up network boot environment
+without re-configuring existent DHCP server.
+
+WWW: https://github.com/frsyuki/pxe-pdhcp
More information about the svn-ports-head
mailing list