summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb')
-rw-r--r--meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb
deleted file mode 100644
index 3784d12b85..0000000000
--- a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1SUMMARY = "A suite for man in the middle attacks"
2HOMEPAGE = "https://github.com/Ettercap/ettercap"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6inherit cmake
7
8DEPENDS += "ethtool \
9 geoip \
10 libmaxminddb \
11 librepo \
12 libnet \
13 libpcap \
14 libpcre \
15 ncurses \
16 openssl \
17 zlib \
18 bison-native \
19 flex-native \
20 "
21
22RDEPENDS:${PN} += "bash ethtool libgcc"
23
24SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https;tag=v${PV}"
25
26SRCREV = "41da65f4026a9e4cea928e61941b976d9279f508"
27
28EXTRA_OECMAKE = " \
29 -DCMAKE_SKIP_RPATH=TRUE \
30 -DBUNDLED_LIBS=ON \
31 -DENABLE_IPV6=ON \
32 -DENABLE_GTK=OFF \
33 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
34 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
35"
36
37CFLAGS += "-D_GNU_SOURCE"
38# Replaces default encoding set (ISO-8859-1) with UTF-8 in ettercap
39# configuration file installed by the package.
40# It ensures that all characters are properly decoded and avoids
41# any fatal errors while running in text mode (-T).
42do_install:append() {
43 sed -i 's@utf8_encoding.*@utf8_encoding = "UTF-8"@g' \
44 ${D}/etc/ettercap/etter.conf
45}