Commits
Dan Villiom Podlaski Christiansen authored d2ac66d1ffe
42 42 | destroot.args-append INSTALL_PREFIX=${prefix} |
43 43 | |
44 44 | # Temporary workaround for <rdar://problem/30056438 |
45 45 | # codesign fails with CSSMERR_CSP_INVALID_CONTEXT_HANDLE during destroot (but not build) when building through MacPorts |
46 46 | build.args-append CODE_SIGN_ENTITLEMENTS="" CODE_SIGN_IDENTITY="" |
47 47 | destroot.args-append CODE_SIGN_ENTITLEMENTS="" CODE_SIGN_IDENTITY="" |
48 48 | post-destroot { |
49 49 | xinstall -d -m 755 ${destroot}${prefix}/share/${name} |
50 50 | xinstall -m 644 -W ${worksrcpath} src/xhyve-entitlements.plist ${destroot}${prefix}/share/${name}/entitlements.plist |
51 51 | } |
52 - | post-activate { |
53 - | ui_msg "Please codesign ${prefix}/bin/xhyve with an appropriate identity and entitlements.plist:" |
54 - | ui_msg " sudo /usr/bin/codesign --force --sign <identity> -o library --entitlements ${prefix}/share/${name}/entitlements.plist ${xcode.destroot.path}/xhyve" |
55 - | } |
56 52 | |
57 53 | post-destroot { |
58 54 | xinstall -d -m 755 ${destroot}${prefix}/libexec/${name} |
59 55 | xinstall -m 755 -W ${worksrcpath} ${name}run.sh ${destroot}${prefix}/libexec/${name}/${name}run.sh.sample |
60 56 | xinstall -d -m 755 ${destroot}${prefix}/share/${name} |
61 57 | file copy ${worksrcpath}/test ${destroot}${prefix}/share/${name} |
62 58 | } |
63 59 | |
64 60 | notes " |
61 + | Please codesign ${prefix}/bin/xhyve with an appropriate identity and entitlements.plist: |
62 + | sudo /usr/bin/codesign --force --sign <identity> -o library --entitlements ${prefix}/share/${name}/entitlements.plist ${xcode.destroot.path}/xhyve |
63 + | |
65 64 | The shell script to run xhyve is installed as ${prefix}/libexec/${name}/${name}run.sh.sample. |
66 65 | Copy the script for editing. ${name}run.sh.sample will be overwritten when the port is updated. |
67 66 | " |