Riak is started and stopped on SmartOS using the [SMF system](http://wiki.joyent.com/display/smart/About+the+Service+Management+Facility). This system keeps track of every process started by a service. This was causing difficulties with [epmd](http://www.erlang.org/doc/man/epmd.html) because that process would not shut down on `svcadm disable riak` causing Riak to go into a "maintenance" mode. This pull request creates a separate SMF service for epmd called "riak-epmd". This will do its best to start and stop epmd in a sane manner, allowing for Riak to be started and stopped also in sane way. If an epmd process is active, but with no registered names, it is killed and restarted. See: basho/riak_ee#/75
* The files installed to `sbin` were set to 0700 when they should have 0755 permissions * The tarball created was double in size of other packages due to accidental packaging of the rel/riak directory twice
FreeBSD defines the system hierarchy in the hier(7) manpage. This commit installs Riak based upon that directory structure.
…on errors Riak depends on openssl, but openssl is not installed by default on a base FreeBSD 9 machine. This adds a `@pkgdep` line to require openssl. Fixes basho/riak#171 If an ORIGIN comment is not found, all new package installs and deletes will comment on riak not having an origin recorded. Fixes basho/riak#167
The configuration directory /etc/riak and files therein shouldn't be writeable by the Riak user and daemon. This is implemented by flipping the default attributes back to a conventional root:root and then explicitly specifying the directories that Riak should have ownership of.
Fixes: #130 On newer fedora systems, `/var/run` became a tmpfs. On reboot, `/var/run/riak` would be deleted and the `riak` user would not have rights to create a new directory in `/var/run`. The pipe_dir is now moved to `/tmp/riak` much like it has been on debian based systems since the beginning.
OpenSolaris no longer exists as it did when support was added for it. In addition, OmniOS added support for RIak with the simple patch of s/OpenSolaris/OmniOS/ in the package/Makefile. The OmniOS packages will still be generated by the OmniOS team, but adding that string to the makefile makes it one step easier for them to build Riak and that is a Good Thing (tm).