Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247770 - Make pinentry support USE=static
Summary: Make pinentry support USE=static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-20 15:26 UTC by Wolfram Schlich (RETIRED)
Modified: 2009-01-26 15:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2008-11-20 15:26:44 UTC
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 :)
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2008-11-20 15:27:50 UTC
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.
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2008-11-21 18:29:05 UTC
append-ldflags -static seems to be sufficient for me (x86)...
Comment 3 Sven Wegener gentoo-dev 2009-01-06 21:15:32 UTC
(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.
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2009-01-06 23:37:00 UTC
(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).
Comment 5 Sven Wegener gentoo-dev 2009-01-22 19:18:00 UTC
Added with pinentry-0.7.5-r1.
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2009-01-26 15:21:37 UTC
thanks, sven!