[B.A.T.M.A.N.] [PATCH] alfred: mention libcap in the README

Simon Wunderlich sw at simonwunderlich.de
Fri Aug 14 18:25:16 CEST 2015


Reported-by: Florian Steinel <alfred at open-mesh.org.flonet.net>
Signed-off-by: Simon Wunderlich <sw at simonwunderlich.de>
---
 README | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 7cef9f6..938a275 100644
--- a/README
+++ b/README
@@ -29,8 +29,9 @@ alfred depends on:
  * librt (usually part of libc)
  * IPv6 support in the kernel/host system
 
-and if distributing GPS information:
- * libgps
+and optionally:
+ * libgps - if you want to distribute GPS information
+ * libcap - if you want extra security by dropping unneeded privileges
 
 To compile alfred, simply type:
 
@@ -53,6 +54,10 @@ CONFIG_ALFRED_GPSD=n:
  $ make CONFIG_ALFRED_GPSD=n
  $ make CONFIG_ALFRED_GPSD=n install
 
+If don't want to compile with libcap to drop privileges, use:
+
+ $ make CONFIG_ALFRED_CAPABILITIES=n
+ $ make CONFIG_ALFRED_CAPABILITIES=n install
 
 Usage
 -----
-- 
2.1.4



More information about the B.A.T.M.A.N mailing list