Lines 1-2
Link Here
|
1 |
SHA256 (RetroShare-v0.5.2a.tar.gz) = |
|
|
Line 33838
Link Here
|
33838 |
SIZE (RetroShare-v0.5.2a.tar.gz) = 10334273 |
234 |
SHA256 (RetroShare-v0.5.3a.tar.gz) = |
|
|
235 |
SIZE (RetroShare-v0.5.3a.tar.gz) = 6419672 |
33839 |
-- |
|
|
33840 |
2012-01-27 15:41:16.000000000 +0100 |
236 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
237 |
++ |
Lines 1-11
Link Here
|
1 |
+++ libbitdht/src/util/bdrandom.cc 2012-01-15 03:45:36.000000000 |
0 |
0100 |
2 |
--- libbitdht/src/util/bdrandom.cc.orig 2012-01-15 |
|
|
3 |
@@ -13,7 +13,7 @@ |
4 |
#ifdef __APPLE__ |
5 |
static bool auto_seed = bdRandom::seed( (time(NULL) + |
6 |
#else |
7 |
+// static bool auto_seed = bdRandom::seed( (time(NULL) + |
8 |
- static bool auto_seed = bdRandom::seed( (time(NULL) + |
9 |
#endif |
10 |
#endif |
11 |
bool bdRandom::seed(uint32_t s) |
12 |
-- |
13 |
2012-01-27 15:41:16.000000000 +0100 |
1 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
2 |
++ |
14 |
1970-01-01 01:00:00.000000000 +0100 |
3 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-17
Link Here
|
1 |
--- libretroshare/src/dbase/findex.h.orig 2011-04-15 |
0 |
0100 |
2 |
+++ libretroshare/src/dbase/findex.h 2012-01-15 03:55:27.000000000 |
|
|
3 |
@@ -33,6 +33,14 @@ |
|
|
4 |
#include <stdint.h> |
5 |
#include "retroshare/rstypes.h" |
6 |
|
7 |
+#include <dirent.h> |
8 |
+#include <fnmatch.h> |
9 |
+#include <unistd.h> |
10 |
+#define O_LARGEFILE 0100000 |
11 |
+#define stat64 stat |
12 |
+#define _stat stat |
13 |
+#define _getcwd getcwd |
14 |
+ |
15 |
class ostream; |
16 |
|
17 |
|
18 |
-- |
19 |
2012-01-27 15:41:16.000000000 +0100 |
1 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
2 |
++ |
20 |
1970-01-01 01:00:00.000000000 +0100 |
3 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-10
Link Here
|
1 |
--- libretroshare/src/ft/ftfilecreator.h~ 2011-04-25 |
|
|
2 |
+++ libretroshare/src/ft/ftfilecreator.h 2012-01-15 |
3 |
@@ -35,6 +35,7 @@ |
4 |
#include "ftfileprovider.h" |
5 |
#include "ftchunkmap.h" |
6 |
#include <map> |
7 |
+#define fseeko64 fseeko |
8 |
|
9 |
class ZeroInitCounter |
10 |
{ |
11 |
-- |
12 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
13 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-10
Link Here
|
1 |
--- libretroshare/src/ft/ftfileprovider.h~ 2011-02-20 |
|
|
2 |
+++ libretroshare/src/ft/ftfileprovider.h 2012-01-15 |
3 |
@@ -34,6 +34,7 @@ |
4 |
#include <stdint.h> |
5 |
#include "util/rsthreads.h" |
6 |
#include "retroshare/rsfiles.h" |
7 |
+#define fseeko64 fseeko |
8 |
|
9 |
class ftFileProvider |
10 |
{ |
11 |
-- |
12 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
13 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-10
Link Here
|
1 |
--- libretroshare/src/libretroshare.pro~ 2011-08-03 |
|
|
2 |
+++ libretroshare/src/libretroshare.pro 2012-01-15 |
3 |
@@ -104,6 +104,7 @@ |
4 |
INCLUDEPATH += . $${BITDHT_DIR} |
5 |
# The next line if for compliance with debian packages. Keep |
6 |
INCLUDEPATH += ../libbitdht |
7 |
+ INCLUDEPATH += $${PREFIX}/include/gpgme |
8 |
DEFINES *= RS_USE_BITDHT |
9 |
} |
10 |
|
11 |
-- |
12 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
13 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-88
Link Here
|
1 |
--- libretroshare/src/rsserver/rsinit.cc.org 2012-01-15 |
|
|
2 |
+++ libretroshare/src/rsserver/rsinit.cc 2012-01-15 |
3 |
@@ -59,78 +59,14 @@ |
4 |
|
5 |
#include "tcponudp/udpstunner.h" |
6 |
|
7 |
-class accountId |
8 |
-{ |
9 |
- public: |
10 |
- std::string pgpId; |
11 |
- std::string pgpName; |
12 |
- std::string pgpEmail; |
13 |
- |
14 |
- std::string sslId; |
15 |
- std::string location; |
16 |
-}; |
17 |
- |
18 |
- |
19 |
-class RsInitConfig |
20 |
-{ |
21 |
- public: |
22 |
- /* Directories (SetupBaseDir) */ |
23 |
- static std::string basedir; |
24 |
- static std::string homePath; |
25 |
-#ifdef WINDOWS_SYS |
26 |
- static bool portable; |
27 |
- static bool isWindowsXP; |
28 |
-#endif |
29 |
- |
30 |
- static std::list<accountId> accountIds; |
31 |
- static std::string preferedId; |
32 |
- |
33 |
- /* for certificate creation */ |
34 |
- //static std::string gpgPasswd; |
35 |
- |
36 |
-#ifndef WINDOWS_SYS |
37 |
- static int lockHandle; |
38 |
-#else |
39 |
- static HANDLE lockHandle; |
40 |
-#endif |
41 |
- |
42 |
- /* These fields are needed for login */ |
43 |
- static std::string loginId; |
44 |
- static std::string configDir; |
45 |
- static std::string load_cert; |
46 |
- static std::string load_key; |
47 |
- |
48 |
- static std::string passwd; |
49 |
- |
50 |
- static bool autoLogin; /* autoLogin |
51 |
- static bool startMinimised; /* Icon or Full |
52 |
- |
53 |
- /* Key Parameters that must be set before |
54 |
- * RetroShare will start up: |
55 |
- */ |
56 |
- |
57 |
- /* Listening Port */ |
58 |
- static bool forceExtPort; |
59 |
- static bool forceLocalAddr; |
60 |
- static unsigned short port; |
61 |
- static char inet[256]; |
62 |
- |
63 |
- /* Logging */ |
64 |
- static bool haveLogFile; |
65 |
- static bool outStderr; |
66 |
- static bool haveDebugLevel; |
67 |
- static int debugLevel; |
68 |
- static std::string logfname; |
69 |
- |
70 |
- static bool firsttime_run; |
71 |
- static bool load_trustedpeer; |
72 |
- static std::string load_trustedpeer_file; |
73 |
- |
74 |
- static bool udpListenerOnly; |
75 |
- |
76 |
- static std::string RetroShareLink; |
77 |
-}; |
78 |
+#include "rsinit.h" |
79 |
|
80 |
+#include <fnmatch.h> |
81 |
+#include <unistd.h> |
82 |
+#define O_LARGEFILE 0100000 |
83 |
+#define stat64 stat |
84 |
+#define _stat stat |
85 |
+#define _getcwd getcwd |
86 |
|
87 |
const int p3facestartupzone = 47238; |
88 |
|
89 |
-- |
90 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
91 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-28
Link Here
|
1 |
--- libretroshare/src/rsserver/rsloginhandler.cc.orig 2012-01-15 |
|
|
2 |
+++ libretroshare/src/rsserver/rsloginhandler.cc 2012-01-15 |
3 |
@@ -4,6 +4,7 @@ |
4 |
#include <pqi/authgpg.h> |
5 |
#include "rsloginhandler.h" |
6 |
#include "util/rsdir.h" |
7 |
+#include "rsinit.h" |
8 |
|
9 |
#ifdef UBUNTU |
10 |
#include <gnome-keyring-1/gnome-keyring.h> |
11 |
@@ -196,7 +197,7 @@ |
12 |
/******************** OSX KeyChain stuff |
13 |
#else /* UNIX, but not UBUNTU or APPLE */ |
14 |
|
15 |
- FILE* helpFile = |
16 |
+ FILE* helpFile = |
17 |
|
18 |
if(helpFile == NULL){ |
19 |
std::cerr << "\nFailed to open help file\n" << |
20 |
@@ -408,7 +409,7 @@ |
21 |
#else |
22 |
|
23 |
/* WARNING: Autologin is inherently unsafe */ |
24 |
- FILE* helpFile = |
25 |
+ FILE* helpFile = |
26 |
|
27 |
if(helpFile == NULL){ |
28 |
std::cerr << "\nRsStoreAutoLogin(): Failed to open help |
29 |
-- |
30 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
31 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-10
Link Here
|
1 |
--- libretroshare/src/upnp/upnphandler.cc~ 2011-07-08 |
|
|
2 |
+++ libretroshare/src/upnp/upnphandler.cc 2012-01-15 |
3 |
@@ -12,6 +12,7 @@ |
4 |
#endif |
5 |
/* This stuff is actually C */ |
6 |
|
7 |
+#define do_not_use_this |
8 |
#include "upnp/upnphandler.h" |
9 |
|
10 |
#include "util/rsnet.h" |
11 |
-- |
12 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
13 |
1970-01-01 01:00:00.000000000 +0100 |
2 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-14
Link Here
|
1 |
--- libretroshare/src/upnp/upnphandler.h~ 2010-07-04 |
|
|
2 |
+++ libretroshare/src/upnp/upnphandler.h 2012-01-15 |
3 |
@@ -13,7 +13,11 @@ |
4 |
#include "util/rsthreads.h" |
5 |
|
6 |
#include <upnp/upnp.h> |
7 |
+#ifdef do_not_use_this |
8 |
+#include "upnp/UPnPBase.cpp" |
9 |
+#else |
10 |
#include "upnp/UPnPBase.h" |
11 |
+#endif |
12 |
|
13 |
#define RS_UPNP_S_UNINITIALISED 0 |
14 |
#define RS_UPNP_S_UNAVAILABLE 1 |
15 |
-- |
16 |
2012-01-27 15:41:16.000000000 +0100 |
0 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
1 |
++ |
Lines 1-20
Link Here
|
1 |
--- libretroshare/src/util/rsdir.h.orig 2011-05-15 |
0 |
0100 |
2 |
+++ libretroshare/src/util/rsdir.h 2012-01-15 20:10:19.000000000 |
|
|
3 |
@@ -31,6 +31,17 @@ |
|
|
4 |
#include <string> |
5 |
#include <list> |
6 |
#include <stdint.h> |
7 |
+#include <fnmatch.h> |
8 |
+ |
9 |
+#include <dirent.h> |
10 |
+#include <unistd.h> |
11 |
+#define O_LARGEFILE 0100000 |
12 |
+#define stat64 stat |
13 |
+#define _stat stat |
14 |
+#define _getcwd getcwd |
15 |
+#define fseeko64 fseeko |
16 |
+#define fopen64 fopen |
17 |
+#define ftello64 ftello |
18 |
|
19 |
class CRC32Map ; |
20 |
class RsThread; |
21 |
-- |
22 |
2012-01-27 15:41:16.000000000 +0100 |
1 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
2 |
++ |
23 |
1970-01-01 01:00:00.000000000 +0100 |
3 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-10
Link Here
|
1 |
--- libretroshare/src/util/rsdiscspace.cc.orig 2011-07-05 |
0 |
++ |
2 |
+++ libretroshare/src/util/rsdiscspace.cc 2012-01-15 |
|
|
3 |
@@ -31,6 +31,7 @@ |
4 |
#include <util/rsthreads.h> |
5 |
#ifndef WIN32 |
6 |
#include <sys/statvfs.h> |
7 |
+#define statvfs64 statvfs |
8 |
#endif |
9 |
|
10 |
#define DELAY_BETWEEN_CHECKS 2 |
11 |
-- |
12 |
1970-01-01 01:00:00.000000000 +0100 |
1 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-11
Link Here
|
1 |
--- libretroshare/src/util/rsrandom.cc~ 2011-07-05 |
0 |
0100 |
2 |
+++ libretroshare/src/util/rsrandom.cc 2012-01-15 04:56:47.000000000 |
|
|
3 |
@@ -13,7 +13,7 @@ |
|
|
4 |
#ifdef __APPLE__ |
5 |
static bool auto_seed = RSRandom::seed( (time(NULL) + |
6 |
#else |
7 |
- static bool auto_seed = RSRandom::seed( (time(NULL) + |
8 |
+// static bool auto_seed = RSRandom::seed( (time(NULL) + |
9 |
#endif |
10 |
#endif |
11 |
bool RSRandom::seed(uint32_t s) |
12 |
-- |
13 |
2012-01-27 15:41:16.000000000 +0100 |
1 |
2012-01-27 15:41:16.000000000 +0100 |
|
|
2 |
++ |
14 |
1970-01-01 01:00:00.000000000 +0100 |
3 |
1970-01-01 01:00:00.000000000 +0100 |
Lines 1-17
Link Here
|
1 |
--- retroshare-gui/src/RetroShare.pro.orig 2011-08-03 |
0 |
0100 |
2 |
+++ retroshare-gui/src/RetroShare.pro 2012-01-15 12:55:12.000000000 |
|
|
3 |
@@ -153,9 +153,12 @@ |
|
|
4 |
|
5 |
# ########################################### |
6 |
|
7 |
+INCLUDEPATH += $${PREFIX}/include/gpgme |
8 |
+LIBS += ../../libretroshare/src/libretroshare.a -lssl -lgpgme -lupnp |
9 |
+ |
10 |
bitdht { |
11 |
- LIBS += ../../libbitdht/src/lib/libbitdht.a |
12 |
- PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a |
13 |
+ LIBS += ../../libbitdht/src/libbitdht.a |
14 |
+ PRE_TARGETDEPS *= ../../libbitdht/src/libbitdht.a |
15 |
} |
16 |
|
17 |
win32 { |