2019-10-26 13:47:00 +08:00
#
# Copyright (C) 2017-2018 Jian Chang <aa65535@live.com>
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ssocks
PKG_VERSION := 0.0.14
PKG_RELEASE := 1
2019-10-26 15:15:06 +08:00
PKG_SOURCE_PROTO := git
2020-02-22 19:22:56 +08:00
PKG_SOURCE_URL := https://github.com/tostercx/ssocks.git
PKG_SOURCE_VERSION := 8d9a5d2f89e507c9ffebd838b3c7430f07a0f36c
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION)
2019-10-26 13:47:00 +08:00
2020-02-22 19:22:56 +08:00
PKG_LICENSE := GPLv3
2019-10-26 13:47:00 +08:00
PKG_LICENSE_FILES := LICENSE
2020-02-22 19:22:56 +08:00
PKG_MAINTAINER := [ CTCGFW] Project OpenWrt
2019-10-26 13:47:00 +08:00
PKG_INSTALL := 1
PKG_FIXUP := autoreconf
PKG_USE_MIPS16 := 0
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / $( PKG_NAME )
SECTION:= net
CATEGORY:= Network
TITLE:= sSocks
2019-10-30 23:31:52 +08:00
URL:= https://github.com/david378/ssocks
2019-10-26 13:47:00 +08:00
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / d e s c r i p t i o n
sSocks is a package which contains : a socks 5 server implements RFC 1928 (SOCKS V 5) and RFC 1929 (Authentication for SOCKS V 5), a reverse socks server and client , a netcat like tool and a socks 5 relay .
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
2020-02-22 19:22:56 +08:00
$( INSTALL_BIN) $( PKG_BUILD_DIR) /src/ssocksd $( 1) /usr/bin/ssocks
2019-10-26 13:47:00 +08:00
e n d e f
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) ) )