Commit Graph

26 Commits

Author SHA1 Message Date
Andre Heider 2fed4c0895 getdns: fix compilation with OPENSSL_NO_DEPRECATED
SSL_get_peer_certificate() is deprecated, OpenSSL v3.0 added
SSL_get0_peer_certificate() and SSL_get1_peer_certificate().

Use the latter since the return value is explicitely X509_free()ed
here, see [0].

[0] https://www.openssl.org/docs/manmaster/man3/SSL_get_peer_certificate.html

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-05-01 13:36:00 +03:00
Aquila Cooper 3dc5287cbe
getdns: Update to 1.7.3
Changelog from upstream (https://github.com/getdnsapi/getdns/releases/tag/v1.7.3):

* 2022-12-22: Version 1.7.3
  * PR getdnsapi/getdns#532: Increase CMake required version 3.5 -> 3.20, because we
    need cmake_path for Absolute paths in pkg-config (See Issue getdnsapi/getdns#517)
    Thanks Gabriel Ganne
  * Updated to Stubby 0.4.3 quickfix release

* 2022-08-19: Version 1.7.2
  * Stubby updated to 0.4.2 quickfix release

* 2022-08-19: Version 1.7.1
  * Always send the `dot` ALPN when using DoT
  * Strengthen version determination for Libidn2 during cmake processing
    (thanks jpbion).
  * Fix for issue in UDP stream selection in case of timeouts.
    Thanks Shikha Sharma
  * Fix using asterisk in ipstr for any address. Thanks uzlonewolf.
  * Issue getdnsapi/stubby#295: rdata not correctly written for validation for
    certain RR type. Also, set default built type to RelWithDebInfo and
    expose CFLAGS via GETDNS_BUILD_CFLAGS define and via
    getdns_context_get_api_information()
  * Issue getdnsapi/getdns#524: Bug fixes from submodules' upstream?
    Thanks Johnnyslee
  * Issue getdnsapi/getdns#517: Allow Absolute path CMAKE_INSTALL_{INCLUDE,LIB}DIR in
    pkg-config files. Thanks Alex Shpilkin
  * Issue getdnsapi/getdns#512: Update README.md to show correct PGP key location.
    Thanks Katze Prior.

Signed-off-by: Aquila Cooper <aquila@cpr.is>
2023-01-07 04:29:00 +00:00
Rui Salvaterra 978e226596 getdns: add optional support for libevent2
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-03 02:18:57 -08:00
Rui Salvaterra a1d0de6799 getdns: clean up the configuration menu
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-03 02:18:57 -08:00
Jonathan G. Underwood 4a241581ab getdns: remove maintainer
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2021-06-13 15:10:40 +01:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rui Salvaterra 0261cd0972 getdns: bump to 1.7.0
Remove obsolete patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-11 15:38:42 +01:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Jonathan G. Underwood 24c02c728f getdns: disable static linking of getdns utilities
This fixes issue #13361.

Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2021-02-07 13:44:47 +00:00
Harris K Kusuma 342526f142 getdns: Fix TLS V1.3 Ciphersuites option in Stubby
Description :
Fix typo in CMAKE getdns included files, so Stubby can use TLS v1.3 with chipersuites options ON.

This solve issue that's written in here :
https://github.com/getdnsapi/stubby/issues/240
https://github.com/getdnsapi/stubby/issues/257

Signed-off-by: Harris K Kusuma <igharris.kk@gmail.com>
2021-02-01 18:38:48 +07:00
Rosen Penev 490a4eff19
getdns: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:14:21 -07:00
Rosen Penev 26c7488d35
getdns: fix compilation without deprecated OpenSSL APIs
Since DSA is enabled, dsa.h is needed. Normally this header is included
implicitly with engine.h but with OPENSSL_API_COMPAT >= 0x10100000L ,
this is not so.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-07 14:57:59 -07:00
Rosen Penev 130f2deb0e
getdns: properly remove libbsd support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-07 14:57:49 -07:00
Jonathan G. Underwood 171c2e2cf4 getdns: update to version 1.6.0
This update also:
    - enables parallel builds
    - moves to the CMake build system
    - removes the redundant InstallDev stanza

Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2020-07-05 12:27:01 +01:00
Alexander Ryzhov 8ad95c4576 getdns: fix library double packing
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
2019-06-06 20:10:21 +03:00
Jonathan G. Underwood a07ca474ad getdns: update to version 1.5.2
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-05-10 19:32:10 +01:00
Jonathan G. Underwood 92bfd4a85a getdns: update to version 1.5.0
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
2019-01-20 15:25:33 +00:00
David Mora 8a011859ec
getdns: Remove iamperson347 from maintainer
I am no longer able to support maintaining the getdns lib for openwrt. I suggest Jonathan Underwood <jonathan.underwood@gmail.com> as a replacement.
2018-12-30 09:50:39 -05:00
Guo Li d0766135ad getdns: add note for remove libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
Guo Li 035b22b208 getdns: remove libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
Guo Li 8365744b80 getdns: fix missing libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
David Mora ba923ce93e getdns: Bump to 1.4.2
Update to new upstream version. Needed to add a patch provided by upstream to compile with musl.

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-05-13 07:21:49 -04:00
David Mora cefe7738b5 getdns: Package update to replace libidn support with libidn2
Package update to replace libidn support with libidn2

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-04-17 18:10:59 -04:00
David Mora 389c9cf729 gettdns: Bump to 1.4.1 plus fixes
Makefile needed to be updated specify ssl dir

Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-03-13 19:05:41 -04:00
David Mora 3e56158e82 getdns: Initial commit of openwrt package for getdns library
Signed-off-by: David Mora <iamperson347+public@gmail.com>
2018-01-29 10:45:16 +00:00