Opened 4 years ago

Closed 15 months ago

Last modified 5 weeks ago

#61115 closed enhancement (fixed)

Gnupg2 does not work on Mac OS X 10.5.x and older

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jann@…, Ionic (Mihai Moldovan), kencu (Ken), evanmiller (Evan Miller)
Port: npth, gnupg

Description

The reason for this is documented in #56185. I prepared the patch and other files and could build npth @1.6, and then nupg2 @2.2.21 – and the binaries work! On PPC Tiger, Mac OS X 10.4.11, and on PPC Leopard, Mac OS X 10.5.8.

I am attaching the files to this ticket so that the Portfiles for npth and gnupg2 (if needed) can be adjusted to build correctly.

Attachments (4)

Portfile-npth.diff (667 bytes) - added by ballapete (Peter "Pete" Dyballa) 4 years ago.
Unified diff file to patch npth's Portfile
use-darwin-compat.diff (528 bytes) - added by ballapete (Peter "Pete" Dyballa) 4 years ago.
Patch for npth to use the two addtional Darwin compitability files
darwin_compat.c (6.2 KB) - added by ballapete (Peter "Pete" Dyballa) 4 years ago.
Darwin C compitability file for npth
darwin_compat.h (1.5 KB) - added by ballapete (Peter "Pete" Dyballa) 4 years ago.
Darwin C header compitability file for npth

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: Portfile-npth.diff added

Unified diff file to patch npth's Portfile

Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: use-darwin-compat.diff added

Patch for npth to use the two addtional Darwin compitability files

Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: darwin_compat.c added

Darwin C compitability file for npth

Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: darwin_compat.h added

Darwin C header compitability file for npth

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:2 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

I think this is still true. For me it's no problem because I have a patched and working installation of npth. Until it's possible upgrade…

comment:3 Changed 15 months ago by barracuda156

Any updates on this?

  1. S. Ideally, this should be upstreamed.
Last edited 15 months ago by barracuda156 (previous) (diff)

comment:4 Changed 15 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In c811f064de5dab620de65f44effd081ac91c97d4/macports-ports (master):

npth: fix for old systems
Fixes: #56185
Fixes: #61115

comment:5 Changed 5 weeks ago by ballapete (Peter "Pete" Dyballa)

#69517: adapted no version 1.7.

I also made the npth maintainers aware of the changes needed to make the two versions work on Tiger and Leopard: https://dev.gnupg.org/T7057.

Note: See TracTickets for help on using tickets.