alfred: mention libcap in the README

Message ID 1439569516-17290-1-git-send-email-sw@simonwunderlich.de (mailing list archive)
State Accepted, archived
Commit 4384c2bde1650cbdfedf56708f195cccb5066ed5
Headers

Commit Message

Simon Wunderlich Aug. 14, 2015, 4:25 p.m. UTC
  Reported-by: Florian Steinel <alfred@open-mesh.org.flonet.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
---
 README | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
  

Comments

Simon Wunderlich Aug. 17, 2015, 11:43 a.m. UTC | #1
On Friday 14 August 2015 18:25:16 Simon Wunderlich wrote:
> Reported-by: Florian Steinel <alfred@open-mesh.org.flonet.net>
> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>

Applied in revision 4384c2b.

Cheers,
    Simon
  

Patch

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
 -----