2013-12-21 22:51:12 +00:00
|
|
|
SUMMARY = "Multipurpose relay for bidirectional data transfer"
|
2011-12-19 05:17:46 +00:00
|
|
|
DESCRIPTION = "Socat is a relay for bidirectional data \
|
|
|
|
transfer between two independent data channels."
|
|
|
|
HOMEPAGE = "http://www.dest-unreach.org/socat/"
|
|
|
|
|
|
|
|
SECTION = "console/network"
|
|
|
|
|
2012-07-27 08:15:01 +00:00
|
|
|
DEPENDS = "openssl readline"
|
2011-12-19 05:17:46 +00:00
|
|
|
|
|
|
|
LICENSE = "GPL-2.0+-with-OpenSSL-exception"
|
2014-05-31 00:11:55 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
2015-04-07 11:24:27 +00:00
|
|
|
file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f"
|
2013-02-25 18:37:50 +00:00
|
|
|
|
2011-12-19 05:17:46 +00:00
|
|
|
|
2013-06-12 05:56:41 +00:00
|
|
|
SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \
|
2015-05-04 08:02:24 +00:00
|
|
|
file://Makefile.in-fix-for-parallel-build.patch \
|
2016-02-16 21:14:10 +00:00
|
|
|
file://0001-define-NETDB_INTERNAL-to-1-if-not-available.patch \
|
2016-03-17 05:18:20 +00:00
|
|
|
file://0001-Access-c_ispeed-and-c_ospeed-via-APIs.patch \
|
2014-05-31 00:11:55 +00:00
|
|
|
"
|
2013-06-06 08:32:50 +00:00
|
|
|
|
2017-02-06 08:57:03 +00:00
|
|
|
SRC_URI[md5sum] = "607a24c15bd2cb54e9328bfbbd3a1ae9"
|
|
|
|
SRC_URI[sha256sum] = "e3561f808739383eb10fada1e5d4f26883f0311b34fd0af7837d0c95ef379251"
|
2013-06-12 05:56:41 +00:00
|
|
|
|
2014-05-31 00:11:55 +00:00
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
EXTRA_AUTORECONF += "--exclude=autoheader"
|
2013-07-21 13:51:50 +00:00
|
|
|
|
2016-06-30 10:22:29 +00:00
|
|
|
EXTRA_OECONF += "ac_cv_have_z_modifier=yes \
|
2015-01-09 16:40:31 +00:00
|
|
|
ac_cv_header_bsd_libutil_h=no \
|
2013-06-06 08:32:50 +00:00
|
|
|
"
|
2011-12-19 05:17:46 +00:00
|
|
|
|
2017-01-23 14:17:04 +00:00
|
|
|
PACKAGECONFIG_class-target ??= "tcp-wrappers"
|
|
|
|
PACKAGECONFIG ??= ""
|
2014-05-31 00:11:55 +00:00
|
|
|
PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
|
2013-06-06 08:32:50 +00:00
|
|
|
|
2011-12-19 05:17:46 +00:00
|
|
|
do_install_prepend () {
|
|
|
|
mkdir -p ${D}${bindir}
|
|
|
|
install -d ${D}${bindir} ${D}${mandir}/man1
|
|
|
|
}
|
2017-01-23 14:17:04 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|