Update to 1.3.

PR:		43609
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
This commit is contained in:
Anders Nordby 2002-10-11 00:03:19 +00:00
parent 53fa9783e9
commit 6e17e6bb4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67790
3 changed files with 19 additions and 2 deletions

View File

@ -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/

View File

@ -1 +1 @@
MD5 (pxe-1.2.tar.gz) = c7a9573e986ef62900a7b90b740bfe0b
MD5 (pxe-1.3.tar.gz) = 3866c86ddada2bd4a4a01bb8b79cc951

View File

@ -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);
}