summaryrefslogtreecommitdiffstats
path: root/package/coreutils
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* replace references to Busybox with BusyBoxSimon Dawson2014-06-011-1/+1
| | | | | | | | | The correct capitalised form appears to be "BusyBox" rather than "Busybox"; fix all references to the latter form. (Most such references occur in the manual and in commentary in package makefiles.) Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: bump to 8.22 to fix build on AArch64Thomas Petazzoni2014-03-292-1/+32
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/25c/25cfb126c01aa70f4666709dddbff298813b5c69/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* coreutils: add gnulib patch to fix librt/libthread link in static caseThomas Petazzoni2014-02-211-0/+36
| | | | | | | | | | | | | | | coreutils was not building in the static link case with uClibc, due to binaries being linked with librt (for timer functions), but not with libpthread. However, librt uses functions from libpthread, so both must be specified. This lack of linking against libpthread was caused by a deficiency in one of the gnulib m4 macro, for which we add a patch. Fixes: http://autobuild.buildroot.org/results/bd4/bd4cc779b46e3837e3d6c43c97eaf42fdfc3a288/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: correct next version in patch descriptionBaruch Siach2014-02-121-2/+2
| | | | | | | | | | | The patch that commit a728e2fe35 (coreutils: fix build against uclibc snapshot) adds mentions the wrong coreutils version in its description. Also fix the sign-of tag while at it. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* coreutils: fix build against uclibc snapshotBaruch Siach2014-02-112-0/+46
| | | | | | | | | | | | 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-032-183/+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>
* Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) 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>
* 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: needs mmuGustavo Zacarias2013-02-071-0/+1
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/bb975d928c08d31d0c1ecfb9519034865120b244/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> 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-242-52/+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-142-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>
* uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard2011-07-271-3/+3
| | | | | | | | | | | | Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: bump to version 8.9Gustavo Zacarias2011-01-173-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* coreutils: add uname patchMartin Banky2011-01-142-0/+181
| | | | | | | | 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-143-54/+2
| | | | | | 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-142-1/+53
| | | | | | | | | | | | | | | 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-012-0/+22
| | | | | | | | | | | | | | | | | | | 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-312-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix PROGRAM_INVOCATION handling with external toolchainsThomas Petazzoni2009-07-311-2/+2
| | | | | | | | | | | | | BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option, like BR2_INET_IPV6, BR2_INET_RPC, on which some packages depend. Therefore, it should be handled like BR2_INET_IPV6 and BR2_INET_RPC in order to work properly with external toolchains. Since we move it out of toolchain/uClibc/Config.in into toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION (since BR2_INET_RPC and others don't have UCLIBC in their name). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tar/coreutils: use depends rather than select for toolchain optionsPeter Korsgaard2009-03-011-2/+4
|
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-2/+2
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* 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
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
OpenPOWER on IntegriCloud