Wireshark-commits: [Wireshark-commits] rev 54840: / /trunk/cmake/modules/: FindSETCAP.cmake /trunk/

Date: Sun, 19 Jan 2014 00:48:23 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54840

User: jmayer
Date: 2014/01/19 12:48 AM

Log:
 Add option to specify special permissions for dumpcap during cmake phase:
 set(DUMPCAP_INSTALL_OPTION   <val>)
 where val is one of "normal" "suid" "capabilities"
 
 Some things left to do:
 - Error out in cmake if setcap isn't found or libcap isn't found.
 - Move multivalue option handling into it's own macro (-file) with
   value checking

Directory: /trunk/cmake/modules/
  Changes    Path                Action
  +21 -0     FindSETCAP.cmake    Added

Directory: /trunk/
  Changes    Path                Action
  +33 -4     CMakeLists.txt      Modified
  +5 -0      CMakeOptions.txt    Modified