Add AppArmor profile to contrib. It's useful for further lockdown that's impossible for the binary to do by itself, e.g. disallowing things like ptrace().
It's rather generous on file and library access since cjdns drops the file limit to 0 anyway, but it still won't let cjdroute access things it has no business with, like /tmp, /home /bin even if that limit is somehow circumvented.
added AppArmor profiles to contrib
added a comment for pidfile users
Add makefile with 'clean' and 'all' targets
Merge branch 'master' of github.com:cjdelisle/cjdns

* 'master' of github.com:cjdelisle/cjdns:
  Fixed another way that traces could cause an assert fail.
  Solve a rare bug caused by NodeStore altering a route to a less favorable route while it is being used.
  why oh why do the funnest software constructs also have to be the ones which introduce the most bugs?
  new protocol version
  renamed parseRoutes script to trashroutes and added an average index
  Fix segfault bug in RouteTracer
  new approach to dealing with trashroutes
  Update README.md
  fix #1
  doc: add SmartOS
Fix whitespace in readme
Update makefile to use same shells as the scripts
Try to solve a problem with clang
Merge branch 'master' of https://github.com/inhies/cjdns
Reworked the allocator to not not free any memory until all onFree callbacks are executed for the entire tree, not just for the allocator which was onFree'd
Resolved some use-after-free issues in the event code.
Fixing coderot in TUNInterface_Illumos
bitten by illumos not using optimized byteswap
Fixing more illumos coderot
Log if a packet's dest is larger than it's src, based on my reasoning this should never actually happen.
bad reasoning
Revert "Log if a packet's dest is larger than it's src, based on my reasoning this should never actually happen."

This reverts commit b263fe785af3fe89ece77b1077e63f061625b04a.
search for librt in /lib/x86_64-linux-gnu/librt.so.1
Wrong
Revert "search for librt in /lib/x86_64-linux-gnu/librt.so.1"

This reverts commit 37e6e465bd113006fa452d687d5cac0d20166e86.
Adding a makefile magically breaks both ubuntu packaging and openwrt, removing until more is understood
Changed /usr/bin/python to /usr/bin/env python in the few python scripts that weren't already doing so to allow for python binaries in locations other than /usr/bin. In the dynamicEndpoints.py script, I also switched python2 to python, which breaks it on some distros (like Arch Linux) while making it work on others (like Debian;) more importantly however, is that doing this makes things consistant with the other scripts, which are configured to work with how Debian names things.