Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Support OS X fully #16

Closed
4 of 7 tasks
mietek opened this issue Jan 27, 2015 · 4 comments
Closed
4 of 7 tasks

Support OS X fully #16

mietek opened this issue Jan 27, 2015 · 4 comments

Comments

@mietek
Copy link
Owner

mietek commented Jan 27, 2015

Most of the work is already done. Everything is expected to work on OS X, except installing native OS packages declared with HALCYON_SANDBOX_EXTRA_OS_PACKAGES or HALCYON_EXTRA_OS_PACKAGES.

  • Improve the setup process for GNU bash 3, as it doesn’t recognise the source <( … ) syntax.

    $ curl -sL https://github.com/mietek/halcyon/raw/master/setup.sh >/tmp/halcyon-setup.sh && . /tmp/halcyon-setup.sh
    $ /app/halcyon/halcyon paths >/tmp/halcyon-paths.sh && . /tmp/halcyon-paths.sh
    
  • Provide public storage archives for OS X 10.9 and 10.10.

  • Speed up stripping GHC on OS X (Speed up stripping GHC on OS X #43)

  • Prevent the OS X linker from complaining about non-existent directories passed to cabal install.

    ld: warning: directory not found for option '-L/app/sandbox/usr/lib'
    
  • Prevent the OS X linker from complaining about non-existent directories in LD_LIBRARY_PATH.

    ld: warning: directory not found for option '-L/app/lib'
    ld: warning: directory not found for option '-L/app/usr/lib'
    ld: warning: directory not found for option '-L/app/ghc/usr/lib'
    ld: warning: directory not found for option '-L/app/sandbox/usr/lib'
    
  • Ensure the dependency on GNU bash 4, GNU date, and GNU sort is documented, or removed.

    $ brew install bash coreutils
    
  • Wrap around brew to support installing native OS packages.

Depends on mietek/bashmenot#2.

@mietek mietek changed the title Support OS X Support OS X fully Feb 14, 2015
mietek added a commit that referenced this issue Feb 21, 2015
@mietek
Copy link
Owner Author

mietek commented Mar 15, 2015

With b9ddddd, one of the OS X linker complaints is now gone. Getting rid of the other ones will probably require rethinking paths.sh.

@mietek
Copy link
Owner Author

mietek commented Mar 21, 2015

With 3419002 and e139265, there is now a workaround for the problem with stripping GHC on OS X (#43).

@kalupa
Copy link

kalupa commented Sep 26, 2015

Not to throw a wrench in the works here, but this document might be something to peruse
http://www.macworld.co.uk/feature/mac-software/el-capitan-ios-9-security-enhancements-3620858/

It might be worth looking into using something other than /app for halcyon on OS X going forward.

Main change is thus:

"... prevent the modification or removal of certain system files even by administrative overrides. This means that no user, application, or process will be able to write files or modify files in the root System folder or the /bin, /sbin, and /usr directories, which are hidden by default in OS X’s Finder. The /usr/local folder will still be accessible though."

@mietek
Copy link
Owner Author

mietek commented Feb 14, 2019

I’m sorry. This project is no longer maintained.

@mietek mietek closed this as completed Feb 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants