[pkg] remove osx pkg folder

parent cec99a26
Removed all osx packaging scripts for now.
Maintenance now happens in riseup_vpn repo.
Helper files needed for OSX
===========================
* The bitmask-helper that is run as root can be found in the source tree, in
``src/leap/bitmask/vpn/helpers/osx``.
* python ``daemon`` is a dependency for the bitmask-helper, here it is vendored.
* The plist file ``se.leap.bitmask-helper.plist`` (this should be installed into
/Library/LaunchDaemons/se.leap.bitmask-helper.plist).
* OpenVPN up/down scripts: ``openvpn/client.down.sh`` and
``openvpn/client.up.sh``.
#!/bin/sh
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
exec $DIR/bitmask-app
Copying
=======
This work, ‘python-daemon’, is free software: you may copy, modify,
and/or distribute this work under certain conditions; see the relevant
files for specific grant of license. No warranty expressed or implied.
* Parts of this work are licensed to you under the terms of the GNU
General Public License as published by the Free Software Foundation;
version 3 of that license or any later version.
See the file ‘LICENSE.GPL-3’ for details.
* Parts of this work are licensed to you under the terms of the Apache
License, version 2.0 as published by the Apache Software Foundation.
See the file ‘LICENSE.ASF-2’ for details.
author_name = "Ben Finney"
author_email = "ben+python@benfinney.id.au"
year_range = "2001-2017"
copyright = "Copyright © {year_range} {author} and others".format(
year_range=copyright_year_range, author=author)
license = "Apache-2"
url = "https://alioth.debian.org/projects/python-daemon/"
This diff is collapsed.
#!/usr/bin/env bash
sizes=(16 32 64 128 256 512)
largfile='icon_512x512@2x.png'
if [ ! -f "$largfile" ]; then
convert -background none -resize 1024x1024 "$1" "$largfile"
fi
for s in "${sizes[@]}"; do
echo $s
convert -background none -resize ${s}x${s} "$largfile" "icon_${s}x$s.png"
done
cp 'icon_32x32.png' 'icon_16x16@2x.png'
mv 'icon_64x64.png' 'icon_32x32@2x.png'
cp 'icon_256x256.png' 'icon_128x128@2x.png'
cp 'icon_512x512.png' 'icon_256x256@2x.png'
mkdir icon.iconset
mv icon_*x*.png icon.iconset
iconutil -c icns icon.iconset
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
# Bitmask Post-Instalation script
# (c) LEAP Encryption access Project
# We copy the bitmask-helper plist to the LaunchDaemons folder, and load the bitmask-helper that runs as root.
LOG=/tmp/bitmask-install.log
chmod +x /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/bitmask-helper
cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \
&& echo `date` ":: Bitmask post-install: copied bitmask-helper Plist." >> $LOG
launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: Bitmask post-install: loaded bitmask-helper." >> $LOG
echo `date` ":: Bitmask post-install: ok." >> $LOG
exit 0
#!/bin/sh
# Bitmask Pre-Instalation script
# (c) LEAP Encryption access Project
# We unload the bitmask-helper if it is running, because we can be installing an upgrade.
LOG=/tmp/bitmask-install.log
ps aux | grep [b]itmask-helper \
&& launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \
&& echo `date` ":: Bitmask pre-install: unloaded bitmask-helper." >> $LOG
echo `date` ":: Bitmask pre-install: ok." >> $LOG
exit 0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>WorkingDirectory</key>
<string>/Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/</string>
<key>StandardOutPath</key>
<string>bitmask-helper.log</string>
<key>StandardErrorPath</key>
<string>bitmask-helper-err.log</string>
<key>GroupName</key>
<string>daemon</string>
<key>RunAtLoad</key>
<true/>
<key>SessionCreate</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ThrottleInterval</key>
<integer>5</integer>
<key>Label</key>
<string>se.leap.BitmaskHelper</string>
<key>Program</key>
<string>/Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/bitmask-helper</string>
</dict>
</plist>
#!/bin/sh
# Bitmask Post-Instalation script
# (c) LEAP Encryption access Project
# We copy the bitmask-helper plist to the LaunchDaemons folder, and load the bitmask-helper that runs as root.
LOG=/tmp/bitmask-install.log
cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \
&& echo `date` ":: Bitmask post-install: copied bitmask-helper Plist." >> $LOG
launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: Bitmask post-install: loaded bitmask-helper." >> $LOG
echo `date` ":: Bitmask post-install: ok." >> $LOG
exit 0
#!/bin/sh
# Bitmask Pre-Instalation script
# (c) LEAP Encryption access Project
# We unload the bitmask-helper if it is running, because we can be installing an upgrade.
LOG=/tmp/bitmask-install.log
ps aux | grep [b]itmask-helper \
&& launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \
&& echo `date` ":: Bitmask pre-install: unloaded bitmask-helper." >> $LOG
echo `date` ":: Bitmask pre-install: ok." >> $LOG
exit 0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>WorkingDirectory</key>
<string>/Applications/Bitmask.app/Contents/Resources/bitmask-helper/</string>
<key>StandardOutPath</key>
<string>bitmask-helper.log</string>
<key>StandardErrorPath</key>
<string>bitmask-helper-err.log</string>
<key>GroupName</key>
<string>daemon</string>
<key>RunAtLoad</key>
<true/>
<key>SessionCreate</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ThrottleInterval</key>
<integer>5</integer>
<key>Label</key>
<string>se.leap.BitmaskHelper</string>
<key>Program</key>
<string>/Applications/Bitmask.app/Contents/Resources/bitmask-helper/bitmask-helper</string>
</dict>
</plist>
#!/bin/sh
HELPER_PLIST="/Library/LaunchDaemons/se.leap.bitmask-helper.plist"
sudo launchctl unload $HELPER_PLIST
sudo rm -rf /Applications/Bitmask.app
sudo rm -rf ~/Library/Preferences/leap
sudo rm $HELPER_PLIST
echo "Bitmask has been uninstalled from your system!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment