Skip to contentSkip to conversation

e2fsprogs: bump to version 1.43

PATCH New Gustavo Zacarias 2 participants 5 messages May 18, 2016 – Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: bump to version 1.43

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.

---
 package/e2fsprogs/Config.in      |  9 +++++++++
 package/e2fsprogs/e2fsprogs.hash |  4 ++--
 package/e2fsprogs/e2fsprogs.mk   | 17 ++++++++++++-----
 3 files changed, 23 insertions(+), 7 deletions(-)
package/e2fsprogs/Config.in +9 -0
index e540337..cf43dbc 100644
@@ -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
package/e2fsprogs/e2fsprogs.hash +2 -2
index 1585037..3cc90fd 100644
@@ -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
package/e2fsprogs/e2fsprogs.mk +12 -5
index 3de4cd4..c1cbf71 100644
@@ -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
 
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 e2fsprogs: bump to version 1.43

Hello,

Quoted 6 lines · Gustavo Zacarias

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).

Quoted 8 lines

License file renamed from COPYING to NOTICE.

---
 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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 e2fsprogs: bump to version 1.43

Hello,

Quoted 6 lines · Thomas Petazzoni
Quoted 4 lines
 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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 e2fsprogs: bump to version 1.43

In reply to Gustavo Zacarias

Hello,

Quoted 9 lines · Gustavo Zacarias

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.

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

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