|
@ -8,14 +8,13 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=obfs4proxy |
|
|
PKG_NAME:=obfs4proxy |
|
|
PKG_VERSION:=0.0.7 |
|
|
|
|
|
|
|
|
PKG_VERSION:=0.0.9 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git |
|
|
|
|
|
PKG_SOURCE_URL:=https://git.torproject.org/pluggable-transports/obfs4.git |
|
|
|
|
|
PKG_SOURCE_VERSION:=8256fac93c2cf79742725e3aaced5bbe3380fd32 |
|
|
|
|
|
PKG_SOURCE_DATE:=20161115 |
|
|
|
|
|
PKG_MIRROR_HASH:=9c504337f7a2b46310083224cf0998fc7645f8af5d50657cf74358d39916eddc |
|
|
|
|
|
|
|
|
PKG_SOURCE:=obfs4-$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
|
|
|
PKG_SOURCE_URL:=https://gitlab.com/yawning/obfs4/-/archive/$(PKG_NAME)-$(PKG_VERSION)/ |
|
|
|
|
|
PKG_HASH:=ab2608014fae15b4e0dad2f8128e81f912ab27277539004b759180c1fb5007dd |
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/obfs4-$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-2-Clause |
|
|
PKG_LICENSE:=BSD-2-Clause |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
@ -25,14 +24,14 @@ PKG_BUILD_DEPENDS:=golang/host |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_USE_MIPS16:=0 |
|
|
PKG_USE_MIPS16:=0 |
|
|
|
|
|
|
|
|
GO_PKG:=git.torproject.org/pluggable-transports/obfs4.git |
|
|
|
|
|
|
|
|
GO_PKG:=gitlab.com/yawning/obfs4.git |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include ../../lang/golang/golang-package.mk |
|
|
include ../../lang/golang/golang-package.mk |
|
|
|
|
|
|
|
|
define Package/obfs4proxy/Default |
|
|
define Package/obfs4proxy/Default |
|
|
TITLE:=A Tor pluggable transport proxy, implementing obfs4 |
|
|
TITLE:=A Tor pluggable transport proxy, implementing obfs4 |
|
|
URL:=https://gitweb.torproject.org/pluggable-transports/obfs4.git/ |
|
|
|
|
|
|
|
|
URL:=https://gitlab.com/yawning/obfs4 |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) |
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -42,7 +41,7 @@ $(call Package/obfs4proxy/Default) |
|
|
CATEGORY:=Network |
|
|
CATEGORY:=Network |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/golang-torproject-pluggable-transports-obfs4-dev |
|
|
|
|
|
|
|
|
define Package/golang-gitlab-yawning-obfs4-dev |
|
|
$(call Package/obfs4proxy/Default) |
|
|
$(call Package/obfs4proxy/Default) |
|
|
$(call GoPackage/GoSubMenu) |
|
|
$(call GoPackage/GoSubMenu) |
|
|
TITLE+= (source files) |
|
|
TITLE+= (source files) |
|
@ -76,7 +75,7 @@ This package contains both the client and the bridge in a single |
|
|
program. |
|
|
program. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/golang-torproject-pluggable-transports-obfs4-dev/description |
|
|
|
|
|
|
|
|
define Package/golang-gitlab-yawning-obfs4-dev/description |
|
|
$(call Package/obfs4proxy/Default/description) |
|
|
$(call Package/obfs4proxy/Default/description) |
|
|
|
|
|
|
|
|
This package provides the source files for the client/bridge program. |
|
|
This package provides the source files for the client/bridge program. |
|
@ -84,6 +83,5 @@ endef |
|
|
|
|
|
|
|
|
$(eval $(call GoBinPackage,obfs4proxy)) |
|
|
$(eval $(call GoBinPackage,obfs4proxy)) |
|
|
$(eval $(call BuildPackage,obfs4proxy)) |
|
|
$(eval $(call BuildPackage,obfs4proxy)) |
|
|
|
|
|
|
|
|
$(eval $(call GoSrcPackage,golang-torproject-pluggable-transports-obfs4-dev)) |
|
|
|
|
|
$(eval $(call BuildPackage,golang-torproject-pluggable-transports-obfs4-dev)) |
|
|
|
|
|
|
|
|
$(eval $(call GoSrcPackage,golang-gitlab-yawning-obfs4-dev)) |
|
|
|
|
|
$(eval $(call BuildPackage,golang-gitlab-yawning-obfs4-dev)) |