{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/39341070","id":39341070,"diff_hunk":"@@ -0,0 +1,26 @@\n+class Libu2fServer < Formula\n+  desc \"Yubico Universal 2nd Factor (U2F) Server C Library\"\n+  homepage \"https://developers.yubico.com/libu2f-server/\"\n+  url \"https://developers.yubico.com/libu2f-server/Releases/libu2f-server-1.0.1.tar.xz\"\n+  sha256 \"a618f59051209d6d70c24cf42d64c9b67bd7dd5946b6dbd2c649181d7e8f1f6e\"\n+\n+  depends_on \"check\" => :build\n+  depends_on \"json-c\"\n+  depends_on \"openssl\"\n+\n+  def install\n+    args = [\"--prefix=#{prefix}\"]\n+    ENV[\"LIBSSL_LIBS\"] = \"-lssl -lcrypto -lz\"\n+    ENV[\"LIBCRYPTO_LIBS\"] = \"-lcrypto -lz\"\n+\n+    ENV[\"HELP2MAN\"] = \"/usr/local/bin/help2man --no-discard-stderr\"\n+    ENV[\"PKG_CONFIG\"] = \"/usr/local/bin/pkg-config\"\n+\n+    system \"./configure\", *args\n+    system \"make\", \"install\"\n+  end\n+\n+  test do\n+    system \"#{bin}/u2f-server\", \"--version\"","path":"Library/Formula/libu2f-server.rb","position":null,"original_position":24,"commit_id":"043271b20c3a85d78b8a0d3a19c1fd448ba25962","original_commit_id":"1362f946e7137aa4bc5c59c4be1d8777cec8a57e","user":{"login":"dlo","id":38447,"avatar_url":"https://avatars.githubusercontent.com/u/38447?v=3","gravatar_id":"","url":"https://api.github.com/users/dlo","html_url":"https://github.com/dlo","followers_url":"https://api.github.com/users/dlo/followers","following_url":"https://api.github.com/users/dlo/following{/other_user}","gists_url":"https://api.github.com/users/dlo/gists{/gist_id}","starred_url":"https://api.github.com/users/dlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlo/subscriptions","organizations_url":"https://api.github.com/users/dlo/orgs","repos_url":"https://api.github.com/users/dlo/repos","events_url":"https://api.github.com/users/dlo/events{/privacy}","received_events_url":"https://api.github.com/users/dlo/received_events","type":"User","site_admin":false},"body":"Tests added for libu2f-server.","created_at":"2015-09-12T20:23:27Z","updated_at":"2015-09-12T20:23:27Z","html_url":"https://github.com/Homebrew/homebrew/pull/43676#discussion_r39341070","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/39341070"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43676#discussion_r39341070"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676","id":44371724,"html_url":"https://github.com/Homebrew/homebrew/pull/43676","diff_url":"https://github.com/Homebrew/homebrew/pull/43676.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/43676.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43676","number":43676,"state":"open","locked":false,"title":"Add Yubico Universal Two-Factor Libraries and PAM Module","user":{"login":"dlo","id":38447,"avatar_url":"https://avatars.githubusercontent.com/u/38447?v=3","gravatar_id":"","url":"https://api.github.com/users/dlo","html_url":"https://github.com/dlo","followers_url":"https://api.github.com/users/dlo/followers","following_url":"https://api.github.com/users/dlo/following{/other_user}","gists_url":"https://api.github.com/users/dlo/gists{/gist_id}","starred_url":"https://api.github.com/users/dlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlo/subscriptions","organizations_url":"https://api.github.com/users/dlo/orgs","repos_url":"https://api.github.com/users/dlo/repos","events_url":"https://api.github.com/users/dlo/events{/privacy}","received_events_url":"https://api.github.com/users/dlo/received_events","type":"User","site_admin":false},"body":"Contains three formula:\r\n\r\n* libu2f-server\r\n* libu2f-host\r\n* pam_u2f (requires above two)\r\n\r\nThanks!","created_at":"2015-09-07T17:07:28Z","updated_at":"2015-09-12T20:23:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f37e0214f0741e64e9cbc3164c3589924bc2f26c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43676/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/043271b20c3a85d78b8a0d3a19c1fd448ba25962","head":{"label":"dlo:u2f","ref":"u2f","sha":"043271b20c3a85d78b8a0d3a19c1fd448ba25962","user":{"login":"dlo","id":38447,"avatar_url":"https://avatars.githubusercontent.com/u/38447?v=3","gravatar_id":"","url":"https://api.github.com/users/dlo","html_url":"https://github.com/dlo","followers_url":"https://api.github.com/users/dlo/followers","following_url":"https://api.github.com/users/dlo/following{/other_user}","gists_url":"https://api.github.com/users/dlo/gists{/gist_id}","starred_url":"https://api.github.com/users/dlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlo/subscriptions","organizations_url":"https://api.github.com/users/dlo/orgs","repos_url":"https://api.github.com/users/dlo/repos","events_url":"https://api.github.com/users/dlo/events{/privacy}","received_events_url":"https://api.github.com/users/dlo/received_events","type":"User","site_admin":false},"repo":{"id":42065055,"name":"homebrew","full_name":"dlo/homebrew","owner":{"login":"dlo","id":38447,"avatar_url":"https://avatars.githubusercontent.com/u/38447?v=3","gravatar_id":"","url":"https://api.github.com/users/dlo","html_url":"https://github.com/dlo","followers_url":"https://api.github.com/users/dlo/followers","following_url":"https://api.github.com/users/dlo/following{/other_user}","gists_url":"https://api.github.com/users/dlo/gists{/gist_id}","starred_url":"https://api.github.com/users/dlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlo/subscriptions","organizations_url":"https://api.github.com/users/dlo/orgs","repos_url":"https://api.github.com/users/dlo/repos","events_url":"https://api.github.com/users/dlo/events{/privacy}","received_events_url":"https://api.github.com/users/dlo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlo/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/dlo/homebrew","forks_url":"https://api.github.com/repos/dlo/homebrew/forks","keys_url":"https://api.github.com/repos/dlo/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlo/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlo/homebrew/teams","hooks_url":"https://api.github.com/repos/dlo/homebrew/hooks","issue_events_url":"https://api.github.com/repos/dlo/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/dlo/homebrew/events","assignees_url":"https://api.github.com/repos/dlo/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/dlo/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/dlo/homebrew/tags","blobs_url":"https://api.github.com/repos/dlo/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlo/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlo/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlo/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlo/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/dlo/homebrew/languages","stargazers_url":"https://api.github.com/repos/dlo/homebrew/stargazers","contributors_url":"https://api.github.com/repos/dlo/homebrew/contributors","subscribers_url":"https://api.github.com/repos/dlo/homebrew/subscribers","subscription_url":"https://api.github.com/repos/dlo/homebrew/subscription","commits_url":"https://api.github.com/repos/dlo/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlo/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlo/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlo/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlo/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/dlo/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlo/homebrew/merges","archive_url":"https://api.github.com/repos/dlo/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlo/homebrew/downloads","issues_url":"https://api.github.com/repos/dlo/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/dlo/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/dlo/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/dlo/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlo/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/dlo/homebrew/releases{/id}","created_at":"2015-09-07T17:04:35Z","updated_at":"2015-09-07T17:04:55Z","pushed_at":"2015-09-12T20:23:14Z","git_url":"git://github.com/dlo/homebrew.git","ssh_url":"git@github.com:dlo/homebrew.git","clone_url":"https://github.com/dlo/homebrew.git","svn_url":"https://github.com/dlo/homebrew","homepage":"http://brew.sh","size":1589684,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"bfea0f9e3efb5ce7af935928e17d974a788f19b9","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-09-12T18:03:48Z","pushed_at":"2015-09-12T20:23:21Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1589684,"stargazers_count":25129,"watchers_count":25129,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":12689,"mirror_url":null,"open_issues_count":434,"forks":12689,"open_issues":434,"watchers":25129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43676"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43676"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43676/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43676/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/043271b20c3a85d78b8a0d3a19c1fd448ba25962"}}}}