All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] e2fsprogs: bump to version 1.43
@ 2016-05-18 19:08 Gustavo Zacarias
  2016-05-23 11:57 ` Thomas Petazzoni
  2016-06-08 21:52 ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Gustavo Zacarias @ 2016-05-18 19:08 UTC (permalink / raw)
  To: buildroot

Add new fuse2fs option and disable it for host-e2fsprogs to avoid
carrying over unused/unnecessary distro/host dependencies.

Move E2FSPROGS_DEPENDENCIES to the top to avoid nasty mistakes (like
resetting a previous conditional addition).

License file renamed from COPYING to NOTICE.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/e2fsprogs/Config.in      |  9 +++++++++
 package/e2fsprogs/e2fsprogs.hash |  4 ++--
 package/e2fsprogs/e2fsprogs.mk   | 17 ++++++++++++-----
 3 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index e540337..cf43dbc 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -62,6 +62,15 @@ config BR2_PACKAGE_E2FSPROGS_FSCK
 	bool "fsck"
 	default y
 
+config BR2_PACKAGE_E2FSPROGS_FUSE2FS
+	bool "fuse2fs"
+	depends on !BR2_STATIC_LIBS # libfuse
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+	select BR2_PACKAGE_LIBFUSE
+
+comment "fuse2fs needs a toolchain w/ threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+
 config BR2_PACKAGE_E2FSPROGS_LOGSAVE
 	bool "logsave"
 	default y
diff --git a/package/e2fsprogs/e2fsprogs.hash b/package/e2fsprogs/e2fsprogs.hash
index 1585037..3cc90fd 100644
--- a/package/e2fsprogs/e2fsprogs.hash
+++ b/package/e2fsprogs/e2fsprogs.hash
@@ -1,2 +1,2 @@
-# From https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.42.13/sha256sums.asc
-sha256 e16474b5a3a30f9197160c4b91bd48d5a463583049c0fcc405b6f0f7075aa0c7 e2fsprogs-1.42.13.tar.xz
+# From https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.43/sha256sums.asc
+sha256	d027eec0282e169eb55229beefca258c425c9d96f65292e2c004012d5353cd38	e2fsprogs-1.43.tar.xz
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 3de4cd4..c1cbf71 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -4,17 +4,19 @@
 #
 ################################################################################
 
-E2FSPROGS_VERSION = 1.42.13
+E2FSPROGS_VERSION = 1.43
 E2FSPROGS_SOURCE = e2fsprogs-$(E2FSPROGS_VERSION).tar.xz
 E2FSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/tytso/e2fsprogs/v$(E2FSPROGS_VERSION)
 E2FSPROGS_LICENSE = GPLv2, libuuid BSD-3c, libss and libet MIT-like with advertising clause
-E2FSPROGS_LICENSE_FILES = COPYING lib/uuid/COPYING lib/ss/mit-sipb-copyright.h lib/et/internal.h
+E2FSPROGS_LICENSE_FILES = NOTICE lib/uuid/COPYING lib/ss/mit-sipb-copyright.h lib/et/internal.h
 E2FSPROGS_INSTALL_STAGING = YES
 E2FSPROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-libs
+E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux
 
 # e4defrag doesn't build on older systems like RHEL5.x, and we don't
 # need it on the host anyway.
-HOST_E2FSPROGS_CONF_OPTS += --disable-defrag
+# Disable fuse2fs as well to avoid carrying over deps, and it's unused
+HOST_E2FSPROGS_CONF_OPTS += --disable-defrag --disable-fuse2fs
 
 E2FSPROGS_CONF_OPTS = \
 	$(if $(BR2_STATIC_LIBS),,--enable-elf-shlibs) \
@@ -30,6 +32,13 @@ E2FSPROGS_CONF_OPTS = \
 	--disable-testio-debug \
 	--disable-rpath
 
+ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y)
+E2FSPROGS_CONF_OPTS += --enable-fuse2fs
+E2FSPROGS_DEPENDENCIES += libfuse
+else
+E2FSPROGS_CONF_OPTS += --disable-fuse2fs
+endif
+
 ifeq ($(BR2_nios2),y)
 E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no
 endif
@@ -40,8 +49,6 @@ ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
 E2FSPROGS_CONF_ENV += LIBS=-lintl
 endif
 
-E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux
-
 E2FSPROGS_MAKE_OPTS = \
 	LDCONFIG=true
 
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: bump to version 1.43
  2016-05-18 19:08 [Buildroot] [PATCH] e2fsprogs: bump to version 1.43 Gustavo Zacarias
@ 2016-05-23 11:57 ` Thomas Petazzoni
  2016-05-23 12:01   ` Thomas Petazzoni
  2016-06-08 21:52 ` Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-05-23 11:57 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 18 May 2016 16:08:23 -0300, Gustavo Zacarias wrote:
