initial buildroot for linux 5.15
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
# From https://github.com/irontec/sngrep/releases/download/v1.4.7/sngrep-1.4.7.tar.gz.md5sum
|
||||
md5 78fe753e24f36ddaf627bc2b734f45ba sngrep-1.4.7.tar.gz
|
||||
|
||||
# Locally computed
|
||||
sha256 3c96aadd8b8c6b7adb5552d6fb4234f2000f15109b0f6c5feb632c81306cc49b sngrep-1.4.7.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# sngrep
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SNGREP_VERSION = 1.4.7
|
||||
SNGREP_SITE = $(call github,irontec,sngrep,v$(SNGREP_VERSION))
|
||||
SNGREP_LICENSE = GPL-3.0+
|
||||
SNGREP_LICENSE_FILES = LICENSE
|
||||
SNGREP_AUTORECONF = YES
|
||||
SNGREP_DEPENDENCIES = libpcap ncurses host-pkgconf
|
||||
|
||||
SNGREP_CONF_ENV += \
|
||||
$(if $(BR2_STATIC_LIBS),LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`")
|
||||
|
||||
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_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
SNGREP_DEPENDENCIES += gnutls libgcrypt
|
||||
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