Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
14
bsp/buildroot/package/sngrep/Config.in
Normal file
14
bsp/buildroot/package/sngrep/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
comment "sngrep needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_SNGREP
|
||||
bool "sngrep"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
help
|
||||
sngrep is a tool for displaying SIP calls message flows from
|
||||
terminal. It supports live capture to display realtime SIP
|
||||
packets and can also be used as PCAP viewer.
|
||||
|
||||
https://github.com/irontec/sngrep
|
||||
1
bsp/buildroot/package/sngrep/sngrep.hash
Normal file
1
bsp/buildroot/package/sngrep/sngrep.hash
Normal file
@@ -0,0 +1 @@
|
||||
sha256 30fbfb4f90ed8805194b39683a8a2ed465776ffd60df4482bd029d63b316b3f1 sngrep-v1.4.2.tar.gz
|
||||
39
bsp/buildroot/package/sngrep/sngrep.mk
Normal file
39
bsp/buildroot/package/sngrep/sngrep.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# sngrep
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SNGREP_VERSION = v1.4.2
|
||||
SNGREP_SITE = $(call github,irontec,sngrep,$(SNGREP_VERSION))
|
||||
SNGREP_LICENSE = GPLv3+
|
||||
SNGREP_LICENSE_FILES = LICENSE
|
||||
SNGREP_AUTORECONF = YES
|
||||
SNGREP_DEPENDENCIES = libpcap ncurses
|
||||
|
||||
SNGREP_CONF_ENV += \
|
||||
$(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`")
|
||||
|
||||
# our ncurses wchar support is not properly detected
|
||||
SNGREP_CONF_OPTS += --disable-unicode
|
||||
|
||||
# openssl and gnutls can't be enabled at the same time.
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SNGREP_DEPENDENCIES += openssl
|
||||
SNGREP_CONF_OPTS += --with-openssl --without-gnutls
|
||||
# gnutls support also requires libgcrypt
|
||||
else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
||||
SNGREP_DEPENDENCIES += gnutls
|
||||
SNGREP_CONF_OPTS += --with-gnutls --without-openssl
|
||||
else
|
||||
SNGREP_CONF_OPTS += --without-gnutls --without-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
SNGREP_DEPENDENCIES += pcre
|
||||
SNGREP_CONF_OPTS += --with-pcre
|
||||
else
|
||||
SNGREP_CONF_OPTS += --without-pcre
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user