mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-18 05:13:56 +02:00
272f55e87f
With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
55 lines
1.4 KiB
Makefile
55 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:=2.9.644
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/liudf0716/xfrpc.git
|
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
|
PKG_MIRROR_HASH:=0040476ce8d2a8f7dffe6162ad2cd94797071bd4ccbdcac9433f518bb60340bd
|
|
|
|
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))
|