In src/CMakeLists.txt project was renamed from "GANESHA" to "nfs-ganesha", so that the package keep the same naming convention than the previous one with autotools.
RPM with CMake : skeletons OK.
This commit is to be squashed with laters

Conflicts:

	src/CMakeLists.txt
	src/cmake/modules/UseRPMTools.cmake
Cleaner RPM generation with CMake
Things to be fixed
	- init.d / systemd scripts
	- config sample
	- /etc/ganesha.d dir
	- lib64 path
	- fsal libs stored in /usr/lib64/nfs-ganesha
Depending on 64bits/32 bits architecture, fsals are now installed under lib/ganesha or lib64/ganesha
Related change has been made to RPM generation as well.
RPM generation is now clean
Mismatched cmake's if/endif pair in UseRPMTools.cmake
In 'rpmbuild' buld configuration, force USE_DBUS and USE_DBUS_STATS to ON for Ganesha won't compile if those options are OFF
Re-organize cmake infrastructure for creating 'gos' library.

This commit consolidates cmake infrastructure for creating 'gos' library in a
single CMakeLists.txt file.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Implement platform independent wrapper APIs for setting user/group ids for file
system access.

FreeBSD platform doesn't support file system user ids. Consequently, we can't
use APIs like setfsid() on FreeBSD platform.

This commit implements wrappers for setting file system user/groups ids. On
Linux, we continue to call setfsuid()/setfsgid() under the hood while on FreeBSD
we use system calls SYS_seteuid/SYS_setegid.

On FreeBSD, we use above mentioned syscalls instead of libc APIs due the fact
that libc APIs implement posix symantics which are process wide as opposed to
thread specific.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Add -DUSE_DBUS_STATS option to vfs_pnfs_only configuration file.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Merge remote-tracking branch 'phdeniel/next_rpm' into merge_next

conflict was old tirpc commit point

Conflicts:
	src/CMakeLists.txt

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Merge remote-tracking branch 'linuxbox2/next' into merge_next

Conflicts:
	src/CMakeLists.txt

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats code from 9P protocol stack

Mark with comments where new stats calls will be placed.

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats code from nfs stack

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats initialization

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats nfs_stats_thread.c

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats nfs_stat_exporter.c

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats SNMP support

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats nfs_stat_mgmt.c and friends

Signed-off-by: Jim Lieb <jlieb@panasas.com>
Remove old stats nfs_ip_stats.c

Removed the tests as well

Signed-off-by: Jim Lieb <jlieb@panasas.com>