UPDATE: pinentry-0.7.1 -> 0.7.2
Reported by: |
boeyms@… |
Owned by: |
yeled@… |
Priority:
|
Low
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
This patch updates libksba to the latest stable version. In addition, it does
the following:
- updates dependencies: pinentry-0.7.2 does not depend on libgcrypt, libksba
or libassuan, but does depend on libiconv, and also added dependency on
port:ncurses to avoid possible problems in tracing bugs due to the fact
pinentry will fallback onto other ncurses or curses libraries that may be
available;
- adds configure arguments to force pinentry-{gtk,gtk-2,qt} to link against
libiconv and ncurses from MacPorts - but note that pinentry-curses links against the system libraries, and I can't figure out a way to change that;
- adds gtk1, gtk2 and qt3 variants: each variant adds a binary that for that
library that will fall back onto ncurses if that library is unavailable, and
the configure step for pinentry sets as the default pinentry the first of
these that has been built;
- note that the dependencies of these libraries have not been explicitly
included;
- note also that these variants build but have not been tested at runtime (I
have not yet found programs that call pinentry via these interfaces);
- adds sha1 and rmd160 checksums;
- removes test section (pinentry-0.7.2 does not contain any tests); and
- adds --disable-rpath configure argument for Darwin systems as ld on Darwin
does not support -rpath.
Finally, note that a no_curses variant, which would prevent fallback to
curses/ncurses in the absence of other interface variants, is supported by
pinentry-0.7.2 but has not been enabled, as a purely +no_curses variant would
be allowed by MacPorts but would always fail at the configure stage. This could
be remedied by creating 14 variants (one for each of the allowed combinations of
inclusion or exclusion of support the four display libraries), but I have
declined to do so because I doubt that the mess would be worth it for users.
The attached patch to the dports tree is designed to be applied with the -p1 option (or -Np1) from the dports directory.
new patch (mirrors)