Compare commits

...

3 commits

Author SHA1 Message Date
bgme ac924f2d56 add fakehttp 2025-07-09 01:47:53 +08:00
bgme 8f9630606c Merge commit 'cddfadca48a6057a5ca25632028c8be91c758d1f' as 'fakehttp' 2025-07-09 01:47:02 +08:00
bgme cddfadca48 Squashed 'fakehttp/' content from commit 9bb5ff9
git-subtree-dir: fakehttp
git-subtree-split: 9bb5ff9590837074a8256f2847261b0a64b95c04
2025-07-09 01:47:02 +08:00
2 changed files with 56 additions and 1 deletions

52
fakehttp/Makefile Normal file
View file

@ -0,0 +1,52 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Copyright (C) 2024-2025 Yuxi Yang <i@bgme.me>
include $(TOPDIR)/rules.mk
PKG_NAME:=fakehttp
PKG_UPSTREAM_NAME:=FakeHTTP
PKG_UPSTREAM_VERSION:=0.9.18
PKG_UPSTREAM_GITHASH:=
PKG_VERSION:=$(PKG_UPSTREAM_VERSION)$(if $(PKG_UPSTREAM_GITHASH),~$(call version_abbrev,$(PKG_UPSTREAM_GITHASH)))
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_UPSTREAM_NAME)-$(PKG_UPSTREAM_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
ifeq ($(PKG_UPSTREAM_GITHASH),)
PKG_SOURCE_URL:=https://codeload.github.com/MikeWang000000/FakeHTTP/tar.gz/refs/tags/$(PKG_UPSTREAM_VERSION)?
PKG_HASH:=c95c4d46e122390b0dcfd8509c708a6fc6817fb3e325cb966bf81a62bae973be
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
else
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/MikeWang000000/FakeHTTP.git
PKG_SOURCE_VERSION:=$(PKG_UPSTREAM_GITHASH)
PKG_MIRROR_HASH:=skip
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR)-$(PKG_SOURCE_VERSION).tar.gz
endif
PKG_MAINTAINER:=Yuxi Yang <i@bgme.me>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/fakehttp
SECTION:=net
CATEGORY:=Network
TITLE:=Obfuscate all your TCP connections into HTTP protocol
URL:=https://github.com/MikeWang000000/FakeHTTP
DEPENDS:=+libmnl +libnfnetlink +libnetfilter-queue +kmod-nft-queue +nftables
endef
define Package/fakehttp/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/build/fakehttp $(1)/usr/sbin/fakehttp
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View file

@ -4,5 +4,8 @@ cd "$(dirname "$0")"
git subtree pull --prefix=einat-ebpf --squash https://github.com/muink/openwrt-einat-ebpf.git master
git subtree pull --prefix=luci-app-einat --squash https://github.com/muink/luci-app-einat.git master
git subtree pull --prefix=smartdns --squash https://github.com/pymumu/openwrt-smartdns.git master
git subtree pull --prefix=luci-app-smartdns --squash https://github.com/pymumu/luci-app-smartdns.git master
git subtree pull --prefix=luci-app-smartdns --squash https://github.com/pymumu/luci-app-smartdns.git master
git subtree pull --prefix=fakehttp --squash https://github.com/yingziwu/openwrt-fakehttp.git main