From 86ba6785ac0bd43677fee3dbe79caeea10e53c6b Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 21 Jun 2017 03:10:10 +0200 Subject: [pkg] fetch static openvpn from leap downloads --- pkg/pyinst/build.mk | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk index 448f7e05..64bffd14 100644 --- a/pkg/pyinst/build.mk +++ b/pkg/pyinst/build.mk @@ -1,4 +1,8 @@ # This makefile should be called from the topmost bitmask folder +# +OSX_RES = dist/Bitmask.app/Contents/Resources +OSX_CON = dist/Bitmask.app/Contents/MacOS + default: echo "enter 'make bundle or make bundle_osx'" @@ -48,17 +52,18 @@ bundle_osx_helpers: bundle_linux: bundle bundle_linux_gpg bundle_linux_vpn bundle_linux_helpers bundle_osx: bundle bundle_osx_helpers - cp $(DIST_VERSION)/lib/_scrypt.so dist/Bitmask.app/Contents/MacOS/ - cp $(DIST_VERSION)/lib/bitmaskd.tac dist/Bitmask.app/Contents/MacOS/ - cp -r $(DIST_VERSION)/lib/leap dist/Bitmask.app/Contents/MacOS/ - cp -r $(DIST_VERSION)/lib/pixelated_www dist/Bitmask.app/Contents/MacOS/ - mv dist/Bitmask.app/Contents/MacOS/bitmask dist/Bitmask.app/Contents/MacOS/bitmask-app - cp pkg/osx/bitmask-wrapper dist/Bitmask.app/Contents/MacOS/bitmask - mkdir -p dist/Bitmask.app/Contents/Resources/bitmask-helper - cp -r $(DIST_VERSION)/apps/helpers/bitmask-helper dist/Bitmask.app/Contents/Resources/bitmask-helper/ - cp -r $(DIST_VERSION)/apps/helpers/bitmask.pf.conf dist/Bitmask.app/Contents/Resources/bitmask-helper/ - cp -r $(DIST_VERSION)/apps/helpers/daemon/daemon.py dist/Bitmask.app/Contents/Resources/ - cp -r $(DIST_VERSION)/apps/helpers/openvpn/* dist/Bitmask.app/Contents/Resources/ + cp $(DIST_VERSION)/lib/_scrypt.so $(OSX_CON)/ + cp $(DIST_VERSION)/lib/bitmaskd.tac $(OSX_CON)/ + cp -r $(DIST_VERSION)/lib/leap $(OSX_CON)/ + cp -r $(DIST_VERSION)/lib/pixelated_www $(OSX_CON)/ + mv dist/Bitmask.app/Contents/MacOS/bitmask $(OSX_CON)/bitmask-app + cp pkg/osx/bitmask-wrapper $(OSX_CON)/bitmask + mkdir -p $(OSX_RES)/bitmask-helper + cp -r $(DIST_VERSION)/apps/helpers/bitmask-helper $(OSX_RES)/bitmask-helper/ + cp -r $(DIST_VERSION)/apps/helpers/bitmask.pf.conf $(OSX_RES)/bitmask-helper/ + cp -r $(DIST_VERSION)/apps/helpers/daemon/daemon.py $(OSX_RES)/ + cp -r $(DIST_VERSION)/apps/helpers/openvpn/* $(OSX_RES)/ + wget https://downloads.leap.se/thirdparty/osx/openvpn/openvpn -O $(OSX_RES)/openvpn.leap bundle_win: pyinstaller -y pkg/pyinst/app.spec -- cgit v1.2.3