{"action":"closed","number":437,"pull_request":{"url":"https://api.github.com/repos/vmware/photon/pulls/437","id":66268891,"html_url":"https://github.com/vmware/photon/pull/437","diff_url":"https://github.com/vmware/photon/pull/437.diff","patch_url":"https://github.com/vmware/photon/pull/437.patch","issue_url":"https://api.github.com/repos/vmware/photon/issues/437","number":437,"state":"closed","locked":false,"title":"Rework RPM spec of PostgreSQL package","user":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"body":"While looking at the existing package spec of PostgreSQL, I noticed a\r\ncouple of issues and limitations regarding the way things are done:\r\n- A lot of library dependencies exist but nothing is done to actually\r\nuse them, among the things noticed are OpenLDAP, OpenSSL, krb5, libxml2.\r\n- All the deliverables are packaged as a whole, though not all\r\ndeployments care about the server, they could do well as well with only\r\nthe client-side things.\r\n- Contrib modules and extensions are not packaged.\r\n- Build dependency is incorrect, actually a set of -devel packages are\r\nneeded to make things able to compile properly.\r\n\r\nThis commit fixes all those issues by doing the following:\r\n- Add necessary flags in ./configure\r\n- Link build to correct libraries\r\n- Link RPM to correct dependencies\r\n- Have a -libs package with only the client-side things, that server\r\ndepends on as well. This way some deployments could just use that to\r\nconnect to a Postgres server without needed all the core packages.\r\n\r\nStill, nothing is done to build plperl and plpython, but depending on\r\nthe needs this could be done later, and surely as separate packages\r\nas those are security-sensitive things per their nature of untrusted\r\nlanguages.","created_at":"2016-04-13T05:50:06Z","updated_at":"2016-05-02T23:07:52Z","closed_at":"2016-05-02T23:07:52Z","merged_at":null,"merge_commit_sha":"d241a44b37c0c41aa4b7090837c0c0e6b7b41213","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vmware/photon/pulls/437/commits","review_comments_url":"https://api.github.com/repos/vmware/photon/pulls/437/comments","review_comment_url":"https://api.github.com/repos/vmware/photon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/photon/issues/437/comments","statuses_url":"https://api.github.com/repos/vmware/photon/statuses/673ee23d4a7888573b37e2a6290a2f6ad636490e","head":{"label":"michaelpq:postgres_spec","ref":"postgres_spec","sha":"673ee23d4a7888573b37e2a6290a2f6ad636490e","user":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"repo":{"id":56110244,"name":"photon","full_name":"michaelpq/photon","owner":{"login":"michaelpq","id":985332,"avatar_url":"https://avatars.githubusercontent.com/u/985332?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpq","html_url":"https://github.com/michaelpq","followers_url":"https://api.github.com/users/michaelpq/followers","following_url":"https://api.github.com/users/michaelpq/following{/other_user}","gists_url":"https://api.github.com/users/michaelpq/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpq/subscriptions","organizations_url":"https://api.github.com/users/michaelpq/orgs","repos_url":"https://api.github.com/users/michaelpq/repos","events_url":"https://api.github.com/users/michaelpq/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelpq/photon","description":"Minimal Linux container host","fork":true,"url":"https://api.github.com/repos/michaelpq/photon","forks_url":"https://api.github.com/repos/michaelpq/photon/forks","keys_url":"https://api.github.com/repos/michaelpq/photon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelpq/photon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelpq/photon/teams","hooks_url":"https://api.github.com/repos/michaelpq/photon/hooks","issue_events_url":"https://api.github.com/repos/michaelpq/photon/issues/events{/number}","events_url":"https://api.github.com/repos/michaelpq/photon/events","assignees_url":"https://api.github.com/repos/michaelpq/photon/assignees{/user}","branches_url":"https://api.github.com/repos/michaelpq/photon/branches{/branch}","tags_url":"https://api.github.com/repos/michaelpq/photon/tags","blobs_url":"https://api.github.com/repos/michaelpq/photon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelpq/photon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelpq/photon/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelpq/photon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelpq/photon/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelpq/photon/languages","stargazers_url":"https://api.github.com/repos/michaelpq/photon/stargazers","contributors_url":"https://api.github.com/repos/michaelpq/photon/contributors","subscribers_url":"https://api.github.com/repos/michaelpq/photon/subscribers","subscription_url":"https://api.github.com/repos/michaelpq/photon/subscription","commits_url":"https://api.github.com/repos/michaelpq/photon/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelpq/photon/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelpq/photon/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelpq/photon/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelpq/photon/contents/{+path}","compare_url":"https://api.github.com/repos/michaelpq/photon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelpq/photon/merges","archive_url":"https://api.github.com/repos/michaelpq/photon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelpq/photon/downloads","issues_url":"https://api.github.com/repos/michaelpq/photon/issues{/number}","pulls_url":"https://api.github.com/repos/michaelpq/photon/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelpq/photon/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelpq/photon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelpq/photon/labels{/name}","releases_url":"https://api.github.com/repos/michaelpq/photon/releases{/id}","deployments_url":"https://api.github.com/repos/michaelpq/photon/deployments","created_at":"2016-04-13T01:16:53Z","updated_at":"2016-04-13T01:16:56Z","pushed_at":"2016-04-13T05:49:35Z","git_url":"git://github.com/michaelpq/photon.git","ssh_url":"git@github.com:michaelpq/photon.git","clone_url":"https://github.com/michaelpq/photon.git","svn_url":"https://github.com/michaelpq/photon","homepage":"https://vmware.github.io/photon","size":45900,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vmware:master","ref":"master","sha":"3e848b540da5bf191db3da6520f621fe31f28814","user":{"login":"vmware","id":473334,"avatar_url":"https://avatars.githubusercontent.com/u/473334?v=3","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":34008153,"name":"photon","full_name":"vmware/photon","owner":{"login":"vmware","id":473334,"avatar_url":"https://avatars.githubusercontent.com/u/473334?v=3","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/photon","description":"Minimal Linux container host","fork":false,"url":"https://api.github.com/repos/vmware/photon","forks_url":"https://api.github.com/repos/vmware/photon/forks","keys_url":"https://api.github.com/repos/vmware/photon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/photon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/photon/teams","hooks_url":"https://api.github.com/repos/vmware/photon/hooks","issue_events_url":"https://api.github.com/repos/vmware/photon/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/photon/events","assignees_url":"https://api.github.com/repos/vmware/photon/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/photon/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/photon/tags","blobs_url":"https://api.github.com/repos/vmware/photon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/photon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/photon/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/photon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/photon/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/photon/languages","stargazers_url":"https://api.github.com/repos/vmware/photon/stargazers","contributors_url":"https://api.github.com/repos/vmware/photon/contributors","subscribers_url":"https://api.github.com/repos/vmware/photon/subscribers","subscription_url":"https://api.github.com/repos/vmware/photon/subscription","commits_url":"https://api.github.com/repos/vmware/photon/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/photon/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/photon/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/photon/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/photon/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/photon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/photon/merges","archive_url":"https://api.github.com/repos/vmware/photon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/photon/downloads","issues_url":"https://api.github.com/repos/vmware/photon/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/photon/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/photon/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/photon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/photon/labels{/name}","releases_url":"https://api.github.com/repos/vmware/photon/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/photon/deployments","created_at":"2015-04-15T17:22:47Z","updated_at":"2016-05-01T00:29:37Z","pushed_at":"2016-05-02T22:55:04Z","git_url":"git://github.com/vmware/photon.git","ssh_url":"git@github.com:vmware/photon.git","clone_url":"https://github.com/vmware/photon.git","svn_url":"https://github.com/vmware/photon","homepage":"https://vmware.github.io/photon","size":59160,"stargazers_count":835,"watchers_count":835,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":231,"mirror_url":null,"open_issues_count":35,"forks":231,"open_issues":35,"watchers":835,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/photon/pulls/437"},"html":{"href":"https://github.com/vmware/photon/pull/437"},"issue":{"href":"https://api.github.com/repos/vmware/photon/issues/437"},"comments":{"href":"https://api.github.com/repos/vmware/photon/issues/437/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/photon/pulls/437/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/photon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/photon/pulls/437/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/photon/statuses/673ee23d4a7888573b37e2a6290a2f6ad636490e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":124,"deletions":20,"changed_files":1}}