Commit Graph

8 Commits

Author SHA1 Message Date
Ted Hess 40da7ecf21 socat: Fix CRDLY, TABDLY and CSIZE shifts for PowerPC
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-08-30 15:23:57 -04:00
Jo-Philipp Wich 9d441d2c34 socat: work around missing stddef.h include
The buildbots fail to build socat due to the following error:

    nestlex.c:14:7: error: unknown type name 'ptrdiff_t'

It appears that certain source files do not include all required headers,
depending on the configure options passed to socat.

Work around the error by passing `-include stddef.h` via `TARGET_CFLAGS` to
forcibly inject this header file into all compilation units.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-05 19:38:38 +01:00
Daniel Engberg 82def2c089 net/socat: Update to 1.7.3.1 and fix SSL
Update to 1.7.3.1
Fix SSL builds
Source: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/net/socat/patches/#dirlist

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 8c0a4bf6c5)
2017-01-20 15:14:03 -05:00
Jo-Philipp Wich a0968faedb socat: fix musl compatibility
Do not include netinet/if_ether.h for musl to prevent struct ethhdr
redeclarations.

Also define NETDB_INTERNAL if needed to fix compilation of the network
backends.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 14:58:28 +02:00
John Szakmeister 2720fe57e5 Upgrade socat to 1.7.3.0.
The cross-compiling patch is no longer necessary.  Also added librt as a
dependency, since it is required.  This also fixes an issue where
support for linux/errqueue.h was not being detected correctly and
causing a build failure with 3.18.

Signed-off-by: John Szakmeister <john@szakmeister.net>
2015-03-03 06:39:43 -05:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Henning Schild 8b67d48c47 packages/socat: add init script
Init script to start instances of socat for port-forwarding etc.

Signed-off-by: Henning Schild <henning@hennsch.de>
2014-08-12 23:35:56 +02:00
Ted Hess 887411b8c3 socat: Import from oldpackages, upgrade to 1.7.2.4, update copyright, license info, pkg maintainer. Fix cross built error
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-08-12 12:21:56 -04:00