1*4882a593SmuzhiyunSUMMARY = "Libraries and wrapper for using a SOCKS proxy"
2*4882a593SmuzhiyunDESCRIPTION = "The role of tsocks is to allow non SOCKS aware \
3*4882a593Smuzhiyunapplications (e.g telnet, ssh, ftp etc) to use SOCKS without any \
4*4882a593Smuzhiyunmodification. It does this by intercepting the calls that applications \
5*4882a593Smuzhiyunmake to establish network connections and negotating them through a \
6*4882a593SmuzhiyunSOCKS server as necessary."
7*4882a593SmuzhiyunHOMEPAGE = "http://sourceforge.net/projects/tsocks/"
8*4882a593SmuzhiyunSECTION = "net"
9*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz \
13*4882a593Smuzhiyun           file://makefile-add-ldflags.patch \
14*4882a593Smuzhiyun          "
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunSRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8"
17*4882a593SmuzhiyunSRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyuninherit autotools-brokensep
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunLIBS:append:libc-musl = " -lssp_nonshared"
22*4882a593SmuzhiyunLIBS:append:libc-glibc = " -lc_nonshared"
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunS = "${WORKDIR}/tsocks-1.8"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunFILES:${PN} = "${libdir}/* ${bindir}/tsocks"
27*4882a593SmuzhiyunFILES:${PN}-dev = ""
28*4882a593SmuzhiyunINSANE_SKIP:${PN} = "dev-so"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunEXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'"
31*4882a593Smuzhiyun
32