-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b615c6f
commit 8e7c7b2
Showing
5 changed files
with
45 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,43 @@ | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
# | ||
# Copyright (C) 2021 ImmortalWrt.org | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=microsocks | ||
PKG_VERSION:=1.0.4 | ||
PKG_RELEASE:=100 | ||
PKG_RELEASE:=101 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/rofl0r/microsocks/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=skip | ||
|
||
PKG_MAINTAINER:=Mateusz Korniak <[email protected]> | ||
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=COPYING | ||
PKG_MAINTAINER:=lean | ||
|
||
PKG_BUILD_FLAGS:=lto | ||
PKG_BUILD_PARALLEL:=1 | ||
PKG_INSTALL:=1 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/microsocks | ||
SECTION:=net | ||
SUBMENU:=Web Servers/Proxies | ||
CATEGORY:=Network | ||
TITLE:=SOCKS5 TCP/IP only proxy | ||
SUBMENU:=Web Servers/Proxies | ||
TITLE:=Tiny, portable SOCKS5 server | ||
URL:=https://github.com/rofl0r/microsocks | ||
DEPENDS:=+libpthread | ||
endef | ||
|
||
define Package/microsocks/description | ||
Low resource SOCKS5 proxy. | ||
Supports only SOCKS5 protocol and forwarding only TCP/IP connections. | ||
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. | ||
endef | ||
|
||
define Package/microsocks/conffiles | ||
/etc/config/microsocks | ||
endef | ||
|
||
TARGET_LDFLAGS+= -Wl,--gc-sections,--as-needed | ||
|
||
define Package/microsocks/install | ||
$(INSTALL_DIR) $(1)/usr/bin | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/microsocks $(1)/usr/bin | ||
|
||
$(INSTALL_DIR) $(1)/etc/config | ||
$(INSTALL_CONF) ./files/microsocks.config $(1)/etc/config/microsocks | ||
$(INSTALL_DIR) $(1)/etc/init.d | ||
$(INSTALL_BIN) ./files/microsocks.init $(1)/etc/init.d/microsocks | ||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/microsocks $(1)/usr/bin/microsocks | ||
endef | ||
|
||
$(eval $(call BuildPackage,microsocks)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters