summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-01-29 13:18:36 -0800
committerKali Kaneko <kali@leap.se>2016-04-18 16:15:21 -0400
commite9e9abc4ec26be29b3a6b09e6a0b67786269183b (patch)
tree698ffd51104e6d391957ba25e31e88a2bbced38a /Makefile
parent0bd65c1d3e6c5ee1d861122ec2cd617ad026de43 (diff)
[feature] privileged bitmask helper
This is still quite untested, and a bit hacky, but the main idea behind let us have a daemonized bitmask helper, that should be installed by the Bitmask installer. Its responsibilities are to launch the vpn process as a privileged user, and start/stop the firewall.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7bf5d273..fdfb0381 100644
--- a/Makefile
+++ b/Makefile
@@ -153,8 +153,18 @@ include pkg/branding/branding.mk
pyinst_osx: pyinst
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 pkg/osx/client.up.sh dist/Bitmask.app/Contents/Resources/
+ cp pkg/osx/client.down.sh dist/Bitmask.app/Contents/Resources/
+ cp pkg/osx/bitmask-helper dist/Bitmask.app/Contents/Resources/bitmask-helper/
+ cp pkg/osx/bitmask.pf.conf dist/Bitmask.app/Contents/Resources/bitmask-helper/
+ cp pkg/osx/se.leap.bitmask-helper.plist dist/Bitmask.app/Contents/Resources/bitmask-helper/
+ cp pkg/osx/post-inst.sh dist/Bitmask.app/Contents/Resources/bitmask-helper/
+ cp pkg/osx/daemon.py dist/Bitmask.app/Contents/Resources/bitmask-helper/
# XXX hack... this contains the gpg binary (brew), but we need to build it from sources.
cp -r src/leap/bitmask/util/apps dist/Bitmask.app/Contents/MacOS/
+ # XXX hack... this contains the openvpn binary (brew), but we need to build it from sources.
+ cp -r src/leap/bitmask/util/openvpn.leap dist/Bitmask.app/Contents/Resources/
# XXX this should be taken care of by pyinstaller data collector
cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/common/cacert.pem dist/Bitmask.app/Contents/MacOS/