aboutsummaryrefslogtreecommitdiff
path: root/net/socat
Commit message (Collapse)AuthorAge
* socat: fix compile error when ccache is enabledkrant2024-04-19
| | | | Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* socat: update to 1.8.0.0krant2024-04-13
| | | | Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* socat: update to 1.7.4.4Rosen Penev2023-01-14
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* socat: update to 1.7.4.1Chukun Pan2021-09-30
| | | | | | Remove upstreamed patch. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* net: socat: add option userPaul Fertser2021-07-25
| | | | | | | Allow UCI configuration to specify username to run this service as. Defaults to root. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* treewide: Run refresh on all packagesIlya Lipnitskiy2021-02-20
| | | | | | | | | The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* socat: allow more complex command line optionsDobroslaw Kijowski2021-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | Current implementation of socat's init service doesn't allow to run more complex configurations. As an example there's no possibility to execute following command: socat TCP-LISTEN:8080,fork,reuseaddr,bind=192.168.1.1 \ EXEC:"/sbin/ip netns exec somenetns socat STDIO TCP:10.0.0.1:80" In such command the first line is argv[1] and the second line is argv[2]. SocatOptions config option is a string. As as a consequence of this each word will be passed as a separate argv element. Socat won't be able to parse arguments correctly. In order to mitigate this issue, we can also accept SocatOptions as a list of strings. Following config file will work correctly: config socat 'tunnel_8080_into_somenetns' option enable '1' list SocatOptions 'TCP-LISTEN:8080,fork,reuseaddr,bind=192.168.1.1' list SocatOptions 'EXEC:"/sbin/ip netns exec somenetns socat STDIO TCP:10.0.0.1:80"' While we're at it, pass stdout and stderr into logread. Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
* socat: update to 1.7.3.4Rosen Penev2020-02-13
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* socat: Fix compilation when usleep is missingRosen Penev2019-07-19
| | | | | | | usleep is a legacy function that was removed in POSIX-2008. uClibc-ng can be configured to compile without it. if out the code as it's not used. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* socat: Remove outdated musl patchRosen Penev2019-07-14
| | | | | | No longer needed with modern musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* net/socat: Update to 1.7.3.3Daniel Engberg2019-05-06
| | | | | | Update socat to 1.7.3.3 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* socat: Update init scriptJeffery To2019-02-03
| | | | | | | | | | | This replaces the use of uci_validate_section() with uci_load_validate(), which removes the need to declare local variables for every config option. This also adds a service_triggers() function and removes some unnecessary curly brackets. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* socat: Fix compile with deprecated APIs disabledRosen Penev2018-11-10
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* socat: Fix CRDLY, TABDLY and CSIZE shifts for PowerPCTed Hess2018-08-30
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* socat: Do not use libbsdMichal Hrusecky2018-08-28
| | | | | | | Make sure that libbsd is not picked up during configuration even if it is compiled before socat is. Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
* socat: set BUILD_DATE to SOURCE_DATE_EPOCHAlexander Couzens2017-11-17
| | | | | | | | | | | | Build timestamp prevents reproducible builds [0]. SOURCE_DATE_EPOCH allows to use a timestamp which depends on deterministic behaviour [1]. Fixes reproducible builds. [0] https://reproducible-builds.org/docs/timestamps/ [1] https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* packages: cleanup Makefile variablesStephen Walker2017-06-03
| | | | | | Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
* net/socat: Update to 1.7.3.2Daniel Engberg2017-06-02
| | | | | | | | | Update socat to 1.7.3.2 Remove SSLv3 patch, workaround added upstream Remove inclusion of stddef.h, fix added upstream Replace obsolete tarball hash variable with PKG_HASH Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* Merge pull request #3863 from jow-/socat-fix-buildTed Hess2017-01-17
|\ | | | | socat: work around missing stddef.h include
| * socat: work around missing stddef.h includeJo-Philipp Wich2017-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | net/socat: Update to 1.7.3.1 and fix SSLDaniel Engberg2017-01-16
|/ | | | | | | | 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>
* socat: fix musl compatibilityJo-Philipp Wich2015-06-16
| | | | | | | | | | 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>
* Upgrade socat to 1.7.3.0.John Szakmeister2015-03-03
| | | | | | | | | 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>
* misc: correct typo in Makefiles for PKG_LICENSE_FILESIan Leonard2014-11-24
| | | | Signed-off-by: Ian Leonard <antonlacon@gmail.com>
* packages/socat: add init scriptHenning Schild2014-08-12
| | | | | | Init script to start instances of socat for port-forwarding etc. Signed-off-by: Henning Schild <henning@hennsch.de>
* socat: Import from oldpackages, upgrade to 1.7.2.4, update copyright, ↵Ted Hess2014-08-12
license info, pkg maintainer. Fix cross built error Signed-off-by: Ted Hess <thess@kitschensync.net>