Commit Graph

74 Commits

Author SHA1 Message Date
Jeroen Roovers 2bdec5294d Fix building against ncurses with separate tinfo (termcap) library
The linker fails to resolve some symbols when libtinfo is installed as a
separate termcap library.

Fix this by checking a prominent symbol in the wide and non-wide cases.
2020-06-12 11:00:44 +02:00
Kaian b132ce99ea doc: update ChangeLog for 1.4.7 release 2020-05-21 11:48:47 +02:00
Kaian 372df4977c doc: update docs for version 1.4.6 2018-10-31 17:32:53 +01:00
Kaian 5f97547c00 pkg: update files for 1.4.5 release 2017-12-22 15:16:21 +01:00
Kaian d014bc0c8c doc: added changelog entry for 1.4.4 2017-09-17 10:54:14 +02:00
Kaian 5a06bb581b capture: fix compilation support for CentOS 5.x 2017-09-11 12:26:28 +02:00
Kaian ca6bd26fff autotools: fix ncurses wchar detection
Author: Adam Duskett <aduskett@codeblue.com>

Ncurses detection is currently broken in buildroot.

This patch does the following:
 - Add SNGREP_CHECK_SCRIPT to configure.ac which checks for a
   libname, a function in that library, sets a define if found, and
   if not found, moves on to the next part. This is taken from the
   htop configure.ac.

 - Adds SNGREP_CHECK_LIB to configure.ac which checks for a
   library, a function within that library, sets a define if that function
   is found, and if not found, moves on to the next part.
   This is taken from the htop configure.ac

 - Modifies scrollbar.h and ui_panel.h to include <wctypes.h> instead of
   <ncursesw/ncurses.h> if unicode is supported.
