2021-01-30 19:06:57 +08:00
|
|
|
#
|
2021-02-06 17:52:37 +08:00
|
|
|
# Copyright (C) 2021 ImmortalWrt
|
2021-03-01 22:13:52 +08:00
|
|
|
# <https://immortalwrt.org>
|
2021-01-30 19:06:57 +08:00
|
|
|
#
|
|
|
|
|
# This is free software, licensed under the GNU General Public License v3.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
2020-03-03 20:19:59 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=microsocks
|
2021-02-04 16:27:47 +08:00
|
|
|
PKG_VERSION=1.0.2
|
2021-02-06 20:54:40 +08:00
|
|
|
PKG_RELEASE:=2
|
2020-03-03 20:19:59 +08:00
|
|
|
|
2021-02-04 16:27:47 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2021-02-06 20:54:40 +08:00
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)?
|
2021-02-04 16:27:47 +08:00
|
|
|
PKG_HASH:=5ece77c283e71f73b9530da46302fdb4f72a0ae139aa734c07fe532407a6211a
|
2021-01-30 19:06:57 +08:00
|
|
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
PKG_MAINTAINER:=lean
|
2020-03-03 20:19:59 +08:00
|
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
2021-01-30 19:06:57 +08:00
|
|
|
PKG_INSTALL:=1
|
2020-03-03 20:19:59 +08:00
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
|
|
define Package/microsocks
|
|
|
|
|
SECTION:=net
|
|
|
|
|
CATEGORY:=Network
|
2021-01-30 19:06:57 +08:00
|
|
|
SUBMENU:=Web Servers/Proxies
|
|
|
|
|
TITLE:=tiny, portable SOCKS5 server with very moderate resource usage
|
|
|
|
|
URL:=https://github.com/rofl0r/microsocks
|
|
|
|
|
DEPENDS:=+libpthread
|
2020-03-03 20:19:59 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/microsocks/description
|
2021-01-30 19:06:57 +08:00
|
|
|
A SOCKS5 service that you can run on your remote boxes to tunnel connections
|
|
|
|
|
through them, if for some reason SSH doesn't cut it for you.
|
2020-03-03 20:19:59 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/microsocks/install
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2021-01-30 19:06:57 +08:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/microsocks $(1)/usr/bin/microsocks
|
2020-03-03 20:19:59 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,microsocks))
|