From 1e157e91dfaf645716b9f2e3550f1402c88f71ea Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 3 Dec 2017 17:38:02 +0100 Subject: [PATCH] asterisk-15.x: add libcap dep 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 --- net/asterisk-15.x/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/asterisk-15.x/Makefile b/net/asterisk-15.x/Makefile index d336101..1bc92a1 100644 --- a/net/asterisk-15.x/Makefile +++ b/net/asterisk-15.x/Makefile @@ -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 \ -- 2.30.2