Initial work on a RetroShare cross-platform service

This doesn't need any interacion of the user at startup, unlike
retroshare-nogui which requires the user to login on the shell this doesn't
even need a TTY.
At startup this just parse command line, read the PGP keyring, look for
available locations, and start listening for JSON API requests.
Another difference with retroshare-nogui is that this is capable to
generate/import PGP identities, generate locations, and in general anything
possible through the RetroShare API.
retroshare-service is suitable also to run it as a system service, even
in very constrained systems such as Android ot a Docker container.
retroshare-service drop support for libresapi so only the new JSON API
is exposed, it will completely obsolete retroshare-android-service once
retroshare-qml-app is ported to the new JSON API.
This commit is contained in:
Gioacchino Mazzurco 2018-09-29 00:15:10 +02:00
parent 359e11433b
commit 0078501dba
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
18 changed files with 894 additions and 17 deletions

View file

@ -57,9 +57,7 @@ rs_jsonapi {
QMAKE_LIBDIR *= $$clean_path($${RESTBED_BUILD_PATH}/library/)
# Using sLibs would fail as librestbed.a is generated at compile-time
LIBS *= -L$$clean_path($${RESTBED_BUILD_PATH}/library/) -lrestbed
win32-g++ {
LIBS += -lwsock32
}
win32-g++:LIBS += -lwsock32
}
linux-* {