Files
packages/net/dawn/Makefile
T
David Woodhouse 04ce233b7a dawn: fix network packet format to be host-agnostic
I tried Dawn and it whined at me because it didn't understand its
own packets from a different-endian host.

Mon Jun  8 10:49:12 2020 daemon.err dawn[19742]: not complete msg, len:308, expected len:872480768
Mon Jun  8 10:49:12 2020 daemon.err dawn[19742]: not complete msg, len:708, expected len:3288465408

https://github.com/berlin-open-wireless-lab/DAWN/issues/92

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2020-06-08 12:29:11 +01:00

51 lines
1.3 KiB
Makefile

#
# This software is licensed under the Public Domain.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dawn
PKG_SOURCE_DATE:=2020-06-08
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
PKG_SOURCE_VERSION:=050c1d7fed624161d29b09f1b46708d342496012
PKG_MIRROR_HASH:=e831b2cf9db8827498a0d460004a9e1a512cd015f216c418008d0d29f1d2e145
PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/dawn
SECTION:=net
CATEGORY:=Network
TITLE:=Decentralized wifi controller
URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
DEPENDS:=$(DRV_DEPENDS) +libubus +libubox +libblobmsg-json +libuci +libgcrypt +libiwinfo +umdns
endef
define Package/dawn/description
This package implements a decentralized wireless daemon.
endef
define Package/dawn/conffiles
/etc/config/dawn
endef
define Package/dawn/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dawn $(1)/usr/sbin/dawn
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dawn.init $(1)/etc/init.d/dawn
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/dawn.config $(1)/etc/config/dawn
endef
$(eval $(call BuildPackage,dawn))