diff options
author | Kali Kaneko <kali@leap.se> | 2016-01-29 13:18:36 -0800 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-18 16:15:21 -0400 |
commit | e9e9abc4ec26be29b3a6b09e6a0b67786269183b (patch) | |
tree | 698ffd51104e6d391957ba25e31e88a2bbced38a /pkg/osx/Bitmask.pkgproj | |
parent | 0bd65c1d3e6c5ee1d861122ec2cd617ad026de43 (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 'pkg/osx/Bitmask.pkgproj')
-rwxr-xr-x | pkg/osx/Bitmask.pkgproj | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/pkg/osx/Bitmask.pkgproj b/pkg/osx/Bitmask.pkgproj index 5a21dc35..bf882850 100755 --- a/pkg/osx/Bitmask.pkgproj +++ b/pkg/osx/Bitmask.pkgproj @@ -486,8 +486,39 @@ </dict> <key>PACKAGE_SCRIPTS</key> <dict> + <key>POSTINSTALL_PATH</key> + <dict> + <key>PATH</key> + <string>../pkg/osx/post-inst.sh</string> + <key>PATH_TYPE</key> + <integer>3</integer> + </dict> + <key>PREINSTALL_PATH</key> + <dict> + <key>PATH</key> + <string>/Users/user/leap/bitmask_client/pkg/osx/pre-inst.sh</string> + <key>PATH_TYPE</key> + <integer>0</integer> + </dict> <key>RESOURCES</key> - <array/> + <array> + <dict> + <key>CHILDREN</key> + <array/> + <key>GID</key> + <integer>0</integer> + <key>PATH</key> + <string>../pkg/osx/se.leap.bitmask-helper.plist</string> + <key>PATH_TYPE</key> + <integer>3</integer> + <key>PERMISSIONS</key> + <integer>420</integer> + <key>TYPE</key> + <integer>3</integer> + <key>UID</key> + <integer>0</integer> + </dict> + </array> </dict> <key>PACKAGE_SETTINGS</key> <dict> @@ -502,7 +533,7 @@ <key>RELOCATABLE</key> <true/> <key>VERSION</key> - <string>0.9.0rc2</string> + <string>0.9.0rc4</string> </dict> <key>PROJECT_COMMENTS</key> <dict> |