From e9e9abc4ec26be29b3a6b09e6a0b67786269183b Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 29 Jan 2016 13:18:36 -0800 Subject: [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. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') 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/ -- cgit v1.2.3