You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
3 years ago | |
---|---|---|
pEpMacOSAdapter | 3 years ago | |
pEpMacOSAdapter.xcodeproj | 3 years ago | |
pEpMacOSAdapter.xcworkspace | 3 years ago | |
pEpUpdates | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago |
README.md
p≡p macOS Desktop adapter
This adapter will sport three main features:
- p≡p API via Apple XPC (not yet implemented)
- p≡p API via p≡p JSON adapter (still provided by miniadapter)
- p≡p Update Client
Deployment
PER_MACHINE_DIRECTORY="/Library/Application Support/pEp"
PER_USER_DIRECTORY=$HOME/.pEp
This software is supporting macOS 10.8 and later.
Build
- to build pEpMacOSAdapter use the Makefile
- to build pEpNotifications use Xcode
Build using Makefile
- Download and install boost (1.72.0). https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
- Download and install crypto++ (master branch, CRYPTOPP_8_2_0). https://github.com/weidai11/cryptopp
- Download and install openssl (1.1.1g). https://github.com/openssl/openssl
- Go to pEpMacOSAdapter folder
- make local.conf (only if local.conf doesn't exist)
- Edit local.conf and update
- The paths (include and lib) from boost, crypto++ and openssl libraries
- The path from downloadclient library
- The signing identity
- make
Implementation
The implementation is split in to parts:
- the working code is in pEpMacOSAdapter; the implementation is in Objective C
- the User Interface is in pEpNotifications; the implementation is in Swift
pEpMacOSAdapterProtocol, implemented with XPC
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.