public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] libxcrypt: Update to version 4.4.38
Date: Mon, 24 Feb 2025 10:30:56 +0000	[thread overview]
Message-ID: <1B68C25A-4672-47E9-87C6-650D72E2142D@ipfire.org> (raw)
In-Reply-To: <1b542c85-1efb-4b50-9317-c86491c003d1@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 4978 bytes --]

Hello,

Brilliant fix :) Merged.

-Michael

> On 23 Feb 2025, at 18:04, Adolf Belka <adolf.belka(a)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(a)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(a)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(a)ipfire.org>                     #
>>> +# Copyright (C) 2007-2025  IPFire Team  <info(a)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



  reply	other threads:[~2025-02-24 10:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 12:43 [PATCH] ddrescue: Update to version 1.29 Adolf Belka
2025-01-22 12:43 ` [PATCH] fontconfig: Update to version 2.16.0 Adolf Belka
2025-01-22 12:43 ` [PATCH] gdb: Update to version 16.1 Adolf Belka
2025-01-22 12:43 ` [PATCH] git: Update to version 2.48.1 Adolf Belka
2025-01-22 12:43 ` [PATCH] harfbuzz: Update to version 10.2.0 Adolf Belka
2025-01-22 12:43 ` [PATCH] libexif: Update to version 0.6.25 Adolf Belka
2025-01-22 12:43 ` [PATCH] libxcrypt: Update to version 4.4.38 Adolf Belka
2025-02-22 13:40   ` Michael Tremer
2025-02-23 18:04     ` Adolf Belka
2025-02-24 10:30       ` Michael Tremer [this message]
2025-01-22 12:43 ` [PATCH] lvm2: Update to version 2.03.30 Adolf Belka
2025-01-22 12:43 ` [PATCH] lynis: Update to version 3.1.3 Adolf Belka
2025-01-22 12:43 ` [PATCH] monit: Update to version 5.34.4 Adolf Belka
2025-01-22 12:43 ` [PATCH] openvmtools: Update to version 12.5.0 Adolf Belka
2025-01-22 12:43 ` [PATCH] pango: Update to version 1.56.1 Adolf Belka

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=1B68C25A-4672-47E9-87C6-650D72E2142D@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.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