* [Buildroot] [PATCH 1/4] package/nettle: add host variant
@ 2015-03-28 11:47 Bernd Kuhls
2015-03-28 11:47 ` [Buildroot] [PATCH 2/4] package/gnutls: " Bernd Kuhls
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-03-28 11:47 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/nettle/nettle.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
index a25bb24..b65a812 100644
--- a/package/nettle/nettle.mk
+++ b/package/nettle/nettle.mk
@@ -33,3 +33,4 @@ endef
NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/4] package/gnutls: add host variant
2015-03-28 11:47 [Buildroot] [PATCH 1/4] package/nettle: add host variant Bernd Kuhls
@ 2015-03-28 11:47 ` Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 3/4] package/wget: " Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 4/4] package/powertop: Fix download problems Bernd Kuhls
2 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-03-28 11:47 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/gnutls/gnutls.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 0154b4d..103abb3 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -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))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/4] package/wget: add host variant
2015-03-28 11:47 [Buildroot] [PATCH 1/4] package/nettle: add host variant Bernd Kuhls
2015-03-28 11:47 ` [Buildroot] [PATCH 2/4] package/gnutls: " Bernd Kuhls
@ 2015-03-28 11:48 ` Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 4/4] package/powertop: Fix download problems Bernd Kuhls
2 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-03-28 11:48 UTC (permalink / raw)
To: buildroot
Let 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//
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/wget/wget.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/wget/wget.mk b/package/wget/wget.mk
index 742d81e..f842b65 100644
--- a/package/wget/wget.mk
+++ b/package/wget/wget.mk
@@ -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))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] package/powertop: Fix download problems
2015-03-28 11:47 [Buildroot] [PATCH 1/4] package/nettle: add host variant Bernd Kuhls
2015-03-28 11:47 ` [Buildroot] [PATCH 2/4] package/gnutls: " Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 3/4] package/wget: " Bernd Kuhls
@ 2015-03-28 11:48 ` Bernd Kuhls
2015-03-28 15:15 ` Thomas Petazzoni
2 siblings, 1 reply; 6+ messages in thread
From: Bernd Kuhls @ 2015-03-28 11:48 UTC (permalink / raw)
To: buildroot
Depend 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
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/powertop/powertop.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/powertop/powertop.mk b/package/powertop/powertop.mk
index 331edc9..026163a 100644
--- a/package/powertop/powertop.mk
+++ b/package/powertop/powertop.mk
@@ -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
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] package/powertop: Fix download problems
2015-03-28 11:48 ` [Buildroot] [PATCH 4/4] package/powertop: Fix download problems Bernd Kuhls
@ 2015-03-28 15:15 ` Thomas Petazzoni
2015-03-28 16:01 ` Gustavo Zacarias
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2015-03-28 15:15 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 28 Mar 2015 12:48:01 +0100, Bernd Kuhls wrote:
> 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
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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] package/powertop: Fix download problems
2015-03-28 15:15 ` Thomas Petazzoni
@ 2015-03-28 16:01 ` Gustavo Zacarias
0 siblings, 0 replies; 6+ messages in thread
From: Gustavo Zacarias @ 2015-03-28 16:01 UTC (permalink / raw)
To: buildroot
On 03/28/2015 12:15 PM, Thomas Petazzoni wrote:
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-28 16:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-28 11:47 [Buildroot] [PATCH 1/4] package/nettle: add host variant Bernd Kuhls
2015-03-28 11:47 ` [Buildroot] [PATCH 2/4] package/gnutls: " Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 3/4] package/wget: " Bernd Kuhls
2015-03-28 11:48 ` [Buildroot] [PATCH 4/4] package/powertop: Fix download problems Bernd Kuhls
2015-03-28 15:15 ` Thomas Petazzoni
2015-03-28 16:01 ` Gustavo Zacarias
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.