Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kcptun更新到20210922 #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=kcptun
PKG_VERSION:=20210103
PKG_VERSION:=20210922
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=0821b61b92041b764a1d621f750c1c693d913eed43051d3c109bd303d8f02472
PKG_HASH:=f6a08f0fe75fa85d15f9c0c28182c69a5ad909229b4c230a8cbe38f91ba2d038

PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.md
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Kcptun Client/Server for OpenWrt

OpenWrt/LEDE 上可用的 Kcptun 客户端/服务端

[![Release Version](https://img.shields.io/github/release/kuoruan/openwrt-kcptun.svg)](https://github.com/kuoruan/openwrt-kcptun/releases/latest) [![Latest Release Download](https://img.shields.io/github/downloads/kuoruan/openwrt-kcptun/total.svg)](https://github.com/kuoruan/openwrt-kcptun/releases/latest)
[![Release Version](https://img.shields.io/github/release/nautiluschan/openwrt-kcptun.svg)](https://github.com/nautiluschan/openwrt-kcptun/releases/latest) [![Latest Release Download](https://img.shields.io/github/downloads/nautiluschan/openwrt-kcptun/total.svg)](https://github.com/nautiluschan/openwrt-kcptun/releases/latest)

## 安装说明

1. 到 [release](https://github.com/kuoruan/openwrt-kcptun/releases) 页面下载最新版的```kcptun-client``` 或 ```kcptun-server```(注:请根据你的路由器架构下载对应版本)
1. 到 [release](https://github.com/nautiluschan/openwrt-kcptun/releases) 页面下载最新版的```kcptun-client``` 或 ```kcptun-server```(注:请根据你的路由器架构下载对应版本)

2. 将文件上传到你的路由器上,进行安装

Expand Down Expand Up @@ -46,7 +46,14 @@ git clone https://github.com/kuoruan/openwrt-kcptun.git package/kcptun
```sh
./scripts/feeds update -a
./scripts/feeds install -a

```
由于openwrt官方仓库中有kcptun-client和kcptun-server,会导致本项目不可见。建议用 package/kcptun 替换/feeds/packages/net/kcptun
```sh
rm -rf ./feeds/packages/net/kcptun
cp -r ./package/kcptun ./feeds/packages/net/
```
替换后再选择编译
```sh
make menuconfig

Network ---> Web Servers/Proxies ---> <*> kcptun-client
Expand Down