Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Commit

Permalink
c0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frainzy1477 committed Jun 30, 2019
1 parent 702993a commit 54ffdc6
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 26 deletions.
65 changes: 65 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=clash
PKG_VERSION:=0.15.0
PKG_RELEASE:=1
PKG_MAINTAINER:=frainzy1477

ifeq ($(ARCH),mipsel)
PKG_ARCH:=mipsle
endif
ifeq ($(ARCH),mips)
PKG_ARCH:=mips64
endif
ifeq ($(ARCH),i386)
PKG_ARCH:=386
endif
ifeq ($(ARCH),x86_64)
PKG_ARCH:=amd64
endif
ifeq ($(ARCH),arm)
PKG_ARCH:=armv6
ifneq ($(BOARD),bcm53xx)
PKG_ARCH:=armv7
endif
ifeq ($(BOARD),kirkwood)
PKG_ARCH:=armv5
endif
endif
ifeq ($(ARCH),aarch64)
PKG_ARCH:=armv8
endif

PKG_SOURCE:=clash-linux-$(PKG_ARCH)-v$(PKG_VERSION).gz
PKG_SOURCE_URL:=https://github.com/Dreamacro/clash/releases/download/v$(PKG_VERSION)/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_HASH:=skip

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
TITLE:=clash is a cross-platform proxy software
DEPENDS:=
URL:=https://github.com/Dreamacro/clash/releases
endef

define Package/$(PKG_NAME)/description
clash is a cross-platform proxy software
endef

define Build/Prepare
gzip -dc "$(DL_DIR)/$(PKG_SOURCE)" > $(PKG_BUILD_DIR)/clash-linux-$(PKG_ARCH)
endef

define Build/Compile
endef

define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/clash
$(INSTALL_BIN) $(PKG_BUILD_DIR)/clash-linux-$(PKG_ARCH) $(1)/etc/clash/clash
endef


$(eval $(call BuildPackage,$(PKG_NAME)))
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
<a target="_blank" href="https://github.com/frainzy1477/clash/releases/tag/c0.15.0">
<img src="https://img.shields.io/badge/Clash-v0.15.0-orange.svg">
</a>
<a target="_blank" href="https://github.com/frainzy1477/clash/releases/tag/v0.22.0">
<img src="https://img.shields.io/badge/luci%20for%20clash-v0.22.0-blue.svg">
</a>

</p>

## Usage

- Download and install clash ipk for openwrt [Download Clash ipk](https://github.com/frainzy1477/clash/releases/tag/c0.15.0) .

- Also Download and install luci for clash ipk [Download Luci for Clash ipk](https://github.com/frainzy1477/clash/releases/tag/v0.22.0)
- Also Download and install luci for clash ipk [Download Luci for Clash ipk](https://github.com/frainzy1477/luci-app-clash/releases/tag/v0.23.0)

## Features

Expand All @@ -34,31 +31,9 @@
- Support Shadowsocks-Obfs-plugin
- Support Custom Rule
- Support fake-ip
- IP Query / Website Access Check
- Proxy Lan IP(Client IP) that go through Proxy
- Bypass Lan IP(Client IP) that can't go through Proxy
- DNS Forwarding

## Dependency

- clash
- wget
- bash
- coreutils-nohup

## Clash on Other Platforms

- [Clash for Windows](https://github.com/Fndroid/clash_for_windows_pkg/releases) : A Windows GUI based on Clash
- [clashX](https://github.com/yichengchen/clashX) : A rule based custom proxy with GUI for Mac base on clash
- [ClashA](https://github.com/ccg2018/ClashA/tree/master) : An Android GUI for Clash
- [KoolClash OpenWrt/LEDE](https://github.com/SukkaW/Koolshare-Clash/tree/master) : A rule based custom proxy for Koolshare OpenWrt/LEDE based on Clash.

## License

Clash for OpenWrt is released under the MIT License - see detailed [LICENSE](https://github.com/frainzy1477/clash/blob/rm/LICENSE) .

IP Query / Website Access Check based on knowledge from [MyIP](https://github.com/SukkaW/MyIP)

[Clash Dashboard](https://github.com/Dreamacro/clash-dashboard)

[Yet Another Clash Dashboard](https://github.com/haishanh/yacd)

0 comments on commit 54ffdc6

Please sign in to comment.