{"action":"created","comment":{"url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/comments/57230479","id":57230479,"diff_hunk":"@@ -0,0 +1,55 @@\n+SUMMARY = \"Open source MQTT v3.1 implemention\"\n+DESCRIPTION = \"Mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. \"\n+HOMEPAGE = \"http://mosquitto.org/\"\n+SECTION = \"console/network\"\n+LICENSE = \"BSD\"\n+LIC_FILES_CHKSUM = \"file://LICENSE.txt;md5=62ddc846179e908dc0c8efec4a42ef20\"\n+\n+DEPENDS = \"openssl util-linux\"\n+\n+PR = \"r0\"\n+\n+SRC_URI = \"http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \\\n+           file://build.patch \\\n+           file://mosquitto.service \\\n+\"\n+\n+SRC_URI[md5sum] = \"cd879f5964311501ba8e2275add71484\"\n+SRC_URI[sha256sum] = \"591f3adcb6ed92c01f7ace1c878af728b797fe836892535620aa6106f42dbcc6\"\n+\n+\n+do_install() {\n+    oe_runmake install DESTDIR=${D}\n+    install -d ${D}${libbir}\n+    install -m 0644 lib/libmosquitto.a ${D}${libdir}/\n+\n+    install -d ${D}${systemd_unitdir}/system/\n+    install -m 0644 ${WORKDIR}/mosquitto.service ${D}${systemd_unitdir}/system/\n+\n+    cp ${D}${sysconfdir}/mosquitto/mosquitto.conf.example ${D}${sysconfdir}/mosquitto/mosquitto.conf\n+    sed 's/#user mosquitto/user root/' -i ${D}${sysconfdir}/mosquitto/mosquitto.conf\n+}\n+\n+PACKAGES += \"libmosquitto1 libmosquittopp1 ${PN}-clients ${PN}-python\"\n+\n+FILES_${PN} = \"${sbindir}/mosquitto \\\n+               ${bindir}/mosquitto_passwd \\\n+               ${sysconfdir} \\","path":"recipes-modules/mosquitto/mosquitto_1.4.bb","position":37,"original_position":37,"commit_id":"afa79a17347a027b61b4dbb290701553ba80c8aa","original_commit_id":"afa79a17347a027b61b4dbb290701553ba80c8aa","user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"body":"why are you shipping sysconfdir? We shouldn't as this is going to be ignored by swupd in a stateless system.\r\n\r\nIf these are reference configurations, you can move them to /usr/share/mosquitto/sample/mosquitto.conf. Users would copy if they want to enable the service.\r\n\r\nAlso about stateless, it would be nice to have mosquito to work without a configuration file, work based on defaults. (not that important, we can create a ticket to handle it later)","created_at":"2016-03-23T20:26:13Z","updated_at":"2016-03-23T20:26:13Z","html_url":"https://github.com/solettaproject/meta-soletta/pull/51#discussion_r57230479","pull_request_url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/comments/57230479"},"html":{"href":"https://github.com/solettaproject/meta-soletta/pull/51#discussion_r57230479"},"pull_request":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51","id":63924871,"html_url":"https://github.com/solettaproject/meta-soletta/pull/51","diff_url":"https://github.com/solettaproject/meta-soletta/pull/51.diff","patch_url":"https://github.com/solettaproject/meta-soletta/pull/51.patch","issue_url":"https://api.github.com/repos/solettaproject/meta-soletta/issues/51","number":51,"state":"open","locked":false,"title":"soletta: Add mqtt build support","user":{"login":"brunobottazzini","id":4460234,"avatar_url":"https://avatars.githubusercontent.com/u/4460234?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobottazzini","html_url":"https://github.com/brunobottazzini","followers_url":"https://api.github.com/users/brunobottazzini/followers","following_url":"https://api.github.com/users/brunobottazzini/following{/other_user}","gists_url":"https://api.github.com/users/brunobottazzini/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobottazzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobottazzini/subscriptions","organizations_url":"https://api.github.com/users/brunobottazzini/orgs","repos_url":"https://api.github.com/users/brunobottazzini/repos","events_url":"https://api.github.com/users/brunobottazzini/events{/privacy}","received_events_url":"https://api.github.com/users/brunobottazzini/received_events","type":"User","site_admin":false},"body":"Soletta depends on lib mosquitto (Version >= 1.4) to build with mqtt support.\r\n\r\nThis patch adds the required recipe and the depends in Soletta recipe.\r\n\r\nSigned-off-by: Bruno Bottazzini <bruno.bottazzini@intel.com>","created_at":"2016-03-23T17:51:44Z","updated_at":"2016-03-23T20:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"081cf7ec0555e6d4a1b87c70c4b53b9113f980d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51/commits","review_comments_url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51/comments","review_comment_url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solettaproject/meta-soletta/issues/51/comments","statuses_url":"https://api.github.com/repos/solettaproject/meta-soletta/statuses/afa79a17347a027b61b4dbb290701553ba80c8aa","head":{"label":"brunobottazzini:mosquitto","ref":"mosquitto","sha":"afa79a17347a027b61b4dbb290701553ba80c8aa","user":{"login":"brunobottazzini","id":4460234,"avatar_url":"https://avatars.githubusercontent.com/u/4460234?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobottazzini","html_url":"https://github.com/brunobottazzini","followers_url":"https://api.github.com/users/brunobottazzini/followers","following_url":"https://api.github.com/users/brunobottazzini/following{/other_user}","gists_url":"https://api.github.com/users/brunobottazzini/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobottazzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobottazzini/subscriptions","organizations_url":"https://api.github.com/users/brunobottazzini/orgs","repos_url":"https://api.github.com/users/brunobottazzini/repos","events_url":"https://api.github.com/users/brunobottazzini/events{/privacy}","received_events_url":"https://api.github.com/users/brunobottazzini/received_events","type":"User","site_admin":false},"repo":{"id":40495449,"name":"meta-soletta","full_name":"brunobottazzini/meta-soletta","owner":{"login":"brunobottazzini","id":4460234,"avatar_url":"https://avatars.githubusercontent.com/u/4460234?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobottazzini","html_url":"https://github.com/brunobottazzini","followers_url":"https://api.github.com/users/brunobottazzini/followers","following_url":"https://api.github.com/users/brunobottazzini/following{/other_user}","gists_url":"https://api.github.com/users/brunobottazzini/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobottazzini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobottazzini/subscriptions","organizations_url":"https://api.github.com/users/brunobottazzini/orgs","repos_url":"https://api.github.com/users/brunobottazzini/repos","events_url":"https://api.github.com/users/brunobottazzini/events{/privacy}","received_events_url":"https://api.github.com/users/brunobottazzini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brunobottazzini/meta-soletta","description":"Yocto layer for Soletta","fork":true,"url":"https://api.github.com/repos/brunobottazzini/meta-soletta","forks_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/forks","keys_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/teams","hooks_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/hooks","issue_events_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/issues/events{/number}","events_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/events","assignees_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/assignees{/user}","branches_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/branches{/branch}","tags_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/tags","blobs_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/languages","stargazers_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/stargazers","contributors_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/contributors","subscribers_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/subscribers","subscription_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/subscription","commits_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/contents/{+path}","compare_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/merges","archive_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/downloads","issues_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/issues{/number}","pulls_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/labels{/name}","releases_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/releases{/id}","deployments_url":"https://api.github.com/repos/brunobottazzini/meta-soletta/deployments","created_at":"2015-08-10T17:16:46Z","updated_at":"2016-02-24T17:04:45Z","pushed_at":"2016-03-23T16:35:30Z","git_url":"git://github.com/brunobottazzini/meta-soletta.git","ssh_url":"git@github.com:brunobottazzini/meta-soletta.git","clone_url":"https://github.com/brunobottazzini/meta-soletta.git","svn_url":"https://github.com/brunobottazzini/meta-soletta","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"BitBake","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":"solettaproject:master","ref":"master","sha":"4b843c5e365341aca959494eeb875edf21e79f14","user":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":40200553,"name":"meta-soletta","full_name":"solettaproject/meta-soletta","owner":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solettaproject/meta-soletta","description":"Yocto layer for Soletta","fork":false,"url":"https://api.github.com/repos/solettaproject/meta-soletta","forks_url":"https://api.github.com/repos/solettaproject/meta-soletta/forks","keys_url":"https://api.github.com/repos/solettaproject/meta-soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solettaproject/meta-soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solettaproject/meta-soletta/teams","hooks_url":"https://api.github.com/repos/solettaproject/meta-soletta/hooks","issue_events_url":"https://api.github.com/repos/solettaproject/meta-soletta/issues/events{/number}","events_url":"https://api.github.com/repos/solettaproject/meta-soletta/events","assignees_url":"https://api.github.com/repos/solettaproject/meta-soletta/assignees{/user}","branches_url":"https://api.github.com/repos/solettaproject/meta-soletta/branches{/branch}","tags_url":"https://api.github.com/repos/solettaproject/meta-soletta/tags","blobs_url":"https://api.github.com/repos/solettaproject/meta-soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solettaproject/meta-soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solettaproject/meta-soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/solettaproject/meta-soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solettaproject/meta-soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/solettaproject/meta-soletta/languages","stargazers_url":"https://api.github.com/repos/solettaproject/meta-soletta/stargazers","contributors_url":"https://api.github.com/repos/solettaproject/meta-soletta/contributors","subscribers_url":"https://api.github.com/repos/solettaproject/meta-soletta/subscribers","subscription_url":"https://api.github.com/repos/solettaproject/meta-soletta/subscription","commits_url":"https://api.github.com/repos/solettaproject/meta-soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/solettaproject/meta-soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/solettaproject/meta-soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/solettaproject/meta-soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/solettaproject/meta-soletta/contents/{+path}","compare_url":"https://api.github.com/repos/solettaproject/meta-soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solettaproject/meta-soletta/merges","archive_url":"https://api.github.com/repos/solettaproject/meta-soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solettaproject/meta-soletta/downloads","issues_url":"https://api.github.com/repos/solettaproject/meta-soletta/issues{/number}","pulls_url":"https://api.github.com/repos/solettaproject/meta-soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/solettaproject/meta-soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/solettaproject/meta-soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solettaproject/meta-soletta/labels{/name}","releases_url":"https://api.github.com/repos/solettaproject/meta-soletta/releases{/id}","deployments_url":"https://api.github.com/repos/solettaproject/meta-soletta/deployments","created_at":"2015-08-04T18:03:56Z","updated_at":"2016-02-04T21:16:34Z","pushed_at":"2016-03-23T17:51:44Z","git_url":"git://github.com/solettaproject/meta-soletta.git","ssh_url":"git@github.com:solettaproject/meta-soletta.git","clone_url":"https://github.com/solettaproject/meta-soletta.git","svn_url":"https://github.com/solettaproject/meta-soletta","homepage":null,"size":79,"stargazers_count":6,"watchers_count":6,"language":"BitBake","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51"},"html":{"href":"https://github.com/solettaproject/meta-soletta/pull/51"},"issue":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/issues/51"},"comments":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/solettaproject/meta-soletta/statuses/afa79a17347a027b61b4dbb290701553ba80c8aa"}}}}