asterisk-15.x: add libcap dep 218/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 3 Dec 2017 16:38:02 +0000 (17:38 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 3 Dec 2017 16:38:15 +0000 (17:38 +0100)
With libcap support Asterisk is able to set the TOS bits even when
dropping its privileges to a non-root user.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-15.x/Makefile

index d33610169d66a8200e9d97c0adcd04e37f293caa..1bc92a1532e38fdf6485e792f16d3c5f87fda989 100644 (file)
@@ -148,7 +148,7 @@ define Package/asterisk15
 $(call Package/asterisk15/Default)
   TITLE:=Complete open source PBX, v$(PKG_VERSION)
   MENU:=1
-  DEPENDS:=+jansson +libedit +libncurses +libopenssl +libpopt +libsqlite3 +libstdcpp +libuuid +libxml2 +libxslt +zlib
+  DEPENDS:=+jansson +libcap +libedit +libncurses +libopenssl +libpopt +libsqlite3 +libstdcpp +libuuid +libxml2 +libxslt +zlib
 endef
 
 define Package/asterisk15/description
@@ -242,7 +242,7 @@ TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
 CONFIGURE_ARGS+= \
        --without-execinfo \
        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-chan-mobile),--with-bluetooth="$(STAGING_DIR)/usr",--without-bluetooth) \
-       --without-cap \
+       --with-cap="$(STAGING_DIR)/usr" \
        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr") \
        --without-curses \
        --with-gsm=internal \