mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 12:06:51 +04:00
Update from 5.06.909 to 5.09.982. Major improvements and highlights: - Add frp transport.wireProtocol v2 support (JSON messages + AES-256-GCM AEAD) - Support modern frp TOML configuration via tomlc17 - Support OIDC authentication with OAuth2 client_credentials flow - AES-128-CFB wire encryption and Snappy compression support - QUIC transport maturity with ngtcp2 <-> quic-go interop - End-to-end security hardening (bounds check, TLS verification, buffer drains) - Build fix for 32-bit architectures (widen plen to uint64_t before shift) - Build fix for OpenWrt wolfSSL/OpenSSL dual-backend compatibility - Remove deprecated IOD and FTP proxy types Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2022 Dengfeng Liu
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v3.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=xfrpc
|
|
PKG_VERSION:=5.09.982
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/liudf0716/xfrpc/tar.gz/$(PKG_VERSION)?
|
|
PKG_HASH:=62fa59540bcfea04289b67fdb37916904f4dac62ac799ddf8cd634949a556edc
|
|
|
|
PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/xfrpc
|
|
SUBMENU:=Web Servers/Proxies
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+zlib +libjson-c +libevent2 +libevent2-openssl
|
|
TITLE:= C language fast reverse proxy client
|
|
URL:=https://github.com/liudf0716/xfrpc
|
|
endef
|
|
|
|
define Package/xfrpc/description
|
|
xfrpc is C language fast reverse proxy client
|
|
compare with golang version frpc
|
|
xfrpc can run in almost all openwrt device
|
|
endef
|
|
|
|
define Package/xfrpc/conffiles
|
|
/etc/config/xfrpc
|
|
endef
|
|
|
|
define Package/xfrpc/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xfrpc $(1)/usr/bin/xfrpc
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/xfrpc.init $(1)/etc/init.d/xfrpc
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(CP) ./files/xfrpc.conf $(1)/etc/config/xfrpc
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,xfrpc))
|