I have an autoconf project that contains a post-install hook like this:
install-exec-hook:
setcap cap_net_raw+ep $(bindir)/myexecutable
I use checkinstall to package it up and install it on my local system, however after checkinstall is done, it appears that $(bindir)/myexecutable does not have any capabilities, as getcap /usr/local/bin/myexecuatble
gives nothing, whereas I would expect /usr/local/bin/myexecutable = cap_net_raw+ep
.