package/nettle: add host variant
PATCH 1/4 package/nettle: add host variant
--- package/nettle/nettle.mk | 1 + 1 file changed, 1 insertion(+)
package/nettle/nettle.mk +1 -0
@@ -33,3 +33,4 @@ endef NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.7.10.4
PATCH 2/4 package/gnutls: add host variant
--- package/gnutls/gnutls.mk | 1 + 1 file changed, 1 insertion(+)
package/gnutls/gnutls.mk +1 -0
@@ -67,3 +67,4 @@ GNUTLS_POST_PATCH_HOOKS += GNUTLS_DISABLE_DOCS GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS) $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.7.10.4
PATCH 3/4 package/wget: add host variant
In reply to Bernd KuhlsLet it depend on gnutls only to avoid certificate problems
For reference read
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652480#20
This patch will fix download problems with powertop, like
http://autobuild.buildroot.net/results/962/962f6ab48f3414cf465dcd7c40ea19494b6be8b9//
--- package/wget/wget.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/wget/wget.mk +4 -0
@@ -38,4 +38,8 @@ ifneq ($(BR2_PACKAGE_OPENSSL),y) endif endif +HOST_WGET_DEPENDENCIES += host-gnutls host-pkgconf +HOST_WGET_CONF_OPTS += --with-ssl=gnutls --with-libgnutls-prefix=$(HOST_DIR) + $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 1 line
1.7.10.4
PATCH 4/4 package/powertop: Fix download problems
In reply to Bernd KuhlsDepend on host-wget which uses gnutls to avoid certificate problems
For reference read
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652480#20
Fixes
http://autobuild.buildroot.net/results/962/962f6ab48f3414cf465dcd7c40ea19494b6be8b9/
http://autobuild.buildroot.net/results/db6/db632c9fa2fc816790809c685b636175173640de/
http://autobuild.buildroot.net/results/e77/e77da9b39cdcb8730b5650924ba640170f79379c/
http://autobuild.buildroot.net/results/a3a/a3a4bb08b266222e90d2a3f915981c87baaed420/
and many others
--- package/powertop/powertop.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/powertop/powertop.mk +1 -1
@@ -6,7 +6,7 @@ POWERTOP_VERSION = 2.7 POWERTOP_SITE = https://01.org/sites/default/files/downloads/powertop/ -POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf +POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf host-wget POWERTOP_LICENSE = GPLv2 POWERTOP_LICENSE_FILES = COPYING # We're patching Makefile.am
Signature · 1 line
1.7.10.4
PATCH 4/4 package/powertop: Fix download problems
Dear Bernd Kuhls,
package/powertop/powertop.mk line 9
Quoted 4 lines · Bernd Kuhls
POWERTOP_VERSION= 2.7
POWERTOP_SITE= https://01.org/sites/default/files/downloads/powertop/package/powertop/powertop.mk +1
-1-POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf +POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf host-wget
This cannot work, because <pkg>_DEPENDENCIES are only guaranteed to be built and installed before the configure step of <pkg>. And here, you need host-wget before powertop gets downloaded.
So another solution is needed. Not sure which one, though.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 4/4 package/powertop: Fix download problems
Quoted 5 lines · Thomas Petazzoni
This cannot work, because <pkg>_DEPENDENCIES are only guaranteed to be built and installed before the configure step of <pkg>. And here, you need host-wget before powertop gets downloaded.
So another solution is needed. Not sure which one, though.
Hi.
wget --no-check-certificate looks like the best solution, and rely on our hashes for authentication/consistency.
Regards.