mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-09-14 04:14:40 +08:00
update 2026-08-11 16:47:57
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=srelay
|
||||
PKG_VERSION:=0.4.8p3
|
||||
PKG_RELEASE:=8
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/socks-relay
|
||||
PKG_MD5SUM:=8121ff3d1b741de95dd6eacc5ad5811c
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/srelay
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpthread
|
||||
SUBMENU:=Web Servers/Proxies
|
||||
TITLE:=A socks 4/5 proxy server
|
||||
URL:=http://www.c-wind.com/srelay/
|
||||
endef
|
||||
|
||||
define Package/srelay/conffiles
|
||||
/etc/srelay.conf
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-thread \
|
||||
--with-libwrap=no \
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
CPPFLAGS="-DLINUX $$$$CPPFLAGS" \
|
||||
|
||||
define Package/srelay/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,srelay))
|
||||
Reference in New Issue
Block a user