{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/32274902","id":32274902,"diff_hunk":"@@ -0,0 +1,21 @@\n+class JdnssecTools < Formula\n+  desc \"Java command-line tools for DNSSEC\"\n+  homepage \"http://www.verisignlabs.com/jdnssec-tools/\"\n+  url \"http://www.verisignlabs.com/dnssec-tools/packages/jdnssec-tools-0.12.tar.gz\"\n+  sha256 \"3fa0bfe062051d9048c5186adbb04d8f5e176e50da3cdcf9b0d97e1c558efc22\"\n+\n+  depends_on :java\n+\n+  def install\n+    inreplace Dir[\"bin/*\"] do |s|\n+      s.gsub! /basedir=.*/, \"basedir=#{libexec}\"\n+    end\n+    bin.install Dir[\"bin/*\"]","path":"Library/Formula/jdnssec-tools.rb","position":13,"original_position":13,"commit_id":"abd1cfce8aae8655b6fbf244d67d4df6ec80bdb1","original_commit_id":"b704c6e02e1d687738f235042aa9d4c329d5d348","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"Cool. That works for me at least. Are there any problems setting the `basedir` in `libexec` but installing the executables directly in `bin`?","created_at":"2015-06-11T22:21:52Z","updated_at":"2015-06-11T22:21:52Z","html_url":"https://github.com/Homebrew/homebrew/pull/39855#discussion_r32274902","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/32274902"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/39855#discussion_r32274902"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855","id":35593428,"html_url":"https://github.com/Homebrew/homebrew/pull/39855","diff_url":"https://github.com/Homebrew/homebrew/pull/39855.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/39855.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39855","number":39855,"state":"open","locked":false,"title":"jdnssec-tools 0.12","user":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"body":"This is a binary (jar) formula - I tried building from source but this project uses ant instead of maven so that would mean also packaging up two dependencies which seemed like overkill to me - and to make it worse, the author forked those dependencies in an incompatible way to their originals.\r\n","created_at":"2015-05-17T21:11:15Z","updated_at":"2015-06-11T22:21:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b3c2f0793e959b031503de72bacf76f1e1dd6f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39855/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/abd1cfce8aae8655b6fbf244d67d4df6ec80bdb1","head":{"label":"Habbie:jdnssec-tools","ref":"jdnssec-tools","sha":"abd1cfce8aae8655b6fbf244d67d4df6ec80bdb1","user":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"repo":{"id":14896057,"name":"homebrew","full_name":"Habbie/homebrew","owner":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Habbie/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/Habbie/homebrew","forks_url":"https://api.github.com/repos/Habbie/homebrew/forks","keys_url":"https://api.github.com/repos/Habbie/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Habbie/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Habbie/homebrew/teams","hooks_url":"https://api.github.com/repos/Habbie/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Habbie/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Habbie/homebrew/events","assignees_url":"https://api.github.com/repos/Habbie/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Habbie/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Habbie/homebrew/tags","blobs_url":"https://api.github.com/repos/Habbie/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Habbie/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Habbie/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Habbie/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Habbie/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Habbie/homebrew/languages","stargazers_url":"https://api.github.com/repos/Habbie/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Habbie/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Habbie/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Habbie/homebrew/subscription","commits_url":"https://api.github.com/repos/Habbie/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Habbie/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Habbie/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Habbie/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Habbie/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Habbie/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Habbie/homebrew/merges","archive_url":"https://api.github.com/repos/Habbie/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Habbie/homebrew/downloads","issues_url":"https://api.github.com/repos/Habbie/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Habbie/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Habbie/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Habbie/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Habbie/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Habbie/homebrew/releases{/id}","created_at":"2013-12-03T14:33:43Z","updated_at":"2014-07-09T11:54:59Z","pushed_at":"2015-06-11T20:47:16Z","git_url":"git://github.com/Habbie/homebrew.git","ssh_url":"git@github.com:Habbie/homebrew.git","clone_url":"https://github.com/Habbie/homebrew.git","svn_url":"https://github.com/Habbie/homebrew","homepage":"http://brew.sh","size":46645,"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":"bf71f01ace35e2f3973f8a7cccd66844b0c7bb90","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-06-11T22:03:31Z","pushed_at":"2015-06-11T22:21:09Z","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":1527603,"stargazers_count":23498,"watchers_count":23498,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11793,"mirror_url":null,"open_issues_count":360,"forks":11793,"open_issues":360,"watchers":23498,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/39855"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/39855"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/39855/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/39855/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/abd1cfce8aae8655b6fbf244d67d4df6ec80bdb1"}}}}