From patchwork Tue Jan 14 12:33:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: christian.braunersorensen@prevas.dk X-Patchwork-Id: 310623 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id E50742C00B2 for ; Tue, 14 Jan 2014 23:35:52 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id A94713FE01 for ; Tue, 14 Jan 2014 13:35:51 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 1CE013FE02 for ; Tue, 14 Jan 2014 13:35:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=3667; q=dns/txt; s=ironport1; t=1389702904; x=1421238904; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=AuxEe+fZwhpbWp4knv8tnsqMpGM2yLEyN+fCt9y9wUM=; b=S+WvHj2ao4v2qdcfNyVPCMjKpINHMRUrfy2gypekU45XKn95Ud8r4HGI dTd65JtH4ES00S093r+v39IT4WlEvEObohyqmchBAlEaDoZZc5JuRVZVL i2+9kiaK6GFEuwiJrDS79JCMeZCutXzu+90mYKwl1WTx5YCsaz6qmVX9s w=; X-IronPort-AV: E=Sophos;i="4.95,658,1384297200"; d="scan'208";a="4300220" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 14 Jan 2014 13:35:02 +0100 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.347.0; Tue, 14 Jan 2014 13:35:01 +0100 Received: by localhost (Postfix, from userid 30007) id 736A468153B; Tue, 14 Jan 2014 12:35:01 +0000 (UTC) From: To: Subject: [PATCH 032/131] tcpdump: Add version 4.5.1 Date: Tue, 14 Jan 2014 12:33:19 +0000 Message-ID: <703a65f49c1e49c74f1517edce1bc4194c6b6055.1389702652.git.christian.braunersorensen@prevas.dk> X-Mailer: git-send-email 1.8.4 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen Signed-off-by: Christian Sørensen --- recipes/tcpdump/tcpdump-4.5.1/configure.patch | 29 ++++++++++++++++++ recipes/tcpdump/tcpdump-4.5.1/ipv6-cross.patch | 41 ++++++++++++++++++++++++++ recipes/tcpdump/tcpdump_4.5.1.oe | 5 ++++ recipes/tcpdump/tcpdump_4.5.1.oe.sig | 1 + 4 files changed, 76 insertions(+) create mode 100644 recipes/tcpdump/tcpdump-4.5.1/configure.patch create mode 100644 recipes/tcpdump/tcpdump-4.5.1/ipv6-cross.patch create mode 100644 recipes/tcpdump/tcpdump_4.5.1.oe create mode 100644 recipes/tcpdump/tcpdump_4.5.1.oe.sig diff --git a/recipes/tcpdump/tcpdump-4.5.1/configure.patch b/recipes/tcpdump/tcpdump-4.5.1/configure.patch new file mode 100644 index 0000000..3697420 --- /dev/null +++ b/recipes/tcpdump/tcpdump-4.5.1/configure.patch @@ -0,0 +1,29 @@ +--- + aclocal.m4 | 1 - + configure.in | 1 + + 2 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/aclocal.m4 b/aclocal.m4 +index 40b5866..0c662b0 100644 +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -40,7 +40,6 @@ dnl + AC_DEFUN(AC_LBL_C_INIT_BEFORE_CC, + [AC_PREREQ(2.50) + AC_BEFORE([$0], [AC_LBL_C_INIT]) +- AC_BEFORE([$0], [AC_PROG_CC]) + AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) + AC_BEFORE([$0], [AC_LBL_DEVEL]) + AC_ARG_WITH(gcc, [ --without-gcc don't use gcc]) +diff --git a/configure.in b/configure.in +index 11257c9..7f9591c 100644 +--- a/configure.in ++++ b/configure.in +@@ -19,6 +19,7 @@ AC_REVISION($Revision: 1.204 $) + AC_PREREQ(2.50) + AC_INIT(tcpdump.c) + ++AC_PROG_CC + AC_CANONICAL_HOST + + AC_LBL_C_INIT_BEFORE_CC(V_CCOPT, V_INCLS) diff --git a/recipes/tcpdump/tcpdump-4.5.1/ipv6-cross.patch b/recipes/tcpdump/tcpdump-4.5.1/ipv6-cross.patch new file mode 100644 index 0000000..7eba2c5 --- /dev/null +++ b/recipes/tcpdump/tcpdump-4.5.1/ipv6-cross.patch @@ -0,0 +1,41 @@ +--- + configure.in | 12 ++++++++---- + 1 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/configure.in b/configure.in +index eb3e5e8..11257c9 100644 +--- a/configure.in ++++ b/configure.in +@@ -181,8 +181,9 @@ yes) AC_MSG_RESULT(yes) + ipv6=no + ;; + esac ], +- +- AC_TRY_RUN([ /* AF_INET6 available check */ ++[ ++ if test x"$cross_compiling" != "xyes"; then ++ AC_TRY_RUN([ /* AF_INET6 avalable check */ + #include + #include + main() +@@ -201,7 +202,10 @@ main() + ipv6=no], + [ AC_MSG_RESULT(no) + ipv6=no] +-)) ++ ) ++else ++ AC_MSG_FAILURE([Unable to check for ipv6 when crosscompiling, please specify.]) ++fi]) + + ipv6type=unknown + ipv6lib=none +@@ -316,7 +320,7 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then + fi + + +-if test "$ipv6" = "yes"; then ++if test x"$cross_compiling" != "xyes" -a "$ipv6" = "yes"; then + # + # XXX - on Tru64 UNIX 5.1, there is no "getaddrinfo()" + # function in libc; there are "ngetaddrinfo()" and diff --git a/recipes/tcpdump/tcpdump_4.5.1.oe b/recipes/tcpdump/tcpdump_4.5.1.oe new file mode 100644 index 0000000..d4aefa8 --- /dev/null +++ b/recipes/tcpdump/tcpdump_4.5.1.oe @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI += "file://ipv6-cross.patch \ + file://configure.patch \ +" diff --git a/recipes/tcpdump/tcpdump_4.5.1.oe.sig b/recipes/tcpdump/tcpdump_4.5.1.oe.sig new file mode 100644 index 0000000..d151f95 --- /dev/null +++ b/recipes/tcpdump/tcpdump_4.5.1.oe.sig @@ -0,0 +1 @@ +46d5ec107c6a1b262ad8da799f74c5d01cce8815 tcpdump-4.5.1.tar.gz