Message ID | 20250122124315.14489-7-adolf.belka@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YdNzW19k7z3x3f for <patchwork@web04.haj.ipfire.org>; Wed, 22 Jan 2025 12:43:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YdNzQ0qnjz4pJ; Wed, 22 Jan 2025 12:43:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4YdNzQ0Jvwz34NW; Wed, 22 Jan 2025 12:43:30 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4YdNzJ6H9jz34Bc for <development@lists.ipfire.org>; Wed, 22 Jan 2025 12:43:24 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4YdNzJ4qPqz26T; Wed, 22 Jan 2025 12:43:24 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1737549804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9hgMC15LTAYo3pzXkS5lulXXln624PviHC2dTroyntQ=; b=Kat4HS+ZHIRIX0joKzDT2VFl5xyPh2nkztnbbNRlyVkKDA/B15RP898R+7nOrJB+SO1ux7 RHbunmaywtZrGdDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1737549804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9hgMC15LTAYo3pzXkS5lulXXln624PviHC2dTroyntQ=; b=F/81g8w8TXr30fANofCDZuxSAuR8EqfzQi3CNN2P6aanj9Dha65s1V4Xd6IjVdY1k+rePN 8RqsTcVug6vhSbJ4lnmSpQNMAhuTEixzcIc/5tjbEjerUR9xQ9qWRK9J3KWUeDOmSzFpa/ ZPTdNeXFOmEQAR9YfuknlHrsinMHCKvPLpU1Fw4t++ZDEWm58jC88Rd6fB6jKs2YepXHlR P4llLwQ09scgeKJ2U7zR4xsOYAdCbNSO5zgsg8C1SbmRguujeTNJzC0qdTjrkG2WrVJ7Y3 GA6Q/VHMVz/XCRsO0NrxorKi/zdz6KqwS+3bib0Ogu0lKEwwgUofFiRlWajm1g== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] libxcrypt: Update to version 4.4.38 Date: Wed, 22 Jan 2025 13:43:10 +0100 Message-ID: <20250122124315.14489-7-adolf.belka@ipfire.org> In-Reply-To: <20250122124315.14489-1-adolf.belka@ipfire.org> References: <20250122124315.14489-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: QAJJEGXI3NK4RH7AR36PRH257BPAE4UP X-Message-ID-Hash: QAJJEGXI3NK4RH7AR36PRH257BPAE4UP X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> Archived-At: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/message/QAJJEGXI3NK4RH7AR36PRH257BPAE4UP/> List-Archive: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Owner: <mailto:development-owner@lists.ipfire.org> List-Post: <mailto:development@lists.ipfire.org> List-Subscribe: <mailto:development-join@lists.ipfire.org> List-Unsubscribe: <mailto:development-leave@lists.ipfire.org> |
Series |
libxcrypt: Update to version 4.4.38
|
|
Commit Message
Adolf Belka
Jan. 22, 2025, 12:43 p.m. UTC
- Update from version 4.4.36 to 4.4.38
- Update of rootfile
- Changelog
4.4.38
* Fix several "-Wunterminated-string-initialization", which are seen by
upcoming GCC 15.x (issue #194).
* Fix "-Wmaybe-uninitialized" in crypt.c, which is seen by GCC 13.3.0.
* Skip test/explicit-bzero if compiling with ASAN.
* Drop hard requirement for the pkg-config binary (issue #198).
4.4.37
* Several fixes to the manpages (issue #185).
* Add binary compatibility for x86_64 GNU/Hurd (issue #189).
* Only test the needed makecontext signature during configure (issue #178).
* Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen
by GCC 4.8.5 (issue #197).
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/libxcrypt | 3 +--
lfs/libxcrypt | 6 +++---
2 files changed, 4 insertions(+), 5 deletions(-)
Comments
Hello Adolf, > On 22 Jan 2025, at 12:43, Adolf Belka <adolf.belka@ipfire.org> wrote: > > - Update from version 4.4.36 to 4.4.38 > - Update of rootfile > - Changelog > 4.4.38 > * Fix several "-Wunterminated-string-initialization", which are seen by > upcoming GCC 15.x (issue #194). > * Fix "-Wmaybe-uninitialized" in crypt.c, which is seen by GCC 13.3.0. > * Skip test/explicit-bzero if compiling with ASAN. > * Drop hard requirement for the pkg-config binary (issue #198). > 4.4.37 > * Several fixes to the manpages (issue #185). > * Add binary compatibility for x86_64 GNU/Hurd (issue #189). > * Only test the needed makecontext signature during configure (issue #178). > * Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen > by GCC 4.8.5 (issue #197). > > Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> > --- > config/rootfiles/common/libxcrypt | 3 +-- > lfs/libxcrypt | 6 +++--- > 2 files changed, 4 insertions(+), 5 deletions(-) > > diff --git a/config/rootfiles/common/libxcrypt b/config/rootfiles/common/libxcrypt > index 1cbb05816..7febd9254 100644 > --- a/config/rootfiles/common/libxcrypt > +++ b/config/rootfiles/common/libxcrypt > @@ -1,3 +1,4 @@ > +#root/libcrypt.pc Can we have a fix for this where the pkg-config files are installed in /usr/lib/pkgconfig again? I think there is just a configure switch required and auto-detection seems to fail. If other packages cannot find lib(x)crypt through pkg-config, they might fall back to their own implementation which we don’t want. Best, -Michael > #usr/include/crypt.h > #usr/include/xcrypt.h > #usr/lib/libcrypt.la > @@ -7,8 +8,6 @@ usr/lib/libcrypt.so.1.1.0 > #usr/lib/libowcrypt.so > #usr/lib/libowcrypt.so.1 > #usr/lib/libxcrypt.so > -#usr/lib/pkgconfig/libcrypt.pc > -#usr/lib/pkgconfig/libxcrypt.pc > #usr/share/man/man3/crypt.3 > #usr/share/man/man3/crypt_checksalt.3 > #usr/share/man/man3/crypt_gensalt.3 > diff --git a/lfs/libxcrypt b/lfs/libxcrypt > index 4ec63516a..2f40385ca 100644 > --- a/lfs/libxcrypt > +++ b/lfs/libxcrypt > @@ -1,7 +1,7 @@ > ############################################################################### > # # > # IPFire.org - A linux based firewall # > -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # > +# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> # > # # > # This program is free software: you can redistribute it and/or modify # > # it under the terms of the GNU General Public License as published by # > @@ -24,7 +24,7 @@ > > include Config > > -VER = 4.4.36 > +VER = 4.4.38 > > THISAPP = libxcrypt-$(VER) > DL_FILE = $(THISAPP).tar.xz > @@ -47,7 +47,7 @@ objects = $(DL_FILE) > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > > -$(DL_FILE)_BLAKE2 = 9f028e0fe2cb7bb4273f3f6d1e579e0fe93cd71eba21286aa7dc078c904ea3cdce38b2955bdcd618853f7657b01aea7e28c4d898680e69fdf75f812b5a304c1d > +$(DL_FILE)_BLAKE2 = 42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff > > install : $(TARGET) > > -- > 2.48.1 >
Hi Michael, On 22/02/2025 14:40, Michael Tremer wrote: > Hello Adolf, > >> On 22 Jan 2025, at 12:43, Adolf Belka <adolf.belka@ipfire.org> wrote: >> >> - Update from version 4.4.36 to 4.4.38 >> - Update of rootfile >> - Changelog >> 4.4.38 >> * Fix several "-Wunterminated-string-initialization", which are seen by >> upcoming GCC 15.x (issue #194). >> * Fix "-Wmaybe-uninitialized" in crypt.c, which is seen by GCC 13.3.0. >> * Skip test/explicit-bzero if compiling with ASAN. >> * Drop hard requirement for the pkg-config binary (issue #198). >> 4.4.37 >> * Several fixes to the manpages (issue #185). >> * Add binary compatibility for x86_64 GNU/Hurd (issue #189). >> * Only test the needed makecontext signature during configure (issue #178). >> * Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen >> by GCC 4.8.5 (issue #197). >> >> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> >> --- >> config/rootfiles/common/libxcrypt | 3 +-- >> lfs/libxcrypt | 6 +++--- >> 2 files changed, 4 insertions(+), 5 deletions(-) >> >> diff --git a/config/rootfiles/common/libxcrypt b/config/rootfiles/common/libxcrypt >> index 1cbb05816..7febd9254 100644 >> --- a/config/rootfiles/common/libxcrypt >> +++ b/config/rootfiles/common/libxcrypt >> @@ -1,3 +1,4 @@ >> +#root/libcrypt.pc > > Can we have a fix for this where the pkg-config files are installed in /usr/lib/pkgconfig again? Sorry that I missed that. > > I think there is just a configure switch required and auto-detection seems to fail. No it turned out that there was no configure switch to use. After a lot of investigating it turned out that in version 4.4.37 they made it a requirement that pkg-config was installed as a dependency. That caused some users a problem when installing libxcrypt early in a distribution before pkg-config was available and then the libxcrypt build would fail. So in version 4.4.38 it was changed so that if pkg-config was not found the build continued but then of course the pkg-config files are not installed. In version 4.4.36 the .pc files were installed whether pkg-config was available already or not. The pkgconfig directory was even created if it was not already present. The fix was to move pkg-config to before libxcrypt and the files were available again. The only alternative would have been to patch the Makefile.in to allow the install of the .pc files whether pkg-config was already installed or not but that would have been too complex for me and moving pkg-config to before libxcrypt seems to have worked without any issues. V2 patch submission will be submitted shortly. Regards, Adolf. > > If other packages cannot find lib(x)crypt through pkg-config, they might fall back to their own implementation which we don’t want. > > Best, > -Michael > >> #usr/include/crypt.h >> #usr/include/xcrypt.h >> #usr/lib/libcrypt.la >> @@ -7,8 +8,6 @@ usr/lib/libcrypt.so.1.1.0 >> #usr/lib/libowcrypt.so >> #usr/lib/libowcrypt.so.1 >> #usr/lib/libxcrypt.so >> -#usr/lib/pkgconfig/libcrypt.pc >> -#usr/lib/pkgconfig/libxcrypt.pc >> #usr/share/man/man3/crypt.3 >> #usr/share/man/man3/crypt_checksalt.3 >> #usr/share/man/man3/crypt_gensalt.3 >> diff --git a/lfs/libxcrypt b/lfs/libxcrypt >> index 4ec63516a..2f40385ca 100644 >> --- a/lfs/libxcrypt >> +++ b/lfs/libxcrypt >> @@ -1,7 +1,7 @@ >> ############################################################################### >> # # >> # IPFire.org - A linux based firewall # >> -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # >> +# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> # >> # # >> # This program is free software: you can redistribute it and/or modify # >> # it under the terms of the GNU General Public License as published by # >> @@ -24,7 +24,7 @@ >> >> include Config >> >> -VER = 4.4.36 >> +VER = 4.4.38 >> >> THISAPP = libxcrypt-$(VER) >> DL_FILE = $(THISAPP).tar.xz >> @@ -47,7 +47,7 @@ objects = $(DL_FILE) >> >> $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >> >> -$(DL_FILE)_BLAKE2 = 9f028e0fe2cb7bb4273f3f6d1e579e0fe93cd71eba21286aa7dc078c904ea3cdce38b2955bdcd618853f7657b01aea7e28c4d898680e69fdf75f812b5a304c1d >> +$(DL_FILE)_BLAKE2 = 42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff >> >> install : $(TARGET) >> >> -- >> 2.48.1 >> >
Hello, Brilliant fix :) Merged. -Michael > On 23 Feb 2025, at 18:04, Adolf Belka <adolf.belka@ipfire.org> wrote: > > Hi Michael, > > On 22/02/2025 14:40, Michael Tremer wrote: >> Hello Adolf, >>> On 22 Jan 2025, at 12:43, Adolf Belka <adolf.belka@ipfire.org> wrote: >>> >>> - Update from version 4.4.36 to 4.4.38 >>> - Update of rootfile >>> - Changelog >>> 4.4.38 >>> * Fix several "-Wunterminated-string-initialization", which are seen by >>> upcoming GCC 15.x (issue #194). >>> * Fix "-Wmaybe-uninitialized" in crypt.c, which is seen by GCC 13.3.0. >>> * Skip test/explicit-bzero if compiling with ASAN. >>> * Drop hard requirement for the pkg-config binary (issue #198). >>> 4.4.37 >>> * Several fixes to the manpages (issue #185). >>> * Add binary compatibility for x86_64 GNU/Hurd (issue #189). >>> * Only test the needed makecontext signature during configure (issue #178). >>> * Fix -Werror=strict-overflow in lib/crypt-bcrypt.c, which is seen >>> by GCC 4.8.5 (issue #197). >>> >>> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> >>> --- >>> config/rootfiles/common/libxcrypt | 3 +-- >>> lfs/libxcrypt | 6 +++--- >>> 2 files changed, 4 insertions(+), 5 deletions(-) >>> >>> diff --git a/config/rootfiles/common/libxcrypt b/config/rootfiles/common/libxcrypt >>> index 1cbb05816..7febd9254 100644 >>> --- a/config/rootfiles/common/libxcrypt >>> +++ b/config/rootfiles/common/libxcrypt >>> @@ -1,3 +1,4 @@ >>> +#root/libcrypt.pc >> Can we have a fix for this where the pkg-config files are installed in /usr/lib/pkgconfig again? > > Sorry that I missed that. > >> I think there is just a configure switch required and auto-detection seems to fail. > > No it turned out that there was no configure switch to use. After a lot of investigating it turned out that in version 4.4.37 they made it a requirement that pkg-config was installed as a dependency. > > That caused some users a problem when installing libxcrypt early in a distribution before pkg-config was available and then the libxcrypt build would fail. > > So in version 4.4.38 it was changed so that if pkg-config was not found the build continued but then of course the pkg-config files are not installed. > > In version 4.4.36 the .pc files were installed whether pkg-config was available already or not. The pkgconfig directory was even created if it was not already present. > > The fix was to move pkg-config to before libxcrypt and the files were available again. > > The only alternative would have been to patch the Makefile.in to allow the install of the .pc files whether pkg-config was already installed or not but that would have been too complex for me and moving pkg-config to before libxcrypt seems to have worked without any issues. > > V2 patch submission will be submitted shortly. > > Regards, > > Adolf. > >> If other packages cannot find lib(x)crypt through pkg-config, they might fall back to their own implementation which we don’t want. >> Best, >> -Michael >>> #usr/include/crypt.h >>> #usr/include/xcrypt.h >>> #usr/lib/libcrypt.la >>> @@ -7,8 +8,6 @@ usr/lib/libcrypt.so.1.1.0 >>> #usr/lib/libowcrypt.so >>> #usr/lib/libowcrypt.so.1 >>> #usr/lib/libxcrypt.so >>> -#usr/lib/pkgconfig/libcrypt.pc >>> -#usr/lib/pkgconfig/libxcrypt.pc >>> #usr/share/man/man3/crypt.3 >>> #usr/share/man/man3/crypt_checksalt.3 >>> #usr/share/man/man3/crypt_gensalt.3 >>> diff --git a/lfs/libxcrypt b/lfs/libxcrypt >>> index 4ec63516a..2f40385ca 100644 >>> --- a/lfs/libxcrypt >>> +++ b/lfs/libxcrypt >>> @@ -1,7 +1,7 @@ >>> ############################################################################### >>> # # >>> # IPFire.org - A linux based firewall # >>> -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # >>> +# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> # >>> # # >>> # This program is free software: you can redistribute it and/or modify # >>> # it under the terms of the GNU General Public License as published by # >>> @@ -24,7 +24,7 @@ >>> >>> include Config >>> >>> -VER = 4.4.36 >>> +VER = 4.4.38 >>> >>> THISAPP = libxcrypt-$(VER) >>> DL_FILE = $(THISAPP).tar.xz >>> @@ -47,7 +47,7 @@ objects = $(DL_FILE) >>> >>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >>> >>> -$(DL_FILE)_BLAKE2 = 9f028e0fe2cb7bb4273f3f6d1e579e0fe93cd71eba21286aa7dc078c904ea3cdce38b2955bdcd618853f7657b01aea7e28c4d898680e69fdf75f812b5a304c1d >>> +$(DL_FILE)_BLAKE2 = 42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff >>> >>> install : $(TARGET) >>> >>> -- >>> 2.48.1
diff --git a/config/rootfiles/common/libxcrypt b/config/rootfiles/common/libxcrypt index 1cbb05816..7febd9254 100644 --- a/config/rootfiles/common/libxcrypt +++ b/config/rootfiles/common/libxcrypt @@ -1,3 +1,4 @@ +#root/libcrypt.pc #usr/include/crypt.h #usr/include/xcrypt.h #usr/lib/libcrypt.la @@ -7,8 +8,6 @@ usr/lib/libcrypt.so.1.1.0 #usr/lib/libowcrypt.so #usr/lib/libowcrypt.so.1 #usr/lib/libxcrypt.so -#usr/lib/pkgconfig/libcrypt.pc -#usr/lib/pkgconfig/libxcrypt.pc #usr/share/man/man3/crypt.3 #usr/share/man/man3/crypt_checksalt.3 #usr/share/man/man3/crypt_gensalt.3 diff --git a/lfs/libxcrypt b/lfs/libxcrypt index 4ec63516a..2f40385ca 100644 --- a/lfs/libxcrypt +++ b/lfs/libxcrypt @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # +# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 4.4.36 +VER = 4.4.38 THISAPP = libxcrypt-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -47,7 +47,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 9f028e0fe2cb7bb4273f3f6d1e579e0fe93cd71eba21286aa7dc078c904ea3cdce38b2955bdcd618853f7657b01aea7e28c4d898680e69fdf75f812b5a304c1d +$(DL_FILE)_BLAKE2 = 42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff install : $(TARGET)