Now that we have a static gpg-2, we'd need a static pinentry because gpg-2 depends on gpg-agent which in turn depends on a pinentry program. So, to have a completely static gpg-2 environment, we need a static pinentry as well :)
See "diff -u /usr/portage/app-crypt/gnupg/gnupg-2.0.9{,-r1}.ebuild" for information about how gnupg-2.0.9-r1 got added support for USE=static.
append-ldflags -static seems to be sufficient for me (x86)...
(In reply to comment #2) > append-ldflags -static seems to be sufficient for me (x86)... I don't think that it's that easy. gtk requires libgtk-x11-2.0 which isn't available as a static library.
(In reply to comment #3) > (In reply to comment #2) > > append-ldflags -static seems to be sufficient for me (x86)... > > I don't think that it's that easy. gtk requires libgtk-x11-2.0 which isn't > available as a static library. Well, making USE=static require USE="ncurses -gtk -qt3" would be sufficient for any use cases where a static gnupg would be required (initrd/initramfs systems).
Added with pinentry-0.7.5-r1.
thanks, sven!