public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] nettle: Update to 3.6
Date: Sat, 02 May 2020 10:53:46 +0200	[thread overview]
Message-ID: <98cee97f-062e-3942-2f06-5ac8cec2f173@ipfire.org> (raw)
In-Reply-To: <90B17C58-6F3F-4C1F-B5EA-BA530341A454@ipfire.org>

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

Hi,

On 01.05.2020 15:17, Michael Tremer wrote:
> Hi,
> 
> Do we know if anything else but gnutls links against this?

Me: no => Please don't merge this patch.

> The library so version has been bumped, and we might need a compat-version if we can. Or potentially symlinks.

You're right. IIRC, I read about a similiar problem a while ago. And it
sucks...

What I'm not sure about:
Would testing all binaries one by one with 'ldd' be sufficient enough?

ToDo:
I thought about it. I'll try to write a script that loops through (all)
binaries and throws a message if an appropriate - missing - library (in
this case: libhogweed or libnettle) was found.

I'm thinking about something with a "for-while-do-loop", using 'ldd
[PROGRAM_NAME]', filtering the output.

And just in case: has anyone here ever programmed anything like this
already?

I don't want to "reinvent the wheel" unnecessarily... ;-)

Opinions?

Best,
Matthias

> -Michael
> 
>> On 1 May 2020, at 11:54, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
>> 
>> For details see:
>> https://git.lysator.liu.se/nettle/nettle/-/blob/master/ChangeLog
>> 
>> This update also requires updating gnutls to '3.6.13'.
>> 
>> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
>> ---
>> config/rootfiles/common/nettle | 11 +++++++----
>> lfs/nettle                     |  6 +++---
>> 2 files changed, 10 insertions(+), 7 deletions(-)
>> 
>> diff --git a/config/rootfiles/common/nettle b/config/rootfiles/common/nettle
>> index 58e3f57a0..20a269a8b 100644
>> --- a/config/rootfiles/common/nettle
>> +++ b/config/rootfiles/common/nettle
>> @@ -23,6 +23,7 @@
>> #usr/include/nettle/cmac.h
>> #usr/include/nettle/ctr.h
>> #usr/include/nettle/curve25519.h
>> +#usr/include/nettle/curve448.h
>> #usr/include/nettle/des.h
>> #usr/include/nettle/dsa-compat.h
>> #usr/include/nettle/dsa.h
>> @@ -32,6 +33,7 @@
>> #usr/include/nettle/ecdsa.h
>> #usr/include/nettle/eddsa.h
>> #usr/include/nettle/gcm.h
>> +#usr/include/nettle/gostdsa.h
>> #usr/include/nettle/gosthash94.h
>> #usr/include/nettle/hkdf.h
>> #usr/include/nettle/hmac.h
>> @@ -61,16 +63,17 @@
>> #usr/include/nettle/sha1.h
>> #usr/include/nettle/sha2.h
>> #usr/include/nettle/sha3.h
>> +#usr/include/nettle/siv-cmac.h
>> #usr/include/nettle/twofish.h
>> #usr/include/nettle/umac.h
>> #usr/include/nettle/version.h
>> #usr/include/nettle/xts.h
>> #usr/include/nettle/yarrow.h
>> usr/lib/libhogweed.so
>> -usr/lib/libhogweed.so.5
>> -usr/lib/libhogweed.so.5.0
>> +usr/lib/libhogweed.so.6
>> +usr/lib/libhogweed.so.6.0
>> #usr/lib/libnettle.so
>> -usr/lib/libnettle.so.7
>> -usr/lib/libnettle.so.7.0
>> +usr/lib/libnettle.so.8
>> +usr/lib/libnettle.so.8.0
>> #usr/lib/pkgconfig/hogweed.pc
>> #usr/lib/pkgconfig/nettle.pc
>> diff --git a/lfs/nettle b/lfs/nettle
>> index cc34b1fad..de7428121 100644
>> --- a/lfs/nettle
>> +++ b/lfs/nettle
>> @@ -1,7 +1,7 @@
>> ###############################################################################
>> #                                                                             #
>> # IPFire.org - A linux based firewall                                         #
>> -# Copyright (C) 2007-2019  IPFire Team  <info(a)ipfire.org>                     #
>> +# Copyright (C) 2007-2020  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        = 3.5.1
>> +VER        = 3.6
>> 
>> THISAPP    = nettle-$(VER)
>> DL_FILE    = $(THISAPP).tar.gz
>> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>> 
>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>> 
>> -$(DL_FILE)_MD5 = 0e5707b418c3826768d41130fbe4ee86
>> +$(DL_FILE)_MD5 = c45ee24ed7361dcda152a035d396fe8a
>> 
>> install : $(TARGET)
>> 
>> -- 
>> 2.17.1
>> 
> 


  reply	other threads:[~2020-05-02  8:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 10:54 Matthias Fischer
2020-05-01 13:17 ` Michael Tremer
2020-05-02  8:53   ` Matthias Fischer [this message]
2020-05-04 14:32     ` Michael Tremer
2020-05-13 10:52       ` [PATCH] make.sh: Add command to find dependencies Michael Tremer
2020-05-13 10:55       ` [PATCH] nettle: Update to 3.6 Michael Tremer
2020-05-13 21:37         ` Matthias Fischer
2020-05-14 10:43           ` Michael Tremer
2020-05-14 11:35             ` Matthias Fischer
2020-05-14 11:37               ` Michael Tremer

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=98cee97f-062e-3942-2f06-5ac8cec2f173@ipfire.org \
    --to=matthias.fischer@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