7 ms·
Behind OS X’s modern face lies an aging collection of Unix tools
- Animats 12y agoIt's amusing that Apple products ship with emacs inside.
- cpach 12y agoIndeed. I love to show off tetris-mode to unknowing OS X users :)
- jimmahoney 12y agoI don't think it's amusing - I think it's great. I use emacs every day, and have for many decades.
- rst 12y agoNot mentioned and highly significant: Apple hasn't shipped anything which is licensed under GPL v3. That cuts them off from a lot of upstream development, including particularly upstream versions of bash. I'm not sure they've ever published a reason for this, but outside speculation centers around the v3 patent grant and anti-tivoization clauses.
- deleted 12y ago[deleted]
- AnthonyMouse 12y ago> I'm not sure they've ever published a reason for this, but outside speculation centers around the v3 patent grant and anti-tivoization clauses. I've heard this more than once but it doesn't make any sense. GPLv2 says this: "Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions." Ask your lawyer what happens if you license a piece of software to someone and then try to sue them for patent infringement for using that software. And OS X doesn't stop you from compiling your own bash (or whatever else) and replacing the one Apple shipped, so I don't see how the anti-tivoization clause would affect them either. It just doesn't make any sense. I half suspect that there are a few IP lawyers (and/or Microsoft) who don't like the GPL for ideological reasons and go around spreading FUD about it to discourage people from using it.
- cpach 12y agoIs it significant though? I can’t really see why bash of all software should be critical. As pointed out elsewhere in this thread, other operating systems do not rely on bash being installed.
- brymaster 12y agoReally not much to see here, as the author originally did not know Apple uses stone age FOSS tools because of GPLv3. Sources here: http://opensource.apple.com http://opensource.apple.com Apple doesn't seem timely in getting sources put up. Wayback Machine shows that 10.9.5 was posted around October 7th even though that update was distributed to users on September 17 (~20 day gap), so they're not exactly adhering to the license as they should. Also there is no sources for 10.10 and does iOS 7 and 8 really use no GPL'd or other FOSS'd code?
- sjwright 12y ago> they're not exactly adhering to the license as they should Correct me if I'm wrong, but the licenses don't require Apple to proactively publish sources, they just need to be able to supply them upon request.
- danieldk 12y agoIndeed, that's what the GPL requires. There is absolutely no necessity to put the sources online like they do. Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, Source: https://www.gnu.org/licenses/gpl-2.0.html https://www.gnu.org/licenses/gpl-2.0.html
- brymaster 12y agoActually, it's in Apple's best interests to simply post the sources online and not play fast and loose with licensing as you're suggesting. http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#WhatDoesWrittenOfferValid http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#Wh... Source is not distributed along with their binaries nor is a written offer to receive source code that I've seen. http://support.apple.com/kb/DL1761 http://support.apple.com/kb/DL1761 & http://www.gnu.org/licenses/gpl-violation.html http://www.gnu.org/licenses/gpl-violation.html
- cal2 12y agoI find it very mildly ironic that the author is comparing these "ancient" versions to MacPorts. Am I naïve, or do the overwhelming majority of OS X developers use Homebrew nowadays? I've always thought Homebrew to be much more robust than MacPorts. However, I've never actually used MacPorts heavily (and probably never will).
- shurcooL 12y agoEvery developer I know in SF uses Homebrew, never seen anyone use MacPorts.
- GuiA 12y agoMost developers I know who use OSX use brew; fink used to be the big thing, then macports. I know for some certain packages, macports is still preferred.
- mbreese 12y agoI don't use any of the extra package managers for OSX. I'd rather let Apple manage the tools available in OSX. If I need to do work where I find the command-line tools on OSX lacking, I'll end up working on a remote server or use a local Linux VM. I try to not muck around with the base installs too much - it makes it too difficult to migrate between machines.
- loganekz 12y agoYou should look into homebrew[1] if you haven't already. It installs everything in /usr/local and does not mess with the base install. To migrate between machines you can do something as simple as brew list > brew.txt [1] http://brew.sh http://brew.sh
- dilap 12y agoI used MacPorts way back in the day; Homebrew is about a gazillion times better.
- 12y ago
- kevinqualters 12y agoIs it a meta joke with the internal server error response?
- markbnj 12y agoCame here to post this.
- runeks 12y agoNo. Here's the cached page: https://webcache.googleusercontent.com/search?q=cache:gK9O2mS2Q30J:robservatory.com/behind-os-xs-modern-face-lies-an-aging-collection-of-unix-tools/+&cd=1&hl=da&ct=clnk&gl=dk https://webcache.googleusercontent.com/search?q=cache:gK9O2m...
- cgrubb 12y agoalso make, which is stuck at 3.81 (2006) sort appears to be (2005), and doesn't have the -R flag for shuffling also missing: head -n -NUM (all but last NUM lines) and tail -n +NUM (all but the first NUM lines)
- X-Istence 12y agoI kind of want Apple to steal most of the userland tools from FreeBSD like they have done in the past...
- cpach 12y agoSeconded. If FreeBSD can replace GPL software, so can Apple.
- tptacek 12y agoOS X wasn't vulnerable because it shipped an old version of bash. It was vulnerable because it relied on bash at all.
- wyager 12y agoI was curious why OpenBSD didn't ship Bash by default. Perhaps they weren't happy with the code quality.
- danieldk 12y agoBSDs haven't shipped with bash historically and the BSD projects do not like shipping GPL software.
- imanaccount247 12y agoNot happy with the shell quality, code quality, or license. Bash is massive compared to pdksh (what openbsd uses), has frightening code, and openbsd rejects GPL code as much as possible (gcc/binutils is the only GPL software in the tree, and no new GPL software is considered).
- yxhuvud 12y agoEither that, or the license.
- wglb 12y agoI think it is because bash is a huge thing, both in terms of program size (functionality) and attack surface.
- vertex-four 12y agoMost BSDs don't ship bash as their default shell. FreeBSD, for example, ships tcsh.
- D4AHNGM 12y agoDoes OpenBSD ship zsh by default, out of interest?
- 12y ago
- snorkel 12y agoI've worked at Microsoft and can attest that while it's OK to use open source tools internally the IP lawyers don't want anyone touching GPL v3 tools to do anything. If you suspect a project might have been even the slightest contact with anything GPL 3 you must call for an immediate code scan and legal review. You cant even use GPL 3 inside of an internal web tool. I imagine Apple and other proprietary software publishers have the same mandate to their troops. So yes, GPL 3 is hurting open source more than helping it. Disclaimer: I don't speak for Microsoft. These are my personal observations. And I no longer work there.
- steveklabnik 12y agoWell, the GPLv3 is probably helping open source, and harming free software ;) I would disagree with this stance though. The aim of free software is a moral one, it has nothing to do with being the most-used or the most popular.
- snorkel 12y agoSure free software has moral agenda, but imagine you work for a big company and you can't use a lot great open source tools at your job because the license is deliberately crafted to scare and challenge the IP lawyers of any software company.
- serf 12y ago>imagine you work for a big company and you can't use a lot great open source tools at your job that's Big Company's fault. As an employee you'd take your complaint to them. The license is not "deliberately crafted to scare and challenge IP lawyers", it's designed to avoid the shitty tactics that some tech companys' have been using the past few years to make their primary profits : mass IP buyups and subsequent lawsuits towards all of the other members of the industry.
- sauere 12y ago> So yes, GPL 3 is hurting open source more than helping it. The GPL and the organization behind it, the Free Software Foundation, do not care about "open source". They care about free Software, free as in freedom. /edit: before i get a ton of downvotes: i don't fully agree with with the FSFs policies or definition of "free softare", im just pointing it out.
- davexunit 12y ago>Basically, the cause of the aging Unix tools in OS X is GPL v3. That makes it sound like it's the GPL's fault that OS X users don't get up-to-date utilities. Blame Apple's bad policy, not the GPL.
- Sanddancer 12y agoIt is the GPL's fault. There was enough change in the social implications of v3 that Apple, and a lot of other stakeholders, don't want to mess with it anymore. The FreeBSD team, for example, has very similar reasons for not including GPL3-infected software, and are actively replacing all GPL software with BSD-licensed software in the base install.
- davexunit 12y ago>GPL3-infected software I don't think we can have a rational discussion about this.
- akerl_ 12y agoThe GPL is a viral license; it's an intentional choice on their part, and "viral" and "infected" are pretty accurate ways to describe it. Whether you believe that this nature is a good thing for development or a bad thing, disagreeing about the fundamental nature of how the GPL works isn't productive.
- danieldk 12y agoThe GPL is a viral license; it's an intentional choice on their part, and "viral" and "infected" are pretty accurate ways to describe it. For libraries. We are talking user land tools here, which are standalone. Providing a new bash version doesn't 'infect' any other software. I think the extended (or some would say more explicit) patent license in the GPLv3 is what troubles many companies.
- icebraining 12y agoWhen you find a virus that you have to voluntarily get infected by, let me know. Until then, is just biased language.
- hotweels 12y agoThe way the article is framed, you'd think that it's somehow the GPL's fault that these applications aren't being updated. Seriously? Why doesnt Apple write their own implementations of those applications? Why shift blame to the license? What a crock of shit
- serf 12y agothat's how Apple works. They don't make mistakes, they remedy mistakes that others have caused--loudly--while hinting at someone else owning responsibility for the issue. Sort of like the 'You're holding it wrong" response to iPhone reception back a few years ago. http://www.cnn.com/2010/TECH/mobile/06/25/iphone.problems.response/ http://www.cnn.com/2010/TECH/mobile/06/25/iphone.problems.re...
- dwpdwpdwpdwpdwp 12y agoAs someone in the comments section of the original post put it, "newer doesn't mean better". Obviously software with security, stability, or performance issues should be re-written, but software doesn't "age" in the usual sense of the word; the source code can be re-compiled for brand-new machines/processors. A 2004 version of grep will always do everything I need grep to do.
- D4AHNGM 12y agoAm I misunderstanding what the author means by 'real release' in terms of OpenSSL? OpenSSL themselves pushed 0.9.8za and Apple later adopted it after a significant amount of nagging in the developer's forums on the issue.
- based2 12y agohttp://en.wikipedia.org/wiki/MkLinux http://en.wikipedia.org/wiki/MkLinux