{"action":"created","issue":{"url":"https://api.github.com/repos/Kitware/CMake/issues/151","labels_url":"https://api.github.com/repos/Kitware/CMake/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/Kitware/CMake/issues/151/comments","events_url":"https://api.github.com/repos/Kitware/CMake/issues/151/events","html_url":"https://github.com/Kitware/CMake/pull/151","id":73442655,"number":151,"title":"QMacInstallDialog: Use Authorization Services to install command line to...","user":{"login":"oyarzun","id":2364606,"avatar_url":"https://avatars.githubusercontent.com/u/2364606?v=3","gravatar_id":"","url":"https://api.github.com/users/oyarzun","html_url":"https://github.com/oyarzun","followers_url":"https://api.github.com/users/oyarzun/followers","following_url":"https://api.github.com/users/oyarzun/following{/other_user}","gists_url":"https://api.github.com/users/oyarzun/gists{/gist_id}","starred_url":"https://api.github.com/users/oyarzun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyarzun/subscriptions","organizations_url":"https://api.github.com/users/oyarzun/orgs","repos_url":"https://api.github.com/users/oyarzun/repos","events_url":"https://api.github.com/users/oyarzun/events{/privacy}","received_events_url":"https://api.github.com/users/oyarzun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T21:54:22Z","updated_at":"2015-05-06T16:58:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Kitware/CMake/pulls/151","html_url":"https://github.com/Kitware/CMake/pull/151","diff_url":"https://github.com/Kitware/CMake/pull/151.diff","patch_url":"https://github.com/Kitware/CMake/pull/151.patch"},"body":"Use authorization services to install commad line tool symlinks on OSX.\r\nrelated to bug http://public.kitware.com/Bug/print_bug_page.php?bug_id=10056\r\nhttp://stackoverflow.com/questions/23849962/cmake-installer-for-mac-fails-to-create-usr-bin-symlinks\r\n"},"comment":{"url":"https://api.github.com/repos/Kitware/CMake/issues/comments/99537468","html_url":"https://github.com/Kitware/CMake/pull/151#issuecomment-99537468","issue_url":"https://api.github.com/repos/Kitware/CMake/issues/151","id":99537468,"user":{"login":"clintonstimpson","id":1463430,"avatar_url":"https://avatars.githubusercontent.com/u/1463430?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonstimpson","html_url":"https://github.com/clintonstimpson","followers_url":"https://api.github.com/users/clintonstimpson/followers","following_url":"https://api.github.com/users/clintonstimpson/following{/other_user}","gists_url":"https://api.github.com/users/clintonstimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonstimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonstimpson/subscriptions","organizations_url":"https://api.github.com/users/clintonstimpson/orgs","repos_url":"https://api.github.com/users/clintonstimpson/repos","events_url":"https://api.github.com/users/clintonstimpson/events{/privacy}","received_events_url":"https://api.github.com/users/clintonstimpson/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T16:58:14Z","updated_at":"2015-05-06T16:58:14Z","body":"Thanks for looking into this issue.\r\nOne concern I have with this patch is the use of the deprecated AuthorizationExecuteWithPrivileges() which has been deprecated for quite some time.\r\n\r\nI understand that the alternative is to have a helper application, which then required code signing.\r\nHowever, have you looked into using a shell script to solve this problem?  /bin/bash should already be code signed and it can simply run the script or commands.\r\nWill that approach work, and also use non-deprecated APIs?"}}