This adapter will sport three main features:
This software is supporting macOS 10.10 and later.
MacPorts for installing dependencies:
Install MacPorts for your version of OS X/macOS.
For building the prerequisites and clone the mercurial repositories you need the following dependencies
sudo port install mercurial
sudo port install autoconf
sudo port install libtool
sudo port install automake
sudo port install gmake
Create a base folder where to place all the projects and libraries and change the directory to this base folder. For example: ~/src
# Create the local path
mkdir local
# Build and install Crypto++
git clone https://github.com/weidai11/cryptopp.git
pushd cryptopp
make DCRYPTOPP_DATA_DIR=$(pwd)/../local/share/crytopp
make dynamic DCRYPTOPP_DATA_DIR=$(pwd)/../local/share/crytopp
make install PREFIX=$(pwd)/../local
popd
# Build and install OpenSSL
git clone https://github.com/openssl/openssl.git
pushd openssl
./Configure --prefix=$(pwd)/../local --openssldir=$(pwd)/../local/ssl
make
make install
popd
# Build and install Boost
git clone --recursive https://github.com/boostorg/boost.git
pushd boost
git checkout tags/boost-1.74.0
./bootstrap.sh --prefix=$(pwd)/../local --with-libraries=regex,iostreams,system
./b2
./b2 install
popd
# Clone downloadclient
hg clone https://pep.foundation/dev/repos/downloadclient/
# Clone pEpMacOSAdapter
git clone https://gitea.pep.foundation/fdik/pEpMacOSAdapter.git
cd pEpMacOSAdapter
Open pEpMacOSAdapter.xcworkspace
and build schema pEpUpdates.
The implementation is split in to parts:
This protocol is provided to the User Interface to get informed when a download was happening. When a subscription is active updateNow() can be used to search for immediate updates.