{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/587","labels_url":"https://api.github.com/repos/facebook/osquery/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/587/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/587/events","html_url":"https://github.com/facebook/osquery/pull/587","id":53727638,"number":587,"title":"Package basics","user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-08T08:54:04Z","updated_at":"2015-01-09T07:51:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/587","html_url":"https://github.com/facebook/osquery/pull/587","diff_url":"https://github.com/facebook/osquery/pull/587.diff","patch_url":"https://github.com/facebook/osquery/pull/587.patch"},"body":"I'm changing how make_osx_package.sh works again, sorry. But now `make package` will build us a PKG that plays nice with existing installs and for deployments managing their own osquery.conf/com.facebook.osquery.plist (LD). \r\n\r\nI've added liberal package dependencies for Ubuntu and tested with trusty. I've also improved compile times for tests by requiring an explicit argument to link against the extended (additional) set of tables for test targets."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/69303489","html_url":"https://github.com/facebook/osquery/pull/587#issuecomment-69303489","issue_url":"https://api.github.com/repos/facebook/osquery/issues/587","id":69303489,"user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T07:51:06Z","updated_at":"2015-01-09T07:51:06Z","body":"Without rpm/rpmio:\r\n```\r\n[vagrant@localhost vagrant]$ ldd ./build/linux/osquery/osqueryi \r\n\tlinux-vdso.so.1 =>  (0x00007fffca3ff000)\r\n\tlibpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa818c91000)\r\n\tlibz.so.1 => /lib64/libz.so.1 (0x00007fa818a7a000)\r\n\tlibsnappy.so.1 => /usr/lib64/libsnappy.so.1 (0x00007fa818875000)\r\n\tlibcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fa818492000)\r\n\tlibssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fa818225000)\r\n\tlibreadline.so.6 => /lib64/libreadline.so.6 (0x00007fa817fe2000)\r\n\tlibdl.so.2 => /lib64/libdl.so.2 (0x00007fa817dde000)\r\n\tlibbz2.so.1 => /lib64/libbz2.so.1 (0x00007fa817bcc000)\r\n\tliblzma.so.0 => /usr/lib64/liblzma.so.0 (0x00007fa8179ab000)\r\n\tlibunwind.so.8 => /usr/lib64/libunwind.so.8 (0x00007fa817792000)\r\n\tlibrt.so.1 => /lib64/librt.so.1 (0x00007fa817589000)\r\n\tlibproc-3.2.8.so => /lib64/libproc-3.2.8.so (0x00007fa817366000)\r\n\tlibudev.so.0 => /lib64/libudev.so.0 (0x00007fa817158000)\r\n\tlibstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa816e51000)\r\n\tlibm.so.6 => /lib64/libm.so.6 (0x00007fa816bcd000)\r\n\tlibgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa8169b7000)\r\n\tlibc.so.6 => /lib64/libc.so.6 (0x00007fa816622000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00007fa818eb6000)\r\n\tlibgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fa8163de000)\r\n\tlibkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fa8160f8000)\r\n\tlibcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fa815ef3000)\r\n\tlibk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fa815cc7000)\r\n\tlibtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007fa815aa6000)\r\n\tlibkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fa81589a000)\r\n\tlibkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fa815697000)\r\n\tlibresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa81547d000)\r\n\tlibselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa81525d000)\r\n```\r\n\r\nRemaining concerns: snappy. Differences from linux: (1) ssl/crypto are pulling in a few more dependencies, (2) rt and proc are only available as shared libraries."}}