Commit Graph

29 Commits

Author SHA1 Message Date
Georgi Valkov 83dd66fd34 coreutils: update to 9.3
Build system: Ubuntu Linux 22.04, macOS 12.6.5
Run-tested: x64, WRT3200ACM, TL-WR1043ND v4

[1] https://github.com/openwrt/packages/issues/20933
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62404

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-05-09 17:41:11 +08:00
Georgi Valkov 1ee71d4a1a coreutils: update to 9.2
Build system: Ubuntu Linux 22.04, macOS 12.6.3
Run-tested: x64, WRT3200ACM, TL-WR1043ND v4

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2023-04-05 23:46:36 +08:00
John Audia 736117d2d2 coreutils: update to 9.1
Removed upstreamed patch[1]:
  002-chmod-fix_exit_status_when_ignoring_sylinks.patch

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

1. https://debbugs.gnu.org/cgi/bugreport.cgi?msg=28;bug=50784

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-07-16 21:49:39 -07:00
John Audia aabd7a137a coreutils: patch chmod with upstream fix
Apply a post-release upstream patch to chmod to fix some broken behavior.
See: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=e8b56ebd536e82b15542a00c888109471936bfda

A number of major distros including Arch, Alpine and Void import this patch.

Signed-off-by: John Audia <graysky@archlinux.us>
2022-02-26 14:11:24 -08:00
John Audia 9177168099 coreutils: update to 9.0
Removed unneed patch:
  002-ls-restore-831-behavior-on-removed-directories.patch

After updating ran `make package/coreutils/refresh` from $BUILDROOT to clean
dirty patches.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2022-02-23 17:10:08 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Huangbin Zhan df10e58a9c coreutils: move alternatives to /usr/libexec
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-06-12 20:35:04 +08:00
Huangbin Zhan 76d24dab3c coreutils: Add alternatives support for runcon
Avoid conflict with package busybox-selinux

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-10-27 20:51:12 -07:00
Huangbin Zhan 8e7e0bde7f coreutils: Add alternatives support for chcon
Avoid conflict with package busybox-selinux

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-10-27 05:43:43 +08:00
Marek Behún 70f53c2bfa coreutils: fix compilation for when selinux is present
According to https://bugs.gentoo.org/301782 coreutils does not respect
--without-selinux correctly when libselinux.so is present on the target
system (in the staging dir).

This solves a weird issue of some coreutils programs not building (for
example stdbuf), because the configure script uses -Werror to determine
whether __attribute__((constructor)) is respected, but -Werror causes
compilation to fail because of a warning about redefinition of
HAVE_SELINUX_SELINUX_H macro.

Signed-off-by: Marek Behún <kabel@blackhole.sk>
2020-09-25 05:27:12 +02:00
Rosen Penev 7bb2ba3450
coreutils: switch to normal PKG_INSTALL
Simplifies the Makefile.

Also removed pointless uClibc workaround that is not relevant anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-03 13:51:10 -07:00
Scott Roberts 1ff189e75a coreutils: add upstream patch fixing aarch64 compilation
ls: restore 8.31 behavior on removed directories

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2020-04-29 13:36:05 -06:00
Rosen Penev 63ff065d82
coreutils: add extra applets
b2sum, base32, basenc, df, numfmt

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-27 16:10:40 -07:00
Rosen Penev d5fc4d958b
coreutils: update to 8.32
Added license information.

Add explicit configure arguments.

Removed upstream backport.

Refreshed failing patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-27 16:10:36 -07:00
DENG Qingfang 6be6e9c7e3 coreutils: fix #11389 build failure
Fix compilation error due to multiple definition

x86_64-openwrt-linux-musl/bin/ld: lib/libcoreutils.a(strtold.o):(.data+0x0):
multiple definition of `minus_zero'; lib/libcoreutils.a(strtod.o):(.data+0x0):
first defined here
collect2: error: ld returned 1 exit status

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-20 17:23:22 +08:00
DENG Qingfang 7b59b783f0 coreutils: update to 8.31
Update coreutils to 8.31

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-18 23:46:31 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Yousong Zhou 9282044851 coreutils: add alternatives support
Fixes openwrt/packages#9290

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-13 11:04:41 +00:00
Rosen Penev de6c4d6d74 coreutils: Update to 8.30
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-17 11:29:02 -08:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Yousong Zhou 094cf18b3e coreutils: stdbuf: fix missing libstdbuf.so
Fixes #1674

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 12:03:23 +08:00
Jo-Philipp Wich d548d6bf1f coreutils: add libcap dependency to selected applets
If libcap happens to be present in the environment, coreutils will pick it up
and link some applets against it.

Since the idea of coreutils is to provide a full featured alternative to the
busybox applets, do not inhibit the optional dependency but explicitely
require libcap instead.

Fixes the following error spotted on the buildbots:

    Package coreutils-dir is missing dependencies for the following libraries:
    libcap.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-18 12:10:44 +01:00
Jo-Philipp Wich 630a41fd05 coreutils: adjust applet descriptions
Only mention busybox applets for the meta package and do not imply that
applets are enabled for any possible coreutils program.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-30 15:25:40 +02:00
Jo-Philipp Wich 9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Richard Kunze 04fb676036 coreutils: bump version to 8.23
Signed-off-by: Richard Kunze <richard.kunze@web.de>
2014-11-27 13:41:27 +01:00
Steven Barth c6450b9e1c coreutils: remove spurious libelf dependency
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-18 11:45:40 +02:00
Etienne CHAMPETIER f2a42f6380 coreutils: --disable-xattr to fix the build
we could also depend on libattr, but it need more testing

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
2014-07-04 12:59:36 +02:00
Jo-Philipp Wich 2abee9646c coreutils: import from packages, add myself as maintainer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-11 17:02:24 +02:00