frp: bump to 0.68.1
authorRoc Lai <redacted>
Tue, 17 Mar 2026 09:46:01 +0000 (17:46 +0800)
committerGeorge Sapkin <redacted>
Thu, 23 Apr 2026 20:00:51 +0000 (23:00 +0300)
Changes: https://github.com/fatedier/frp/releases/tag/v0.67.0
Changes: https://github.com/fatedier/frp/releases/tag/v0.68.0
Changes: https://github.com/fatedier/frp/releases/tag/v0.68.1
Co-Authored-by: Peiyuan Song <redacted>
Signed-off-by: Roc Lai <redacted>
net/frp/Makefile
net/frp/files/frpc.config
net/frp/files/frps.config

index 2ef55d28270919063d87b1492d042bbd1d9cce52..93645af4c63935111a3efe0e9bae508cceec3781 100644 (file)
@@ -1,37 +1,46 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=frp
-PKG_VERSION:=0.66.0
+PKG_VERSION:=0.68.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v${PKG_VERSION}?
-PKG_HASH:=afe1aca9f6e7680a95652e8acf84aef4a74bcefe558b5b91270876066fff3019
+PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=44ed7107bf35e4f68dc0e77cd5805102effa5301528b89ee5ab0ab379088edc6
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_BUILD_DEPENDS:=golang/host
+PKG_BUILD_DEPENDS:=golang/host node/host
 PKG_BUILD_PARALLEL:=1
 PKG_BUILD_FLAGS:=no-mips16
 
 GO_PKG:=github.com/fatedier/frp
 GO_PKG_BUILD_PKG:=github.com/fatedier/frp/cmd/...
+GO_PKG_LDFLAGS:=-s -w
+GO_PKG_LDFLAGS_X:=github.com/fatedier/frp/pkg/util/version.version=$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 include ../../lang/golang/golang-package.mk
 
+define Build/Compile
+       ( \
+               $(MAKE) -C $(PKG_BUILD_DIR)/web/frpc install ; \
+               $(MAKE) -C $(PKG_BUILD_DIR)/web/frps install ; \
+               $(MAKE) -C $(PKG_BUILD_DIR) web ; \
+               $(call GoPackage/Build/Compile) ; \
+       )
+endef
+
 define Package/frp/install
        $(INSTALL_DIR) $(1)/usr/bin/
-       $(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/$(2) $(1)/usr/bin/
-       $(INSTALL_DIR) $(1)/etc/frp/$(2).d/
-       $(INSTALL_DATA) $(PKG_BUILD_DIR)/conf/legacy/$(2)_legacy_full.ini $(1)/etc/frp/$(2).d/
-       $(INSTALL_DATA) $(PKG_BUILD_DIR)/conf/$(2)_full_example.toml $(1)/etc/frp/$(2).d/
        $(INSTALL_DIR) $(1)/etc/config/
-       $(INSTALL_CONF) ./files/$(2).config $(1)/etc/config/$(2)
        $(INSTALL_DIR) $(1)/etc/init.d/
-       $(INSTALL_BIN) ./files/$(2).init $(1)/etc/init.d/$(2)
+
+       $(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/$(2) $(1)/usr/bin/
+       $(INSTALL_CONF) ./files/$(2).config $(1)/etc/config/$(2)
+       $(INSTALL_BIN)  ./files/$(2).init   $(1)/etc/init.d/$(2)
 
        if [ -r ./files/$(2).uci-defaults ]; then \
                $(INSTALL_DIR) $(1)/etc/uci-defaults; \
@@ -50,8 +59,8 @@ define Package/frp/template
   endef
 
   define Package/$(1)/description
-    $(1) is a fast reverse proxy $(2) to help you expose a local server behind
-    a NAT or firewall to the internet.
+    $(1) is a fast reverse proxy $(2) that helps you expose a local server
+    behind a NAT or firewall to the internet.
   endef
 
   define Package/$(1)/conffiles
index 492e224fff605ddfa878ef128a2f78d8e8a24a0f..3d305f41c7beb6f0949d44c109ca3abab6013fc1 100644 (file)
@@ -4,11 +4,8 @@ config init
        option user frpc
        option group frpc
        option respawn 1
-#      OS environments pass to frp for config file template, see
-#      https://github.com/fatedier/frp#configuration-file-template
-#      list env 'ENV_NAME=value'
-#      Config files include in temporary config file.
-#      list conf_inc '/etc/frp/frpc.d/frpc_full.ini'
+#      For full configuration options, see:
+#      https://github.com/fatedier/frp/blob/master/conf/legacy/frpc_legacy_full.ini
 
 config conf 'common'
        option server_addr 127.0.0.1
index ae0bffc2f2328a09db97fc036a145a5add03fbe6..8957604ac49f2094d8fe4bf5a3ffc38faf5b1c0d 100644 (file)
@@ -4,11 +4,8 @@ config init
        option user frps
        option group frps
        option respawn 1
-#      OS environments pass to frp for config file template, see
-#      https://github.com/fatedier/frp#configuration-file-template
-#      list env 'ENV_NAME=value'
-#      Config files include in temporary config file.
-#      list conf_inc '/etc/frp/frps.d/frps_full.ini'
+#      For full configuration options, see:
+#      https://github.com/fatedier/frp/blob/master/conf/legacy/frps_legacy_full.ini
 
 config conf 'common'
        option bind_port 7000
git clone https://git.99rst.org/PROJECT