diff options
author | Alex Dupre <ale@FreeBSD.org> | 2018-01-10 17:12:45 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2018-01-10 17:12:45 +0000 |
commit | 21c95ce266b269e315f59711976e64256758ee49 (patch) | |
tree | 7900f15ac33fe4e5b332e32a82d4aa44004d0e56 /security/trezord/files/patch-src_main.cpp | |
parent | Enable SSL support by default and bump PORTREVISION. (diff) |
trezord (short for TREZOR Daemon), or TREZOR Bridge, is a small piece of
software, used for websites, to talk with TREZOR devices.
WWW: https://github.com/trezor/trezord
Notes
Notes:
svn path=/head/; revision=458661
Diffstat (limited to 'security/trezord/files/patch-src_main.cpp')
-rw-r--r-- | security/trezord/files/patch-src_main.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/security/trezord/files/patch-src_main.cpp b/security/trezord/files/patch-src_main.cpp new file mode 100644 index 000000000000..d865a29fcd91 --- /dev/null +++ b/security/trezord/files/patch-src_main.cpp @@ -0,0 +1,26 @@ +--- src/main.cpp.orig 2017-12-02 14:37:41 UTC ++++ src/main.cpp +@@ -33,7 +33,7 @@ + #include <easylogging++.h> + + #include "utils.hpp" +-#include "hid.hpp" ++#include "usb.hpp" + #include "wire.hpp" + #include "core.hpp" + #include "http_client.hpp" +@@ -163,14 +163,12 @@ main(int argc, char *argv[]) + return 1; + } + +-#ifdef __linux__ + if (!vm.count("foreground")) { + if (daemon(0, 0) < 0) { + LOG(ERROR) << "could not daemonize"; + return 1; + } + } +-#endif + + std::string cert_data; + std::string privkey_data; |