Permalink
Browse files

Merge pull request #7 from anyfi/master

Integration of Anyfi.net software.
  • Loading branch information...
carrierwrt committed Apr 17, 2014
2 parents c484b9c + 041d09c commit e3e3a4e7654ee7d020eee1cc5bfb7024f96301a5
View
@@ -80,6 +80,7 @@ endef
# Patch <config> <dir>
define Patch
$(call PatchOne,$(2)/base)
$(foreach package,$(notdir $(wildcard $(2)/*)),\
$(if $(findstring CONFIG_PACKAGE_$(package)=y,$(1)),\
$(call PatchOne,$(2)/$(package)))
@@ -28,12 +28,6 @@ define Target/ar71xx
ar71xx/openwrt-ar71xx-generic-all0315n-kernel.bin \
ar71xx/openwrt-ar71xx-generic-all0315n-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-all0315n-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-ap121-4M-kernel.bin \
ar71xx/openwrt-ar71xx-generic-ap121-4M-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-ap121-4M-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-ap121-mini-kernel.bin \
ar71xx/openwrt-ar71xx-generic-ap121-mini-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-ap121-mini-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-ap136-kernel.bin \
ar71xx/openwrt-ar71xx-generic-ap136-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-ap136-squashfs-sysupgrade.bin \
@@ -95,8 +89,6 @@ define Target/ar71xx
ar71xx/openwrt-ar71xx-generic-mzk-w04nu-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-mzk-w300nh-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-mzk-w300nh-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-nbg460n_550n_550nh-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-nbg460n_550n_550nh-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-nbg460n_550n_550nh-u-boot.bin \
ar71xx/openwrt-ar71xx-generic-om2p-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-pb42-kernel.bin \
@@ -105,9 +97,6 @@ define Target/ar71xx
ar71xx/openwrt-ar71xx-generic-pb44-kernel.bin \
ar71xx/openwrt-ar71xx-generic-pb44-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-pb44-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-pb92-kernel.bin \
ar71xx/openwrt-ar71xx-generic-pb92-rootfs-squashfs.bin \
ar71xx/openwrt-ar71xx-generic-pb92-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-rw2458n-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-rw2458n-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-tew-632brp-squashfs-factory.bin \
@@ -120,8 +109,6 @@ define Target/ar71xx
ar71xx/openwrt-ar71xx-generic-tew-673gru-squashfs-backup-loader.bin \
ar71xx/openwrt-ar71xx-generic-tew-673gru-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-tew-673gru-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-tew-712br-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-tew-712br-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-tl-mr11u-v1-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-tl-mr11u-v1-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin \
@@ -229,12 +216,6 @@ define Target/ar71xx
ar71xx/openwrt-ar71xx-generic-wndrmac-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-wndrmacv2-squashfs-factory.img \
ar71xx/openwrt-ar71xx-generic-wndrmacv2-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-wp543-squashfs-16M-factory.img \
ar71xx/openwrt-ar71xx-generic-wp543-squashfs-4M-factory.img \
ar71xx/openwrt-ar71xx-generic-wp543-squashfs-8M-factory.img \
ar71xx/openwrt-ar71xx-generic-wpe72-squashfs-16M-factory.img \
ar71xx/openwrt-ar71xx-generic-wpe72-squashfs-4M-factory.img \
ar71xx/openwrt-ar71xx-generic-wpe72-squashfs-8M-factory.img \
ar71xx/openwrt-ar71xx-generic-wrt160nl-squashfs-factory.bin \
ar71xx/openwrt-ar71xx-generic-wrt160nl-squashfs-sysupgrade.bin \
ar71xx/openwrt-ar71xx-generic-wrt400n-squashfs-factory.bin \
View
@@ -1,11 +1,11 @@
# OpenWrt SVN revision/branch/tag
CONFIG_OPENWRT_PATH = tags/attitude_adjustment_12.09
CONFIG_OPENWRT_REV = 36422
CONFIG_OPENWRT_PATH = branches/attitude_adjustment
CONFIG_OPENWRT_REV = 40431
# LuCI SVN revision/branch/tag
CONFIG_LUCI_PATH = branches/luci-0.11
CONFIG_LUCI_REV = 9672
CONFIG_LUCI_REV = 9964
# Base configuration
CONFIG =
View
@@ -0,0 +1,49 @@
include $(TOPDIR)/rules.mk
ANYFI_TARGET := $(ARCH)-linux-$(subst C,c,$(LIBC))-$(LIBCV)
PKG_NAME := anyfi-mac
PKG_VERSION := 1.3.4
PKG_RELEASE := 1
PKG_SOURCE := anyfimac-$(PKG_VERSION)-$(ANYFI_TARGET).tar.bz2
PKG_SOURCE_URL := http://anyfi.net/download
PKG_BUILD_DIR := $(BUILD_DIR)/anyfimac-$(PKG_VERSION)-$(ANYFI_TARGET)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION := net
CATEGORY := Network
TITLE := Anyfi.net - Free SDWN Data Plane for IEEE 802.11
URL := http://anyfi.net
DEPENDS := +kmod-tun +librt
MENU := 1
MAINTAINER := Anyfi Networks <eng@anyfinetworks.com>
endef
define Package/$(PKG_NAME)/description
Anyfi.net is a free Software-Defined Wirless Networking (SDWN)
forwarding data plane implementation for IEEE 802.11.
endef
define Build/Compile
@echo "Nothing to do - Anyfi.net software comes pre-built."
endef
define Package/$(PKG_NAME)/conffiles
/etc/config/anyfi
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/anyfimac $(1)/sbin
$(LN) anyfimac $(1)/sbin/anyfid
$(LN) anyfimac $(1)/sbin/myfid
$(INSTALL_DIR) $(1)/bin
$(LN) ../sbin/anyfimac $(1)/bin/anyfidctl
$(LN) ../sbin/anyfimac $(1)/bin/myfidctl
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
@@ -0,0 +1,6 @@
config anyfi controller
option 'hostname' 'demo.anyfi.net'
# option 'key' '/path/to/public_key.pem'
config anyfi optimizer
# option 'key' '/path/to/public_key.pem'
Oops, something went wrong.

0 comments on commit e3e3a4e

Please sign in to comment.