#43942 closed enhancement (fixed)
PuTTY variant without gui tools (to avoid the gtk dependency)
Reported by: | shadow.mp@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | kurthindenburg (Kurt Hindenburg), cooljeanius (Eric Gallager) |
Port: | putty |
Description
Right now, maports only allows to install PuTTY in full. This includes the GUI utilities (like putty itself) along with some CLI utils (such as puttygen), but requires gtk2 to build and run.
My guess is that most people installing PuTTY on OSX would do so just to be able to convert PuTTY keys (.ppk) to standard OpenSSH-readable keys. This conversion can be done using the puttygen cli tool alone.
PuTTY includes support for compiling only the CLI tools, avoiding the GTK2 dependence. Hence, we could add a variant that skips building the GUI tools and thus does not depend on GTK2.
The attached patch creates such variant (without making it the default and thus without breaking backwards-compatibility I think).
Attachments (1)
Change History (6)
Changed 10 years ago by shadow.mp@…
Attachment: | Portfile-putty.diff added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | haspatch added; putty gtk2 puttygen removed |
---|---|
Version: | 2.3.0 |
comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in r122819
comment:5 Changed 10 years ago by cooljeanius (Eric Gallager)
Another way to avoid pulling in GTK would be to try building the native macosx app, but I have not had much success with that in my copy of the port yet, unfortunately...
Putty -gui variant patch