public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/util-linux] rawhide: upgrade to upstream release v2.42.2
Date: Tue, 16 Jun 2026 12:57:09 GMT	[thread overview]
Message-ID: <178161462910.1.4151710731526180273.rpms-util-linux-d3c879ee069e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/util-linux
Branch : rawhide
Commit : d3c879ee069eb7fcc931120f4bc72b5b43b1ce95
Author : Karel Zak <kzak@redhat.com>
Date   : 2026-06-16T14:56:23+02:00
Stats  : +3/-45 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/util-linux/c/d3c879ee069eb7fcc931120f4bc72b5b43b1ce95?branch=rawhide

Log:
upgrade to upstream release v2.42.2

---
diff --git a/.gitignore b/.gitignore
index 99b84c3..15c7c05 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,3 +105,4 @@
 /util-linux-2.41.3.tar.xz
 /util-linux-2.42.tar.xz
 /util-linux-2.42.1.tar.xz
+/util-linux-2.42.2.tar.xz

diff --git a/0002-pam_lastlog2-fix-libpam-linking-in-autotools-build.patch b/0002-pam_lastlog2-fix-libpam-linking-in-autotools-build.patch
deleted file mode 100644
index 233a7f8..0000000
--- a/0002-pam_lastlog2-fix-libpam-linking-in-autotools-build.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 5549462c4d10e7b9c67d2cf4e99a7735770e816d Mon Sep 17 00:00:00 2001
-From: Karel Zak <kzak@redhat.com>
-Date: Tue, 19 May 2026 10:54:57 +0200
-Subject: [PATCH] pam_lastlog2: fix libpam linking in autotools build
-
-Move -lpam from LDFLAGS to LIBADD. When -lpam is in LDFLAGS it
-appears on the linker command line before object files, so the
---as-needed linker flag (default on Fedora) discards it before
-seeing any undefined PAM symbols. This results in pam_lastlog2.so
-missing libpam.so in its ELF NEEDED entries.
-
-The module then fails to load with dlopen() if the calling process
-does not itself link against libpam (e.g., systemd in Fedora 44+):
-
-  PAM unable to dlopen(pam_lastlog2.so): undefined symbol: pam_syslog
-
-Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2453457
-Signed-off-by: Karel Zak <kzak@redhat.com>
-(cherry picked from commit 5683ed6320e00205146cbb3d0c76462733530eca)
----
- Makefile.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 1234567..abcdefg 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -7596,9 +7596,9 @@
- @BUILD_PAM_LASTLOG2_TRUE@	 $(SOLIB_CFLAGS) \
- @BUILD_PAM_LASTLOG2_TRUE@	 -I$(ul_liblastlog2_incdir)
-
--@BUILD_PAM_LASTLOG2_TRUE@pam_lastlog2_la_LIBADD = liblastlog2.la
-+@BUILD_PAM_LASTLOG2_TRUE@pam_lastlog2_la_LIBADD = liblastlog2.la -lpam
- @BUILD_PAM_LASTLOG2_TRUE@pam_lastlog2_la_LDFLAGS = $(SOLIB_LDFLAGS) \
--@BUILD_PAM_LASTLOG2_TRUE@	-lpam -module -avoid-version -shared \
-+@BUILD_PAM_LASTLOG2_TRUE@	-module -avoid-version -shared \
- @BUILD_PAM_LASTLOG2_TRUE@	$(am__append_609)
- POMAN_PO_FILES = $(wildcard po-man/*.po)
- @ENABLE_ASCIIDOC_TRUE@@ENABLE_POMAN_TRUE@PO_STAMPS = po4a-gen.stamp
---
-2.52.0
-

diff --git a/sources b/sources
index aaa0b65..8420d1b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (util-linux-2.42.1.tar.xz) = 18dd2cfc353e389e4eeb37375473e7b3d0ab7fcd059a881d7cd0815ddcaa7b5795db92fcf56e531089267c8e69936c4fd3abd97786aa111b115996203aadbca2
+SHA512 (util-linux-2.42.2.tar.xz) = 7415add0be2930654e322830808dde03ff6d511bd357f0679e6b6287a13ca79fe58ce4ac05edef86b76fb381b3a36ca2da9d3c31b5dc0a1d889c203156a57277

diff --git a/util-linux.spec b/util-linux.spec
index 7f000f7..d92cb07 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -1,7 +1,7 @@
 ### Header
 Summary: Collection of basic system utilities
 Name: util-linux
-Version: 2.42.1
+Version: 2.42.2
 # -p -e rc1
 Release: %autorelease
 License: GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND LicenseRef-Fedora-Public-Domain
@@ -106,7 +106,6 @@ Provides:       /usr/sbin/sfdisk
 ### Fedora specific patches
 Patch0: 0000-login-use-O_CREAT-on-lastlog.patch
 Patch1: 0001-login-add-run-motd.d-to-the-hardcoded-MOTD_FILE.patch
-Patch2: 0002-pam_lastlog2-fix-libpam-linking-in-autotools-build.patch
 
 %description
 The util-linux package contains a large variety of low-level system

                 reply	other threads:[~2026-06-16 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178161462910.1.4151710731526180273.rpms-util-linux-d3c879ee069e@fedoraproject.org \
    --to=kzak@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox