3 ms·
> That's why many commercial companies don't include GPL code - see Apple. This is wrong in a couple ways. First, Apple ships plenty of GPL code. https://githu
by mirashii 2y ago
> That's why many commercial companies don't include GPL code - see Apple.
This is wrong in a couple ways. First, Apple ships plenty of GPL code. https://github.com/apple-oss-distributions/bash/blob/bash-138/bash-3.2/README https://github.com/apple-oss-distributions/bash/blob/bash-13... as an example.
What Apple does not ship is GPLv3 code. GPLv3 had two major changes around patents and "tivoization". The tivoization clause in particular forces changes that break Apple's security model for their hardware, and is probably the core reason they do not ship GPLv3 software.
- tzs 2y agoNote that the anti-tivoization provisions only apply to software that is sold with the hardware. If Apple wanted to use GPLv3 software in apps that you have to purchase separately the anti-tivoization provisions would not be a problem.
- canucker2016 2y agoThanks for the correction. This points to one area of Apple's use of GPL code. Apple doesn't want code licensed under GPL v3+ so they're sticking with the GPL v2 codebase (and custom-backporting bugfixes?). Apple uses Bash v3.2, GNU Bash is at v5.2.
- Klonoar 2y agoApple doesn’t have bash as their default anymore, it’s been zsh for years. I presume they keep a bash around due to how ubiquitous it is for scripting.
- canucker2016 2y agohttps://en.wikipedia.org/wiki/Zsh https://en.wikipedia.org/wiki/Zsh says Apple switched to zsh as the default shell (with its MIT-variant license) in 2019. GCC was replaced with LLVM in Xcode 4.2, and GDB was replaced with LLDB in Xcode 4.5 and GDB removed in Xcode 5.0. see https://en.wikipedia.org/wiki/Xcode https://en.wikipedia.org/wiki/Xcode