summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-11-17 23:51:12 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-11-18 11:50:01 +0100
commit9a05d0ef933169a58bbe44254a130226910ed50e (patch)
treea8526459d0e414a43cf9b5c53bf35a240f4b3808
parent6a87116917c6afa7c9ff08453101fe43b54adfa9 (diff)
[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.
-rwxr-xr-xpkg/build_bundle_with_venv.sh1
-rw-r--r--pkg/pyinst/build.mk4
2 files changed, 5 insertions, 0 deletions
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)