Page MenuHomeSolus

Update nettle to 3.4 & convert to ypkg
ClosedPublic

Authored by kyrios123 on Dec 29 2017, 6:31 PM.
Tags
None
Referenced Files
F11015959: D1817.id8978.diff
Sat, Aug 5, 3:30 PM
F11008592: D1817.diff
Wed, Aug 2, 4:37 AM
F10938309: D1817.diff
Thu, Jul 13, 1:05 PM
F10933975: D1817.id9088.diff
Wed, Jul 12, 9:21 AM
F10933974: D1817.id8978.diff
Wed, Jul 12, 9:21 AM
F10933972: D1817.id5082.diff
Wed, Jul 12, 9:21 AM
F10933971: D1817.id4343.diff
Wed, Jul 12, 9:21 AM
F10933970: D1817.id.diff
Wed, Jul 12, 9:21 AM

Details

Summary

Release notes available here

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • Unit tests enabled
  • Installed on a VM seems to be still working fine

Diff Detail

Repository
R2154 nettle
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

IMPORTANT: please read carefully below remarks
  • In the previous version libhogweed.so was available in both libhogweed AND libnettle-devel sub-packages. At the moment I placed this library in libnettle-devel as libhogweed.a and hogweed.pcare also in that sub-package. There is no dependency between libhogweed and libnettle-develso I am not very comfortable with this.
  • nettle-bin now has a dependency with libhogweed. I don't understand why and I haven't found a way to remove it as there shouldn't be such a dependency.

Perhaps this package wasn't a good candidate for a conversion to YPKG ?

JoshStrobl added a subscriber: JoshStrobl.
JoshStrobl added inline comments.
package.yml
9–11

You're not really saving any work here nor does this particularly make sense. libhogweed would make sense in security.library rather than crypto, because it's a library.

46–52

Have you actually checked if this is needed vs being automatically added as rundeps as a result of the ABI used libs?

This revision now requires changes to proceed.Jan 27 2018, 12:27 PM
package.yml
9–11

I just stay aligned to what currently exists. I did this to allow switching everything to another category just by updating one place.

Package found in Solus repository:
Name                : libhogweed, version: 3.3, release: 15
Summary             : Low level cryptographic library
Description         : The Nettle package contains the low-level cryptographic
                      library that is designed to fit easily in many contexts.
Licenses            : LGPL-3.0
Component           : security.crypto
Dependencies        : libnettle glibc gmp 
Distribution        : Solus, Dist. Release: 1
Architecture        : x86_64, Installed Size: 206.00 KB, Package Size: 130.00
                      KB
Reverse Dependencies:

I'll update this

46–52

Again I did reproduce the old behavior. That's how @ikey suggested me to work:
1/ convert "as-is"
2/ make wished changes in a next release

kyrios123 edited edge metadata.

Apply suggested updates

sunnyflunk added inline comments.
package.yml
53

If you are replicating, doesn't this require unset LD_AS_NEEDED prior to running %configure?

package.yml
53

I get lot of (obviously non-blocking) errors during the checks when I unset it :
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Should I worry about this ?

JoshStrobl added inline comments.
package.yml
11

This wasn't changed to security.library

This revision now requires changes to proceed.Aug 18 2018, 10:17 PM

libhogweed -> security.library

This revision is now accepted and ready to land.Aug 22 2018, 3:31 AM
This revision was automatically updated to reflect the committed changes.