summaryrefslogtreecommitdiffstats
path: root/package/dosfstools
Commit message (Collapse)AuthorAgeFilesLines
* dosfstools: security bump to version 4.0Gustavo Zacarias2016-05-314-86/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: CVE-2015-8872 - if the third to last entry was written on a FAT12 filesystem with an odd number of clusters, the second to last entry would be corrupted. This corruption may also lead to invalid memory accesses when the corrupted entry becomes out of bounds and is used late. CVE-2016-4804 - the variable used for storing the FAT size (in bytes) was an unsigned int. Since the size in sectors read from the BPB was not sufficiently checked, this could end up being zero after multiplying it with the sector size while some offsets still stayed excessive. Ultimately it would cause segfaults when accessing FAT entries for which no memory was allocated. Converted package to autotools infra to match upstream. The install options are now removals, enabled compatibilty symlinks and exec-prefix set to / to match previous install names/locations. Accounted for optional udev usage. Dropped musl compatibility patch since it's upstream. Add upstream patch to keep sectors a multiple of sectors per track since it makes mtools cranky. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dosfstools: fix build with muslYann E. MORIN2015-08-171-0/+45
| | | | | | | | | | | | | | | Use correct and standard int types. Fixes: http://autobuild.buildroot.org/results/a09/a0923d7f6d4dbae02eba4c5024bbdae3a52aa85a/ http://autobuild.buildroot.org/results/62b/62b1a71c4fedb6f9209663e7544d7a36fb42c580/ http://autobuild.buildroot.org/results/e80/e808e692220ced315d30d8ee9c93bdf4a5e32a03/ http://autobuild.buildroot.org/results/7b7/7b778b7a9ec8c91ec3cea6ee81c6f5c75f0b959a/ [Thomas: update upstream status.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dosfstools: bump to version 3.0.28Gustavo Zacarias2015-06-263-3/+5
| | | | | | | | | | Change to new homepage since maintainer changed as well. Add hash file based on tarball signature file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/dosfstools: add missing symlinksMaxim Mikityanskiy2015-03-081-10/+27
| | | | | | | | | | | | | Install alternative symlinks for dosfstools mkfs.fat, fsck.fat and fatlabel. Those symlinks are generally installed by make install, but buildroot does not use make install for dosfstools, but symlinks should be installed anyway. [Thomas: rewrite the installation logic to use make style code rather than shell code.] Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dosfstools: fix compilation with musl libcMaarten ter Huurne2014-09-281-1/+4
| | | | | | | | | | The Makefile of dosfstools passes -D_GNU_SOURCE to get access to non-standard definitions such as 'loff_t'. But this flag gets dropped by the CFLAGS override, so explicitly add it. [Peter: reword commit message] Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: fix static linking with libiconvPeter Korsgaard2014-05-221-4/+2
| | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/246/246c067f1e9def748498f0c6fa6988c036e1d109/ Pass the libraries to be linked in LDLIBS instead of LDFLAGS so the end up after the object files on the linker command line. While we are at it, use TARGET_CONFIGURE_OPTS instead of explictly passing CC/CFLAGS/LDFLAGS. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: bump to version 3.0.26Gustavo Zacarias2014-03-111-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: bump to version 3.0.25Gustavo Zacarias2014-01-201-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove package clean commandsThomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-6/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: bump to version 3.0.24Gustavo Zacarias2013-11-261-1/+1
| | | | | | | Fixes dosfsck on big endian targets. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: bump to version 3.0.23Gustavo Zacarias2013-10-251-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dosfstools: bump to version 3.0.22Gustavo Zacarias2013-09-121-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* change package tarball compression to xz whenever possibleJerzy Grzegorek2013-09-081-0/+1
| | | | | | [Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/dosfstools: bump version for bug fixesYann E. MORIN2013-06-141-1/+1
| | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: bump to version 3.0.18Gustavo Zacarias2013-06-103-24/+26
| | | | | | | | 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>
* dosfstools: upstream tarball site changedGustavo Zacarias2013-06-091-1/+1
| | | | | | | | Upstream changed their distribution tarball site. Thanks go to Andrew Scheller from bug #6308 for noticing and reporting. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: fix host variant dependenciesGustavo Zacarias2013-03-241-0/+3
| | | | | | | | | | | | host-dosfstools shouldn't pull host-libiconv in since that's for uClibc-based toolchains and we don't have that package anyway. Fixes: http://autobuild.buildroot.net/results/7637985bfb0afdd9217c297e9b0ac5de797c137d/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/dosfstools: add host-package selectionYann E. MORIN2013-03-182-0/+15
| | | | | | | | | Add dosfstools as a host-package selection in the menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: bump to version 3.0.16Gustavo Zacarias2013-03-041-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: bump to version 3.0.15Gustavo Zacarias2013-03-012-6/+15
| | | | | | [Peter: update comment dependency, use DOSFSTOOLS_LDFLAGS for all flags] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: add license informationGustavo Zacarias2013-01-281-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: fix download linkMikhail Boiko2012-12-261-1/+1
| | | | | Signed-off-by: Mikhail Boiko <mikhailboiko85@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dosfstools: bump to version 3.0.12Gustavo Zacarias2012-04-141-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: bump to version 3.0.11Gustavo Zacarias2011-01-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: needs largefile supportPeter Korsgaard2010-09-291-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: convert to gentargets and bump to 3.0.10Martin Banky2010-09-261-73/+32
| | | | | | [Peter: pass LDFLAGS, remove stripping] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: unbreak buildPeter Korsgaard2010-03-071-2/+1
| | | | | | | Unbreak build after e8352988 (make sure install targets aren't run everytime) Reported-by: Darcy Watkins <DWatkins@tranzeo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dosfstools: make sure install targets aren't run everytimeThomas Petazzoni2010-02-231-13/+19
| | | | | | | | | | | | Adding real targets to $(TARGETS) doesn't work, since they are prefixed __real_tgt by the main Makefile. 'make' then always thinks that these targets aren't up-to-date, and re-generate them every time. Therefore, we switch dosfstools to the more common way of handling packages, with a phony target added to $(TARGETS), this phony target depending on real targets. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: replace mkdosfs with dosfstoolsMike Crowe2009-07-272-0/+97
Closes #451 Move from old unmaintained dosfstools-2.11 (packaged as mkdosfs) to now maintained dosfstools-3.0.3. Allow each binary to be installed independently. Signed-off-by: Mike Crowe <mac@mcrowe.com> Tested-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud