ari's enigmail/pEp-on-linux build system this _also_ lives in https://pep.foundation/dev/repos/enigmailpEp/ in linux
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Arian Sanusi (p≡p Foundation) 661070102a
on stretch use boost1.67 from backports
před 1 rokem
CAcert enable build on Fedora 27 před 2 roky
packages @ eba242264b packages submodule (came here by sd, need to change to esca remote) před 2 roky
.gitignore look for vanilla distribution in vanilla před 2 roky
.gitmodules packages submodule před 2 roky
Makefile make repos configurable před 2 roky
README.md Makefile: correct dependencies and general cleanup před 2 roky
debug.conf support release (default)/debug build (engine only): for debug set BUILD_CONFIG=~/common/debug.conf před 2 roky
dependencies_debian_9.sh on stretch use boost1.67 from backports před 1 rokem
dependencies_debuntu_common.sh enable build on debian 9 před 2 roky
dependencies_fedora_27.sh generate linux-zip by default, and from that the xpi před 2 roky
dependencies_opensuse_42.3.sh build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues před 2 roky
enigmail.genxpi.patch enigmail.genxpi.patch: adapt to current upstream enigmail před 2 roky
enigmail_pEpAdapter_extensionRelative.patch generate linux-zip by default, and from that the xpi před 2 roky
local.conf support release (default)/debug build (engine only): for debug set BUILD_CONFIG=~/common/debug.conf před 2 roky
pep-json-server-adapter_cstring.patch build on openSuse: use gcc-5 (beware: with system-symlinks!), pepjsonserver-issues před 2 roky
pepjsonserveradapter.Makefile.conf.patch cleanup, adapt damiano's build infra changes před 2 roky
prepareEnigmailTree.sh support release (default)/debug build (engine only): for debug set BUILD_CONFIG=~/common/debug.conf před 2 roky
release.conf support release (default)/debug build (engine only): for debug set BUILD_CONFIG=~/common/debug.conf před 2 roky
serve.py serve.py initial: mock pepmda.zip server to be used with env ENIGMAIL_PEP_DOWNLOAD_URL před 2 roky
tb_pepmda_serve.sh tb_pepmda_serve.sh: convenience script starting serve.py and thunderbird with ENIGMAIL_PEP_DOWNLOAD_URL před 2 roky
test.py test.py: working arguments in call() to MIME_{en,de}crypt_message před 1 rokem

README.md

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