summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-09-30 09:32:06 +0000
committerxtraeme <xtraeme>2003-09-30 09:32:06 +0000
commit6ea2b2f5cd73142e39d26f36388f9b08bd4c9cd6 (patch)
treebf838f2122cd3ad7e3cb23287780ac13d6c35673 /net
parent365375917ff6979258606d0a613f252271bd914d (diff)
downloadpkgsrc-6ea2b2f5cd73142e39d26f36388f9b08bd4c9cd6.tar.gz
Updated to 1.4.
Patch provided by Adrian Portelli via PR pkg/22323 with some changes by me (GCC 3.x fixes) Changes: * Made the source ansi compliant and fixed namespace usage. * Made debuging a command line switch. * Converted code to use namespaces.
Diffstat (limited to 'net')
-rw-r--r--net/pxe/Makefile14
-rw-r--r--net/pxe/distinfo9
-rw-r--r--net/pxe/patches/patch-aa37
-rw-r--r--net/pxe/patches/patch-ab17
4 files changed, 54 insertions, 23 deletions
diff --git a/net/pxe/Makefile b/net/pxe/Makefile
index a11004a29e2..4798f3a6807 100644
--- a/net/pxe/Makefile
+++ b/net/pxe/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/07/30 18:09:26 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2003/09/30 09:32:06 xtraeme Exp $
#
-DISTNAME= pxe-1.2
-PKGREVISION= 1
+DISTNAME= pxe-1.4
CATEGORIES= net sysutils
MASTER_SITES= http://www.kano.org.uk/projects/pxe/
@@ -14,17 +13,12 @@ GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
-CONFIGURE_ARGS+=--with-log=/var/log/pxe.log
-CONFIGURE_ARGS+=--with-config="${PKG_SYSCONFDIR}/pxe.conf"
+CONFIGURE_ARGS+= --with-log=/var/log/pxe.log
+CONFIGURE_ARGS+= --with-config="${PKG_SYSCONFDIR}/pxe.conf"
EGDIR= ${PREFIX}/share/examples/pxe
CONF_FILES= ${EGDIR}/pxe.conf ${PKG_SYSCONFDIR}/pxe.conf
RCD_SCRIPTS= pxe
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pxe ${PREFIX}/sbin
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/pxe.conf ${EGDIR}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pxe/distinfo b/net/pxe/distinfo
index ab0f7abc6f4..71c84e7b01a 100644
--- a/net/pxe/distinfo
+++ b/net/pxe/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/07/30 18:09:26 jmmv Exp $
+$NetBSD: distinfo,v 1.4 2003/09/30 09:32:06 xtraeme Exp $
-SHA1 (pxe-1.2.tar.gz) = d298f5892e7a1cf36af5b6c82eba28d4a724f11c
-Size (pxe-1.2.tar.gz) = 44235 bytes
-SHA1 (patch-aa) = 4c641d4e70dacf1d716b7ce120e06b4f9ce6ef13
+SHA1 (pxe-1.4.tar.gz) = cd84b29e61c7f142e8e7ebe15248de47954d6a68
+Size (pxe-1.4.tar.gz) = 55985 bytes
+SHA1 (patch-aa) = f286f08998840e32bd1a4b78ad4a63781bbba9a7
+SHA1 (patch-ab) = 4a50f5047b4304bc41a857775895e5ca8e13b176
diff --git a/net/pxe/patches/patch-aa b/net/pxe/patches/patch-aa
index 69106fed039..3c0ef302d94 100644
--- a/net/pxe/patches/patch-aa
+++ b/net/pxe/patches/patch-aa
@@ -1,12 +1,31 @@
-$NetBSD: patch-aa,v 1.2 2003/07/30 18:09:28 jmmv Exp $
+$NetBSD: patch-aa,v 1.3 2003/09/30 09:32:06 xtraeme Exp $
---- Makefile.in.orig 2000-10-26 16:02:12.000000000 +0200
-+++ Makefile.in
-@@ -1,5 +1,5 @@
--CC = g++
--CFLAGS = -g -ggdb -Wall
-+CC = ${CXX}
-+CFLAGS += -Wall
- LDFLAGS = @LDFLAGS@ @LIBS@
+--- Makefile.in.orig 2003-09-30 11:25:24.000000000 +0200
++++ Makefile.in 2003-09-30 11:27:19.000000000 +0200
+@@ -1,10 +1,12 @@
+ CXX = @CXX@
+-CXXFLAGS = @CXXFLAGS@
+-LDFLAGS = @LDFLAGS@ @LIBS@
++CXXFLAGS += @CXXFLAGS@
++LDFLAGS += @LDFLAGS@ @LIBS@
EXECS = pxe
+ CP = cp
+
++EGDIR = ${PREFIX}/share/examples/pxe
++
+ all: $(EXECS)
+
+ pxe.o: pxe.cc
+@@ -31,7 +33,8 @@
+ $(CXX) $(CXXFLAGS) -c $*.cc
+
+ install: all
+- $(CP) pxe /usr/sbin/
+- @if test ! -e /etc/pxe.conf; then \
+- $(CP) pxe.conf /etc/; \
++ ${BSD_INSTALL_PROGRAM} pxe ${PREFIX}/sbin
++ ${BSD_INSTALL_DATA_DIR} $(EGDIR)
++ @if test ! -e $(EGDIR)/pxe.conf; then \
++ ${BSD_INSTALL_DATA} pxe.conf $(EGDIR); \
+ fi
diff --git a/net/pxe/patches/patch-ab b/net/pxe/patches/patch-ab
new file mode 100644
index 00000000000..52f65a2d08b
--- /dev/null
+++ b/net/pxe/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2003/09/30 09:32:06 xtraeme Exp $
+
+--- packetstore.cc.orig 2003-09-30 11:20:07.000000000 +0200
++++ packetstore.cc 2003-09-30 11:20:44.000000000 +0200
+@@ -26,9 +26,9 @@
+ /* some global variables */
+ const char *DHCP_types[DHCP_MAX_TYPES] =
+ {
+- {"INVALID"}, {"DHCPDISCOVER"}, {"DHCPOFFER"}, {"DHCPREQUEST"},
+- {"DHCPDECLINE"}, {"DHCPACK"}, {"DHCPNACK"}, {"DHCPRELEASE"},
+- {"DHCPINFORM"}
++ "INVALID", "DHCPDISCOVER", "DHCPOFFER", "DHCPREQUEST",
++ "DHCPDECLINE", "DHCPACK", "DHCPNACK", "DHCPRELEASE",
++ "DHCPINFORM"
+ };
+
+ /******************************************************************************