Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Libraries and wrapper for using a SOCKS proxy" |
| 2 | DESCRIPTION = "The role of tsocks is to allow non SOCKS aware \ |
| 3 | applications (e.g telnet, ssh, ftp etc) to use SOCKS without any \ |
| 4 | modification. It does this by intercepting the calls that applications \ |
| 5 | make to establish network connections and negotating them through a \ |
| 6 | SOCKS server as necessary." |
| 7 | HOMEPAGE = "http://sourceforge.net/projects/tsocks/" |
| 8 | SECTION = "net" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 9 | LICENSE = "GPL-2.0-only" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
| 11 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 12 | SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \ |
| 13 | file://makefile-add-ldflags.patch \ |
| 14 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | |
| 16 | SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8" |
| 17 | SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347" |
| 18 | |
| 19 | inherit autotools-brokensep |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 21 | LIBS:append:libc-musl = " -lssp_nonshared" |
| 22 | LIBS:append:libc-glibc = " -lc_nonshared" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | S = "${WORKDIR}/tsocks-1.8" |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | FILES:${PN} = "${libdir}/* ${bindir}/tsocks" |
| 27 | FILES:${PN}-dev = "" |
| 28 | INSANE_SKIP:${PN} = "dev-so" |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 29 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 30 | EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'" |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 31 | |