summaryrefslogtreecommitdiff
path: root/net/pxe
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-08-06 09:46:47 +0000
committerrh <rh@pkgsrc.org>2001-08-06 09:46:47 +0000
commit7a1575005fa22d3987b8b3566cf4a1eaab99e2c8 (patch)
tree449b45b06695d06befc4439965e9b7f40215d4f7 /net/pxe
parent00af74fa3f5fae6d0e26ced08c824d2464569874 (diff)
downloadpkgsrc-7a1575005fa22d3987b8b3566cf4a1eaab99e2c8.tar.gz
Initial import of pxe-1.2, a Preboot eXecution Environment (network boot)
daemon.
Diffstat (limited to 'net/pxe')
-rw-r--r--net/pxe/Makefile26
-rw-r--r--net/pxe/distinfo4
-rw-r--r--net/pxe/files/pxe16
-rw-r--r--net/pxe/pkg/DESCR3
-rw-r--r--net/pxe/pkg/MESSAGE12
-rw-r--r--net/pxe/pkg/PLIST5
6 files changed, 66 insertions, 0 deletions
diff --git a/net/pxe/Makefile b/net/pxe/Makefile
new file mode 100644
index 00000000000..349445e6fbb
--- /dev/null
+++ b/net/pxe/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $
+#
+
+DISTNAME= pxe-1.2
+CATEGORIES= net sysutils
+MASTER_SITES= http://www.kano.org.uk/projects/pxe/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.kano.org.uk/projects/pxe/
+COMMENT= Preboot eXecution Environment (PXE) daemon
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--with-log=/var/log/pxe.log
+CONFIGURE_ARGS+=--with-config=${PREFIX}/etc/pxe.conf
+
+post-configure:
+ ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/pxe > ${WRKDIR}/pxe
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pxe ${PREFIX}/sbin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pxe
+ ${INSTALL_DATA} ${WRKSRC}/pxe.conf ${PREFIX}/share/examples/pxe
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKDIR}/pxe ${PREFIX}/etc/rc.d
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/pxe/distinfo b/net/pxe/distinfo
new file mode 100644
index 00000000000..86a90488cd2
--- /dev/null
+++ b/net/pxe/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $
+
+SHA1 (pxe-1.2.tar.gz) = d298f5892e7a1cf36af5b6c82eba28d4a724f11c
+Size (pxe-1.2.tar.gz) = 44235 bytes
diff --git a/net/pxe/files/pxe b/net/pxe/files/pxe
new file mode 100644
index 00000000000..ffd2118983d
--- /dev/null
+++ b/net/pxe/files/pxe
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $NetBSD: pxe,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $
+#
+
+# PROVIDE: pxe
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="pxe"
+command="@@PREFIX@@/sbin/${name}"
+required_files="@@PREFIX@@/etc/${name}.conf"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/net/pxe/pkg/DESCR b/net/pxe/pkg/DESCR
new file mode 100644
index 00000000000..90683ee3167
--- /dev/null
+++ b/net/pxe/pkg/DESCR
@@ -0,0 +1,3 @@
+ pxe is a multi-platform Preboot eXecution Environment (PXE) daemon that
+allows to serve boot files (together with dhcp, bootp, and tftp daemons)
+for PXE enabled clients.
diff --git a/net/pxe/pkg/MESSAGE b/net/pxe/pkg/MESSAGE
new file mode 100644
index 00000000000..cb33d87886b
--- /dev/null
+++ b/net/pxe/pkg/MESSAGE
@@ -0,0 +1,12 @@
+==========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $
+
+ The pxe daemon has now been installed on your system. Before starting
+ the daemon, please copy ${PREFIX}/share/examples/pxe/pxe.conf to
+ ${PREFIX}/etc and modify according to your needs.
+
+ Under NetBSD-1.5 or above, you can enable pxe on system startup by
+ copying ${PREFIX}/etc/rc.d/pxe to /etc/rc.d and setting pxe=YES
+ in your /etc/rc.conf (alternatively, you can simply start
+ ${PREFIX}/sbin/pxe in your /etc/rc.local script).
+==========================================================================
diff --git a/net/pxe/pkg/PLIST b/net/pxe/pkg/PLIST
new file mode 100644
index 00000000000..5a56b2bb091
--- /dev/null
+++ b/net/pxe/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/06 09:46:47 rh Exp $
+etc/rc.d/pxe
+sbin/pxe
+share/examples/pxe/pxe.conf
+@dirrm share/examples/pxe