Signed-off-by: Hongxu Jia <hongxu....@windriver.com> --- .../recipes-connectivity/socat/socat/compile.patch | 163 +++++++++++---------- .../socat/{socat_1.7.2.3.bb => socat_1.7.2.4.bb} | 12 +- 2 files changed, 90 insertions(+), 85 deletions(-) rename meta/recipes-connectivity/socat/{socat_1.7.2.3.bb => socat_1.7.2.4.bb} (75%)
diff --git a/meta/recipes-connectivity/socat/socat/compile.patch b/meta/recipes-connectivity/socat/socat/compile.patch index 4d1a0b6..1486e41 100644 --- a/meta/recipes-connectivity/socat/socat/compile.patch +++ b/meta/recipes-connectivity/socat/socat/compile.patch @@ -1,15 +1,16 @@ Upstream-Status: Inappropriate [configuration] The patch is from http://git.openembedded.org/openembedded/tree/recipes/socat/files/compile.patch -and was rebased to socat-1.7.2.0. +and was rebased to socat-1.7.2.4. +Signed-off-by: Hongxu Jia <hongxu....@windriver.com> +--- + configure.in | 294 ++++++++++++++++++++++++++++++----------------------------- + 1 file changed, 148 insertions(+), 146 deletions(-) -Signed-off-by: Dexuan Cui <dexuan....@intel.com> -Fri Dec 16 17:12:17 CST 2011 - -diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in ---- socat-1.7.2.0.orig/configure.in 2011-12-04 21:34:16.000000000 +0800 -+++ socat-1.7.2.0/configure.in 2011-12-16 17:08:59.698367071 +0800 -@@ -88,7 +88,7 @@ +diff --git a/configure.in b/configure.in +--- a/configure.in ++++ b/configure.in +@@ -95,7 +95,7 @@ AC_SEARCH_LIBS([res_9_init], [resolv]) dnl Check for extra socket library (for Solaris) @@ -18,7 +19,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent)) AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) -@@ -102,7 +102,7 @@ +@@ -128,7 +128,7 @@ AC_CACHE_VAL(sc_cv_have_prototype_hstrerror, [sc_cv_have_prototype_hstrerror=yes]); CFLAGS="$CFLAGS1"]) if test $sc_cv_have_prototype_hstrerror = yes; then @@ -27,7 +28,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) -@@ -111,83 +111,83 @@ +@@ -137,83 +137,83 @@ AC_MSG_CHECKING(whether to include help) AC_ARG_ENABLE(help, [ --disable-help disable help], [case "$enableval" in no) AC_MSG_RESULT(no);; @@ -131,7 +132,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in *) AC_MSG_RESULT(no);; esac]) -@@ -196,9 +196,9 @@ +@@ -222,9 +222,9 @@ AC_MSG_CHECKING(whether to include IPv4 support) AC_ARG_ENABLE(ip4, [ --disable-ip4 disable IPv4 support], [case "$enableval" in no) AC_MSG_RESULT(no);; @@ -143,7 +144,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_CHECKING(whether to include IPv6 support) AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], -@@ -209,7 +209,7 @@ +@@ -235,7 +235,7 @@ AC_ARG_ENABLE(ip6, [ --disable-ip6 disable IPv6 support], [ AC_MSG_RESULT(yes); WITH_IP6=1 ]) if test "$WITH_IP6"; then AC_CHECK_HEADERS([netinet/ip6.h], @@ -152,7 +153,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in [AC_MSG_WARN([include file netinet/ip6.h not found, disabling IP6])], [AC_INCLUDES_DEFAULT #ifdef HAVE_NETINET_IN_H -@@ -242,17 +242,17 @@ +@@ -268,17 +268,17 @@ AC_MSG_CHECKING(whether to include raw IP support) AC_ARG_ENABLE(rawip, [ --disable-rawip disable raw IP support], [case "$enableval" in no) AC_MSG_RESULT(no);; @@ -163,7 +164,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in + [AC_DEFINE(WITH_RAWIP, [1], [With rawip]) AC_MSG_RESULT(yes)]) AC_MSG_CHECKING(whether to include generic socket support) - AC_ARG_ENABLE(rawsocket, [ --disable-genericsocket disable generic socket support], + AC_ARG_ENABLE(genericsocket, [ --disable-genericsocket disable generic socket support], [case "$enableval" in no) AC_MSG_RESULT(no);; - *) AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes);; @@ -171,10 +172,10 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in esac], - [AC_DEFINE(WITH_GENERICSOCKET) AC_MSG_RESULT(yes)]) + [AC_DEFINE(WITH_GENERICSOCKET, [1], [With genericsocket]) AC_MSG_RESULT(yes)]) - AC_MSG_CHECKING(whether to include raw network interface support) + AC_MSG_CHECKING(whether to include generic network interface support) AC_ARG_ENABLE(interface, [ --disable-interface disable network interface support], [case "$enableval" in -@@ -262,35 +262,35 @@ +@@ -288,35 +288,35 @@ AC_ARG_ENABLE(interface, [ --disable-interface disable network interface suppo [AC_MSG_RESULT(yes); WITH_INTERFACE=1 ]) if test "$WITH_INTERFACE"; then AC_CHECK_HEADER(netpacket/packet.h, @@ -217,7 +218,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_CHECKING(whether to include SCTP support) AC_ARG_ENABLE(sctp, [ --disable-sctp disable SCTP support], -@@ -310,7 +310,7 @@ +@@ -336,7 +336,7 @@ AC_CACHE_VAL(sc_cv_define_ipproto_sctp, [sc_cv_define_ipproto_sctp=no])]) AC_MSG_RESULT($sc_cv_define_ipproto_sctp) if test $sc_cv_define_ipproto_sctp = yes; then @@ -226,7 +227,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in else AC_MSG_WARN([IPPROTO_SCTP undefined, disabling SCTP support]) fi -@@ -320,65 +320,65 @@ +@@ -346,65 +346,65 @@ AC_MSG_CHECKING(whether to include listen support) AC_ARG_ENABLE(listen, [ --disable-listen disable listen support], [case "$enableval" in no) AC_MSG_RESULT(no);; @@ -308,7 +309,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_CHECKING(whether to include readline support) AC_ARG_ENABLE(readline, [ --disable-readline disable readline support], -@@ -423,10 +423,10 @@ +@@ -449,10 +449,10 @@ if test -n "$WITH_READLINE"; then if test -n "$sc_usable_readline_found"; then AC_MSG_RESULT(yes) @@ -323,7 +324,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in break else AC_MSG_RESULT(no) -@@ -469,7 +469,7 @@ +@@ -495,7 +495,7 @@ if test -n "$WITH_OPENSSL"; then done]) ]) if test "$sc_cv_have_openssl_ssl_h" = "yes"; then @@ -332,7 +333,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_NOTICE(checked for openssl/ssl.h... $sc_cv_have_openssl_ssl_h) fi # end checking for openssl/ssl.h -@@ -501,7 +501,7 @@ +@@ -527,7 +527,7 @@ if test -n "$WITH_OPENSSL" -a "$sc_cv_have_openssl_ssl_h" = 'yes'; then ] ) if test "$sc_cv_have_libssl" = 'yes'; then @@ -341,7 +342,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_have_libssl) fi -@@ -529,7 +529,7 @@ +@@ -555,7 +555,7 @@ fi #fi if test -n "$WITH_OPENSSL"; then if test "$sc_cv_have_openssl_ssl_h" = "yes" -a "$sc_cv_have_libssl" = "yes"; then @@ -350,7 +351,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in else AC_MSG_WARN([not all components of OpenSSL found, disabling it]); fi -@@ -577,7 +577,7 @@ +@@ -604,7 +604,7 @@ if test -n "$WITH_FIPS"; then )] ) if test "$sv_cv_have_openssl_fips_h" = "yes"; then @@ -359,7 +360,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_NOTICE(checked for openssl/fips.h... $sc_cv_have_openssl_ssl_h) fi -@@ -608,15 +608,15 @@ +@@ -635,15 +635,15 @@ if test -n "$WITH_FIPS" -a "$sc_cv_have_openssl_fips_h" = 'yes'; then ] ) if test "$sc_cv_have_libcrypto" = 'yes'; then @@ -378,7 +379,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in else AC_MSG_WARN([not all components of OpenSSL FIPS found, disabling it]); fi -@@ -637,17 +637,17 @@ +@@ -664,17 +664,17 @@ if ! test "$ac_cv_header_linux_if_tun_h" = 'yes'; then fi # if test -n "$WITH_TUN"; then @@ -399,7 +400,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in SYCLS="sycls.c"; SSLCLS="sslcls.c"; AC_MSG_RESULT(yes)]) AC_SUBST(SYCLS) AC_SUBST(SSLCLS) -@@ -656,31 +656,31 @@ +@@ -683,31 +683,31 @@ AC_MSG_CHECKING(whether to include file descriptor analyzer) AC_ARG_ENABLE(filan, [ --disable-filan disable file descriptor analyzer], [case "$enableval" in no) FILAN=""; AC_MSG_RESULT(no);; @@ -443,7 +444,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in #AC_SUBST(V_INCL) -@@ -697,7 +697,7 @@ +@@ -724,7 +724,7 @@ AC_STRUCT_ST_RDEV AC_HEADER_TIME dnl Check for extra realtime library (for Solaris) @@ -452,7 +453,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in #AC_CHECK_FUNC(nanosleep, , AC_CHECK_LIB(rt, nanosleep)) dnl Checks for library functions. -@@ -719,7 +719,7 @@ +@@ -760,7 +760,7 @@ AC_CACHE_VAL(sc_cv_type_longlong, [sc_cv_type_longlong=yes], [sc_cv_type_longlong=no])]) if test $sc_cv_type_longlong = yes; then @@ -461,7 +462,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_longlong) -@@ -735,7 +735,7 @@ +@@ -776,7 +776,7 @@ AC_CACHE_VAL(sc_cv_type_socklen, [sc_cv_type_socklen=yes], [sc_cv_type_socklen=no])]) if test $sc_cv_type_socklen = yes; then @@ -470,7 +471,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_socklen) -@@ -745,7 +745,7 @@ +@@ -786,7 +786,7 @@ AC_CACHE_VAL(sc_cv_type_stat64, [sc_cv_type_stat64=yes], [sc_cv_type_stat64=no])]) if test $sc_cv_type_stat64 = yes; then @@ -479,7 +480,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_stat64) -@@ -755,7 +755,7 @@ +@@ -796,7 +796,7 @@ AC_CACHE_VAL(sc_cv_type_off64, [sc_cv_type_off64=yes], [sc_cv_type_off64=no])]) if test $sc_cv_type_off64 = yes; then @@ -488,7 +489,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_off64) -@@ -765,7 +765,7 @@ +@@ -806,7 +806,7 @@ AC_CACHE_VAL(sc_cv_type_sighandler, [sc_cv_type_sighandler=yes], [sc_cv_type_sighandler=no])]) if test $sc_cv_type_sighandler = yes; then @@ -497,7 +498,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_socklen) -@@ -783,7 +783,7 @@ +@@ -824,7 +824,7 @@ AC_CACHE_VAL(sc_cv_type_uint8, [sc_cv_type_uint8=yes], [sc_cv_type_uint8=no])]) if test $sc_cv_type_uint8 = yes; then @@ -506,7 +507,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_uint8) -@@ -801,7 +801,7 @@ +@@ -842,7 +842,7 @@ AC_CACHE_VAL(sc_cv_type_uint16, [sc_cv_type_uint16=yes], [sc_cv_type_uint16=no])]) if test $sc_cv_type_uint16 = yes; then @@ -515,7 +516,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_uint16) -@@ -819,7 +819,7 @@ +@@ -860,7 +860,7 @@ AC_CACHE_VAL(sc_cv_type_uint32, [sc_cv_type_uint32=yes], [sc_cv_type_uint32=no])]) if test $sc_cv_type_uint32 = yes; then @@ -524,7 +525,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_uint32) -@@ -837,7 +837,7 @@ +@@ -878,7 +878,7 @@ AC_CACHE_VAL(sc_cv_type_uint64, [sc_cv_type_uint64=yes], [sc_cv_type_uint64=no])]) if test $sc_cv_type_uint64 = yes; then @@ -533,7 +534,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_uint64) -@@ -859,7 +859,7 @@ +@@ -900,7 +900,7 @@ AC_TRY_COMPILE([#include <sys/types.h> #include <sys/select.h> #endif], [fd_set s; s.fds_bits[0]=0;], @@ -542,7 +543,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in [AC_MSG_RESULT(no);]) AC_MSG_CHECKING(for sa_family_t) -@@ -870,7 +870,7 @@ +@@ -911,7 +911,7 @@ AC_CACHE_VAL(sc_cv_type_sa_family_t, [sc_cv_type_sa_family_t=yes], [sc_cv_type_sa_family_t=no])]) if test $sc_cv_type_sa_family_t = yes; then @@ -551,7 +552,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_type_sa_family_t) -@@ -880,7 +880,7 @@ +@@ -921,7 +921,7 @@ AC_CACHE_VAL(sc_cv_struct_sigaction_sa_sigaction, [sc_cv_struct_sigaction_sa_sigaction=yes], [sc_cv_struct_sigaction_sa_sigaction=no])]) if test $sc_cv_struct_sigaction_sa_sigaction = yes; then @@ -560,7 +561,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_sigaction_sa_sigaction) -@@ -888,11 +888,11 @@ +@@ -929,11 +929,11 @@ AC_MSG_RESULT($sc_cv_struct_sigaction_sa_sigaction) AC_MSG_CHECKING(for termios.c_ispeed) AC_CACHE_VAL(sc_cv_termios_ispeed, [AC_TRY_COMPILE([#include <termios.h>], @@ -574,7 +575,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_termios_ispeed) -@@ -923,7 +923,7 @@ +@@ -965,7 +965,7 @@ AC_CACHE_VAL(ac_cv_ispeed_offset, LIBS="$LIBS1" AC_MSG_RESULT($ac_cv_ispeed_offset) if test $ac_cv_ispeed_offset -ge 0; then @@ -583,7 +584,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi fi -@@ -942,7 +942,7 @@ +@@ -984,7 +984,7 @@ AC_CACHE_VAL(ac_cv_svid3, )] )]) if test $ac_cv_svid3 = yes; then @@ -592,7 +593,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($ac_cv_svid3) -@@ -957,7 +957,7 @@ +@@ -999,7 +999,7 @@ AC_CACHE_VAL(sc_cv_struct_timespec, [sc_cv_struct_timespec=yes], [sc_cv_struct_timespec=no])]) if test $sc_cv_struct_timespec = yes; then @@ -601,7 +602,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_timespec) -@@ -970,7 +970,7 @@ +@@ -1012,7 +1012,7 @@ AC_CACHE_VAL(sc_cv_struct_linger, [sc_cv_struct_linger=yes], [sc_cv_struct_linger=no])]) if test $sc_cv_struct_linger = yes; then @@ -610,7 +611,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_linger) -@@ -984,7 +984,7 @@ +@@ -1026,7 +1026,7 @@ AC_CACHE_VAL(sc_cv_struct_ip_mreq, [sc_cv_struct_ip_mreq=yes], [sc_cv_struct_ip_mreq=no])]) if test $sc_cv_struct_ip_mreq = yes; then @@ -619,7 +620,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ip_mreq) -@@ -997,7 +997,7 @@ +@@ -1039,7 +1039,7 @@ AC_CACHE_VAL(sc_cv_struct_ip_mreqn, [sc_cv_struct_ip_mreqn=yes], [sc_cv_struct_ip_mreqn=no])]) if test $sc_cv_struct_ip_mreqn = yes; then @@ -628,7 +629,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ip_mreqn) -@@ -1010,7 +1010,7 @@ +@@ -1052,7 +1052,7 @@ AC_CACHE_VAL(sc_cv_struct_ipv6_mreq, [sc_cv_struct_ipv6_mreq=yes], [sc_cv_struct_ipv6_mreq=no])]) if test $sc_cv_struct_ipv6_mreq = yes; then @@ -637,7 +638,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ipv6_mreq) -@@ -1024,7 +1024,7 @@ +@@ -1066,7 +1066,7 @@ AC_CACHE_VAL(sc_cv_struct_ifreq, [sc_cv_struct_ifreq=yes], [sc_cv_struct_ifreq=no])]) if test $sc_cv_struct_ifreq = yes; then @@ -646,7 +647,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ifreq) -@@ -1039,7 +1039,7 @@ +@@ -1081,7 +1081,7 @@ AC_CACHE_VAL(sc_cv_struct_ifreq_ifr_index, [sc_cv_struct_ifreq_ifr_index=yes], [sc_cv_struct_ifreq_ifr_index=no])]) if test $sc_cv_struct_ifreq_ifr_index = yes; then @@ -655,7 +656,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_index) -@@ -1054,7 +1054,7 @@ +@@ -1096,7 +1096,7 @@ AC_CACHE_VAL(sc_cv_struct_ifreq_ifr_ifindex, [sc_cv_struct_ifreq_ifr_ifindex=yes], [sc_cv_struct_ifreq_ifr_ifindex=no])]) if test $sc_cv_struct_ifreq_ifr_ifindex = yes; then @@ -664,7 +665,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ifreq_ifr_ifindex) -@@ -1069,7 +1069,7 @@ +@@ -1111,7 +1111,7 @@ AC_CACHE_VAL(sc_cv_struct_sockaddr_salen, [sc_cv_struct_sockaddr_salen=yes], [sc_cv_struct_sockaddr_salen=no])]) if test $sc_cv_struct_sockaddr_salen = yes; then @@ -673,7 +674,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_sockaddr_salen) -@@ -1080,31 +1080,31 @@ +@@ -1122,31 +1122,31 @@ AC_TRY_COMPILE([#include <sys/types.h> #include <netinet/in.h>], [struct sockaddr_in6 sa6;sa6.sin6_addr.s6_addr[0]=0;], [AC_MSG_RESULT(s6_addr); @@ -711,7 +712,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in [AC_MSG_RESULT([none or unknown])] )])])])])]) -@@ -1116,7 +1116,7 @@ +@@ -1158,7 +1158,7 @@ AC_CACHE_VAL(sc_cv_struct_iovec, [sc_cv_struct_iovec=yes], [sc_cv_struct_iovec=no])]) if test $sc_cv_struct_iovec = yes; then @@ -720,7 +721,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_iovec) -@@ -1129,7 +1129,7 @@ +@@ -1171,7 +1171,7 @@ AC_CACHE_VAL(sc_cv_struct_msghdr_msgcontrol, [sc_cv_struct_msghdr_msgcontrol=yes], [sc_cv_struct_msghdr_msgcontrol=no])]) if test $sc_cv_struct_msghdr_msgcontrol = yes; then @@ -729,7 +730,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrol) -@@ -1142,7 +1142,7 @@ +@@ -1184,7 +1184,7 @@ AC_CACHE_VAL(sc_cv_struct_msghdr_msgcontrollen, [sc_cv_struct_msghdr_msgcontrollen=yes], [sc_cv_struct_msghdr_msgcontrollen=no])]) if test $sc_cv_struct_msghdr_msgcontrollen = yes; then @@ -738,7 +739,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_msghdr_msgcontrollen) -@@ -1155,7 +1155,7 @@ +@@ -1197,7 +1197,7 @@ AC_CACHE_VAL(sc_cv_struct_msghdr_msgflags, [sc_cv_struct_msghdr_msgflags=yes], [sc_cv_struct_msghdr_msgflags=no])]) if test $sc_cv_struct_msghdr_msgflags = yes; then @@ -747,7 +748,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_msghdr_msgflags) -@@ -1168,7 +1168,7 @@ +@@ -1210,7 +1210,7 @@ AC_CACHE_VAL(sc_cv_struct_cmsghdr, [sc_cv_struct_cmsghdr=yes], [sc_cv_struct_cmsghdr=no])]) if test $sc_cv_struct_cmsghdr = yes; then @@ -756,7 +757,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_cmsghdr) -@@ -1181,7 +1181,7 @@ +@@ -1223,7 +1223,7 @@ AC_CACHE_VAL(sc_cv_struct_in_pktinfo, [sc_cv_struct_in_pktinfo=yes], [sc_cv_struct_in_pktinfo=no])]) if test $sc_cv_struct_in_pktinfo = yes; then @@ -765,7 +766,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_in_pktinfo) -@@ -1211,7 +1211,7 @@ +@@ -1265,7 +1265,7 @@ AC_CACHE_VAL(sc_cv_struct_ip_ip_hl, [sc_cv_struct_ip_ip_hl=yes], [sc_cv_struct_ip_ip_hl=no])]) if test $sc_cv_struct_ip_ip_hl = yes; then @@ -774,7 +775,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_struct_ip_ip_hl) -@@ -1219,19 +1219,19 @@ +@@ -1273,19 +1273,19 @@ AC_MSG_RESULT($sc_cv_struct_ip_ip_hl) dnl Library function checks dnl Check sigaction() @@ -788,24 +789,23 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in -AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64)) -AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64)) -AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64)) -- --AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) --AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR)) --AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP)) +AC_CHECK_FUNC(stat64, AC_DEFINE(HAVE_STAT64, [1], [foo])) +AC_CHECK_FUNC(fstat64, AC_DEFINE(HAVE_FSTAT64, [1], [foo])) +AC_CHECK_FUNC(lstat64, AC_DEFINE(HAVE_LSTAT64, [1], [foo])) +AC_CHECK_FUNC(lseek64, AC_DEFINE(HAVE_LSEEK64, [1], [foo])) +AC_CHECK_FUNC(truncate64, AC_DEFINE(HAVE_TRUNCATE64, [1], [foo])) +AC_CHECK_FUNC(ftruncate64, AC_DEFINE(HAVE_FTRUNCATE64, [1], [foo])) -+ + +-AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) +-AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR)) +-AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP)) +AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL, [1], [foo])) +AC_CHECK_FUNC(hstrerror, AC_DEFINE(HAVE_HSTRERROR, [1], [foo])) +AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP, [1], [foo])) #if test "$ac_cv_func_hstrerror" = "yes"; then # AC_MSG_CHECKING(if _XOPEN_SOURCE_EXTENDED is helpful) -@@ -1254,25 +1254,26 @@ +@@ -1308,25 +1308,26 @@ AC_CHECK_FUNC(inet_ntop, AC_DEFINE(HAVE_INET_NTOP)) dnl Search for openpty() # MacOS @@ -838,16 +838,16 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in dnl Search for SSLv2_client_method, SSLv2_server_method AC_CHECK_FUNC(SSLv3_client_method, AC_DEFINE(HAVE_SSLv3_client_method), AC_CHECK_LIB(crypt, SSLv3_client_method, [LIBS=-lcrypt $LIBS])) -@@ -1295,7 +1296,7 @@ - [ac_cv_have_z_modifier=no], - [ac_cv_have_z_modifier=no])]) +@@ -1372,7 +1373,7 @@ else ac_cv_have_z_modifier=no + fi + ) if test $ac_cv_have_z_modifier = yes; then - AC_DEFINE(HAVE_FORMAT_Z) + AC_DEFINE(HAVE_FORMAT_Z, [1], [have format z]) fi AC_MSG_RESULT($ac_cv_have_z_modifier) -@@ -1334,7 +1335,8 @@ +@@ -1412,7 +1413,8 @@ AC_CACHE_CHECK(shift offset of $1, $2, [$2=-1] ) LIBS="$LIBS1"]) @@ -857,7 +857,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in if test "$2" = -1; then AC_MSG_WARN(please determine $1_SHIFT manually) fi -@@ -1374,7 +1376,7 @@ +@@ -1479,7 +1481,7 @@ AC_CACHE_CHECK(for equivalent simple type of $2, $4, [$4="0 /* unknown, taking default */" ]) ]) ]) ]) ]) ]) ]) ]) CFLAGS="$CFLAGS1" ]) @@ -865,8 +865,8 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in +AC_DEFINE_UNQUOTED($3, ${$4}, [foo]) ]) - dnl find what physical type (basic C type) describes the given struct or union -@@ -1406,7 +1408,7 @@ + dnl see AC_BASIC_TYPE +@@ -1573,7 +1575,7 @@ AC_TRY_COMPILE([$1],[$2 u;short v; return(&u.$3==&v);], [$5="0 /* unknown, taking default */" ]) ]) ]) ]) ]) ]) ]) ]) CFLAGS="$CFLAGS1" ]) @@ -874,8 +874,8 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in +AC_DEFINE_UNQUOTED($4, ${$5}, [foo]) ]) - AC_BASIC_TYPE([#include <stdlib.h>], size_t, HAVE_BASIC_SIZE_T, sc_cv_type_sizet_basic) -@@ -1465,13 +1467,13 @@ + dnl See AC_TYPEOF_COMPONENT +@@ -1701,13 +1703,13 @@ AC_TYPEOF_COMPONENT([#include "sysincludes.h"], struct cmsghdr, cmsg_len, HAVE_T AC_MSG_CHECKING(for /dev/ptmx) if test -c /dev/ptmx; then @@ -891,7 +891,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) -@@ -1480,7 +1482,7 @@ +@@ -1716,7 +1718,7 @@ fi AC_MSG_CHECKING(for /proc) if test -d /proc; then @@ -900,7 +900,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) -@@ -1488,7 +1490,7 @@ +@@ -1724,7 +1726,7 @@ fi AC_MSG_CHECKING(for /proc/*/fd) if test -d /proc/$$/fd; then @@ -909,7 +909,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) -@@ -1528,7 +1530,7 @@ +@@ -1764,7 +1766,7 @@ if test -n "$WITH_LIBWRAP"; then done]) ]) if test "$sc_cv_have_tcpd_h" = "yes"; then @@ -918,7 +918,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_NOTICE(checked for tcpd.h... $sc_cv_have_tcpd_h) fi # end checking for tcpd.h -@@ -1561,14 +1563,14 @@ +@@ -1797,14 +1799,14 @@ int allow_severity,deny_severity;],[hosts_access(0)], ] ) if test "$sc_cv_have_libwrap" = 'yes'; then @@ -935,7 +935,7 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in else AC_MSG_WARN([not all components of tcp wrappers found, disabling it]); fi -@@ -1583,7 +1585,7 @@ +@@ -1819,7 +1821,7 @@ if test -n "$WITH_LIBWRAP"; then [sc_cv_have_hosts_allow_table=yes], [sc_cv_have_hosts_allow_table=no])]) if test $sc_cv_have_hosts_allow_table = yes; then @@ -944,3 +944,6 @@ diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in fi AC_MSG_RESULT($sc_cv_have_hosts_allow_table) fi # test -n "$WITH_LIBWRAP" +-- +1.8.1.2 + diff --git a/meta/recipes-connectivity/socat/socat_1.7.2.3.bb b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb similarity index 75% rename from meta/recipes-connectivity/socat/socat_1.7.2.3.bb rename to meta/recipes-connectivity/socat/socat_1.7.2.4.bb index 99060b1..6c3aba1 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.2.3.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.2.4.bb @@ -8,16 +8,18 @@ SECTION = "console/network" DEPENDS = "openssl readline" LICENSE = "GPL-2.0+-with-OpenSSL-exception" -LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760 \ - file://README;beginline=252;endline=282;md5=79246f11a1db0b6ccec54d1fb711c01e" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://README;beginline=257;endline=287;md5=79246f11a1db0b6ccec54d1fb711c01e" SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ file://compile.patch \ - file://fix-xxx_SHIFT-autoheader.patch" + file://fix-xxx_SHIFT-autoheader.patch \ +" + -SRC_URI[md5sum] = "75008d8baf7c6c9e27aa7afb34a622de" -SRC_URI[sha256sum] = "0598ac54af7b138cda9e3c141bcf0cc63eeb2ab31f468a772dc3f7eb3896aad0" +SRC_URI[md5sum] = "69b8155dd442a6f24e28ef5407d868eb" +SRC_URI[sha256sum] = "4b7739901c6fad1e460f3e5b1868fb4c2a1427febbba7a510cd2e42fd4941e09" PACKAGECONFIG ??= "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" -- 1.8.1.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core