Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11885 closed defect (fixed)

gnupg2 requires gpg-agent to run, has --disable-agent and no dep on port::gpg-agent

Reported by: ghosthound Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: gnupg2 gpg-agent Cc: ghosthound, boeyms@…, waqar@…
Port:

Description

gnupg2 requires gpg-agent to work, gnupg2 Portfile has --disable-agent (so no gpg-agent is built) and has no dependency on port:gpg-agent. Is there a reason the gnupg2 port does not build gpg-agent itself? I'm not sure which fix is better - have gnupg2 build gpg-agent, or add a dependency on port:gpg-agent (so no patchfile built).

-eric

Change History (4)

comment:1 Changed 17 years ago by boeyms@…

Cc: ricci@… boeyms@… waqar@… added
Keywords: gnupg2 gpg-agent added
Milestone: Port Bugs

Hi Eric. The gpg2 binary seems to run okay as is, so could you provide a use case for this bug? (Someone else mentioned it on one of the mailing lists, but forgot how it occurred.) gpg-agent has been separated so that users of of the gnupg port can use it, so if we do need to fix this, we'll make gnupg2 depend on gpg-agent.

comment:2 Changed 17 years ago by ghosthound

gpg2 --help will work, gpg2 -c FILE will not:

% sudo port uninstall gpg-agentPassword: ---> Deactivating gpg-agent 2.0.3_0 ---> Uninstalling gpg-agent 2.0.3_0 % gpg2 --help gpg (GnuPG) 2.0.3 Copyright (C) 2007 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details.

[snip the long help]

% gpg2 -c testfile can't connect server: ERR 33554701 can't exec /opt/local/bin/gpg-agent': No such file or directory' gpg: can't connect to the agent: IPC connect call failed gpg: problem with the agent: No agent running gpg: error creating passphrase: Operation cancelled gpg: symmetric encryption of `testfile' failed: Operation cancelled % [re-install gpg-agent] % gpg2 -c testfile [pinentry screen 2x, and success!]

comment:3 Changed 17 years ago by boeyms@…

Resolution: fixed
Status: newclosed

Fixed in r26067. Thanks for the report!

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.