Commit Graph

69 Commits

Author SHA1 Message Date
mike@arpaia.co
3753189e4a improving the makefile output 2014-09-24 01:28:34 -07:00
mike@arpaia.co
beeb6d827f moving make format to cmake 2014-09-23 23:38:23 -07:00
mike@arpaia.co
ba4041f1fd clang format 2014-09-23 22:56:50 -07:00
mike@arpaia.co
7d7e518011 clang-format 2014-09-23 22:22:51 -07:00
mike@arpaia.co
cfe1eb1332 infer bash 2014-09-23 22:19:53 -07:00
mike@arpaia.co
91efb3963f moving packages subdir to deploy 2014-09-23 21:37:55 -07:00
mike@arpaia.co
150ca3378d catchall for cmake targets 2014-09-23 21:27:36 -07:00
mike@arpaia.co
670957ab41 git submodules into provision.sh 2014-09-23 21:22:42 -07:00
mike@arpaia.co
042af0801f build before running tests 2014-09-23 20:36:23 -07:00
mike@arpaia.co
a7eb6694dd Makefile cleanups 2014-09-23 20:34:10 -07:00
mike@arpaia.co
e69007d81a Revert "in source builds"
This reverts commit 28dd7a68f9.
2014-09-23 20:23:03 -07:00
mike@arpaia.co
28dd7a68f9 in source builds 2014-09-23 20:22:07 -07:00
mike@arpaia.co
7ca879215f moving things from Makefile to CMake 2014-09-23 20:12:53 -07:00
mike@arpaia.co
6beb5d1247 Moving table generation to CMake
CMake now handles building all of the generated code.
2014-09-23 17:55:54 -07:00
mike@arpaia.co
e973c856c6 Deb package creation for Ubuntu
I used CPack to generate deb package files from the CMake "install"
target. What this means is, whatever would get installed my "make
install" will get installed by the deb.

"make package" on ubuntu will generate a file named: `osquery-$VERSION-$DISTRO.$ARCH.deb`

Consider the following example:

```
root@vagrant-ubuntu-trusty-64:/vagrant/build# dpkg --info osquery-0.0.1-trusty.amd64.deb
 new debian package, version 2.0.
 size 11311330 bytes: control archive=350 bytes.
     207 bytes,     9 lines      control
     102 bytes,     2 lines      md5sums
 Package: osquery
 Version: 0.0.1
 Section: devel
 Priority: optional
 Architecture: amd64
 Installed-Size: 43369
 Maintainer: marpaia@fb.com
 Description: osquery is an operating system instrumentation toolchain.
```
2014-09-23 17:03:30 -07:00
Teddy Reed
d52248801a Use the standard BUILD_SHARED_LIBS variable 2014-09-22 22:29:44 -06:00
mike@arpaia.co
fc324b929f Revert "build shared by default"
This reverts commit 90703b95f0.
2014-09-22 17:27:57 -07:00
mike@arpaia.co
90703b95f0 build shared by default 2014-09-20 18:53:49 -07:00
mike@arpaia.co
33f2b08e61 adding .sources to distclean 2014-09-20 17:13:17 -07:00
mike@arpaia.co
11e40a6673 make install 2014-09-20 16:48:17 -07:00
mike@arpaia.co
20bbef53b6 Cross platform build environment maker
Currently works on Ubuntu 14.04 and Mac OS X 10.9. There are more
supported operating systems coming soon to a theater near you.
2014-09-20 16:01:47 -07:00
Teddy Reed
9516bf8fd7 Regressions from core NS removal, linux includes 2014-09-17 10:29:22 -06:00
Teddy Reed
10d9926099 Use inline sudos for installs 2014-09-16 20:47:19 -06:00
mike@arpaia.co
ad9b0bb5c1 Doxyfile, for docs 2014-09-13 15:18:26 -07:00
mike@arpaia.co
073dd2d5c4 osquery thread pool
this is an implementation of a thread pool, using thrift's thread
manager class.
2014-09-12 08:18:25 -07:00
Mike Arpaia
db0f0105dd Revert "Skip tests when making 'fast'" 2014-09-09 21:37:08 -07:00
Teddy Reed
2e150ef8a9 Skip tests when making 'fast' 2014-09-09 16:25:22 -07:00
mike@arpaia.co
a82b20c75c the start of centos 2014-09-08 21:58:08 -07:00
Mike Arpaia
80ac729732 Update Makefile 2014-09-08 20:32:34 -07:00
mike@arpaia.co
85951e6b9b better os detection support 2014-09-08 20:07:11 -07:00
mike@arpaia.co
c72d069689 vagrant and make deps on linux 2014-09-08 19:24:23 -07:00
Teddy Reed
26e83f8ee9 Merging for linux build and libosquery compiling options 2014-09-08 17:17:30 -07:00
Teddy Reed
7e470747b4 Moving sublibs to single libosquery 2014-09-08 01:58:29 -07:00
mike@arpaia.co
11f75580f8 fixing a redeclaration of distclean in the makefile 2014-09-06 14:50:44 -07:00
Teddy Reed
4ffd184eaf Changes for Linux (Ubuntu 14.04) build 2014-09-05 10:58:58 -07:00
mike@arpaia.co
8d0dfbda5f updating cleaning of machine artifacts 2014-09-02 15:37:43 -07:00
mike@arpaia.co
63070a0d49 migrating project to use CMake's CTest to run unit tests 2014-09-02 11:14:21 -07:00
Aaron Miller
24cda21402 Fixing an error with brew install. See #90 for more info. 2014-09-02 10:10:44 -07:00
mike@arpaia.co
1cbb2df5ce cross platform improvements to the makefile 2014-08-30 03:51:50 -07:00
mike@arpaia.co
15519b348e Adding LaunchDaemon and flagfile to the repo/package 2014-08-26 11:26:52 -07:00
mike@arpaia.co
9c11fec7ed Moving packaging infrastructure to packages/darwin instead of packages/osx 2014-08-20 01:16:56 -07:00
mike@arpaia.co
cd1e746069 special 't' target in the Makefile to just build the code and run tests without regenerating table files 2014-08-20 01:04:35 -07:00
mike@arpaia.co
3e73e641df Adding tools C++ files to the make format target 2014-08-20 00:58:27 -07:00
mike@arpaia.co
9451cef6e5 Deploy infrastructure for OS X 2014-08-20 00:47:14 -07:00
mike@arpaia.co
1159da9d1e moving table generation to it's own Makefile target so that make build doesn't generate all of the tables 2014-08-19 22:02:18 -07:00
mike@arpaia.co
807a3617c2 Removing example table 2014-08-19 21:49:42 -07:00
Mike Arpaia
f08ab26841 Merge pull request #60 from facebook/vtable_routes
[vtable_routes] Added vtable for various network routes
2014-08-19 21:46:36 -07:00
Teddy Reed
42d7f982e9 [vtable_routes] Added vtable for various network routes 2014-08-19 21:39:16 -07:00
mike@arpaia.co
ca33035aca adding objective-c++ files to the format shortcut 2014-08-19 20:19:17 -07:00
Teddy Reed
95ceb21ec5 [vtable_listening_ports] Listening sockets, IPv4, IPv6 2014-08-19 15:25:16 -07:00