{"action":"created","comment":{"url":"https://api.github.com/repos/voidlinux/void-packages/pulls/comments/30015366","id":30015366,"diff_hunk":"@@ -1,35 +1,208 @@\n # Template file for 'inetutils'\n pkgname=inetutils\n version=1.9.2\n-revision=1\n+revision=2\n build_style=gnu-configure\n-configure_args=\"--without-wrap --with-pam --enable-ftp --enable-ftpd\n- --enable-telnet --enable-telnetd --enable-talk --enable-talkd\n- --enable-rlogin --enable-rlogind --enable-rsh --enable-rshd\n- --enable-rcp --enable-hostname --disable-rexec --disable-rexecd\n- --disable-tftp --disable-tftpd --disable-ping --disable-ping6\n- --disable-logger --disable-syslogd --disable-inetd --disable-whois\n- --disable-uucpd --disable-ifconfig --disable-traceroute\"\n-makedepends=\"ncurses-devel pam-devel readline-devel\"\n+configure_args=\"--without-wrap --with-pam\"\n+makedepends=\"pam-devel readline-devel\"\n+depends=\"${pkgname}-dnsdomainname ${pkgname}-hostname ${pkgname}-ifconfig\n+ ${pkgname}-ftp ${pkgname}-ping ${pkgname}-rcp ${pkgname}-rexec\n+ ${pkgname}-rlogin ${pkgname}-rsh ${pkgname}-talk ${pkgname}-telnet\n+ ${pkgname}-tftp ${pkgname}-traceroute ${pkgname}-whois ${pkgname}-inetd\n+ ${pkgname}-syslog ${pkgname}-uucpd\"\n short_desc=\"GNU network utilities\"\n maintainer=\"Juan RP <xtraeme@voidlinux.eu>\"\n license=\"GPL-3\"\n homepage=\"http://www.gnu.org/software/inetutils\"\n-distfiles=\"http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz\"\n+distfiles=\"${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz\"\n checksum=0423ea40a160cd4630f817e247df5c08ecc625378d2bb56a0509117a36a89913\n \n pre_configure() {\n+\tlocal subpkg\n \tsed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h\n+\t# Create a definition to allow the ifconfig program to build properly\n+\techo '#define PATH_PROCNET_DEV \"/proc/net/dev\"' >> ifconfig/system/linux.h\n+\tcase \"$XBPS_TARGET_MACHINE\" in\n+\t*-musl)\n+\t\t# Disable subpackages which won't build\n+\t\tfor subpkg in rcp rlogin rsh rshd talk talkd; do\n+\t\t\tsubpackages=${subpackages/$pkgname-$subpkg/}\n+\t\t\tdepends=${depends/$pkgname-$subpkg/}\n+\t\t\tconfigure_args+=\" --disable-$subpkg\"\n+\t\tdone\n+\t\texport subpackages\n+\t\techo \"subpackages: $(echo $subpackages|fmt)\"","path":"srcpkgs/inetutils/template","position":44,"original_position":44,"commit_id":"e2aff9b0589947ac39aa4664e076b4d0dbf99032","original_commit_id":"e2aff9b0589947ac39aa4664e076b4d0dbf99032","user":{"login":"xtraeme","id":860073,"avatar_url":"https://avatars.githubusercontent.com/u/860073?v=3","gravatar_id":"","url":"https://api.github.com/users/xtraeme","html_url":"https://github.com/xtraeme","followers_url":"https://api.github.com/users/xtraeme/followers","following_url":"https://api.github.com/users/xtraeme/following{/other_user}","gists_url":"https://api.github.com/users/xtraeme/gists{/gist_id}","starred_url":"https://api.github.com/users/xtraeme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtraeme/subscriptions","organizations_url":"https://api.github.com/users/xtraeme/orgs","repos_url":"https://api.github.com/users/xtraeme/repos","events_url":"https://api.github.com/users/xtraeme/events{/privacy}","received_events_url":"https://api.github.com/users/xtraeme/received_events","type":"User","site_admin":false},"body":"This won't work if you run `xbps-src` progressively by running a phase, i.e:\r\n\r\n    $ ./xbps-src build ...\r\n    $ ./xbps-src pkg ...\r\n\r\nPlease take a lookg at `gcc` to set subpackages properly.","created_at":"2015-05-11T06:30:57Z","updated_at":"2015-05-11T06:30:57Z","html_url":"https://github.com/voidlinux/void-packages/pull/1517#discussion_r30015366","pull_request_url":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517","_links":{"self":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/comments/30015366"},"html":{"href":"https://github.com/voidlinux/void-packages/pull/1517#discussion_r30015366"},"pull_request":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517"}}},"pull_request":{"url":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517","id":34861697,"html_url":"https://github.com/voidlinux/void-packages/pull/1517","diff_url":"https://github.com/voidlinux/void-packages/pull/1517.diff","patch_url":"https://github.com/voidlinux/void-packages/pull/1517.patch","issue_url":"https://api.github.com/repos/voidlinux/void-packages/issues/1517","number":1517,"state":"open","locked":false,"title":"inetutils: split into packages","user":{"login":"pullmoll","id":10061347,"avatar_url":"https://avatars.githubusercontent.com/u/10061347?v=3","gravatar_id":"","url":"https://api.github.com/users/pullmoll","html_url":"https://github.com/pullmoll","followers_url":"https://api.github.com/users/pullmoll/followers","following_url":"https://api.github.com/users/pullmoll/following{/other_user}","gists_url":"https://api.github.com/users/pullmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/pullmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pullmoll/subscriptions","organizations_url":"https://api.github.com/users/pullmoll/orgs","repos_url":"https://api.github.com/users/pullmoll/repos","events_url":"https://api.github.com/users/pullmoll/events{/privacy}","received_events_url":"https://api.github.com/users/pullmoll/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-06T21:22:25Z","updated_at":"2015-05-11T06:30:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec73fb526ec95ace3b098b3ca75e86e3fa576fb9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517/commits","review_comments_url":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517/comments","review_comment_url":"https://api.github.com/repos/voidlinux/void-packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voidlinux/void-packages/issues/1517/comments","statuses_url":"https://api.github.com/repos/voidlinux/void-packages/statuses/e2aff9b0589947ac39aa4664e076b4d0dbf99032","head":{"label":"pullmoll:inetutils","ref":"inetutils","sha":"e2aff9b0589947ac39aa4664e076b4d0dbf99032","user":{"login":"pullmoll","id":10061347,"avatar_url":"https://avatars.githubusercontent.com/u/10061347?v=3","gravatar_id":"","url":"https://api.github.com/users/pullmoll","html_url":"https://github.com/pullmoll","followers_url":"https://api.github.com/users/pullmoll/followers","following_url":"https://api.github.com/users/pullmoll/following{/other_user}","gists_url":"https://api.github.com/users/pullmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/pullmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pullmoll/subscriptions","organizations_url":"https://api.github.com/users/pullmoll/orgs","repos_url":"https://api.github.com/users/pullmoll/repos","events_url":"https://api.github.com/users/pullmoll/events{/privacy}","received_events_url":"https://api.github.com/users/pullmoll/received_events","type":"User","site_admin":false},"repo":{"id":34654348,"name":"void-packages","full_name":"pullmoll/void-packages","owner":{"login":"pullmoll","id":10061347,"avatar_url":"https://avatars.githubusercontent.com/u/10061347?v=3","gravatar_id":"","url":"https://api.github.com/users/pullmoll","html_url":"https://github.com/pullmoll","followers_url":"https://api.github.com/users/pullmoll/followers","following_url":"https://api.github.com/users/pullmoll/following{/other_user}","gists_url":"https://api.github.com/users/pullmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/pullmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pullmoll/subscriptions","organizations_url":"https://api.github.com/users/pullmoll/orgs","repos_url":"https://api.github.com/users/pullmoll/repos","events_url":"https://api.github.com/users/pullmoll/events{/privacy}","received_events_url":"https://api.github.com/users/pullmoll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pullmoll/void-packages","description":"The XBPS source packages collection","fork":true,"url":"https://api.github.com/repos/pullmoll/void-packages","forks_url":"https://api.github.com/repos/pullmoll/void-packages/forks","keys_url":"https://api.github.com/repos/pullmoll/void-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pullmoll/void-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pullmoll/void-packages/teams","hooks_url":"https://api.github.com/repos/pullmoll/void-packages/hooks","issue_events_url":"https://api.github.com/repos/pullmoll/void-packages/issues/events{/number}","events_url":"https://api.github.com/repos/pullmoll/void-packages/events","assignees_url":"https://api.github.com/repos/pullmoll/void-packages/assignees{/user}","branches_url":"https://api.github.com/repos/pullmoll/void-packages/branches{/branch}","tags_url":"https://api.github.com/repos/pullmoll/void-packages/tags","blobs_url":"https://api.github.com/repos/pullmoll/void-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pullmoll/void-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pullmoll/void-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/pullmoll/void-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pullmoll/void-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/pullmoll/void-packages/languages","stargazers_url":"https://api.github.com/repos/pullmoll/void-packages/stargazers","contributors_url":"https://api.github.com/repos/pullmoll/void-packages/contributors","subscribers_url":"https://api.github.com/repos/pullmoll/void-packages/subscribers","subscription_url":"https://api.github.com/repos/pullmoll/void-packages/subscription","commits_url":"https://api.github.com/repos/pullmoll/void-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/pullmoll/void-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/pullmoll/void-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/pullmoll/void-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/pullmoll/void-packages/contents/{+path}","compare_url":"https://api.github.com/repos/pullmoll/void-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pullmoll/void-packages/merges","archive_url":"https://api.github.com/repos/pullmoll/void-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pullmoll/void-packages/downloads","issues_url":"https://api.github.com/repos/pullmoll/void-packages/issues{/number}","pulls_url":"https://api.github.com/repos/pullmoll/void-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/pullmoll/void-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/pullmoll/void-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pullmoll/void-packages/labels{/name}","releases_url":"https://api.github.com/repos/pullmoll/void-packages/releases{/id}","created_at":"2015-04-27T08:19:36Z","updated_at":"2015-05-08T16:54:48Z","pushed_at":"2015-05-11T04:36:19Z","git_url":"git://github.com/pullmoll/void-packages.git","ssh_url":"git@github.com:pullmoll/void-packages.git","clone_url":"https://github.com/pullmoll/void-packages.git","svn_url":"https://github.com/pullmoll/void-packages","homepage":"http://www.voidlinux.eu","size":56105,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"voidlinux:master","ref":"master","sha":"a0918c133f02ed45ba169a54d0ff0128256fea57","user":{"login":"voidlinux","id":1512782,"avatar_url":"https://avatars.githubusercontent.com/u/1512782?v=3","gravatar_id":"","url":"https://api.github.com/users/voidlinux","html_url":"https://github.com/voidlinux","followers_url":"https://api.github.com/users/voidlinux/followers","following_url":"https://api.github.com/users/voidlinux/following{/other_user}","gists_url":"https://api.github.com/users/voidlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/voidlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidlinux/subscriptions","organizations_url":"https://api.github.com/users/voidlinux/orgs","repos_url":"https://api.github.com/users/voidlinux/repos","events_url":"https://api.github.com/users/voidlinux/events{/privacy}","received_events_url":"https://api.github.com/users/voidlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":2060910,"name":"void-packages","full_name":"voidlinux/void-packages","owner":{"login":"voidlinux","id":1512782,"avatar_url":"https://avatars.githubusercontent.com/u/1512782?v=3","gravatar_id":"","url":"https://api.github.com/users/voidlinux","html_url":"https://github.com/voidlinux","followers_url":"https://api.github.com/users/voidlinux/followers","following_url":"https://api.github.com/users/voidlinux/following{/other_user}","gists_url":"https://api.github.com/users/voidlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/voidlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidlinux/subscriptions","organizations_url":"https://api.github.com/users/voidlinux/orgs","repos_url":"https://api.github.com/users/voidlinux/repos","events_url":"https://api.github.com/users/voidlinux/events{/privacy}","received_events_url":"https://api.github.com/users/voidlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voidlinux/void-packages","description":"The XBPS source packages collection","fork":false,"url":"https://api.github.com/repos/voidlinux/void-packages","forks_url":"https://api.github.com/repos/voidlinux/void-packages/forks","keys_url":"https://api.github.com/repos/voidlinux/void-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voidlinux/void-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voidlinux/void-packages/teams","hooks_url":"https://api.github.com/repos/voidlinux/void-packages/hooks","issue_events_url":"https://api.github.com/repos/voidlinux/void-packages/issues/events{/number}","events_url":"https://api.github.com/repos/voidlinux/void-packages/events","assignees_url":"https://api.github.com/repos/voidlinux/void-packages/assignees{/user}","branches_url":"https://api.github.com/repos/voidlinux/void-packages/branches{/branch}","tags_url":"https://api.github.com/repos/voidlinux/void-packages/tags","blobs_url":"https://api.github.com/repos/voidlinux/void-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voidlinux/void-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voidlinux/void-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/voidlinux/void-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voidlinux/void-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/voidlinux/void-packages/languages","stargazers_url":"https://api.github.com/repos/voidlinux/void-packages/stargazers","contributors_url":"https://api.github.com/repos/voidlinux/void-packages/contributors","subscribers_url":"https://api.github.com/repos/voidlinux/void-packages/subscribers","subscription_url":"https://api.github.com/repos/voidlinux/void-packages/subscription","commits_url":"https://api.github.com/repos/voidlinux/void-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/voidlinux/void-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/voidlinux/void-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/voidlinux/void-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/voidlinux/void-packages/contents/{+path}","compare_url":"https://api.github.com/repos/voidlinux/void-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voidlinux/void-packages/merges","archive_url":"https://api.github.com/repos/voidlinux/void-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voidlinux/void-packages/downloads","issues_url":"https://api.github.com/repos/voidlinux/void-packages/issues{/number}","pulls_url":"https://api.github.com/repos/voidlinux/void-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/voidlinux/void-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/voidlinux/void-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voidlinux/void-packages/labels{/name}","releases_url":"https://api.github.com/repos/voidlinux/void-packages/releases{/id}","created_at":"2011-07-17T07:26:35Z","updated_at":"2015-05-08T21:00:40Z","pushed_at":"2015-05-11T06:21:39Z","git_url":"git://github.com/voidlinux/void-packages.git","ssh_url":"git@github.com:voidlinux/void-packages.git","clone_url":"https://github.com/voidlinux/void-packages.git","svn_url":"https://github.com/voidlinux/void-packages","homepage":"http://www.voidlinux.eu","size":129170,"stargazers_count":71,"watchers_count":71,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":96,"forks":84,"open_issues":96,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517"},"html":{"href":"https://github.com/voidlinux/void-packages/pull/1517"},"issue":{"href":"https://api.github.com/repos/voidlinux/void-packages/issues/1517"},"comments":{"href":"https://api.github.com/repos/voidlinux/void-packages/issues/1517/comments"},"review_comments":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517/comments"},"review_comment":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voidlinux/void-packages/pulls/1517/commits"},"statuses":{"href":"https://api.github.com/repos/voidlinux/void-packages/statuses/e2aff9b0589947ac39aa4664e076b4d0dbf99032"}}}}