summaryrefslogtreecommitdiffstats
path: root/package/coreutils/coreutils.mk
Commit message (Collapse)AuthorAgeFilesLines
* coreutils: bump to version 8.25Gustavo Zacarias2016-01-201-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: disable stdbuf for static buildsDavid du Colombier2015-12-171-0/+4
| | | | | | | | | | | | When stdbuf is enabled, it builds a shared library, but it will fail in a static-only scenario. Fixes: http://autobuild.buildroot.org/results/974/9741cc9841fa95f7430a91f585c4464ee2c9311b/ Signed-off-by: David du Colombier <0intro@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: handle merged usr folderJames Knight2015-10-201-2/+8
| | | | | | | | | | For targets prepared with a usr-move, coreutils should not be attempting to move binaries from `usr/bin` to `bin`. Signed-off-by: James Knight <james.knight@rockwellcollins.com> 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>
* coreutils: bump to version 8.24Gustavo Zacarias2015-07-051-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: add error handling to for loopThomas Petazzoni2014-12-011-1/+1
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: avoid prompt on rebuildBaruch Siach2014-11-181-2/+2
| | | | | | | | | The mode bits of coreutils installed binaries are 555. As a result, on rebuild mv prompts the user to confirm overwrite of non writable binaries. Force overwrite to skip this prompt. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: disable documentation buildBaruch Siach2014-11-181-1/+2
| | | | | | | | | | | | | | | The makeinfo utility may not be installed on the build machine, and we don't install documentation anyway. Fixes: http://autobuild.buildroot.net/results/b42/b42ceb3128ed832f0dd901a1db8fa3dfd92ce5ef/ http://autobuild.buildroot.net/results/94f/94fcd06b320374f46b340f516c54b7ca726041af/ http://autobuild.buildroot.net/results/c54/c54608ac7e03f14055e2912cf06f6d41d21227c0/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Karoly Kasza <kaszak@gmail.com> Acked-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: fix build failure for muslGustavo Zacarias2014-11-071-1/+2
| | | | | | | | musl doesn't implement re_match and friends and coreutils fails to detect this properly, so force internal regex routines for musl. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: fix libintl, reorder ENV, OPTS & PROGSGustavo Zacarias2014-10-261-42/+52
| | | | | | | | | | | | | | | | | | | Move OPTS, ENV & PROGS up to the top, the fact that a conditional (BR2_PACKAGE_BUSYBOX) was before them is bad style and confused me while i tried to get them grouped together. This was making all of the new disable OPTS fail, pretty much harmless but still. Account for libintl/gettext presence, it's not required in any toolchain combination but it will fail if it's present, so use it when it's selected by some other package. Fixes: http://autobuild.buildroot.net/results/30d/30d0e3d27d8606443479466e60716e6f202a4711/ Add conditional on OpenSSL for faster hashing binaries as pointed again by Pádraig Brady. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: add optionals, use single binaryGustavo Zacarias2014-10-251-1/+25
| | | | | | | | | | | | | Add proper support for optional libraries: acl, attr, gmp & libcap. Also build the single binary as pointed out by Pádraig Brady for some neat space savings. Use the shebang (default) method since it allows us to move binaries into other directories to suit our needs whereas for symlink that wouldn't be so easy. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: bump to version 8.23Gustavo Zacarias2014-10-251-2/+2
| | | | | | | | | | Add hash file. patches 01 & 02 are now upstream so remove them. Patch 01 isn't required any more (no posix_spawn usage). Patch 02 is upstream. Patch 03 retooled for 8.23 and renamed to 01. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostname: fix conflicting installs of /bin/hostnameAndrew Ruder2014-09-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Surprisingly long-standing issue with conflicting /bin/hostname installs. Reported as early as November 2005 by Joseph Dupre. All together at one point or another there are at least 4 possible sources of /bin/hostname: busybox util-linux coreutils net-tools Buildroot depends on the -F flag being available in the default /etc/inittab. Out of the 4 listed projects only net-tools and buildroot for sure support the -F flag. I'm a little unclear on util-linux as it has been removed entirely (in favor of net-tools) for some time. As of coreutils 6.9.90 (2007-12-01), coreutils does not install its /bin/hostname by default. The following commit reenabled its build: d6e58cb coreutils: fixed missing hostname (Sep 2010) This was done to fix a build error in coreutils regarding help2man. A later patch: 30c5105 coreutils: bump to version 8.21 disabled the help2man functionality entirely but left hostname being installed. On a very related note, net-tools now contains an obsolete check to add util-linux as a dependency to force it to build first (so that net-tools ends up with /bin/hostname). This patch fixes both of these issues so that hostname always comes from one of two places: busybox net-tools Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Co-authored-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: get the uptime program to workThomas Petazzoni2014-09-131-0/+1
| | | | | | | | | | | | | | | coreutils configure script needs to know whether /proc/uptime is available, but this is not possible in a cross-compilation context. This leads to an uptime program that fails to work on the target, as it has been compiled without /proc/uptime reading support. This commit fixes that by telling coreutils at configure time that /proc/uptime will be available on the target (which seems to be a reasonable assumption on Linux systems). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: no longer pass --disable-dependency-tracking in individual packagesThomas Petazzoni2014-08-291-1/+0
| | | | | | | | | Now that --disable-dependency-tracking is passed by the autotools-package infrastructure, there's no longer any reason to pass it in individual packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/coreutils: gettextize to match the new gettext versionYann E. MORIN2014-07-171-0/+1
| | | | | | | | | | | | | | | | | | | The gettext macros in the package are from a gettext version older than the one we have in Buildroot, so autoreconf fails. Run gettextize prior to running autoreconf, like we do in wget. Fixes: http://autobuild.buildroot.net/results/228/228224668be4376844fe924d0a5b346af0414460/ http://autobuild.buildroot.net/results/ac4/ac4dbb1342e9c9f1de5412e0b71fe4422ef744ef/ http://autobuild.buildroot.net/results/a0c/a0c25faf149de9d51768eed8ff5a2274282cd797/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: bump to 8.22 to fix build on AArch64Thomas Petazzoni2014-03-291-1/+1
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/25c/25cfb126c01aa70f4666709dddbff298813b5c69/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: fix build against uclibc snapshotBaruch Siach2014-02-111-0/+3
| | | | | | | | | | | | uClibc development version adds support for POSIX spawn routines. However, unlike glibc these routines are in librt. This breaks gnulib autoconf detection. Teach gnulib autoconf to look for POSIX spawn in librt. Fixes: http://autobuild.buildroot.net/results/246/246b3778a1a646afd1c8b9c17b4579fb5a27120e/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: bump to version 8.21Gustavo Zacarias2013-12-031-10/+3
| | | | | | | | Set PERL=missing so as to avoid generating manpages with help2man that breaks on many occasions (and it's pointless). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* 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>
* coreutils: add license informationGustavo Zacarias2013-01-211-0/+2
| | | | | | [Peter: License is GPLv3+] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: bump to version 8.18Gustavo Zacarias2012-08-241-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* 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>
* coreutils: bump to version 8.16Gustavo Zacarias2012-03-291-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: bump to version 8.15Gustavo Zacarias2012-01-241-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: bump to version 8.14Gustavo Zacarias2011-11-141-2/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS 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>
* coreutils: bump to version 8.9Gustavo Zacarias2011-01-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: add uname patchMartin Banky2011-01-141-0/+8
| | | | | | | | On linux platforms, grok /proc/cpuinfo for the CPU/vendor info. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: changed/removed some of the configure environmental variablesMartin Banky2011-01-141-4/+1
| | | | | | | | | | | gl_ac_cv_func_link_follows_symlink=no - changed to gl_cv_func_link_follows_symlink gl_cv_func_mkdir_trailing_slash_bug=no - no longer used gl_cv_func_rename_dest_exists_bug=no - no longer used gl_cv_func_rename_trailing_slash_bug=no - no longer used Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: bump to 8.5Martin Banky2011-01-141-9/+1
| | | | | | Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: fixed missing hostnameMartin Banky2011-01-141-1/+2
| | | | | | | | | | | | | | | hostname is no longer installed by default (ChangeLog-2007 - 2007-08-28), and has to be enabled with --enable-install-program=hostname. hostname's man file is not included, and because of this, during make, help2man is run against src/hostname to generate it's man file. src/hostname will not run on the host system, causing the build to fail. Generated the hostname man file, after building coreutils on the host system, and generated this patch, which fixes the build error. Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: changed/removed some of the configure environmental variablesMartin Banky2011-01-141-40/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ac_cv_func_closedir_void=no - no longer used ac_cv_func_fnmatch_gnu=yes - no longer used ac_cv_func_getcwd_null=yes - duplicate of gl_cv_func_getcwd_null ac_cv_func_mkstemp=yes - changed to gl_cv_func_working_mkstemp ac_cv_func_stat_empty_string_bug=no - no longer used ac_cv_func_utime_null=yes - no longer used ac_cv_have_decl_euidaccess=no - no longer used ac_cv_have_decl_nanosleep=yes - no longer used ac_cv_struct_st_mtim_nsec=no - no longer used am_cv_func_working_getline=yes - duplicate am_getline_needs_run_time_check=no - changed to gl_getline_needs_run_time_check gl_cv_c_restrict=no - changed to ac_cv_c_restrict gl_cv_func_mkstemp_limitations=no - no longer used gl_cv_func_working_readdir=yes - no longer used jm_ac_cv_func_link_follows_symlink=no - changed to gl_ac_cv_func_link_follows_symlink jm_cv_func_gettimeofday_clobber=no - changed to gl_cv_func_gettimeofday_clobber jm_cv_func_nanosleep_works=yes - no longer used jm_cv_func_svid_putenv=yes - changed to gl_cv_func_svid_putenv jm_cv_func_working_re_compile_pattern=yes - changed to gl_cv_func_re_compile_pattern_working utils_cv_func_mkdir_trailing_slash_bug=no - duplicate of gl_cv_func_mkdir_trailing_slash_bug utils_cv_func_mkstemp_limitations=no - duplicate of gl_cv_func_mkstemp_limitations Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: convert to autotargetMartin Banky2011-01-131-79/+28
| | | | | | Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Thomas Petazzoni2010-07-071-2/+2
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: add 'join'Bjørn Forsman2010-05-281-1/+2
| | | | | | | | coreutils: add 'join' to the list of files that are copied to target rootfs. Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Do not let packages remove man pages, info pages and documentationThomas Petazzoni2010-04-111-7/+0
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: get rid of redundant malloc related configure presetsPeter Korsgaard2009-12-061-6/+0
| | | | | | | Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/coreutils: ensure configure isn't considered out-of-datePeter Korsgaard2009-12-011-0/+3
| | | | | | | | | | | | | | | | | | | We were patching m4/rename.m4 to workaround an upstream issue, but this triggers a auto* rebuild and a configure rerun when we build coreutils using whatever auto* versions the user has installed. Doing a manual autoreconf run after patching is unfortunately not an option as the coreutils configure.ac isn't compatible with the autotools version we have in BR. Instead, simply cheat by patching configure as well and setting the timestamp of m4/rename.m4 sufficiently far back to ensure make doesn't consider ./configure out of date. Long term we should convert coreutils to Makefile.autotools.in format, but this is good enought for 2009.11. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: fix rename-with-trailing-slash bug override variable namePeter Korsgaard2009-09-101-1/+1
| | | | | | | | | | | | The variable controlling if coreutils thinks the system has the rename-with-trailing-slash bug is called gl_cv_func_rename_trailing_slash_bug and not vb_cv_.. Forcing this off works around a bug in coreutils configure, which otherwise tries to compile Windows-only workaround code. Reported-by: Stephen Rodgers <hwstar@rodgers.sdcoxmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-2/+2
| | | | | | | | 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>
* coreutils: bump versionThomas Petazzoni2009-07-311-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Coreutils 6.9 was broken with glibc >= 2.6, due to a coreutils internal function being named like a glibc function. This has been fixed in more recent coreutils version, by http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20070514/155466.html. Therefore, we upgrade coreutils to its latest version, 7.4, which raised two problems: * Recent coreutils releases are not anymore available as .bz2 archives, only .xz archives. Since this archive format is not supported by Buildroot yet, and the corresponding tools are not widely available yet, we fallback to the bigger .gz format for the coreutils package. * The rename bug detection script m4/rename.m4 was broken, leading coreutils to try to include windows.h and compile some Windows-specific code. We introduce a patch to fix this, patch which has been taken from gnulib. We also make sure that this workaround is nevery compiled in by passing gl_cv_func_rename_dest_exists_bug=no to the configure script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fixHamish Moffatt2008-03-261-1/+1
| | | | | | broken GNU download paths. Also fix gnuchess, xboard and classpath packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
* buildroot: Use BR2_GNU_MIRROR everywherePeter Korsgaard2008-03-111-1/+1
| | | | Patch by Nigel Kukard.
* Run $(CONFIG_UPDATE) after unpacking sourcesHamish Moffatt2008-02-121-0/+1
| | | | Patch from Dan Nicolaescu
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-6/+14
|
OpenPOWER on IntegriCloud