From 6e17e6bb4ce6f9332aa8ccdd11ae185f9f31b0b7 Mon Sep 17 00:00:00 2001
From: Anders Nordby <anders@FreeBSD.org>
Date: Fri, 11 Oct 2002 00:03:19 +0000
Subject: Update to 1.3.

PR:		43609
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
---
 net/pxe/Makefile               |  2 +-
 net/pxe/distinfo               |  2 +-
 net/pxe/files/patch-logfile.cc | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)
 create mode 100644 net/pxe/files/patch-logfile.cc

(limited to 'net')

diff --git a/net/pxe/Makefile b/net/pxe/Makefile
index 5d571a9e33d6..a39bea528e21 100644
--- a/net/pxe/Makefile
+++ b/net/pxe/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pxe
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	net
 MASTER_SITES=	http://www.kano.org.uk/projects/pxe/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
diff --git a/net/pxe/distinfo b/net/pxe/distinfo
index f9a51b6ea930..a6f414ac7e54 100644
--- a/net/pxe/distinfo
+++ b/net/pxe/distinfo
@@ -1 +1 @@
-MD5 (pxe-1.2.tar.gz) = c7a9573e986ef62900a7b90b740bfe0b
+MD5 (pxe-1.3.tar.gz) = 3866c86ddada2bd4a4a01bb8b79cc951
diff --git a/net/pxe/files/patch-logfile.cc b/net/pxe/files/patch-logfile.cc
new file mode 100644
index 000000000000..5eed667bbc70
--- /dev/null
+++ b/net/pxe/files/patch-logfile.cc
@@ -0,0 +1,17 @@
+--- logfile.cc.orig	Wed Oct  2 22:41:50 2002
++++ logfile.cc	Wed Oct  2 22:42:09 2002
+@@ -58,12 +58,13 @@
+ {
+ 	/* open the file */
+ 	umask(077);
+-	logfile = new std::fstream(filename, std::ios::out|std::ios::app, 0644);
++	logfile = new std::fstream(filename, std::ios::out|std::ios::app);
+ 	if(logfile == NULL)
+ 	{
+ 		std::cerr << "Error: LogFile::Open:open(): " << strerror(errno) <<"\n";
+ 		exit(-1);
+ 	}
++	chmod(filename, 0644);
+ }
+ 
+ 
-- 
cgit v1.2.3