From 9a05d0ef933169a58bbe44254a130226910ed50e Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 17 Nov 2016 23:51:12 +0100 Subject: [build] add gpg binary just the one shipped with the ubuntu image used by the docker container for now. I have to investigate how to properly use a docker container only for building the gpg binary. --- pkg/build_bundle_with_venv.sh | 1 + pkg/pyinst/build.mk | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'pkg') diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh index 848db96..3eb10f7 100755 --- a/pkg/build_bundle_with_venv.sh +++ b/pkg/build_bundle_with_venv.sh @@ -16,3 +16,4 @@ $VIRTUAL_ENV/bin/pip uninstall leap.bitmask $VIRTUAL_ENV/bin/pip install . make bundle +make bundle_gpg diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk index 38038c5..a834f4e 100644 --- a/pkg/pyinst/build.mk +++ b/pkg/pyinst/build.mk @@ -18,6 +18,10 @@ bundle_win: cp ${VIRTUAL_ENV}/Lib/site-packages/zmq/libzmq.pyd $(DIST) cp src/leap/bitmask/core/bitmaskd.tac $(DIST) +bundle_gpg: + # TODO build it in a docker container! + mkdir -p $(DIST_VERSION)/apps/mail + cp /usr/bin/gpg $(DIST_VERSION)/apps/mail/ bundle_tar: cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION) -- cgit v1.2.3