aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
blob: 09699f33295a8b1e0072f67c38a503e77c1a0cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SUMMARY = "Libraries and wrapper for using a SOCKS proxy"
DESCRIPTION = "The role of tsocks is to allow non SOCKS aware \
applications (e.g telnet, ssh, ftp etc) to use SOCKS without any \
modification. It does this by intercepting the calls that applications \
make to establish network connections and negotating them through a \
SOCKS server as necessary."
HOMEPAGE = "http://sourceforge.net/projects/tsocks/"
SECTION = "net"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"

SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \
           file://makefile-add-ldflags.patch \
          "

SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8"
SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347"

inherit autotools-brokensep

LIBS:append:libc-musl = " -lssp_nonshared"
LIBS:append:libc-glibc = " -lc_nonshared"

S = "${WORKDIR}/tsocks-1.8"

FILES:${PN} = "${libdir}/* ${bindir}/tsocks"
FILES:${PN}-dev = ""
INSANE_SKIP:${PN} = "dev-so"

EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'"