1*4882a593SmuzhiyunSECTION = "console/utils" 2*4882a593SmuzhiyunSUMMARY = "A free SOCKS server" 3*4882a593SmuzhiyunDESCRIPTION = "Dante consists of a SOCKS server and a SOCKS client,\ 4*4882a593Smuzhiyunimplementing RFC 1928 and related standards. It is a flexible product\ 5*4882a593Smuzhiyunthat can be used to provide convenient and secure network\ 6*4882a593Smuzhiyunconnectivity. Once installed, Dante can in most cases be made\ 7*4882a593Smuzhiyuntransparent to clients, providing functionality somewhat similar to\ 8*4882a593Smuzhiyunwhat could be described as a non-transparent Layer 4 router." 9*4882a593SmuzhiyunHOMEPAGE = "http://www.inet.no/dante/" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunLICENSE = "BSD-3-Clause" 12*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=221118dda731fe93a85d0ed973467249" 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunSRC_URI = "https://www.inet.no/dante/files/dante-${PV}.tar.gz \ 15*4882a593Smuzhiyun " 16*4882a593SmuzhiyunSRC_URI[md5sum] = "68c2ce12119e12cea11a90c7a80efa8f" 17*4882a593SmuzhiyunSRC_URI[sha256sum] = "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53" 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# without --without-gssapi, config.log will contain reference to /usr/lib 20*4882a593Smuzhiyun# as a consequence of GSSAPI path being set to /usr by default. 21*4882a593Smuzhiyun# --with-gssapi-path=PATH specify gssapi path 22*4882a593Smuzhiyun# --without-gssapi disable gssapi support 23*4882a593Smuzhiyun# --enable-release build prerelease as full release 24*4882a593SmuzhiyunEXTRA_OECONF += "--without-gssapi --sbindir=${bindir}" 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunDEPENDS += "flex-native bison-native libpam" 27*4882a593Smuzhiyun 28*4882a593Smuzhiyuninherit autotools-brokensep features_check 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "pam" 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunEXTRA_AUTORECONF = "-I ${S}" 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunPACKAGECONFIG[libwrap] = ",--disable-libwrap,tcp-wrappers,libwrap" 35*4882a593SmuzhiyunPACKAGECONFIG[krb5] = ",--without-krb5,krb5" 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunPACKAGECONFIG ??= "" 38*4882a593Smuzhiyun 39*4882a593Smuzhiyundo_install:append() { 40*4882a593Smuzhiyun install -d ${D}${sysconfdir} 41*4882a593Smuzhiyun cp ${S}/example/sock[sd].conf ${D}${sysconfdir} 42*4882a593Smuzhiyun} 43*4882a593Smuzhiyun 44*4882a593SmuzhiyunPACKAGES =+ "${PN}-sockd ${PN}-libdsocks " 45*4882a593Smuzhiyun 46*4882a593SmuzhiyunFILES:${PN}-libdsocks = "${libdir}/libdsocks.so" 47*4882a593SmuzhiyunFILES:${PN}-sockd = "${bindir}/sockd ${sysconfdir}/sockd.conf" 48*4882a593Smuzhiyun 49*4882a593SmuzhiyunINSANE_SKIP:${PN}-libdsocks = "dev-elf" 50