summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/tsocks
Commit message (Collapse)AuthorAgeFilesLines
* tsocks: Always use ligcc for compiler runtime with clang on x86Khem Raj5 hours1-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+1
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tsocks: Link with libc_nonshared.aKhem Raj2018-10-021-0/+1
| | | | | | | | | | | Link step uses -nostdlib which means all defaults from gcc spec file are not used and it results in errors when using stack protector options e.g. in function `send_socksv5_connect': | /usr/src/debug/tsocks/1.8beta5-r0/tsocks-1.8/tsocks.c:954: undefined reference to `__stack_chk_fail_local' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tsocks: Add -lssp_nonshared to LIBS explicitly on muslKhem Raj2018-09-241-1/+3
| | | | | | | | | | | | tsocks uses -nostdlib while linking shared library, which is not ideal but instead of chasing that and assuming there is a reason for that, we add -lssp_noshared to linker command at the end so it can build when security flags are enabled Fixes tsocks.c:954: undefined reference to `__stack_chk_fail_local' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tsock: Make use of LDFLAGSJason Wessel2016-12-141-0/+3
| | | | | | | | | | Fix the QA warning: WARNING: tsocks-1.8beta5-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/opt/build-intel-x86/tmp/work/core2-64-linux/tsocks/1.8beta5-r0/packages-split/tsocks/usr/lib64/libtsocks.so.1.8' [ldflags] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tsocks: fix QA warning for GNU_HASHYi Zhao2016-11-142-1/+22
| | | | | | | | | Add LDFLAGS variable to Makefile.in so that extra linker flags can be sent via this variable. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tsocks: Add tsocks to meta-network/recipes-protocolsJason Wessel2015-10-211-0/+23
The tsocks program is frequently used to easily wrap any generic program such as telnet, ssh, wget or any other tcp socket program using an LD_PRELOAD library. One might use an ssh tunnel and wget for example. Example of tunnel via ssh to remote url: ssh -N -D 1080 $REMOTE_HOST_TUNNEL_ENDPOINT & cat<<EOF>tsocks.conf server_port = 1080 server = 127.0.0.1 EOF TSOCKS_CONF_FILE=$PWD/tsocks.conf tsocks curl $REMOTE_URL Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>