Michael Pratt
89056bd7b1
tools/util-linux: include macOS system uuid header
...
The type definition of uuid_string_t and possibly other details
used by macOS SDKs like XCode is missing from util-linux.
Headers on macOS have a different inclusion guard
compared to the unique util-linux "_UL" prefix.
This uuid.h header is guaranteed to be present since macOS 10.8 and iOS 6
even without the presence of XCode or other SDKs on the system,
so adding an include_next directive is safe after checking for clang.
Link: https://developer.apple.com/documentation/foundation/uuid
Link: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/uuid.3.html
Tested-by: Georgi Valkov <gvalkov@gmail.com > # macOS
Signed-off-by: Michael Pratt <mcpratt@pm.me >
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-07-26 14:38:07 +02:00
Thomas Weißschuh
c2520c1910
tools: util-linux: update to v2.41.1
...
Release Notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.1-ReleaseNotes
Remove upstreamed:
tools/util-linux/patches/101-macos-weak-aliases.patch
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de >
Link: https://github.com/openwrt/openwrt/pull/19236
Signed-off-by: Nick Hainke <vincent@systemli.org >
2025-07-01 23:04:15 +02:00
Felix Fietkau
eea1d86482
util-linux: change include order to fix build error
...
Prevent accidentally including an old version of uuid.h, which causes
the build to fail because of missing definitions.
Signed-off-by: Felix Fietkau <nbd@nbd.name >
2025-04-23 10:29:14 +02:00
Thomas Weißschuh
7bbb78c622
tools: util-linux: update to v2.41
...
Release Notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes
Remove upstreamed:
0001-hexdump-allow-enabling-with-disable-all-programs.patch
110-pkgconfig-static.patch
Refresh:
101-macos-weak-aliases.patch
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de >
Link: https://github.com/openwrt/openwrt/pull/18493
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-04-18 17:23:42 +02:00
Rosen Penev
9567dbe3a1
tools: util-linux: fix static libuuid pkgconf
...
Fixes uuid.pc usage on hosts with an older glibc.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/16480
Link: https://github.com/openwrt/openwrt/pull/16480
Link: https://github.com/openwrt/openwrt/pull/16480
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-09-26 11:08:23 +02:00
Thomas Weißschuh
2b90347dd6
tools: util-linux: update to v2.40.2
...
Also switch from .tar.gz to .tar.xz to align with
package/utils/util-linux/Makefile.
This makes synchronized updates easier.
Release Notes:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40-ReleaseNotes
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.1-ReleaseNotes
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.2-ReleaseNotes
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de >
Link: https://github.com/openwrt/openwrt/pull/15995
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2024-07-27 18:59:42 +02:00
Robert Marko
b43c0a915f
tools: util-linux: mark hexdump patch as backport
...
The hexdump fix for --disable-all-programs has been merged upstream, so
mark it so.
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-06-27 12:22:53 +02:00
Robert Marko
8b0f892b31
tools: util-linux: build libuuid
...
util-linux usually provides libuuid, and is preffered by mtd-utils so lets
enable building libuuid so we can disable it later in e2fsprogs.
Only the static version of library is intentionally built.
Link: https://github.com/openwrt/openwrt/pull/15806
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-06-26 11:21:04 +02:00
Robert Marko
54115ec22d
tools: util-linux: use --disable-all-programs
...
util-linux supports passing --disable-all-programs configure flag to
disable building anything that isnt then manually enabled.
So, lets switch to using that instead of manually having to disable all
tools we dont need.
However, current drawback is that there is no upstream support for enabling
building hexdump so I included a patch that is pending upstream[0].
[0] https://github.com/util-linux/util-linux/pull/3101
Link: https://github.com/openwrt/openwrt/pull/15806
Signed-off-by: Robert Marko <robimarko@gmail.com >
2024-06-26 11:21:03 +02:00