Bug 282594 - security/gnupg: Update to 2.4.6
Summary: security/gnupg: Update to 2.4.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yasuhiro Kimura
URL: https://lists.gnupg.org/pipermail/gnu...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-06 23:06 UTC by Yasuhiro Kimura
Modified: 2024-11-30 12:11 UTC (History)
1 user (show)

See Also:
yasu: maintainer-feedback-


Attachments
Patch file (7.34 KB, patch)
2024-11-06 23:06 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2024-11-06 23:06:11 UTC
Created attachment 254989 [details]
Patch file

* Update to 2.4.6
* There is a bug in 2.4.6 that is related to --enable-gpg-is-gpg2 option of configure script and result in error about file name of man pages. To fix it we need to patch doc/Makefile.am and regenerate doc/Makefile.in. So,
** Add autoreconf to USES.
** Replace patch to configure with that to m4/gpg-error.m4.
** Add gettext-tools to USES. Running autoreconf requires autopoint command included in gettext-tools and it is necessary even if NLS option is off.
* Pet portclippy
* Tidy up Makefile with portfmt.

ReleaseNotes:   https://lists.gnupg.org/pipermail/gnupg-announce/2024q4/000486.html
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2024-11-22 05:11:24 UTC
Maintainer timeout. Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-11-22 05:17:09 UTC
A commit in branch main references this bug:

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

commit dd1496c651a27f6327bf030f8671e7291012cc69
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-11-06 22:47:16 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-11-22 05:14:39 +0000

    security/gnupg: Update to 2.4.6

    * There is a bug in 2.4.6 that is related to --enable-gpg-is-gpg2
      option of configure script and result in error about file name of
      man pages. To fix it we need to patch doc/Makefile.am and regenerate
      doc/Makefile.in. So,
      1. Add autoreconf to USES.
      2. Replace patch to configure with that to m4/gpg-error.m4.
      3. Add gettext-tools to USES. Running autoreconf requires autopoint
         command included in gettext-tools and it is necessary even if NLS
         option is off.
    * Pet portclippy
    * Tidy up Makefile with portfmt.

    ReleaseNotes:   https://lists.gnupg.org/pipermail/gnupg-announce/2024q4/000486.html
    PR:             282594
    Approved by:    maintainer timeout

 security/gnupg/Makefile                            | 44 ++++++++++++----------
 security/gnupg/distinfo                            |  6 +--
 security/gnupg/files/patch-doc_Makefile.am (new)   | 35 +++++++++++++++++
 .../{patch-configure => patch-m4_gpg-error.m4}     |  8 ++--
 security/gnupg/pkg-plist                           |  3 ++
 5 files changed, 68 insertions(+), 28 deletions(-)
Comment 3 Adriaan de Groot freebsd_committer freebsd_triage 2024-11-30 12:11:01 UTC
Post-take approved (but see the subsequent issue with non-release warnings).