FS#4051 - ettercap: make GTK2 dependency optional

Attached to Project: Arch Linux
Opened by Roman Kyrylych (Romashka) - Thursday, 23 February 2006, 17:32 GMT
Last edited by Kevin Piche (kpiche) - Monday, 29 October 2007, 16:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Kevin Piche (kpiche)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

GTK2 is optional dependency because even when ettercap is compiled with GTK2 it has 3 interfaces anyway.
Also /usr/share/applications/ettercap.desktop for GTK2 UI would be nice.
This task depends upon

Closed by  Kevin Piche (kpiche)
Monday, 29 October 2007, 16:15 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in ettercap NG_0.7.3-7 and ettercap-gtk NG_0.7.3-1.
Comment by Kevin Piche (kpiche) - Tuesday, 05 June 2007, 00:37 GMT
Does anyone still feel that this is worth doing? The ettercap binary links to ncurses and gtk at the same time so a new package with ettercap-gtk would be required that depended on the ncurses ettercap pkg.
Comment by Allan McRae (Allan) - Saturday, 08 September 2007, 11:11 GMT
I guess not given it has been three months since you asked...
Comment by Roman Kyrylych (Romashka) - Sunday, 09 September 2007, 09:47 GMT
I still would like to see ettercap package without gtk2 dependency.
If ettercap-gtk will require ettercap (with ncurses) or will provide/conflict with ettercap (with ncurses) - that's not an issue.
Comment by Allan McRae (Allan) - Friday, 21 September 2007, 17:32 GMT
Attached is a package build and .desktop file for ettercap-gtk. To disable GTK in the current ettercap package add --disable-gtk to the configure line.

Note that zlib appears to be a dependency that is missed in the current PKGBUILD. Also I think libnet is only a makedepend but this may be a false negative by namcap.
Comment by Kevin Piche (kpiche) - Monday, 29 October 2007, 16:14 GMT
I used Debian's method of splitting this up: all files, plugins, and console binaries in the ettercap package and sole gtk binary in ettercap-gtk. The ettercap-gtk package depends on the ettercap package for the plugins, etc.

Loading...