diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch (renamed from meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch (renamed from meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/configure.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch (renamed from meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/ipv6-cross.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/tcpdump_configure_no_-O2.patch (renamed from meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/tcpdump/tcpdump_4.3.0.bb (renamed from meta-oe/recipes-support/tcpdump/tcpdump_4.1.1.bb) | 32 |
5 files changed, 17 insertions, 15 deletions
diff --git a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch index 9d3d60d4d..9d3d60d4d 100644 --- a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch +++ b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/0001-minimal-IEEE802.15.4-allowed.patch | |||
diff --git a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/configure.patch b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch index 3697420fd..3697420fd 100644 --- a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/configure.patch +++ b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/configure.patch | |||
diff --git a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/ipv6-cross.patch b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch index 7eba2c5a6..7eba2c5a6 100644 --- a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/ipv6-cross.patch +++ b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/ipv6-cross.patch | |||
diff --git a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/tcpdump_configure_no_-O2.patch index 7929da5b1..7929da5b1 100644 --- a/meta-oe/recipes-support/tcpdump/tcpdump-4.1.1/tcpdump_configure_no_-O2.patch +++ b/meta-oe/recipes-support/tcpdump/tcpdump-4.3.0/tcpdump_configure_no_-O2.patch | |||
diff --git a/meta-oe/recipes-support/tcpdump/tcpdump_4.1.1.bb b/meta-oe/recipes-support/tcpdump/tcpdump_4.3.0.bb index 46b19a11c..d3ca24f3e 100644 --- a/meta-oe/recipes-support/tcpdump/tcpdump_4.1.1.bb +++ b/meta-oe/recipes-support/tcpdump/tcpdump_4.3.0.bb | |||
@@ -4,7 +4,6 @@ LICENSE = "BSD" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867" |
5 | SECTION = "console/network" | 5 | SECTION = "console/network" |
6 | DEPENDS = "libpcap" | 6 | DEPENDS = "libpcap" |
7 | PR = "r2" | ||
8 | 7 | ||
9 | SRC_URI = " \ | 8 | SRC_URI = " \ |
10 | http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \ | 9 | http://www.tcpdump.org/release/tcpdump-${PV}.tar.gz \ |
@@ -13,29 +12,32 @@ SRC_URI = " \ | |||
13 | file://ipv6-cross.patch \ | 12 | file://ipv6-cross.patch \ |
14 | file://configure.patch \ | 13 | file://configure.patch \ |
15 | " | 14 | " |
15 | SRC_URI[md5sum] = "a3fe4d30ac85ff5467c889ff46b7e1e8" | ||
16 | SRC_URI[sha256sum] = "efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286" | ||
16 | 17 | ||
17 | inherit autotools | 18 | inherit autotools |
18 | # ac_cv_linux_vers=${ac_cv_linux_vers=2} | 19 | CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}" |
19 | 20 | ||
20 | EXTRA_OECONF = "--without-crypto \ | 21 | EXTRA_OECONF = "--without-crypto --disable-rpath \ |
21 | ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}" | 22 | ${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}" |
22 | 23 | ||
23 | do_configure() { | 24 | EXTRA_AUTORECONF += " -I m4" |
25 | |||
26 | do_configure_prepend() { | ||
27 | mkdir -p ${S}/m4 | ||
28 | if [ -f aclocal.m4 ]; then | ||
29 | mv aclocal.m4 ${S}/m4 | ||
30 | fi | ||
24 | # AC_CHECK_LIB(dlpi.. was looking to host /lib | 31 | # AC_CHECK_LIB(dlpi.. was looking to host /lib |
25 | sed -i 's:-L/lib:-L${STAGING_LIBDIR}:g' ./configure.in | 32 | sed -i 's:-L/lib::g' ./configure.in |
26 | 33 | } | |
27 | gnu-configize | 34 | do_configure_append() { |
28 | autoconf | 35 | sed -i 's:-L/usr/lib::' ./Makefile |
29 | oe_runconf | 36 | sed -i 's:-Wl,-rpath,${STAGING_LIBDIR}::' ./Makefile |
30 | sed -i 's:/usr/lib:${STAGING_LIBDIR}:' ./Makefile | 37 | sed -i 's:-I/usr/include::' ./Makefile |
31 | sed -i 's:/usr/include:${STAGING_INCDIR}:' ./Makefile | ||
32 | } | 38 | } |
33 | 39 | ||
34 | do_install_append() { | 40 | do_install_append() { |
35 | # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0 | 41 | # tcpdump 4.0.0 installs a copy to /usr/sbin/tcpdump.4.0.0 |
36 | rm -f ${D}${sbindir}/tcpdump.${PV} | 42 | rm -f ${D}${sbindir}/tcpdump.${PV} |
37 | } | 43 | } |
38 | |||
39 | SRC_URI[md5sum] = "d0dd58bbd6cd36795e05c6f1f74420b0" | ||
40 | SRC_URI[sha256sum] = "e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a" | ||
41 | |||