package/iputils: use capabilities if possible
authorPetr Vorel <petr.vorel@gmail.com>
Thu, 1 Aug 2019 16:22:33 +0000 (18:22 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 1 Aug 2019 18:22:03 +0000 (20:22 +0200)
commit9440f3554b6d986dee45fa6af0b0634553200447
tree2b35791ebbf17bfa4fb6c765681af0d62d2ff93a
parentd413204a32352258d8a94fc9d00e2abbe793d6d1
package/iputils: use capabilities if possible

If support for extended attributes is enabled, then we can use them to
store capabilities. If not, we keep using the setuid bit.

arping does not get a capability, as it can be used for arp poisoning.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr:
  - resort to using q full-fledged conditional block
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/iputils/iputils.mk