summaryrefslogtreecommitdiff
path: root/mail/ftrack/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ftrack/files')
-rw-r--r--mail/ftrack/files/patch-hpp::constant.hpp11
-rw-r--r--mail/ftrack/files/patch-hpp::ufmtypes.h11
-rw-r--r--mail/ftrack/files/patch-src::outbound.cpp20
-rw-r--r--mail/ftrack/files/patch-src::utils.cpp19
4 files changed, 61 insertions, 0 deletions
diff --git a/mail/ftrack/files/patch-hpp::constant.hpp b/mail/ftrack/files/patch-hpp::constant.hpp
new file mode 100644
index 000000000000..a81a04cc7a6f
--- /dev/null
+++ b/mail/ftrack/files/patch-hpp::constant.hpp
@@ -0,0 +1,11 @@
+--- hpp/constant.hpp.orig Wed Sep 20 14:46:48 2000
++++ hpp/constant.hpp Wed Sep 20 14:47:01 2000
+@@ -30,7 +30,7 @@
+ #define PATHDELIMS "/"
+ #define PATHDELIMC '/'
+ #endif
+-#define FVersion "3.01"OsType
++#define FVersion "3.01"
+ #define RevisionHI 3
+ #define RevisionLO 1
+ #define FTrackProductLo 0xff
diff --git a/mail/ftrack/files/patch-hpp::ufmtypes.h b/mail/ftrack/files/patch-hpp::ufmtypes.h
new file mode 100644
index 000000000000..1885dbbc641a
--- /dev/null
+++ b/mail/ftrack/files/patch-hpp::ufmtypes.h
@@ -0,0 +1,11 @@
+--- hpp/ufmtypes.h.orig Fri Apr 14 19:13:02 2000
++++ hpp/ufmtypes.h Sun May 21 17:07:16 2000
+@@ -1,7 +1,7 @@
+ #ifndef _UFMTYPES_H_
+ #define _UFMTYPES_H
+
+-#include "smapi/typedefs.h"
++#include <smapi/typedefs.h>
+
+ typedef unsigned int uint;
+ typedef unsigned char uchar;
diff --git a/mail/ftrack/files/patch-src::outbound.cpp b/mail/ftrack/files/patch-src::outbound.cpp
new file mode 100644
index 000000000000..4f892c570a9e
--- /dev/null
+++ b/mail/ftrack/files/patch-src::outbound.cpp
@@ -0,0 +1,20 @@
+--- src/outbound.cpp.orig Sun May 21 18:09:12 2000
++++ src/outbound.cpp Tue May 23 12:43:00 2000
+@@ -373,7 +373,7 @@
+ fclose (fh);
+ unlink(TmtName);
+
+- bfh = open(BsyName,O_CREAT | O_EXCL,0666);
++ bfh = open(BsyName,O_CREAT | O_EXCL,0640);
+ if (bfh == -1) {
+ return FALSE;
+ }
+@@ -858,7 +858,7 @@
+ }
+ fclose (fh);
+ unlink(TmtName);
+- bfh = open(Buff,O_CREAT | O_EXCL,0666);
++ bfh = open(Buff,O_CREAT | O_EXCL,0640);
+ if (bfh == -1) {
+ Log.Level(LOGW) << "Packet " << Name << " is locked." << EOL;
+ return TRUE;
diff --git a/mail/ftrack/files/patch-src::utils.cpp b/mail/ftrack/files/patch-src::utils.cpp
new file mode 100644
index 000000000000..9f8364ebbcf8
--- /dev/null
+++ b/mail/ftrack/files/patch-src::utils.cpp
@@ -0,0 +1,19 @@
+--- src/utils.cpp.orig Tue May 16 22:33:14 2000
++++ src/utils.cpp Tue Jun 27 20:57:09 2000
+@@ -22,6 +22,7 @@
+ #include <ctype.h>
+ #ifdef __FreeBSD__
+ # include <stdlib.h>
++# include <sys/syslimits.h>
+ #else
+ # include <malloc.h>
+ #endif
+@@ -144,7 +145,7 @@
+ // Open file and create path if need.
+ char *tmt;
+ char Buff[1024];
+- umask(0);
++ umask(022);
+ strcpy(Buff,Name);
+ tmt = strrchr(Buff,PATHDELIMC);
+ if (tmt != NULL) {