summaryrefslogtreecommitdiffstats
path: root/package/sngrep
Commit message (Collapse)AuthorAgeFilesLines
* package/sngrep: fix build with musl libcBaruch Siach2018-12-301-0/+43
| | | | | | | | | | | | | | Add upstream patch fixing typo that causes build failure under musl, where stdin is constant. Fixes: http://autobuild.buildroot.net/results/ab827021d4dae8ae98f667328e4a9a7e1c4288d0/ http://autobuild.buildroot.net/results/e99e937c05be38d33e029fbfc737665b590c33bd/ http://autobuild.buildroot.net/results/e8ca0a40d8cd2c333b55fa9e67ddeead1f502d5a/ Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/sngrep: bump version to v1.4.6Adam Duskett2018-12-273-82/+4
| | | | | | | Remove upstreamed patch. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* sngrep: fix libgcrypt handlingPeter Korsgaard2018-03-291-1/+2
| | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/f1c6494133806b9fc26ae3ce9e9c6a22fa2eda6f/ Commit 6205b75873c (sngrep: gnutls support also needs libgcrypt) ensured that --with-gnutls is only used when both gnutls and libgcrypt are enabled, but it didn't ensure libgcrypt gets built before sngrep or told the configure script where to find libgcrypt-config, breaking the build. Fix both issues. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sngrep: bump to 1.4.5Adam Duskett2018-02-083-4/+82
| | | | | | | | | | | Also add 0001-Fix-building-against-LibreSSL.patch to fix compiling against LibreSSL. This patch has been submitted and accepted upstream. https://github.com/irontec/sngrep/commit/0ee014d497986c40de264f6392b01fdf4e337fd5 Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* sngrep: bump to v1.4.4Adam Duskett2017-10-172-2/+6
| | | | | | | Also add LICENSE sha256 hash. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: remove ncurses wchar supportAdam Duskett2017-07-153-207/+0
| | | | | | | | | | | | sngrep currently doesn't really use wchar support anyways, and when checking for wchar support, it's checking the host systems ncurses libraries. Remove support for ncurses wchar until it's used in sngrep, and remove the patches used to fix ncurses wchar detection. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: don't download patch from GithubThomas Petazzoni2017-07-034-5/+203
| | | | | | | | | | | | | | | | | Patches downloaded from Github are not stable, so bring them in the tree. For this package, the patch is not replaced 1:1 with what Github was providing. Indeed, the URL https://github.com/irontec/sngrep/pull/191/commits/4740f3341a99eaec105dee202a6fa7828212cdf1.patch no longer exists. This pull request has been merged, so we instead use the real upstream commits. However, the upstream developer apparently messed up, and applied the change in two separate commits, which is why one patch fetched from Github is replaced by this commit by two patches in package/sngrep/. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sngrep: fix ncurses wchar detectionAdam Duskett2017-06-082-1/+10
| | | | | | | | This commit adds an upstream patch to the sngrep package that fixes the detection of wchar capable ncurses. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: bump version to v1.4.3Adam Duskett2017-05-314-120/+2
| | | | | | | The two patches were committed upstream. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for GPLv3/GPLv3+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: use pkg-config to discover OpenSSL to fix static linkingThomas Petazzoni2017-03-053-1/+119
| | | | | | | | | | | | | | | | | | | | Building sngrep with OpenSSL support in static linking configurations currently fails due to undefined symbols in the OpenSSL library. It's the usual problem with using AC_CHECK_LIB() to discover libraries instead of the pkg-config based PKG_CHECK_MODULES(). Therefore, this commit introduces a patch that switches to using pkg-config to discover OpenSSL. A preliminary patch is needed, without which appending to LIBS/CFLAGS doesn't work. Both patches have been submitted upstream. Fixes: http://autobuild.buildroot.net/results/911143de823b2c749ac0a59dfa06adb6ddd3de50/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sngrep: fix static linking against libpcapBernd Kuhls2017-02-061-0/+3
| | | | | | | | | | | | Inspired by https://git.buildroot.net/buildroot/tree/package/aircrack-ng/aircrack-ng.mk#n30 Fixes http://autobuild.buildroot.net/results/699/6993c398649469e25f2491fdb8f1ac9b6d6d8c3c/ http://autobuild.buildroot.net/results/846/8468df3462ac6d53faef228ca241bc500b2d7a52/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: gnutls support also needs libgcryptThomas Petazzoni2017-01-271-1/+2
| | | | | | | | | | | | The gnutls support in sngrep not only needs gnutls, but also libgcrypt. So only enable gnutls support when both packages are available. Fixes: http://autobuild.buildroot.net/results/18fbb5748a6ad66ac6ec8141c3296d2b13fa40ac/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: fix error if gnutls and openssl are both enabledAdam Duskett2017-01-271-9/+6
| | | | | | | | | | | | | | | | | gnutls and openssl support can't be enabled at the same time in sngrep. Prefer openssl if available, otherwise use gnutls. Fixes: http://autobuild.buildroot.net/results/7c775b1faf7be90fb4acd3653600f7b6b48aa86f/ Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: - regroup CONF_OPTS lines - add an 'else' clause to explicitly disable gnutls and openssl when none are available - add a reference to the autobuilder failure] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sngrep: new packageAdam Duskett2017-01-263-0/+53
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. Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: - ncurses wide char and other sub-options are not needed to build sngrep, so they are removed, as well as the wchar dependency. ncurses with wchar support is only needed when --enable-unicode is passed, but even then, it doesn't work because the configure script searches <ncursesw/ncurses.h>, so unicode support has been explicitly disabled. - add optional dependencies on OpenSSL, GnuTLS and PCRE. This also makes sure they are explicitly enabled/disabled depending on the configuration. - add upstream URL in Config.in file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud