Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [V2 1/2] sngrep: fix dependency error.
Date: Thu, 26 Jan 2017 16:39:30 -0500	[thread overview]
Message-ID: <20170126213931.9987-1-aduskett@codeblue.com> (raw)

sngrep will complain if libgcrypt isn't compiled. I am not sure
how or why I didn't notice this issue to begin with, but
I added it as a dependency and select it in the Config.in file now.
I also added 'depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS' as per
baruch's suggestion.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 -> v2:
  - Added 'depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS' to Config.in
  - Split changes into two patches.
  
 package/sngrep/Config.in | 2 ++
 package/sngrep/sngrep.mk | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/sngrep/Config.in b/package/sngrep/Config.in
index 4d0d80c..fc27413 100644
--- a/package/sngrep/Config.in
+++ b/package/sngrep/Config.in
@@ -3,9 +3,11 @@ comment "sngrep needs a toolchain w/ threads"
 
 config BR2_PACKAGE_SNGREP
 	bool "sngrep"
+	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_LIBPCAP
+	select BR2_PACKAGE_LIBGCRYPT
 	help
 	  sngrep is a tool for displaying SIP calls message flows from
 	  terminal.  It supports live capture to display realtime SIP
diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk
index f504771..5b51762 100644
--- a/package/sngrep/sngrep.mk
+++ b/package/sngrep/sngrep.mk
@@ -9,7 +9,7 @@ SNGREP_SITE = $(call github,irontec,sngrep,$(SNGREP_VERSION))
 SNGREP_LICENSE = GPLv3+
 SNGREP_LICENSE_FILES = LICENSE
 SNGREP_AUTORECONF = YES
-SNGREP_DEPENDENCIES = libpcap ncurses
+SNGREP_DEPENDENCIES = libpcap ncurses libgcrypt
 
 # our ncurses wchar support is not properly detected
 SNGREP_CONF_OPTS += --disable-unicode
-- 
2.9.3

             reply	other threads:[~2017-01-26 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-26 21:39 Adam Duskett [this message]
2017-01-26 21:39 ` [Buildroot] [V2 2/2] sngrep: fix error if gnutls and openssl are both enabled Adam Duskett
2017-01-27  7:32   ` Thomas Petazzoni
2017-01-27  5:28 ` [Buildroot] [V2 1/2] sngrep: fix dependency error Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170126213931.9987-1-aduskett@codeblue.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox