Commit graph

451 commits

Author SHA1 Message Date
Karel Zak
d3c879ee06 upgrade to upstream release v2.42.2 2026-06-16 14:56:23 +02:00
Karel Zak
62e94b8fcb revert util-linux-i18n noarch (rhbz#2453891) 2026-05-20 11:07:37 +02:00
Karel Zak
49c5ecdbfb make util-linux-i18n noarch (rhbz#2453891) 2026-05-20 10:28:46 +02:00
Karel Zak
f891325268 upgrade to upstream release v2.42.1
- fix pam_lastlog2 libpam linking (rhbz#2453457)
2026-05-19 13:29:13 +02:00
Karel Zak
da7125e4bb upgrade to upstream release v2.42 2026-04-02 14:26:48 +02:00
Karel Zak
4737f2d702 enable BuildRequires for parsers 2026-01-12 12:15:47 +01:00
Karel Zak
06dbf9bb28 fix built on new gcc (bison based code and libblkid API) 2026-01-12 11:55:59 +01:00
Karel Zak
4bac19fd38 add completition bits blkpr lsfd 2025-12-15 16:53:44 +01:00
Karel Zak
df438c4170 upgrade to upstream release v2.41.3 2025-12-15 16:42:08 +01:00
Karel Zak
ab6d50b588 Merge #25 liblastlog2 uses /var/lib/lastlog 2025-12-02 15:55:21 +00:00
Karel Zak
9c226720cb backport upstream patches for GCC-15
- regenerate Fedora patches from the Git tree
2025-12-02 16:37:43 +01:00
Fxzx micah
7ef16d92f7 liblastlog2 uses /var/lib/lastlog
You can verify it through man pam_lastlog2.
2025-11-18 19:22:12 +00:00
Karel Zak
ba1905c6c7 upgrade to upstream release v2.41.2 2025-10-23 13:01:34 +02:00
Karel Zak
b9ed3a9a74 use RPM macros for /var/lib and /run 2025-08-05 09:59:26 +02:00
Karel Zak
39c148ff89 add /var/lib/liblastlog to files list 2025-08-05 09:49:01 +02:00
Karel Zak
164a6760ec enable lastlog2-import.service 2025-07-15 14:24:23 +02:00
Karel Zak
7d135acec2 Fix ldattach build on recent glibc headers. 2025-06-24 11:20:00 +02:00
Karel Zak
b309d832e2 Temporarily disable support for EROFS backing files. 2025-06-24 11:02:22 +02:00
Karel Zak
bf8d5779df upgrade to upstream release v2.41.1
... https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes
- add lastlog2 library and PAM module
- add new utils bits, coresched and lastlog2
2025-06-24 10:37:18 +02:00
Miro Hrončok
0e7e2e7599 Revert to util-linux-2.40.4-7 to rebuild it for Python 3.14
The revert is needed because of https://bodhi.fedoraproject.org/updates/FEDORA-2025-dd6b6950ff failures.

This reverts commit e873a14a1d
2025-06-09 12:44:41 +02:00
Karel Zak
67c133a8d4 add BuildRequires for lastlog2 2025-05-12 14:33:31 +02:00
Karel Zak
e873a14a1d upgrade to upstream release v2.41
... https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes
- add lastlog2 library and PAM module
- add new utils bits, coresched and lastlog2
2025-05-12 14:16:44 +02:00
Dusty Mabe
cd951d5e56
backport blkid: allow up to 64k erofs block sizes
This is a backport of [1], which should help us use EROFS in live
media on ppc64le [2].

[1] ff0ac0f27d
[2] https://github.com/coreos/fedora-coreos-tracker/issues/1877
2025-02-19 14:50:05 -05:00
Karel Zak
3e60999497 remove useradd (replaced by sysusers config) 2025-02-12 12:13:29 +01:00
Karel Zak
347d30bca0 Merge #20 Conditionalize pam dependency 2025-02-04 18:41:01 +00:00
Karel Zak
674f706e83 add sysusers config for uuidd 2025-02-04 10:46:42 +01:00
Björn Esser
3abb2f6222
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:58:02 +01:00
Yaakov Selkowitz
56f4756f3a Conditionalize pam dependency
pam is a host service, and is not used inside of flatpaks or toolboxes.
2025-01-20 22:22:08 +00:00
Karel Zak
d6af9bf445 upgrade to v2.40.4
https://www.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.4-ReleaseNotes
https://www.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.3-ReleaseNotes
2025-01-15 11:19:34 +01:00
Karel Zak
61d2c55ceb improve util-linux-script subpackage 2024-09-03 12:15:12 +02:00
Daan De Meyer
5a2471d6e5 Move script utilities to util-linux-script subpackage
This allows installing util-linux without pulling in the
libutempter library which includes a setgid binary that I'd like
to avoid installing on my systems.
2024-08-23 11:27:11 +02:00
Daan De Meyer
6975c91b71 Remove setgid and tty group from /usr/bin/write
We already require root privileges for /usr/bin/wall so let's do the
same for /usr/bin/write.

"""
-rwxr-xr-x    1 root     root                    28456 Aug 14 02:00 /usr/bin/wall
-rwxr-xr-x    1 root     root                    36792 Aug 14 02:00 /usr/bin/wdctl
-rwxr-xr-x    1 root     root                    33160 Aug 14 02:00 /usr/bin/whereis
-rwxr-xr-x    1 root     root                    24352 Aug 14 02:00 /usr/bin/write
"""
2024-08-14 13:46:45 +02:00
Daan De Meyer
0921016466 Fix whitespace issues 2024-08-14 13:28:56 +02:00
c96f6dfba7 Add compat Providess for binaries under /usr/sbin
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Requires:/usr/sbin/runuser is present in knot.
BuildRequires: /usr/sbin{fsck,sfdisk} used by some other packages.
2024-07-09 12:42:02 +02:00
480d4cbafa Add workaround for borked autotools installation
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Without this, build on a system with merged-sbin fails.

[skip changelog]
2024-07-09 12:42:02 +02:00
Karel Zak
abe9339a37 upgrade from v2.40.1 to v2.40.2
https://kernel.org/pub/linux/utils/util-linux/v2.40/v2.40.2-ReleaseNotes
2024-07-04 10:40:20 +02:00
Karel Zak
e345fc8ab4 upgrade to stable v2.40.1 2024-05-06 11:14:27 +02:00
Karel Zak
981295a856 remove pre-release option 2024-04-08 10:59:41 +02:00
Karel Zak
bc83b318de upgrade to v2.40 2024-03-29 08:13:14 +01:00
Karel Zak
f0320c8ef7 fix license related stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 2cc6ef8a87)
2024-02-28 14:47:36 +01:00
Karel Zak
0bd50d406f use SPDX based identifiers for license field 2024-02-21 11:30:53 +01:00
Colin Walters
1d94d2966a Backport 211a9da0b4
xref https://github.com/coreos/rpm-ostree/issues/4830
2024-02-15 11:39:09 -05:00
Karel Zak
5854ee9f05 add autorelease and autochangelog 2024-02-07 13:05:18 +01:00
ceb56aabcb Replace loop by a single invocation with multiple arguments 2024-02-06 11:31:59 +01:00
b15359d1d4 $RPM_BUILD_ROOT → %{buildroot}
It is shorter and also does not mess up the host system if somebody
makes a typo.
2024-02-06 11:31:55 +01:00
dc6a971801 Enable fstrim.timer on upgrades
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2262393 for upgrades.
Since the timer was not enabled previously, we want to enable it here so that
https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer is actually true.
2024-02-06 11:28:02 +01:00
e5d9a1e3ef Add unit scriptlets for fstrim.service and .timer
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_scriptlets

We want to "restart" the timer so that the it's rescheduled if there
are any changes to frequency or other settings. This will not cause the timer
to fire immediately. We don't restart the service itself, because, if it happens
to be running, we want it to just finish as it was.

This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2262393 for new
installations. A preset call was missing for fstrim.timer, so if util-linux
was installed after systemd, the unit would not be enabled.
2024-02-06 11:28:02 +01:00
a4d9e81291 Replace systemd dependencies with just ordering
systemd-units has been merged into systemd a long time ago. But we
don't really need this dependency at all. Let's just declare ordering,
so that this package is installed after systemd if both are installed
in the same transaction.

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_dependencies_on_the_systemd_package
for discussion and justification.
2024-02-06 11:28:02 +01:00
1d0d7588dd Simplify systemd scriplets
It is better to use a single %systemd_* macro to avoid some executions
and repeated checks.
2024-02-06 11:27:58 +01:00
Karel Zak
bac574c283 2.40-0.1: upgrade to v2.40-rc1 2024-02-05 10:29:29 +01:00