fix macos version

dnc could not access the config file, because the current directory was /
remove legacy code that was causing a segmentation fault !
cmake doesn't support if(LINUX) so fallback to if(UNIX)
Merge pull request #58 from duthils/fix-macos

fix macos version
add source of dnc launcher for macos
Merge pull request #59 from duthils/mac-launcher-source

add source of dnc launcher for macos
add option WITH_GUI to toggle it
add a function to create a file with only owner right
add debian cpack generator
add path to dnc.conf
set package version
Merge branch 'master' of github.com:nicboul/DNDS
keep dnc.conf generic
set DNC_IP_FILE in dnc.h
add tuntap package to macos package
Merge pull request #60 from duthils/macos-plus-tuntap

add tuntap package to macos package
make dnc appear in frontmost on macos

Yes, this applescript is horrible. But it is the only way we could get it to work :(
Merge pull request #61 from duthils/macos-frontmost

make dnc appear in frontmost on macos
update mac launcher
Merge pull request #62 from duthils/macos-frontmost

update mac launcher
declare udtbus functions
remove various compilation warnings