{"action":"created","issue":{"url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/86","repository_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng","labels_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/86/comments","events_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/86/events","html_url":"https://github.com/aircrack-ng/aircrack-ng/pull/86","id":193265548,"number":86,"title":"Fix build on OSX for OpenSSL","user":{"login":"deedweird","id":1088146,"avatar_url":"https://avatars.githubusercontent.com/u/1088146?v=3","gravatar_id":"","url":"https://api.github.com/users/deedweird","html_url":"https://github.com/deedweird","followers_url":"https://api.github.com/users/deedweird/followers","following_url":"https://api.github.com/users/deedweird/following{/other_user}","gists_url":"https://api.github.com/users/deedweird/gists{/gist_id}","starred_url":"https://api.github.com/users/deedweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deedweird/subscriptions","organizations_url":"https://api.github.com/users/deedweird/orgs","repos_url":"https://api.github.com/users/deedweird/repos","events_url":"https://api.github.com/users/deedweird/events{/privacy}","received_events_url":"https://api.github.com/users/deedweird/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-03T04:46:58Z","updated_at":"2016-12-03T18:53:27Z","closed_at":"2016-12-03T18:53:27Z","pull_request":{"url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/pulls/86","html_url":"https://github.com/aircrack-ng/aircrack-ng/pull/86","diff_url":"https://github.com/aircrack-ng/aircrack-ng/pull/86.diff","patch_url":"https://github.com/aircrack-ng/aircrack-ng/pull/86.patch"},"body":"Those green ✓ are so much better than red ❌. I've added a patch to fix the Travis builds on OSX. Also tested it on Mac / El Capitan, it builds and passes checks fine both with and without xcode=true option.\r\n\r\nIn common.mak we define a variable OSX_ALT_FLAGS, which we set to true if we do \"make ... macport=true\" or \"make ... xcode = true\". Later we check if that flag is set to true, and if so - do nothing, because macport and xcode make options add their own stuff.\r\n\r\nIn files src/Makefile and test/cryptounittest/Makefile there are checks if gcrypt is used. If it is not used, then OpenSSL is used. There I've added a check if we're on Darwin and OSX_ALT_FLAGS is not true , then we add following:\r\n```\r\nCFLAGS\t\t+= -I/usr/local/opt/openssl/include\r\nLDFLAGS\t+= -L/usr/local/opt/openssl/lib\r\n```\r\n(These are suggested by 'brew install openssl')"},"comment":{"url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/comments/264657853","html_url":"https://github.com/aircrack-ng/aircrack-ng/pull/86#issuecomment-264657853","issue_url":"https://api.github.com/repos/aircrack-ng/aircrack-ng/issues/86","id":264657853,"user":{"login":"aircrack-ng","id":4042925,"avatar_url":"https://avatars.githubusercontent.com/u/4042925?v=3","gravatar_id":"","url":"https://api.github.com/users/aircrack-ng","html_url":"https://github.com/aircrack-ng","followers_url":"https://api.github.com/users/aircrack-ng/followers","following_url":"https://api.github.com/users/aircrack-ng/following{/other_user}","gists_url":"https://api.github.com/users/aircrack-ng/gists{/gist_id}","starred_url":"https://api.github.com/users/aircrack-ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aircrack-ng/subscriptions","organizations_url":"https://api.github.com/users/aircrack-ng/orgs","repos_url":"https://api.github.com/users/aircrack-ng/repos","events_url":"https://api.github.com/users/aircrack-ng/events{/privacy}","received_events_url":"https://api.github.com/users/aircrack-ng/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T18:53:27Z","updated_at":"2016-12-03T18:53:27Z","body":"Committed in [r2873](https://trac.aircrack-ng.org/changeset/2873)."}}
{"actor":{"display_login":"aircrack-ng"}}