Page MenuHome GnuPG

Npth needs adaptions to old Mac OS X versions
Testing, NormalPublic

Description

In MacPorts, a BSD package manager for open software on Macs, the problem has been discussed in a few tickets or bug reports. The problem is that particularly Mac OS X 10.4 or "Tiger" and Mac OS X 10.5 or "Leopard" (since Mac OS X 10.6 or "Snow Leopard" the situation seems to have changed, but I have no proof at hand) need to use unnamed semaphores, which is first time discussed here: https://trac.macports.org/ticket/56185. Since I wanted to have GnuPG working on Tiger and Leopard with gpg-agent I created a set of patches and described this here: https://trac.macports.org/ticket/61115. This ticket provides the necessary patch and other files.
With the release of version 1.7 a new change is needed: https://trac.macports.org/ticket/69517. Gpg-agent works at least on Tiger, Mac OS X 10.4.11.

Does it make sense to make an old Mac OS X aware release?

Event Timeline

ballapete created this object in space S1 Public.
gniibe triaged this task as Normal priority.

The patches looks too large to merge (than actually needed), and not enough/clean like not having detection of the system.

Could you please try the following?

Performing the patch manually the "port" (package) built and installed. Starting then gpg-agent worked too, killing it (with gpgconf) worked as well.

Thank you, you solved the case!

I would need to "re-write" your git patch as a unified patch and test it with a complete and automatic run.

With the unified patch all works fine (again), even the test target succeeds!

Task done!

I've reported the success to MacPorts. My test was performed on only one platform, Mac OS X 10.4.11 or "Tiger". Since there exists a problem with building recent version of GPGME testing on Mac OS X 10.5.8 or "Leopard" will have to wait a few days…

gniibe changed the task status from Open to Testing.Mar 27 2024, 1:30 AM

Thank you for your quick testing.

Applied the change to master. Next release will have the change.

On Mac OS X 10.5.8, PPC Leopard, it built with the patch, gpg-agent works.

In MacPorts we can live the patch, applied only on Leopard, Tiger, and maybe elder systems. Is it possible to test the pre-release on modern Macs?