Oran Juice
87a9de9168
Added net_skeleton
2015-04-07 02:50:09 +05:30
Oran Juice
6f7dd3bf3b
Removed net_skeleton
2015-04-07 02:48:20 +05:30
Oran Juice
20f2ae24d6
Resolve conflicts. get_output_indexes broken
2015-04-07 02:07:51 +05:30
Riccardo Spagni
ea32a84e45
Merge pull request #251
...
c0de96f
Fixed DNS resolution bug in Windows (Thomas Winget)
2015-04-02 16:31:13 +02:00
Thomas Winget
c0de96f8bd
Fixed DNS resolution bug in Windows
...
Due to a bug in unbound, we were passing a string containing a null
character to ub_ctx_resolvconf and ub_ctx_hosts rather than a NULL
pointer. On *nix this wasn't causing headache, but on Windows this was
causing unbound to not correctly load DNS settings from the OS.
Note on the bug: in a Windows-specific code branch in the function
ub_ctx_hosts(), if the hosts file specified was a NULL pointer, a call
to getenv() was stored in a local char* and later freed. This is
incorrect, as we do not own that data, and caused the program to crash.
2015-04-02 09:22:31 -04:00
Riccardo Spagni
1f49833d4f
update unbound from upstream
2015-04-02 11:16:18 +02:00
meshpoint
c9424c1316
fix cmake miniupnpc typo
...
which matters on case-sensitive filesystems
2015-03-26 15:28:31 +04:00
Oran Juice
18cbb876d0
Merge with upstream
2015-01-15 22:10:44 +05:30
Riccardo Spagni
f4b69d553a
year updated in license
2015-01-02 18:52:46 +02:00
Oran Juice
7f670dc77d
getbalance and getaddress RPC for wallet. Added zmq header.
2014-12-05 23:35:38 +05:30
Riccardo Spagni
831933425b
update unbound from upstream
2014-12-04 23:10:49 +02:00
Riccardo Spagni
affde29754
moved rapidjson to external folder, fixed CMake
2014-12-01 21:15:50 +02:00
Ben Boeckel
de4fc40576
mingw: copy required libraries to the build tree
...
These are found as shared libraries and need to be copied so that PATH
manipulation isn't necessary outside of an msys shell.
2014-11-18 17:03:14 -05:00
Ben Boeckel
d855fe4e89
miniupnpc: bump the _POSIX_C_SOURCE feature macro
...
FreeBSD doesn't expose IPv6 structures without this.
2014-11-10 11:13:15 -05:00
Oran Juice
fedf1eb473
net_skeleton server made usable with daemon
2014-11-02 20:45:26 +05:30
Oran Juice
edfaa2e484
Wrote a JSON RPC HTTP Server class using net_skeleton. Has issues due to non-OOP nature of net_skeleton
2014-11-01 21:35:26 +05:30
Ben Boeckel
c696492549
unbound: fix getaddrinfo detection for 32-bit windows
...
On Windows, getaddrinfo is part of the Windows API and as such is
__stdcall, not __cdecl, so check_function_exists fails because the
declaration doesn't match the mangling __stdcall has. Instead, use a
header to include the symbol as declared on the system and use
check_symbol_exists instead.
Tested-By: greatwolf on IRC
2014-10-24 17:40:52 -04:00
Ben Boeckel
4b6515cfb5
unbound: fix type checking
2014-10-24 15:30:44 -04:00
Ben Boeckel
d43a20f8f4
unbound: plumb the libdir up
...
This is necessary for static builds where the linking is passed around
to dependent targets, but the library is lost.
2014-10-24 15:29:56 -04:00
Ben Boeckel
7d708e4223
cmake: support 2.8.7
...
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer
versions prefer PUBLIC and PRIVATE instead, but still support the LINK_
prefix.
2014-10-24 15:29:51 -04:00
Ben Boeckel
031e3da724
cmake: remove scream-make (all-caps functions)
2014-10-23 16:42:35 -04:00
Ben Boeckel
abbd5c0bdb
unbound: import cmake build system
2014-10-23 16:42:35 -04:00
Ben Boeckel
e59b5b7078
miniupnpc: clean up build system
...
Changes:
- remove amiga and solaris conditionals
- remove -fPIC hackery (use POSITION_INDEPENDENT_CODE instead)
- remove tests
- retab
2014-10-23 16:42:35 -04:00
Ben Boeckel
475fe209a8
cmake: minor cleanups (indentation and typos)
2014-10-23 16:42:35 -04:00
Ben Boeckel
a43f1a88d8
cmake: remove configuration variables
...
CMAKE_BUILD_TYPE is meant for single-config build tools (e.g., make and
ninja) while CMAKE_CONFIGURATION_TYPES is meant for multi-config build
tools (e.g., Xcode and Visual Studio). They should not be mixed or
manually set.
2014-10-23 16:42:34 -04:00
Ben Boeckel
a87ce09461
cmake: factor out error messages
...
Instead of using BoldRed and ColourReset everywhere, wrap it up in a
function.
2014-10-23 16:42:34 -04:00
Ben Boeckel
9aa48b6c50
miniupnpc: clear out else/endfoo command arguments
2014-10-23 16:42:34 -04:00
Riccardo Spagni
7c1d3b5090
fixed miniupnpc dynamic target
2014-10-06 23:54:48 +02:00
Riccardo Spagni
2cf94c1321
fix for mingw not playing nicely with libunbound configure, fix for correctly finding static libs on various operating systems
2014-10-06 22:29:07 +02:00
Riccardo Spagni
e55982a892
set the winsock variable differently on Windows
2014-10-06 19:40:53 +02:00
Riccardo Spagni
0586a27a13
fixed configure_command for libunbound under mingw
2014-10-06 19:19:47 +02:00
Riccardo Spagni
f8fd03602c
turns out mingw does actually produce .a libs and not .dll.a
2014-10-06 19:17:40 +02:00
Riccardo Spagni
1afba7311e
quieten CMake when it can't find packages
2014-10-06 18:56:59 +02:00
Riccardo Spagni
735a017bb3
removed required flags from miniupnp and unbound
2014-10-06 18:51:03 +02:00
Riccardo Spagni
5829b35147
include openssl in linbunbound static linking, added errors for openssl and expat
2014-10-06 18:08:33 +02:00
Riccardo Spagni
c70fa8689f
reference the correct unbound static lib
2014-10-06 18:08:33 +02:00
Riccardo Spagni
954a244afe
added libtool's install command
2014-10-06 18:08:33 +02:00
Riccardo Spagni
fd52015a2d
use the correct CMake variable for static builds
2014-10-06 18:08:33 +02:00
Riccardo Spagni
cc0f6a6080
build libunbound correctly
2014-10-06 18:08:32 +02:00
Riccardo Spagni
8c00098c75
fix missing parentheses
2014-10-06 18:08:32 +02:00
Riccardo Spagni
cee87473ad
build libunbound from external if no local libunbound or for static builds
2014-10-06 18:08:32 +02:00
Riccardo Spagni
9ef094b356
added unbound to external deps
2014-10-05 23:44:31 +02:00
Riccardo Spagni
fce9dea1b9
fix for miniupnpc static compile under Windows
2014-10-05 20:22:14 +02:00
Riccardo Spagni
18281f4d20
remove dangling upnp port mappings, updated miniupnpc
2014-10-02 18:54:55 +02:00
Riccardo Spagni
dda5a03146
fixed FreeBSD miniupnpc niggly
2014-09-24 21:23:23 +02:00
Riccardo Spagni
524eae58cc
never use the baked-in miniupnpc on FreeBSD because explosions
2014-09-24 20:57:09 +02:00
Riccardo Spagni
d34f681ed6
fixed miniupnpc static building
2014-09-21 02:23:28 +02:00
fluffypony
b35c1e2491
fixed UPNP_LIBRARIES scope
2014-09-11 13:28:49 +02:00
fluffypony
d21cf293e1
added license to CMake
2014-09-11 08:25:07 +02:00
fluffypony
36c7ea9f77
more CMake tweaks to allow detection on OS X
2014-09-11 08:22:49 +02:00