dosfstools: bump to version 3.0.18
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 10 Jun 2013 14:14:31 +0000 (11:14 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 10 Jun 2013 14:54:25 +0000 (16:54 +0200)
And update Config.in & Config.in.legacy entries to reflect upstream
changes to tool naming.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Config.in.legacy
package/dosfstools/Config.in
package/dosfstools/Config.in.host
package/dosfstools/dosfstools.mk

index bb9c4a9c5eb0bd3371d40150b3ba208d3b1e3e18..cd23492fffb6af074014aa795c0360beb54077c4 100644 (file)
@@ -40,6 +40,31 @@ comment "As long as these options stay selected, the build   "
 comment "will fail.                                          "
 endif
 
+#
+# Legacy options since 2013.08
+#
+
+config BR2_PACKAGE_DOSFSTOOLS_DOSFSCK
+       bool "dosfstools dosfsck renamed to fsck.fat"
+       select BR2_LEGACY
+       select BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT
+       help
+         dosfsck was renamed upstream to fsck.fat for consistency.
+
+config BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL
+       bool "dosfstools dosfslabel renamed to fatlabel"
+       select BR2_LEGACY
+       select BR2_PACKAGE_DOSFSTOOLS_FATLABEL
+       help
+         doslabel was renamed upstream to fatlabel for consistency.
+
+config BR2_PACKAGE_DOSFSTOOLS_MKDOSFS
+       bool "dosfstools mkdosfs renamed to mkfs.fat"
+       select BR2_LEGACY
+       select BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT
+       help
+         mkdosfs was renamed upstream to mkfs.fat for consistency.
+
 #
 # Legacy options since 2013.05
 #
index 2156a0418d9c988d9d4a3da99f136b2568efec9b..ec2f89169d4a8534b19e45b0d259af08ac837fa7 100644 (file)
@@ -8,23 +8,24 @@ config BR2_PACKAGE_DOSFSTOOLS
 
          http://www.daniel-baumann.ch/software/dosfstools/
 
-config BR2_PACKAGE_DOSFSTOOLS_MKDOSFS
-       bool "mkdosfs"
-       depends on BR2_PACKAGE_DOSFSTOOLS
+if BR2_PACKAGE_DOSFSTOOLS
+
+config BR2_PACKAGE_DOSFSTOOLS_FATLABEL
+       bool "fatlabel"
        help
-         Creates a DOS FAT filesystem on a device.
+         Get or set the DOS FAT filesystem label.
 
-config BR2_PACKAGE_DOSFSTOOLS_DOSFSCK
-       bool "dosfsck"
-       depends on BR2_PACKAGE_DOSFSTOOLS
+config BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT
+       bool "fsck.fat"
        help
-         Checks a DOS FAT filesystem.
+         Check a DOS FAT filesystem.
 
-config BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL
-       bool "dosfslabel"
-       depends on BR2_PACKAGE_DOSFSTOOLS
+config BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT
+       bool "mkfs.fat"
        help
-         Get or set the DOS FAT filesystem label.
+         Creates a DOS FAT filesystem on a device.
+
+endif
 
 comment "dosfstools requires a toolchain with LARGEFILE and WCHAR support"
        depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
index 9f9ceabbe6b6fa15391c2769c2ed0bcc870f6a22..6156c5a3cff499c05e8755339a2037c57f246a24 100644 (file)
@@ -2,5 +2,5 @@ config BR2_PACKAGE_HOST_DOSFSTOOLS
        bool "host dosfstools"
        help
          Tools for creating and checking DOS FAT filesystems.
-         
+
          http://www.daniel-baumann.ch/software/dosfstools/
index 7482bc870e0fcc83ccc865d0701b77806d02893b..4664faa6c68ecb34ebe25031ff3478b526555025 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-DOSFSTOOLS_VERSION = 3.0.16
+DOSFSTOOLS_VERSION = 3.0.18
 DOSFSTOOLS_SITE = http://daniel-baumann.ch/files/software/dosfstools
 DOSFSTOOLS_LICENSE = GPLv3+
 DOSFSTOOLS_LICENSE_FILES = COPYING
@@ -18,28 +18,29 @@ DOSFSTOOLS_DEPENDENCIES += libiconv
 DOSFSTOOLS_LDFLAGS += -liconv
 endif
 
-MKDOSFS_BINARY = mkdosfs
-DOSFSCK_BINARY = dosfsck
-DOSFSLABEL_BINARY = dosfslabel
+FATLABEL_BINARY = fatlabel
+FSCK_FAT_BINARY = fsck.fat
+MKFS_FAT_BINARY = mkfs.fat
 
 define DOSFSTOOLS_BUILD_CMDS
        $(MAKE) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" \
                LDFLAGS="$(DOSFSTOOLS_LDFLAGS)" -C $(@D)
 endef
 
-DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_MKDOSFS)+=$(MKDOSFS_BINARY)
-DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_DOSFSCK)+=$(DOSFSCK_BINARY)
-DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL)+=$(DOSFSLABEL_BINARY)
+DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_FATLABEL)+=$(FATLABEL_BINARY)
+DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT)+=$(FSCK_FAT_BINARY)
+DOSFSTOOLS_INSTALL_BIN_FILES_$(BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT)+=$(MKFS_FAT_BINARY)
 
 define DOSFSTOOLS_INSTALL_TARGET_CMDS
        test -z "$(DOSFSTOOLS_INSTALL_BIN_FILES_y)" || \
-       install -m 755 $(addprefix $(@D)/,$(DOSFSTOOLS_INSTALL_BIN_FILES_y)) $(TARGET_DIR)/sbin/
+       $(INSTALL) -m 755 $(addprefix $(@D)/,$(DOSFSTOOLS_INSTALL_BIN_FILES_y)) \
+               $(TARGET_DIR)/sbin/
 endef
 
 define DOSFSTOOLS_UNINSTALL_TARGET_CMDS
-       rm -f $(TARGET_DIR)/sbin/$(MKDOSFS_BINARY)
-       rm -f $(TARGET_DIR)/sbin/$(DOSFSCK_BINARY)
-       rm -f $(TARGET_DIR)/sbin/$(DOSFSLABEL_BINARY)
+       rm -f $(TARGET_DIR)/sbin/$(FATLABEL_BINARY)
+       rm -f $(TARGET_DIR)/sbin/$(FSCK_FAT_BINARY)
+       rm -f $(TARGET_DIR)/sbin/$(MKFS_FAT_BINARY)
 endef
 
 define DOSFSTOOLS_CLEAN_CMDS