[117010] trunk/dports/net/openssh/Portfile

Clemens Lang cal at macports.org
Wed Feb 12 12:04:36 PST 2014


Hi,

> Revision: 117010
>           https://trac.macports.org/changeset/117010
> Author:   dluke at macports.org
> Date:     2014-02-12 11:36:37 -0800 (Wed, 12 Feb 2014)
> Log Message:
> -----------
> openssh: don't use our sandbox defs on 10.5
> 
> Modified Paths:
> --------------
>     trunk/dports/net/openssh/Portfile
> 
> Modified: trunk/dports/net/openssh/Portfile
> ===================================================================
> --- trunk/dports/net/openssh/Portfile	2014-02-12 19:34:32 UTC (rev 117009)
> +++ trunk/dports/net/openssh/Portfile	2014-02-12 19:36:37 UTC (rev 117010)
> @@ -5,7 +5,7 @@
>  
>  name                openssh
>  version             6.5p1
> -revision            2
> +revision            3
>  
>  categories          net
>  platforms           darwin
> @@ -184,6 +184,11 @@
>      }
>  }
>  
> +platform darwin 9 {
> +    # 10.5/ppc doesn't like the sandbox file we supply
> +    configure.cppflags-delete -D__APPLE_SANDBOX_NAMED_EXTERNAL__
> +}
> +
>  startupitem.create  yes
>  startupitem.name    OpenSSH
>  startupitem.start   \

I don't think this will work, because it moves the call to sandbox_init(3) behind a call to chroot(2), which cases the dlopen(libsandbox.1.dylib) executed by sandbox_init() to fail because the library isn't available in the chroot.

-- 
Clemens Lang


More information about the macports-dev mailing list