summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-16 22:54:21 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-22 12:56:20 +0200
commitca6f399c045d5caa21835f762cde877bf2b80ad6 (patch)
treef7ce41b5056943d9cf1ad02b7f5dd24f23795ce8 /pkg
parent75debc78584681071685e17ae4c596662eeae3af (diff)
[pkg] install and use static openvpn from bundle
Diffstat (limited to 'pkg')
-rw-r--r--pkg/pyinst/build.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 25a7ef38..e8772058 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -29,12 +29,17 @@ bundle_gpg:
patchelf --set-rpath '.' $(DIST_VERSION)/apps/mail/gpg
cp /lib/x86_64-linux-gnu/libusb-0.1.so.4 $(DIST_VERSION)/lib
+bundle_vpn:
+ mkdir -p $(DIST_VERSION)/apps/vpn
+ # TODO verify signature
+ wget https://downloads.leap.se/thirdparty/linux/openvpn/openvpn -O $(DIST_VERSION)/apps/vpn/openvpn.leap
+
bundle_linux_helpers:
mkdir -p $(DIST_VERSION)/apps/helpers
cp src/leap/bitmask/vpn/helpers/linux/bitmask-root $(DIST_VERSION)/apps/helpers/
cp src/leap/bitmask/vpn/helpers/linux/se.leap.bitmask.bundle.policy $(DIST_VERSION)/apps/helpers/
-bundle_apps: bundle_gpg bundle_linux_helpers
+bundle_apps: bundle_gpg bundle_vpn bundle_linux_helpers
bundle_tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)