aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* util-linux: Use SYS_getrandom in randutils.cHauke Mehrtens2023-05-192-15/+1
| | | | | | | | | | | The getrandom syscall is not hanging at bootup any more if there is not enough entropy. This was fixed upstream in 2018 in commit: https://github.com/util-linux/util-linux/commit/a9cf659e0508c1f56813a7d74c64f67bbc962538 This OpenWrt patch is not needed any more. This reverts commit e64463ebde55 ("util-linux: avoid using the getrandom syscall") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: Fix taskset conflict with busyboxHauke Mehrtens2023-05-191-1/+2
| | | | | | | | | | This fixes the following error: * check_data_file_clashes: Package taskset wants to install file build_dir/target-powerpc_8548_musl/root-mpc85xx/usr/bin/taskset But that file is already provided by package * busybox * opkg_install_cmd: Cannot install package taskset. Fixes: 3c3d797c4dad ("busybox: enable taskset by default") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: Fix build on powerpc and arcHauke Mehrtens2023-05-191-3/+15
| | | | | | | | | This fixes the build of util-linux on powerpc and arc. Both CPU architectures were not supported here in addition to the missing MIPS support. Fixes: 628a410ed149 ("util-linux: update to 2.39") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: update to 2.39Thomas Weißschuh2023-05-1813-250/+29
| | | | | | | | | | | | | | | | | | | | | | | | Release Notes: https://cdn.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes Remove upstreamed: 030-meson-don-t-use-run.patch 040-meson-fix-cpu_set_t-test.patch 050-meson-fix-environ-search.patch 060-meson-add-_GNU_SOURCE-for-sighandler_t.patch 070-meson-fix-isnan-check.patch 080-meson-fix-tzname-check.patch 090-meson-libpam.patch 100-meson-make-libcap-ng-dependent-on-setpriv.patch 120-meson-get-the-project-version-from-the-version-gen-s.patch 130-meson-fix-error-in-processing-version-for-pc-files.patch New: 0001-test_enosys-add-support-for-mips.patch Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de> [Refresh patches] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: add rev utility packageOskari Rauta2023-03-251-1/+18
| | | | | | | | | | | | I found use for this in my scripts; I noticed that it is already compiled with util-linux - there just isn't package for it - let's package it then. Description: The rev utility copies the specified files to the standard output, reversing the order of characters in everyline. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* util-linux: update to 2.38.1Linhui Liu2023-01-074-66/+3
| | | | | | | | | | | | Release Notes: https://cdn.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38.1-ReleaseNotes Remove upstreamed: - 010-meson-typo.patch - 020-meson-fix-compilation-without-systemd.patch - 110-meson-fix-when-HAVE_CLOCK_GETTIME-is-set.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* util-linux: use meson to buildRosen Penev2022-05-1516-51/+384
| | | | | | | | | Compiles faster, is PIC by default, and does not have pkgconfig files with wrong paths. Add various fixes to it as it seems cross compilation was never tested. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: update to 2.38Rosen Penev2022-05-151-3/+3
| | | | | | Various fixes. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: add lsnsOskari Rauta2022-03-051-0/+16
| | | | | | lsns lists system namespaces Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* util-linux: package ipcs commandStijn Tintel2022-02-051-0/+18
| | | | | | | Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* util-linux: Update to version 2.37.3Hauke Mehrtens2022-02-011-2/+2
| | | | | | | | | | | | | | | This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: Do not build raw any more.Hauke Mehrtens2022-02-011-0/+1
| | | | | | | | | | | | | The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: add lslocksRoman Azarenko2022-01-281-0/+16
| | | | | | This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu>
* util-linux: Add tasksetHauke Mehrtens2022-01-211-0/+15
| | | | | | | This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
* util-linux: update to 2.37Rosen Penev2021-08-081-5/+5
| | | | | | | | Switched to AUTORELEASE to avoid manual increments. Changed PKG_LICENSE to SPDX format. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: move libuuid BuildPackage line further up to fix ABI versioningFelix Fietkau2021-02-161-1/+3
| | | | | | | After the ABI version rework, packages need to be declared in the order of their dependencies, so that dependent packages will use the right ABI version Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: remove custom pkgconfig patchRosen Penev2021-01-312-77/+11
| | | | | | | | | | | Replace with sed as done elsewhere. Fixes error with at least btrfs-progs: Package '@LIBSELINUX@', required by 'mount', not found Package '@LIBCRYPTSETUP@', required by 'mount', not foun Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: update to 2.36.1Rosen Penev2020-12-163-30/+4
| | | | | | | | Removed upstream patch. Refreshed other ones. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: Fix build when libmagic is presentRosen Penev2020-09-061-1/+2
| | | | | | | | | | | | | | | | When the libmagic from the file package in the packages feed was also compiled and provided its libmagic.so file, util-linux tried to link against it. Avoid this by explicitly disable libmagic support. This fixes the following build error: Package more is missing dependencies for the following libraries: libmagic.so.1 Fixes: 36d9ed360a34 ("util-linux: update to 2.36") Acked-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Rosen Penev <rosenp@gmail.com> [Add commit description] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* util-linux: update to 2.36Rosen Penev2020-08-313-5/+32
| | | | | | | | | hwclock was fixed to work with musl. Unfortunately, the fix breaks under musl 1.2.x. Backported patch to fix that. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* logger: enable alternatives supportHuangbin Zhan2020-06-261-2/+3
| | | | | | Avoid conflict with busybox Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* util-linux: Update to 2.35.1Daniel Engberg2020-02-203-6/+6
| | | | | | | | Update util-linux to 2.35.1 and refresh patches. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> [commit subject and description tweaks] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* util-linux: Disable utils requiring libpamRosen Penev2019-10-271-1/+7
| | | | | | | When the build system finds libpam, it enables building of these tools, causing linker failures. Explicitly disable them as they are unused. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* util-linux: add more commandLucian Cristian2019-10-181-1/+16
| | | | | | at least vtysh needs it for proper listing, busybox is not modular so add it here Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* util-linux: Update to 2.34Daniel Engberg2019-07-082-5/+5
| | | | | | | Update util-linux to 2.34 Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* treewide: revise library packagingJo-Philipp Wich2019-01-241-11/+11
| | | | | | | | | | | - Annotate versionless libraries (such as libubox, libuci etc.) with a fixed ABI_VERSION resembling the source date of the last incompatible change - Annotate packages shipping versioned library objects with ABI_VERSION - Stop shipping unversioned library symlinks for packages with ABI_VERSION Ref: https://openwrt.org/docs/guide-developer/package-policies#shared_libraries Ref: https://github.com/KanjiMonster/maintainer-tools/blob/master/check-abi-versions.pl Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* util-linux: Update to 2.33Daniel Engberg2018-11-152-5/+5
| | | | | | | Update util-linux to 2.33 Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* util-linux: add eject supportRosy Song2018-09-281-1/+19
| | | | Signed-off-by: Rosy Song <rosysong@rosinson.com>
* util-linux: Update to 2.32.1Daniel Engberg2018-08-161-3/+3
| | | | | | | | Update util-linux to 2.32.1 For release notes see https://lwn.net/Articles/759922/ Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* util-linux: package blockdev executableDaniel Golle2018-07-271-0/+16
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* flock: enable alternatives supportYousong Zhou2018-05-071-2/+3
| | | | | | Fixes FS#1510 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* packages/util/util-linux: Update to 2.32Paul Wassi2018-03-312-16/+16
| | | | | | | | | | - Update to upstream 2.32 - License file 'getopt/COPYING' not present (any more) - Disable 'chown root:root'-commands during 'make install' - Add new dependency to wipefs - Refresh patch 003 Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* util-linux: added unshare and nsenter executablesToni Uhlig2018-03-091-0/+30
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* util-linux: add lscpu packageTomasz Moń2018-02-241-0/+16
| | | | | | lscpu is used by lxc-debian template. Signed-off-by: Tomasz Moń <desowin@gmail.com>
* util-linux: add fstrim supportDirk Brenken2018-01-181-2/+21
| | | | | | This PR adds optional fstrim support Signed-off-by: Dirk Brenken <dev@brenken.org>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* util-linux: update to 2.30.2Ryan Mounce2017-09-301-3/+3
| | | | Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
* util-linux: avoid using the getrandom syscallFelix Fietkau2017-09-291-0/+14
| | | | | | | | | | | getrandom blocks until the random pool is being initialized. Unfortunately, this code is being called early during init to create the overlay filesystem, on some devices leaving little chance for a successful random pool init. True randomness is not that important here, so fix this issue by sticking to using /dev/urandom, like in older versions of this code. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: don't need to build NLS supportPhilip Prindeville2017-08-231-1/+3
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* util-linux: add missing dependenciesJo-Philipp Wich2017-08-231-1/+2
| | | | | | | | | | Commit e505f59bd9 "utils/util-linux: Update to 2.30.1" bumped util-linux without properly adjusting the dependencies of all applets. Add missing ncursesw dependencies to sfdisk and dmesg applets to fix packaging issues. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* utils/util-linux: Update to 2.30.1Daniel Engberg2017-08-212-6/+6
| | | | | | Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* util-linux: re-enable parallel buildsFelix Fietkau2017-03-221-1/+1
| | | | | | The original build error in 'more' seems to be gone Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: unconditionally enable ncursesw supportFelix Fietkau2017-03-221-6/+1
| | | | | | | The build dependency is unconditional, and some components might fail if ncurses is not available Signed-off-by: Felix Fietkau <nbd@nbd.name>
* utils/util-linux: Update to 2.29.2Daniel Engberg2017-03-223-39/+6
| | | | | | | | | | Update util-linux to 2.29.2 Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream. Refresh patches Change ncurses to ncursesw to fix compilation and avoid confusion Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove faulty dependency changes]
* Revert "utils/util-linux: Update to 2.29.2"John Crispin2017-03-223-8/+42
| | | | | | | | This reverts commit eac1a548573a0262e9f36aeee95ed071f6040703. This patch caused the builders to blow up. Signed-off-by: John Crispin <john@phrozen.org>
* utils/util-linux: Update to 2.29.2Daniel Engberg2017-03-223-42/+8
| | | | | | | | | Update util-linux to 2.29.2 Remote 0001-fix-uClibc-ng-scanf-check.patch as it's been merged upstream. Refresh patches Change ncurses to ncursesw to fix compilation and avoid confusion Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* util-linux: disc -> Disc and moved some packagesAlberto Bursi2016-10-271-11/+11
| | | | | | | | | Capitalized "disc" submenu name as all submenu names are capitalized (apart from "database", but I'll fix that later). moved "swap-utils" to Filesystem submenu as it is "formatting" a partition as swap so it looks out of place in Disc. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* util-linux: fix scanf fallback detection for uClibc-ngWaldemar Brodkorb2016-06-052-1/+35
| | | | | | | | | uClibc-ng pretends to be GNU libc 2.2 and then a fallback scanf check is tried, so that libmount is disabled afterwards. Add a fix already suggested upstream. Add librt dependency required for other apps, too. Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
* util-linux: fix breakageDirk Neukirchen2016-05-281-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | - install correct libs to staging/usr/lib fixes eudev, nfs-kernel-server the lib*.a seem broken - use the correct .so files and remove .a libs - some build breakage was observed with parallel builds: text-utils/more-more.o: In function `putstring': more.c:(.text+0x1f4): undefined reference to `tputs' text-utils/more-more.o: In function `initterm': more.c:(.text+0x1b74): undefined reference to `setupterm' more.c:(.text+0x1f0c): undefined reference to `tparm' more.c:(.text+0x20ac): undefined reference to `tigetnum' more.c:(.text+0x20c8): undefined reference to `tigetflag' more.c:(.text+0x20ec): undefined reference to `tigetstr' more.c:(.text+0x2148): undefined reference to `PC' text-utils/more-more.o: In function `reset_tty': more.c:(.text+0x2630): undefined reference to `tputs' - fix line length Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>