client implementation for p≡p update server
 
 
 
Go to file
heck 015d8a9e60 Doc: Improve and update README.md 2023-08-29 20:33:01 +02:00
.DS_Store cleanup Xcode project structure, builds with pEpMacOSAdapter Xcode workspace now. 2020-11-01 15:46:47 +01:00
.gitignore Build: pEp wide build standards - add PREFIX_SYS / local.conf renamed to build.conf 2023-08-24 18:21:10 +02:00
HTTPSStream.cc double pointer not needed 2020-06-02 19:22:10 +02:00
HTTPSStream.hh double pointer not needed 2020-06-02 19:22:10 +02:00
LICENSE.txt adding 2018-10-26 15:51:40 +02:00
Makefile Build: pEp wide consistent build improvements. BUILD_CONF etc... 2023-08-29 20:31:56 +02:00
Makefile.conf initial commit 2018-10-26 15:36:10 +02:00
README.md Doc: Improve and update README.md 2023-08-29 20:33:01 +02:00
UpdateStream.cc Avoid compilation errors about ambigouos "byte". 2021-04-30 09:45:49 +02:00
UpdateStream.hh double pointer not needed 2020-06-02 19:22:10 +02:00
build.conf.example Build: pEp wide consistent build improvements. BUILD_CONF etc... 2023-08-29 20:31:56 +02:00
downloadclient.cc be sure to use the keyfile readonly and transport the real exception 2020-06-11 12:41:28 +02:00
downloadclient.hh be sure to use the keyfile readonly and transport the real exception 2020-06-11 12:41:28 +02:00
public.der pubkey for test 2018-10-29 06:01:42 +01:00
run_tests.sh adding read function and test runner 2018-10-28 08:13:08 +01:00
test_https.cc cleanup 2018-10-28 20:13:13 +01:00
test_noupdate.cc double pointer not needed 2020-06-02 19:22:10 +02:00
test_split_url.cc https test 2018-10-27 15:35:40 +02:00
test_updater.cc double pointer not needed 2020-06-02 19:22:10 +02:00

README.md

Download client

Download client is a platform independent client implementation of the p≡p update service. It requires boost and supports all platforms boost supports.

Toolchain

MacPorts for installing dependencies: Install MacPorts for your version of OS X/macOS.

port install git gmake autoconf libtool automake wget gsed openssl libcryptopp zlib
xcode-select --install

Build Dependencies

We need the all libs as static archives.

port install openssl libcryptopp zlib

you might need to install a boost version compiled from sources. Verfied to work with boost 1.76.0.

Build Configuration

The build configuration file is called build.conf or can be specified (relative to repo root) using the env var BUILD_CONF.

Use the file build.conf.example as a template.

cp build.conf.example build.conf

Then, tweak it to your needs.

Make Targets

Build

make - The default make target builds the static lib the webserver.

Test

make test - Builds and executes all tests

Install

make install - Installs the library into your $PREFIX
make uninstall - Uninstalls the library from your $PREFIX

Clean

make clean