2017-06-20 16:12:36 +02:00
Kaian 9a6550055f autotools: fix ncurses wchar detection 2017-05-30 11:15:49 +02:00
Romain Naour 22b8206357 use libgcrypt-config to link with gpg-error
gcrypt is linked with libgpg-error, use libgcrypt-config to find
this dependency. (libgcrypt doesn't provide a .pc file)

libgcrypt-config --libs
[...] -lgcrypt -lgpg-error

Signed-off-by: Romain Naour <romain.naour@gmail.com>
2017-05-22 13:13:53 +02:00
Romain Naour 9f65c34633 configure.ac: switch to pkg-config to find gnutls.
Like for openssl in patch [1] and for the same reason,
use pkg-config to find gnutls.

gnutls can be linked with :
    -lintl -lgmp -lunistring -lhogweed -lnettle -ltasn1 -lz

Fixes:
http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405

[1] 2563b016ae

Signed-off-by: Romain Naour <romain.naour@gmail.com>
2017-05-22 13:13:53 +02:00
Kaian 5f21dbe847 Release files for version bump to 1.4.3 2017-05-10 16:46:07 +02:00
Kaian 6aca10b350 configure: use PKG_CHECK_MODULES only when availbale #178 #176
PKG_CHECK_MODULES macro is installed in pkg-config package which is not present
in all installations. While it has its advantes, we must check if it's available
to support legacy configurations.
2017-04-03 11:51:07 +02:00
Thomas Petazzoni 2563b016ae configure.ac: switch to pkg-config to find openssl
Using AC_CHECK_LIB() doesn't work properly for static linking, because
it doesn't return information on transitive dependencies of
libraries. For example, if library A internally uses library B, then
with dynamic linking, doing -lA is sufficient. However, with static
linking, one must do -lA -lB, and AC_CHECK_LIB() will only give the -lA
information. This for example causes a build failure when building
sngrep statically with openssl enabled:

checking for SSL_new in -lssl... no
configure: error:  You need to have libssl installed to compile sngrep

due to undefined symbols in the OpenSSL library.

The proper solution for this is to discover the library using
pkg-config, because pkg-config properly returns the list of necessary
libraries, as it understands the concept of "list of libraries needed
when dynamic linking" and "list of libraries needed for static linking".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-05 11:59:57 +01:00
Kaian 8d5e638f58 doc: Version bump to 1.4.2 2016-12-19 15:05:50 +01:00
Kaian a5583a7efa tls: gnutls-openssl abstract compatibility is no longer required 2016-11-04 10:46:48 +01:00
Kaian 57baa4b16d doc: prepare sources for 1.4.1 2016-10-28 11:26:57 +02:00
Kaian 80a5d27c61 doc: prepare sources for 1.4.0 2016-08-08 10:58:07 +02:00
Kaian 7ee4deab13 Update version to 1.3.1 2016-04-28 11:49:29 +02:00
Kaian 60f020d901 📝:Update version information 2016-03-02 13:34:57 +01:00
Kaian b908f44bd3 Update version information 📝 2016-01-29 13:51:51 +01:00
Kaian 158d66592c Change version to 1.2.0 📝 2015-12-10 11:17:54 +01:00
Kaian e9534b3290 Make all configurable options disabled by default 2015-10-28 12:26:54 +01:00
Kaian ceea6f2359 Fix IPv6 detection in FreeBSD 2015-10-28 11:21:35 +01:00
Kaian 33423c8b8a Fix version number 1.0.1 -> 1.1.0 2015-10-28 11:22:05 +01:00
Kaian 5ed7d36418 Make EEP support configurable.
Also IPv6 and EEP support are enabled by default.
2015-10-27 13:45:26 +01:00
Kaian 9b06b744f3 Add GnuTLS support. Fixes #68 2015-10-22 19:02:47 +02:00
Kaian d320c4417b 📝 Fix typo libgcrypto -> libgcrypt 2015-10-22 18:35:27 +02:00
Kaian c9fc9bb275 Switch from OpenSSL to GnuTLS 2015-10-22 18:35:09 +02:00
Kaian a53dedc6cc Updated Changelog for 1.0.0 :memo 2015-10-06 17:34:09 +02:00
Kaian 1696a7ab0f Remove --enable-openssl from configure options
Only support --with-openssl which is the proper way for configure
flags that involve dependency requeriments
2015-09-30 17:28:04 +02:00
Kaian f2d60b5a19 Change version number and update ChangeLog 📝 2015-09-29 19:38:11 +02:00
Kaian 3ac971b445 Replace WITH_IPV6 for USE_IPV6 define 2015-09-24 17:37:27 +02:00
Kaian 7a713e8c1e Update version number 📝 2015-09-24 17:37:27 +02:00
Kaian 01bc5590e3 Update debuging options to avoid gprof output 2015-09-21 11:35:14 +02:00
Kaian ab1daebecd Release 0.4.2 2015-08-31 11:33:37 +02:00
Kaian f7dddfc3bf Update version information 📝 2015-07-22 15:51:54 +02:00
Kaian 347e312964 Change version to 0.4.1 📝 2015-07-08 15:05:46 +02:00
Kaian 297ece114a Add basic Testing files 2015-07-05 16:19:22 +02:00
Kaian 9105bb2c14 Update version information 📝 2015-07-02 11:50:14 +02:00
Kaian fbd9fcceda Add changelog for 0.4.0 release 📝 2015-06-24 15:48:06 +02:00
Kaian d53f8a841c Update version information 📝 2015-06-08 12:03:56 +02:00
Kaian 140d203399 Update files for release 0.3.2 2015-05-17 12:17:25 +02:00
Kaian b726f3e954 📝 Update doc for 0.3.1 2015-04-14 19:17:58 +02:00
Kaian 335a5ec541 IPv6 Support. Initial Approach. #38 2015-03-25 16:18:18 +01:00
Kaian 0f8f14b667 📝 Make irontec banner optional 2015-03-10 18:57:33 +01:00
Kaian ff9eb99571 IPv6 Support. Initial Approach. #38
* Added --enable-ipv6 option to configure script
* All IP addresses are trimmet to 15 characters until UI can handle them properly
* IPv6 lookup is enabled
2015-03-09 19:23:50 +01:00
Kaian 4c5df9782f Fix dependencies for --enable-unicode option 2015-03-06 17:13:35 +01:00
Kaian 270e3b786a Prepare doc files for 0.3.0 2015-03-02 18:31:30 +01:00
Kaian 0bf9671f69 Support for Perl Compatible regular expressions 2015-03-01 14:49:50 +01:00
Kaian 20aeb78df8 Create hash table for searching by callid 2015-02-27 21:07:03 +01:00