> Add new fuse2fs option and disable it for host-e2fsprogs to avoid
> carrying over unused/unnecessary distro/host dependencies.
> 
> Move E2FSPROGS_DEPENDENCIES to the top to avoid nasty mistakes (like
> resetting a previous conditional addition).
> 
> License file renamed from COPYING to NOTICE.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/e2fsprogs/Config.in      |  9 +++++++++
>  package/e2fsprogs/e2fsprogs.hash |  4 ++--
>  package/e2fsprogs/e2fsprogs.mk   | 17 ++++++++++++-----
>  3 files changed, 23 insertions(+), 7 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: bump to version 1.43
  2016-05-23 11:57 ` Thomas Petazzoni
@ 2016-05-23 12:01   ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-05-23 12:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 23 May 2016 13:57:53 +0200, Thomas Petazzoni wrote:

> >  package/e2fsprogs/Config.in      |  9 +++++++++
> >  package/e2fsprogs/e2fsprogs.hash |  4 ++--
> >  package/e2fsprogs/e2fsprogs.mk   | 17 ++++++++++++-----
> >  3 files changed, 23 insertions(+), 7 deletions(-)  
> 
> Applied to master, thanks.

Obviously, I've applied to next, not to master. I used the wrong key
shortcut to send the "Applied" e-mail :)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: bump to version 1.43
  2016-05-18 19:08 [Buildroot] [PATCH] e2fsprogs: bump to version 1.43 Gustavo Zacarias
  2016-05-23 11:57 ` Thomas Petazzoni
@ 2016-06-08 21:52 ` Thomas Petazzoni
  2016-06-09 11:03   ` Gustavo Zacarias
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-06-08 21:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 18 May 2016 16:08:23 -0300, Gustavo Zacarias wrote:
> Add new fuse2fs option and disable it for host-e2fsprogs to avoid
> carrying over unused/unnecessary distro/host dependencies.
> 
> Move E2FSPROGS_DEPENDENCIES to the top to avoid nasty mistakes (like
> resetting a previous conditional addition).
> 
> License file renamed from COPYING to NOTICE.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

This update is causing some build failures, it would be good if you
could have a look:

http://autobuild.buildroot.net/results/25c/25c042d2862affebf552ed24bc2a58e0c484226f/build-end.log
(missing link against -lrt)

Thanks for your help!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: bump to version 1.43
  2016-06-08 21:52 ` Thomas Petazzoni
@ 2016-06-09 11:03   ` Gustavo Zacarias
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo Zacarias @ 2016-06-09 11:03 UTC (permalink / raw)
  To: buildroot

On 08/06/16 18:52, Thomas Petazzoni wrote:

> This update is causing some build failures, it would be good if you
> could have a look:
>
> http://autobuild.buildroot.net/results/25c/25c042d2862affebf552ed24bc2a58e0c484226f/build-end.log
> (missing link against -lrt)
>
> Thanks for your help!
>
> Thomas

Hi.
Ahhh yes the dreaded clock_gettime() in librt.
Bump + fix sent, thanks.
Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-09 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 19:08 [Buildroot] [PATCH] e2fsprogs: bump to version 1.43 Gustavo Zacarias
2016-05-23 11:57 ` Thomas Petazzoni
2016-05-23 12:01   ` Thomas Petazzoni
2016-06-08 21:52 ` Thomas Petazzoni
2016-06-09 11:03   ` 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.