Update to 1.3.
PR: 43609 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
This commit is contained in:
parent
53fa9783e9
commit
6e17e6bb4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67790
@ -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/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pxe-1.2.tar.gz) = c7a9573e986ef62900a7b90b740bfe0b
|
||||
MD5 (pxe-1.3.tar.gz) = 3866c86ddada2bd4a4a01bb8b79cc951
|
||||
|
17
net/pxe/files/patch-logfile.cc
Normal file
17
net/pxe/files/patch-logfile.cc
Normal 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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user