Skip to content

Commit

Permalink
added buildroot patch to bump c-ares to 1.17.1 which should fix issues
Browse files Browse the repository at this point in the history
with libcares.so not carrying a correct v2 version ending.
(This refs
https://homematic-forum.de/forum/viewtopic.php?f=65&t=62825&p=629070#p629063)
  • Loading branch information
jens-maus committed Dec 22, 2020
1 parent 91e683a commit 412dbfc
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 0 deletions.
20 changes: 20 additions & 0 deletions buildroot-patches/0003-c-ares.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- buildroot/package/c-ares/c-ares.hash.orig
+++ buildroot/package/c-ares/c-ares.hash
@@ -1,5 +1,5 @@
# Locally calculated after checking pgp signature
-sha256 1cecd5dbe21306c7263f8649aa6e9a37aecb985995a3489f487d98df2b40757d c-ares-1.17.0.tar.gz
+sha256 d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 c-ares-1.17.1.tar.gz

# Hash for license file
sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md
--- buildroot/package/c-ares/c-ares.mk.orig
+++ buildroot/package/c-ares/c-ares.mk
@@ -4,7 +4,7 @@
#
################################################################################

-C_ARES_VERSION = 1.17.0
+C_ARES_VERSION = 1.17.1
C_ARES_SITE = http://c-ares.haxx.se/download
C_ARES_INSTALL_STAGING = YES
C_ARES_CONF_OPTS = --with-random=/dev/urandom
2 changes: 2 additions & 0 deletions buildroot-patches/0003-c-ares.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
rm -fv $1/package/c-ares/0001-src-lib-Makefile.am-install-ares_dns.h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
sha256 d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 c-ares-1.17.1.tar.gz

# Hash for license file
sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
sha256 1cecd5dbe21306c7263f8649aa6e9a37aecb985995a3489f487d98df2b40757d c-ares-1.17.0.tar.gz

# Hash for license file
sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md
17 changes: 17 additions & 0 deletions buildroot-patches/0003-c-ares/buildroot/package/c-ares/c-ares.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
################################################################################
#
# c-ares
#
################################################################################

C_ARES_VERSION = 1.17.1
C_ARES_SITE = http://c-ares.haxx.se/download
C_ARES_INSTALL_STAGING = YES
C_ARES_CONF_OPTS = --with-random=/dev/urandom
C_ARES_LICENSE = MIT
C_ARES_LICENSE_FILES = LICENSE.md
# We're patching src/lib/Makefile.am
C_ARES_AUTORECONF = YES

$(eval $(autotools-package))
$(eval $(host-autotools-package))
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
################################################################################
#
# c-ares
#
################################################################################

C_ARES_VERSION = 1.17.0
C_ARES_SITE = http://c-ares.haxx.se/download
C_ARES_INSTALL_STAGING = YES
C_ARES_CONF_OPTS = --with-random=/dev/urandom
C_ARES_LICENSE = MIT
C_ARES_LICENSE_FILES = LICENSE.md
# We're patching src/lib/Makefile.am
C_ARES_AUTORECONF = YES

$(eval $(autotools-package))
$(eval $(host-autotools-package))

0 comments on commit 412dbfc

Please sign in to comment.