1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/contrib/macos
Jason Rhinelander 0bb00baacf
Various cmake build cleanups/refactors
- Added contrib/macos/README.txt with description of the cancer
  happening here.
- Add provisioningprofiles that Apple wants to make things work properly
- Made the entitlements files match the provisioningprofiles
- Remove configured entitlements files; we *can't* change any of the
  things here because they are closedly tied to the provisioningprofiles
  -- which means if someone wants to build their own Lokinet, they have
  to replace a bunch of crap and change application IDs throughout.
  This is the hostile-to-open-source Apple way.
- Remove unused old lokinet binary, as we're no longer using it on macos
- Use a POST_BUILD rather than install to copy things around into the
  right places
- Convert all the configure_file's to consistently use @ONLY
- Misc cleanups
2021-09-02 14:17:08 -04:00
..
uninstaller initial network extension code for macos 2021-09-02 14:17:08 -04:00
Info.plist add swift version bullshit file and additional bullshittery 2021-09-02 14:17:08 -04:00
lokinet-extension.entitlements.plist Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
lokinet-extension.provisionprofile Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
lokinet-newsyslog.conf make macos uninstaller actually kill and uninstall lokinet (#1484) 2020-11-18 17:06:48 -05:00
lokinet.entitlements.plist Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
lokinet.provisionprofile Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
lokinet_macos_daemon_script.sh Restore DNS via signal handler 2020-04-21 22:55:11 -03:00
lokinet_uninstall.sh * make llarp.halt rpc call actually return a reply (#1488) 2020-11-20 12:37:30 -05:00
LokinetExtension.Info.plist.in Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
mk-icns.sh initial network extension code for macos 2021-09-02 14:17:08 -04:00
network.loki.lokinet.daemon.plist use /var/log/ for log files 2020-11-17 19:22:19 -04:00
notarize.py.in Add stapling after notarization 2020-04-21 16:25:30 -03:00
postinstall make macos uninstaller actually kill and uninstall lokinet (#1484) 2020-11-18 17:06:48 -05:00
preinstall update packaging for macos add preinstall script that nukes any existing lokinet make uninstaller revert dns to "empty" make cpack use preinstall script in pkg file 2020-11-17 19:22:19 -04:00
README.txt Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00
sign.sh.in Various cmake build cleanups/refactors 2021-09-02 14:17:08 -04:00

This directory contains the magical incantations and random voodoo symbols needed to coax an Apple
build.  There's no reason builds have to be this stupid, except that Apple wants to funnel everyone
into the no-CI, no-help, undocumented, non-toy-apps-need-not-apply modern Apple culture.

This is disgusting.




These two files, in particular, are the very worst manifestations of this Apple cancer: they are
required for proper permissions to run on macOS, are undocumented, and can only be regenerated
through the entirely closed source Apple Developer backend:

    lokinet.provisionprofile
    lokinet-extension.provisionprofile

This is actively hostile to open source development, but that is nothing new for Apple.

If you are reading this to try to build Lokinet for yourself for an Apple operating system and
simultaneously care about open source, privacy, or freedom then you, my friend, are a walking
contradiction: you are trying to get Lokinet to work on a platform that actively despises open
source, privacy, and freedom.  Even Windows is a better choice in all of these categories than
Apple.