FS#32533 - [ettercap-gtk] GUI does not work since latest update

Attached to Project: Community Packages
Opened by Philip (nuc) - Wednesday, 07 November 2012, 23:40 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 08 December 2012, 11:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Since ettercap 0.7.5-1 the gtk-version of ettercap does not work.


Steps to reproduce:
Type 'sudo ettercap-gtk'. The output will be: "Please select an User Interface"
OR
Type 'sudo ettercap -G'. The output will be: 'GTK support is not compiled in ettercap'


Expected behavior:
Both methods should have started the ettercap GUI-version.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 08 December 2012, 11:58 GMT
Reason for closing:  Upstream
Comment by jack (jackgu1988) - Saturday, 10 November 2012, 11:11 GMT
gtk version semi works. You need to type "ettercap-gtk -G" in order to start it. When it starts though there is a missing icon and when I do Sniff -> Unified sniffing, select an interface and click OK it crashes with an error:

ERROR : 2, No such file or directory
[/build/src/ettercap-0.7.5-gtk/src/ec_manuf.c:manuf_init:126]

Cannot open etter.finger.mac

The same thing is happening on 2 laptops, one i686 and one x86_64. This is a different bug than the one described above, so maybe a new bug report should be filed?
Comment by Philip (nuc) - Thursday, 15 November 2012, 13:04 GMT
Lines 26 and 32 are wrong in the PKGBUILD. ENABLE_GTK=OFF needs to be turned ON. They correct lines would be:

line 26: cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../
and
line 36: cmake -D ENABLE_GTK=ON -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../

EDIT: Only thing is that this will ALWAYS install ettercap-gtk. In fact line 26 shouldn't be changed to ON, but somehow it doesn't work without doing it. I'm a bit confused now...

The problem with the "etter.finger.mac" file which jack described also disappears and this bug https://bugs.archlinux.org/task/32537?project=5&cat%5B0%5D=33&string=ettercap also seems to be fixed.
Please correct those lines in the PKGBUILD and update the package.


PS: I noticed that ettercap-gtk can only be started by ettercap -G now. In version 0.7.4 it could be started it with ettercap-gtk. Why did it change?
I also noticed that since ettercap 0.7.5, there is no icon for starting ettercap-gtk in the menu. Is that intended?
Comment by Jelle van der Waa (jelly) - Saturday, 08 December 2012, 11:44 GMT
Since you guys want a seperate version this happens. Upstream doesnt provide an ettercap-gtk binary that launches the GTK application. Also upstream doesnt provide a desktop file which is working with pkexec. Please ask upstream to support it

Loading...