ari's enigmail/pEp-on-linux build system this _also_ lives in https://pep.foundation/dev/repos/enigmailpEp/ in linux
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.

1.4KB

Building enigmail+pEp on Linux

this build system has two stages:

  • dependencies_$ID_$Version_ID.sh # installs dependencies and prepares a vanilla distribution installation
  • Makefile # make all builds

We distinct between “well supported linuxes”, distributions for that we know they ship supported versions of gnupg and we have a dependencies*.sh script for. The version built on debian generates a pep-distribution that should run on all linux installation with a supported gpg version (only if the build- and target architecture match that is)

well-supported Linuxes

  • Debian 9
  • Fedora 27
  • openSuse

preparations

start on one of the well-supported Linuxes - packages for linux with basic support are built on debian-9 run dependencies_${ID}_${VERSION_ID}.sh for your distribution as root - this has to be done only when dependencies change.

building

For each actual build, create a user solely for this purpose. On Debian: adduser --gecos '' pep-enigmail-build

  • clone the this repository to ~pep-enigmail-build/common
  • ln -s common/Makefile .
  • export LD_LIBRARY_PATH=~/build/lib
  • make

Fedora

on fedora the libtool shipped with and used by libetpan is broken, therefore use the system one: cd libetpan; ln -s `which libtool` libtool

testing the pep-json-server

test.py contains a very basic test of the pep-json-server: query its version via json