Bug 256492 - security/nettle: Update BUILD_DEPENDS
Summary: security/nettle: Update BUILD_DEPENDS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL: http://lists.lysator.liu.se/pipermail...
Depends on:
Reported: 2021-06-09 00:21 UTC by Daniel Engberg
Modified: 2021-06-25 13:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)

Patch for nettle (2.25 KB, patch)
2021-06-09 00:21 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer 2021-06-09 00:21:55 UTC
Created attachment 225653 [details]
Patch for nettle

Update nettle to 3.7.3
Update Makefile to follow Porter's Handbook more closely, PORTVERSION --> DISTVERSION
Update (lib)gmp requirements to 6.1.0
Ref: https://git.lysator.liu.se/nettle/nettle/-/blob/release-3.7-fixes/configure.ac#L254
Always build examples otherwise "make test" fails

Compile and runtime tested on 13.0-STABLE #0 stable/13-n245283-70a2e9a3d44 (arm64) (make, make check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer 2021-06-09 00:27:39 UTC
http://lists.lysator.liu.se/pipermail/nettle-bugs/2021/009546.html (CVE-2021-3580)
Comment 2 Daniel Engberg freebsd_committer 2021-06-25 09:24:24 UTC
Friendly ping, can you at least update build dependency for math/gmp?
Comment 3 commit-hook freebsd_committer 2021-06-25 13:47:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57f90a0651423cc0c748a1fd88572dc6d1c2504a

commit 57f90a0651423cc0c748a1fd88572dc6d1c2504a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-06-25 13:41:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-06-25 13:41:23 +0000

    security/nettle: Update version requirement of BUILD_DEPENDS

    PR:             256492
    Reported by:    Daniel Engberg <daniel.engberg.lists@pyret.net>

 security/nettle/Makefile | 2 +-
 security/nettle/a (new)  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)