|
||
---|---|---|
.DS_Store | ||
.gitignore | ||
HTTPSStream.cc | ||
HTTPSStream.hh | ||
LICENSE.txt | ||
Makefile | ||
Makefile.conf | ||
README.md | ||
UpdateStream.cc | ||
UpdateStream.hh | ||
build.conf.example | ||
downloadclient.cc | ||
downloadclient.hh | ||
public.der | ||
run_tests.sh | ||
test_https.cc | ||
test_noupdate.cc | ||
test_split_url.cc | ||
test_updater.cc |
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