* [Buildroot] [PATCH 5/7] glib-networking: fix build failure with gnutls3
From: Gustavo Zacarias @ 2012-12-28 19:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/glib-networking/glib-networking.mk | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
index b1eec4d..e8d71e5 100644
--- a/package/glib-networking/glib-networking.mk
+++ b/package/glib-networking/glib-networking.mk
@@ -25,4 +25,11 @@ else
GLIB_NETWORKING_CONF_OPT += --without-gnutls
endif
+# gnutls 3.x+ doesn't use libgcrypt, it uses nettle/hogweed
+define GLIB_NETWORKING_NO_LIBGCRYPT
+ $(SED) 's:#include <gcrypt.h>::' $(@D)/tls/gnutls/gtlsbackend-gnutls.c
+endef
+
+GLIB_NETWORKING_POST_EXTRACT_HOOKS += GLIB_NETWORKING_NO_LIBGCRYPT
+
$(eval $(autotools-package))
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 6/7] network-manager: needs libgcrypt
From: Gustavo Zacarias @ 2012-12-28 19:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar>
Since we moved to gnutls 3.x series which doesn't use libgcrypt we need
to pull it in as a dependency to avoid build breakage.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/network-manager/Config.in | 1 +
package/network-manager/network-manager.mk | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index f2544da..9b84083 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -11,6 +11,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
select BR2_PACKAGE_UDEV
select BR2_PACKAGE_UDEV_ALL_EXTRAS
select BR2_PACKAGE_GNUTLS
+ select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_LIBNL
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
index d14c98d..2a68c96 100644
--- a/package/network-manager/network-manager.mk
+++ b/package/network-manager/network-manager.mk
@@ -7,7 +7,8 @@ NETWORK_MANAGER_VERSION = 0.9.2.0
NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.bz2
NETWORK_MANAGER_SITE = http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.9/
NETWORK_MANAGER_INSTALL_STAGING = YES
-NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib libnl wireless_tools gnutls util-linux
+NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib libnl gnutls \
+ libgcrypt wireless_tools util-linux
NETWORK_MANAGER_CONF_ENV = \
ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 7/7] connman: bump to version 1.10
From: Gustavo Zacarias @ 2012-12-28 19:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/connman/connman.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index 2c376c9..73ea70d 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -4,10 +4,12 @@
#
#######################################################
-CONNMAN_VERSION = 1.9
+CONNMAN_VERSION = 1.10
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/
CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls
CONNMAN_INSTALL_STAGING = YES
+CONNMAN_LICENSE = GPLv2
+CONNMAN_LICENSE_FILES = COPYING
CONNMAN_CONF_OPT += --localstatedir=/var \
$(if $(BR2_PACKAGE_CONNMAN_THREADS),--enable-threads,--disable-threads) \
$(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 2/2] package/tvheadend: new package
From: Thomas Petazzoni @ 2012-12-28 19:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <10a2519ee66e733b1837c6b48c59a90887086be5.1356719913.git.yann.morin.1998@free.fr>
Dear Yann E. MORIN,
On Fri, 28 Dec 2012 19:42:12 +0100, Yann E. MORIN wrote:
> @@ -0,0 +1,18 @@
> +#comment "tvheadend requires a toolchain with WCHAR and LARGEFILE support"
> +# depends on !BR2_USE_WCHAR || !BR2_LARGEFILE
Hum?
> diff --git a/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch b/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
> new file mode 100644
> index 0000000..103f5ef
> --- /dev/null
> +++ b/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
> @@ -0,0 +1,50 @@
> +diff -durN tvheadend-v3.3.orig//configure tvheadend-v3.3/configure
> +--- tvheadend-v3.3.orig//configure 2012-09-25 15:32:31.000000000 +0200
> ++++ tvheadend-v3.3/configure 2012-12-28 17:17:23.580253413 +0100
Patch lacks description.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 15/20] efl/expedite: bump to 1.7.4
From: Thomas Petazzoni @ 2012-12-28 19:50 UTC (permalink / raw)
To: buildroot
In-Reply-To: <de051bb152fd3f20c9af502000de61e004925a95.1356723702.git.thomas.petazzoni@free-electrons.com>
On Fri, 28 Dec 2012 20:42:08 +0100, Thomas Petazzoni wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/efl/expedite/expedite.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/efl/expedite/expedite.mk b/package/efl/expedite/expedite.mk
> index f25294e..4b245ec 100644
> --- a/package/efl/expedite/expedite.mk
> +++ b/package/efl/expedite/expedite.mk
> @@ -4,7 +4,7 @@
> #
> #############################################################
>
> -EXPEDITE_VERSION = 1.7.3
> +EXPEDITE_VERSION = 1.7.4
Gaah, this should have been merged in PATCH 02/20. I'm fixing this and
pushing an updated branch in my public Git repo. I will not repost
immediately to the list, but instead wait for more reviews.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 2/2] package/tvheadend: new package
From: Yann E. MORIN @ 2012-12-28 19:54 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121228204837.7ba7b56b@skate>
Thomas, All,
On Friday 28 December 2012 Thomas Petazzoni wrote:
> Dear Yann E. MORIN,
>
> On Fri, 28 Dec 2012 19:42:12 +0100, Yann E. MORIN wrote:
>
> > @@ -0,0 +1,18 @@
> > +#comment "tvheadend requires a toolchain with WCHAR and LARGEFILE support"
> > +# depends on !BR2_USE_WCHAR || !BR2_LARGEFILE
>
> Hum?
Left-over from a previous iteration.
That was for pyton, but python is needed only at build-time.
> > diff --git a/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch b/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
> > new file mode 100644
> > index 0000000..103f5ef
> > --- /dev/null
> > +++ b/package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
> > @@ -0,0 +1,50 @@
> > +diff -durN tvheadend-v3.3.orig//configure tvheadend-v3.3/configure
> > +--- tvheadend-v3.3.orig//configure 2012-09-25 15:32:31.000000000 +0200
> > ++++ tvheadend-v3.3/configure 2012-12-28 17:17:23.580253413 +0100
>
> Patch lacks description.
Right.
Thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 1/7] gnutls: bump to version 3.1.5
From: Thomas Petazzoni @ 2012-12-28 20:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar>
Dear Gustavo Zacarias,
On Fri, 28 Dec 2012 16:47:17 -0300, Gustavo Zacarias wrote:
> + select BR2_PACKAGE_NETTLE
I'm maybe missing something, but I don't have BR2_PACKAGE_NETTLE here.
Are you sure there isn't a patch missing in your patch set?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] nettle: add new package
From: Gustavo Zacarias @ 2012-12-28 20:01 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/nettle/Config.in | 9 +++++++++
package/nettle/nettle.mk | 12 ++++++++++++
3 files changed, 22 insertions(+), 0 deletions(-)
create mode 100644 package/nettle/Config.in
create mode 100644 package/nettle/nettle.mk
diff --git a/package/Config.in b/package/Config.in
index 6d64e2c..301b52a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -364,6 +364,7 @@ source "package/gnutls/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libnss/Config.in"
+source "package/nettle/Config.in"
source "package/ocf-linux/Config.in"
source "package/openssl/Config.in"
source "package/polarssl/Config.in"
diff --git a/package/nettle/Config.in b/package/nettle/Config.in
new file mode 100644
index 0000000..5577621
--- /dev/null
+++ b/package/nettle/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_NETTLE
+ bool "nettle"
+ select BR2_PACKAGE_GMP
+ help
+ Nettle is a cryptographic library that is designed to fit easily
+ in more or less any context: In crypto toolkits for object-oriented
+ languages, in applications like LSH or GNUPG, or even in kernel space
+
+ http://www.lysator.liu.se/~nisse/nettle/
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
new file mode 100644
index 0000000..ef7640a
--- /dev/null
+++ b/package/nettle/nettle.mk
@@ -0,0 +1,12 @@
+NETTLE_VERSION = 2.5
+NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
+NETTLE_DEPENDENCIES = gmp
+NETTLE_INSTALL_STAGING = YES
+
+define NETTLE_DITCH_DEBUGGING_CFLAGS
+ $(SED) '/CFLAGS/ s/ -ggdb3//' $(@D)/configure
+endef
+
+NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS
+
+$(eval $(autotools-package))
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH 1/7] gnutls: bump to version 3.1.5
From: Gustavo Zacarias @ 2012-12-28 20:01 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121228210011.1740cc20@skate>
On 12/28/2012 05:00 PM, Thomas Petazzoni wrote:
> Dear Gustavo Zacarias,
>
> On Fri, 28 Dec 2012 16:47:17 -0300, Gustavo Zacarias wrote:
>
>> + select BR2_PACKAGE_NETTLE
>
> I'm maybe missing something, but I don't have BR2_PACKAGE_NETTLE here.
> Are you sure there isn't a patch missing in your patch set?
>
> Thanks!
>
> Thomas
D'oh!
Thanks for the headsup, missing patch sent.
Regards.
^ permalink raw reply
* [Buildroot] Buildroot Developers Meeting after FOSDEM 2013
From: Thomas Petazzoni @ 2012-12-28 20:29 UTC (permalink / raw)
To: buildroot
Hello,
As was announced after the previous Developers Meeting, the next one
will take place on February 4th and 5th 2013 in Brussels, right after
the FOSDEM conference (http://www.fosdem.org).
I've set up a Wiki page to coordinate the organization of this meeting,
see http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013.
I really recommend people living in Europe to attend the FOSDEM
conference, it's a great event with lots of interesting talks. And
it'll allow you to attend the Buildroot meeting as well!
Interested people are invited to contact me to get registered for the
meeting. Registration is free.
Also, if you are part of a company willing to sponsor the event, that
would be great, even a few hundred euros would be very nice to help pay
for the lunch or dinner expenses for the participants. Thanks for your
support!
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] nettle: add new package
From: Peter Korsgaard @ 2012-12-28 20:36 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ac4e3c02d43708ed1263186b52a791c615d67cce
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/nettle/Config.in | 9 +++++++++
package/nettle/nettle.mk | 12 ++++++++++++
3 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 3d556b2..6c82bab 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -363,6 +363,7 @@ source "package/gnutls/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libnss/Config.in"
+source "package/nettle/Config.in"
source "package/ocf-linux/Config.in"
source "package/openssl/Config.in"
source "package/polarssl/Config.in"
diff --git a/package/nettle/Config.in b/package/nettle/Config.in
new file mode 100644
index 0000000..5577621
--- /dev/null
+++ b/package/nettle/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_NETTLE
+ bool "nettle"
+ select BR2_PACKAGE_GMP
+ help
+ Nettle is a cryptographic library that is designed to fit easily
+ in more or less any context: In crypto toolkits for object-oriented
+ languages, in applications like LSH or GNUPG, or even in kernel space
+
+ http://www.lysator.liu.se/~nisse/nettle/
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
new file mode 100644
index 0000000..ef7640a
--- /dev/null
+++ b/package/nettle/nettle.mk
@@ -0,0 +1,12 @@
+NETTLE_VERSION = 2.5
+NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
+NETTLE_DEPENDENCIES = gmp
+NETTLE_INSTALL_STAGING = YES
+
+define NETTLE_DITCH_DEBUGGING_CFLAGS
+ $(SED) '/CFLAGS/ s/ -ggdb3//' $(@D)/configure
+endef
+
+NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS
+
+$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH] nettle: add new package
From: Peter Korsgaard @ 2012-12-28 20:37 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724868-9000-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed, thanks.
Care to send a followup patch adding LICENSE info?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] nettle: add license info
From: Gustavo Zacarias @ 2012-12-28 20:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/nettle/nettle.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
index ef7640a..ae09ecc 100644
--- a/package/nettle/nettle.mk
+++ b/package/nettle/nettle.mk
@@ -2,6 +2,8 @@ NETTLE_VERSION = 2.5
NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
NETTLE_DEPENDENCIES = gmp
NETTLE_INSTALL_STAGING = YES
+NETTLE_LICENSE = LGPLv2.1+
+NETTLE_LICENSE_FILES = COPYING.LIB
define NETTLE_DITCH_DEBUGGING_CFLAGS
$(SED) '/CFLAGS/ s/ -ggdb3//' $(@D)/configure
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH] nettle: add new package
From: Gustavo Zacarias @ 2012-12-28 20:40 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87fw2pzzef.fsf@dell.be.48ers.dk>
On 12/28/2012 05:37 PM, Peter Korsgaard wrote:
> Committed, thanks.
>
> Care to send a followup patch adding LICENSE info?
Sure, the gnutls3 patchset has been sitting from before the 2012.11
release pending some details (like this one) :)
Sent.
^ permalink raw reply
* [Buildroot] [PATCH 1/2] xserver_xorg-server: fix build on AArch64
From: Thomas Petazzoni @ 2012-12-28 20:41 UTC (permalink / raw)
To: buildroot
Fixes the following build issue:
Making all in fb
CC libfb_la-fb24_32.lo
In file included from fb24_32.c:30:0:
fb.h:98:2: error: #error "GLYPHPADBYTES must be 4"
See:
http://autobuild.buildroot.org/results/9135238abcde29918f8cb61002f1fb9279884a47/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../xserver_xorg-server-aarch64-support.patch | 23 ++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 package/x11r7/xserver_xorg-server/xserver_xorg-server-aarch64-support.patch
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-aarch64-support.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-aarch64-support.patch
new file mode 100644
index 0000000..ec497c8
--- /dev/null
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server-aarch64-support.patch
@@ -0,0 +1,23 @@
+Add necessary definitions for AArch64
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: xserver_xorg-server-1.9.4/include/servermd.h
+===================================================================
+--- xserver_xorg-server-1.9.4.orig/include/servermd.h 2009-11-04 20:31:46.000000000 +0100
++++ xserver_xorg-server-1.9.4/include/servermd.h 2012-12-28 18:16:55.000000000 +0100
+@@ -68,6 +68,14 @@
+ * GLYPHPADBYTES is used.
+ */
+
++#ifdef __aarch64__
++
++# define IMAGE_BYTE_ORDER LSBFirst
++# define BITMAP_BIT_ORDER LSBFirst
++# define GLYPHPADBYTES 4
++
++#endif
++
+ #ifdef __avr32__
+
+ #define IMAGE_BYTE_ORDER MSBFirst
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [PATCH 2/2] diffutils: fix build with recent glibc
From: Thomas Petazzoni @ 2012-12-28 20:41 UTC (permalink / raw)
To: buildroot
Fixes the following build problem with recent toolchains:
In file included from exclude.c:31:0:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
CC hard-locale.o
make[4]: *** [exclude.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from stdio-safer.h:20:0,
from freopen-safer.c:22:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
...tils-gets-no-longer-exists-in-eglibc-2.16.patch | 26 ++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 package/diffutils/diffutils-gets-no-longer-exists-in-eglibc-2.16.patch
diff --git a/package/diffutils/diffutils-gets-no-longer-exists-in-eglibc-2.16.patch b/package/diffutils/diffutils-gets-no-longer-exists-in-eglibc-2.16.patch
new file mode 100644
index 0000000..4785718
--- /dev/null
+++ b/package/diffutils/diffutils-gets-no-longer-exists-in-eglibc-2.16.patch
@@ -0,0 +1,26 @@
+Handle the fact that gets() no longer exists in glibc >= 2.16
+
+The problem has been fixed upstream, but no release containing the fix
+has been made so far.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/lib/stdio.in.h
+===================================================================
+--- a/lib/stdio.in.h
++++ b/lib/stdio.in.h
+@@ -693,12 +693,14 @@
+ _GL_CXXALIAS_SYS (gets, char *, (char *s));
+ # undef gets
+ # endif
++# if defined gets
+ _GL_CXXALIASWARN (gets);
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif
+
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] Buildroot Developers Meeting after FOSDEM 2013
From: Yann E. MORIN @ 2012-12-28 20:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121228212925.3c5074c6@skate>
Thomas, All,
On Friday 28 December 2012 Thomas Petazzoni wrote:
> As was announced after the previous Developers Meeting, the next one
> will take place on February 4th and 5th 2013 in Brussels, right after
> the FOSDEM conference (http://www.fosdem.org).
Great!
> I really recommend people living in Europe to attend the FOSDEM
> conference, it's a great event with lots of interesting talks. And
> it'll allow you to attend the Buildroot meeting as well!
Seconded. FOSDEM is like an ants nest: very busy with very interesting
stuff all over the place. You won't be disapointed!
> Interested people are invited to contact me to get registered for the
> meeting. Registration is free.
For your pleasure, or your penitence (pick one! ;-), I'll be attending
this year!
So: is anyone willing to share a bedroom for the WE?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH 1/7] gnutls: bump to version 3.1.5
From: Peter Korsgaard @ 2012-12-28 20:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> package/gnutls/Config.in | 9 +++-
Gustavo> ...001-gets-no-longer-exists-in-e-glibc-2.16.patch | 56 --------------------
Gustavo> package/gnutls/gnutls.mk | 26 +++++++---
Gustavo> 3 files changed, 27 insertions(+), 64 deletions(-)
Gustavo> delete mode 100644 package/gnutls/gnutls-0001-gets-no-longer-exists-in-e-glibc-2.16.patch
Gustavo> diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
Gustavo> index cedf120..2bd5ab6 100644
Gustavo> --- a/package/gnutls/Config.in
Gustavo> +++ b/package/gnutls/Config.in
Gustavo> @@ -1,8 +1,15 @@
Gustavo> config BR2_PACKAGE_GNUTLS
Gustavo> bool "gnutls"
Gustavo> - select BR2_PACKAGE_LIBGCRYPT
Gustavo> + select BR2_PACKAGE_NETTLE
Gustavo> help
Gustavo> GnuTLS is a secure communications library implementing the SSL
Gustavo> and TLS protocols and technologies around them.
Gustavo> http://www.gnu.org/software/gnutls/gnutls.html
Gustavo> +
Gustavo> +config BR2_PACKAGE_GNUTLS_TOOLS
Gustavo> + bool "install tools"
Gustavo> + depends on BR2_PACKAGE_GNUTLS
Gustavo> + depends on BR2_USE_WCHAR
Gustavo> + help
Gustavo> + Install GnuTLS command line tools for various cryptographic tasks.
I've added a comment line about tools not available with a !WCHAR
toolchain and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] hostapd: remove gnutls support
From: Peter Korsgaard @ 2012-12-28 20:53 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=788fcd99e0578e361f192aae4b89b15f1a60faac
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
hostapd isn't API compatible with gnutls3 so remove support.
It's probably hardly used since openssl is far more common, and hostapd
can use its internal routines if it's not available.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/hostapd/hostapd.mk | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
index 45a93fc..b18881a 100644
--- a/package/hostapd/hostapd.mk
+++ b/package/hostapd/hostapd.mk
@@ -27,7 +27,7 @@ define HOSTAPD_LIBTOMMATH_CONFIG
$(SED) 's/\(#\)\(CONFIG_INTERNAL_LIBTOMMATH.*\)/\2/' $(HOSTAPD_CONFIG)
endef
-# Try to use openssl or gnutls if it's already available
+# Try to use openssl if it's already available
ifeq ($(BR2_PACKAGE_OPENSSL),y)
HOSTAPD_DEPENDENCIES += openssl
define HOSTAPD_TLS_CONFIG
@@ -35,17 +35,10 @@ define HOSTAPD_TLS_CONFIG
$(SED) 's/\(#\)\(CONFIG_EAP_PWD.*\)/\2/' $(HOSTAPD_CONFIG)
endef
else
-ifeq ($(BR2_PACKAGE_GNUTLS),y)
- HOSTAPD_DEPENDENCIES += gnutls
-define HOSTAPD_TLS_CONFIG
- $(SED) 's/\(#\)\(CONFIG_TLS=\).*/\2gnutls/' $(HOSTAPD_CONFIG)
-endef
-else
define HOSTAPD_TLS_CONFIG
$(SED) 's/\(#\)\(CONFIG_TLS=\).*/\2internal/' $(HOSTAPD_CONFIG)
endef
endif
-endif
ifeq ($(BR2_PACKAGE_HOSTAPD_EAP),y)
define HOSTAPD_EAP_CONFIG
^ permalink raw reply related
* [Buildroot] [PATCH 2/7] hostapd: remove gnutls support
From: Peter Korsgaard @ 2012-12-28 20:54 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1356724043-8879-2-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> hostapd isn't API compatible with gnutls3 so remove support.
Gustavo> It's probably hardly used since openssl is far more common,
Gustavo> and hostapd can use its internal routines if it's not
Gustavo> available.
I've resuffled this to come before the gnutls one and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] gnutls: bump to version 3.1.5
From: Peter Korsgaard @ 2012-12-28 20:55 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=a8293a376574c439041de48e6571a4b82f7d2c3b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
[Peter: add comment when tools not available]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/gnutls/Config.in | 12 ++++-
...001-gets-no-longer-exists-in-e-glibc-2.16.patch | 56 --------------------
package/gnutls/gnutls.mk | 26 +++++++---
3 files changed, 30 insertions(+), 64 deletions(-)
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
index cedf120..2739088 100644
--- a/package/gnutls/Config.in
+++ b/package/gnutls/Config.in
@@ -1,8 +1,18 @@
config BR2_PACKAGE_GNUTLS
bool "gnutls"
- select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_NETTLE
help
GnuTLS is a secure communications library implementing the SSL
and TLS protocols and technologies around them.
http://www.gnu.org/software/gnutls/gnutls.html
+
+config BR2_PACKAGE_GNUTLS_TOOLS
+ bool "install tools"
+ depends on BR2_PACKAGE_GNUTLS
+ depends on BR2_USE_WCHAR
+ help
+ Install GnuTLS command line tools for various cryptographic tasks.
+
+comment "gnutls tools requires a toolchain with WCHAR support"
+ depends on BR2_PACKAGE_GNUTLS && !BR2_USE_WCHAR
diff --git a/package/gnutls/gnutls-0001-gets-no-longer-exists-in-e-glibc-2.16.patch b/package/gnutls/gnutls-0001-gets-no-longer-exists-in-e-glibc-2.16.patch
deleted file mode 100644
index 802e7ac..0000000
--- a/package/gnutls/gnutls-0001-gets-no-longer-exists-in-e-glibc-2.16.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 855f72c4fe7f4bbf2137ab60357ae3b27bb65185 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Sat, 17 Nov 2012 17:45:41 +0100
-Subject: [PATCH] gets() no longer exists in (e)glibc >= 2.16
-
-gnutls has already updated gnulib upstream in more recent versions
-(3.x) but apparently not in the 2.x branch that we are using.
-
-This patch comes from OpenEmbedded, and has originally been written by
-Khem Raj <raj.khem@gmail.com>.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- gl/stdio.in.h | 2 ++
- lib/gl/stdio.in.h | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/gl/stdio.in.h b/gl/stdio.in.h
-index 9dc7c4a..8cb19d7 100644
---- a/gl/stdio.in.h
-+++ b/gl/stdio.in.h
-@@ -710,11 +710,13 @@ _GL_CXXALIAS_RPL (gets, char *, (char *s));
- _GL_CXXALIAS_SYS (gets, char *, (char *s));
- # undef gets
- # endif
-+# if defined gets
- _GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+# endif
- #endif
-
-
-diff --git a/lib/gl/stdio.in.h b/lib/gl/stdio.in.h
-index 03bea2a..cb6483b 100644
---- a/lib/gl/stdio.in.h
-+++ b/lib/gl/stdio.in.h
-@@ -710,11 +710,13 @@ _GL_CXXALIAS_RPL (gets, char *, (char *s));
- _GL_CXXALIAS_SYS (gets, char *, (char *s));
- # undef gets
- # endif
-+# if defined gets
- _GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+# endif
- #endif
-
-
---
-1.7.9.5
-
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 506d7f5..e27c1a3 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -4,18 +4,30 @@
#
#############################################################
-GNUTLS_VERSION = 2.12.20
-GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
+GNUTLS_VERSION = 3.1.5
+GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
GNUTLS_SITE = $(BR2_GNU_MIRROR)/gnutls
-GNUTLS_LICENSE = GPLv3+ LGPLv2.1+
+GNUTLS_LICENSE = GPLv3+ LGPLv3
GNUTLS_LICENSE_FILES = COPYING lib/COPYING
-GNUTLS_DEPENDENCIES = host-pkgconf libgcrypt $(if $(BR2_PACKAGE_ZLIB),zlib)
-GNUTLS_CONF_ENV = acl_cv_rpath=no \
+GNUTLS_DEPENDENCIES = host-pkgconf nettle $(if $(BR2_PACKAGE_ZLIB),zlib)
+GNUTLS_CONF_OPT = --with-libnettle-prefix=$(STAGING_DIR)/usr --disable-rpath
+GNUTLS_CONF_ENV = gl_cv_socket_ipv6=$(if $(BR2_INET_IPV6),yes,no) \
ac_cv_header_wchar_h=$(if $(BR2_USE_WCHAR),yes,no) \
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) \
gt_cv_c_wint_t=$(if $(BR2_USE_WCHAR),yes,no)
-GNUTLS_CONF_OPT = --with-libgcrypt --without-libgcrypt-prefix \
- --without-p11-kit --disable-rpath
GNUTLS_INSTALL_STAGING = YES
+# Some examples in doc/examples use wchar
+define GNUTLS_DISABLE_DOCS
+ $(SED) 's/ doc / /' $(@D)/Makefile.in
+endef
+
+define GNUTLS_DISABLE_TOOLS
+ $(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in
+ $(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in
+endef
+
+GNUTLS_POST_PATCH_HOOKS += GNUTLS_DISABLE_DOCS
+GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS)
+
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [git commit] wpa_supplicant: remove gnutls support
From: Peter Korsgaard @ 2012-12-28 20:55 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=c89cc4b4b311b927d0c02af5717c6cc1150a1480
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
wpa_supplicant isn't API compatible with gnutls3 so remove support.
It's probably hardly used since openssl is far more common, and
wpa_supplicant can use its internal routines if it's not available.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/wpa_supplicant/wpa_supplicant.mk | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 71be11f..3830d65 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -59,7 +59,7 @@ define WPA_SUPPLICANT_LIBTOMMATH_CONFIG
$(SED) 's/\(#\)\(CONFIG_INTERNAL_LIBTOMMATH.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
endef
-# Try to use openssl or gnutls if it's already available
+# Try to use openssl if it's already available
ifeq ($(BR2_PACKAGE_OPENSSL),y)
WPA_SUPPLICANT_DEPENDENCIES += openssl
define WPA_SUPPLICANT_TLS_CONFIG
@@ -67,17 +67,10 @@ define WPA_SUPPLICANT_TLS_CONFIG
$(SED) 's/\(#\)\(CONFIG_EAP_PWD.*\)/\2/' $(WPA_SUPPLICANT_CONFIG)
endef
else
-ifeq ($(BR2_PACKAGE_GNUTLS),y)
- WPA_SUPPLICANT_DEPENDENCIES += gnutls
-define WPA_SUPPLICANT_TLS_CONFIG
- $(SED) 's/\(#\)\(CONFIG_TLS=\).*/\2gnutls/' $(WPA_SUPPLICANT_CONFIG)
-endef
-else
define WPA_SUPPLICANT_TLS_CONFIG
$(SED) 's/\(#\)\(CONFIG_TLS=\).*/\2internal/' $(WPA_SUPPLICANT_CONFIG)
endef
endif
-endif
ifeq ($(BR2_PACKAGE_DBUS),y)
WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf dbus
^ permalink raw reply related
* [Buildroot] [git commit] ntfs-3g: needs libgcrypt
From: Peter Korsgaard @ 2012-12-28 20:55 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=2007e3b1ef5e6e2e646750496c7496ce831aae01
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Now that we've moved to gnutls 3.x which no longer uses libgcrypt we
need to pull it in as a dependency for ntfs-3g encrypted volume support
to avoid build breakage.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/ntfs-3g/Config.in | 1 +
package/ntfs-3g/ntfs-3g.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/ntfs-3g/Config.in b/package/ntfs-3g/Config.in
index 5301038..1d3e2fb 100644
--- a/package/ntfs-3g/Config.in
+++ b/package/ntfs-3g/Config.in
@@ -17,6 +17,7 @@ if BR2_PACKAGE_NTFS_3G
config BR2_PACKAGE_NTFS_3G_ENCRYPTED
bool "encrypted volumes"
select BR2_PACKAGE_GNUTLS
+ select BR2_PACKAGE_LIBGCRYPT
help
Enable support for NTFS encrypted volumes.
diff --git a/package/ntfs-3g/ntfs-3g.mk b/package/ntfs-3g/ntfs-3g.mk
index d2e6861..cefb73a 100644
--- a/package/ntfs-3g/ntfs-3g.mk
+++ b/package/ntfs-3g/ntfs-3g.mk
@@ -23,7 +23,7 @@ endif
ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y)
NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
NTFS_3G_CONF_OPT += --enable-crypto
- NTFS_3G_DEPENDENCIES += gnutls
+ NTFS_3G_DEPENDENCIES += gnutls libgcrypt
endif
ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y)
^ permalink raw reply related
* [Buildroot] [git commit] glib-networking: fix build failure with gnutls3
From: Peter Korsgaard @ 2012-12-28 20:56 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=484652cbd8d4a647f7833b2e032d0d37147e8424
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/glib-networking/glib-networking.mk | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
index b1eec4d..e8d71e5 100644
--- a/package/glib-networking/glib-networking.mk
+++ b/package/glib-networking/glib-networking.mk
@@ -25,4 +25,11 @@ else
GLIB_NETWORKING_CONF_OPT += --without-gnutls
endif
+# gnutls 3.x+ doesn't use libgcrypt, it uses nettle/hogweed
+define GLIB_NETWORKING_NO_LIBGCRYPT
+ $(SED) 's:#include <gcrypt.h>::' $(@D)/tls/gnutls/gtlsbackend-gnutls.c
+endef
+
+GLIB_NETWORKING_POST_EXTRACT_HOOKS += GLIB_NETWORKING_NO_LIBGCRYPT
+
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [pull request v3] Pull request for branch yem-root-passwd
From: Yann E. MORIN @ 2012-12-28 21:20 UTC (permalink / raw)
To: buildroot
Hello All!
This is iteration #3 for setting the root password from the configuration
menu:
- first patch adds the basic functionality:
- plain text password in menuconfig
- MD5-encrypted in /etc/shadow
- second patch adds additional encryption methods
There has been previous review of this series by Arnout, who suggested
dropping patch #2, and only use an MD5-encrypted password. Since MD5 is now
considered to be a weak hash, stronger alternatives may be usefull for the
security-conscious lurking among us. That's why I kept (resurrected) that
second patch.
Arnout also objected to having the root password in clear in the .config,
and recommended that the user enters the already-encrypted password. That
has, IMHO, a few drawbacks, in that it requires the user actually _reads_
the help text, switch to an alternate terminal, generates a password, and
copy-pastes it back in the initial terminal with the menuconfig. OTOH, if
the user forgets his/her password, he/she can recover it by looking at the
.config file. That's why I still advocates for entering a clear-text
password in the menuconfig.
Any more comments are welcome!
The following changes since commit 4848386446b937d4d0d9d3e9489932ca3fcb1003:
libffi: fix mips build failures (2012-12-28 16:55:09 +0100)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-root-passwd
Yann E. MORIN (2):
target: add option to set the root password
target: add different methods to encode the root password
support/dependencies/dependencies.sh | 9 +++++
system/Config.in | 67 ++++++++++++++++++++++++++++++++++
system/system.mk | 15 ++++++++
3 files changed, 91 insertions(+), 0 deletions(-)
Regards,
Yann E. MORIN
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox