irontec / sngrep

Ncurses SIP Messages flow viewer
GNU General Public License v3.0
1.02k stars 187 forks source link

remove use of libgcrypt-config #492

Closed linuxmaniac closed 4 months ago

linuxmaniac commented 4 months ago

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071954

sngrep uses libgcrypt-config to locate libgcrypt. This breaks
against libgcrypt 1.11 which does not ship libgcrypt-config anymore.
Please use pkg-config/pkgconf instead.
Kaian commented 4 months ago

Hi @linuxmaniac

Thanks for the info!

I'll try to adapt the configure template to use pkg-config if libgcrypt-config is not found to keep compatibility with older systems.

Regards!

ametzler commented 4 months ago

Just to add some context: libgcrypt added a pkg-config file in version 1.8.5 which was released in August 2019.

Kaian commented 4 months ago

Hi!

Above PR adds support for searching libgcrypt flags using pkg-config, keeping libgcrypt-config as fallback for older systems (p.e.: debian buster and older).

Hope it fixes the problem!

Best regards

linuxmaniac commented 4 months ago
Uploading to ftp-master (via ftp to ftp.upload.debian.org):
  Uploading sngrep_1.8.2-1.dsc: done.
  Uploading sngrep_1.8.2.orig.tar.gz: done.
  Uploading sngrep_1.8.2.orig.tar.gz.asc: done.
  Uploading sngrep_1.8.2-1.debian.tar.xz: done.
  Uploading sngrep_1.8.2-1_amd64.buildinfo: done.
  Uploading sngrep_1.8.2-1_source.changes: done.
Successfully uploaded packages.

Thanks!