mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 23:33:06 +01:00
dcwifi: Add Dual Channel Wi-Fi component packages
dcstad: Dual Channel Wi-Fi Station Daemon dcwapd: Dual Channel Wi-Fi Access Point Daemon libdcwproto: Dual Channel Wi-Fi Protocol Library libdcwsocket: Dual Channel Wi-Fi Socket Library macremapper: MAC Address Remapper Linux Kernel Module mrmctl: Userland tool to get/set remap rules Signed-off-by: Carey Sonsino <careys@edgewaterwireless.com> Signed-off-by: Carey Sonsino <csonsino@gmail.com> Much help from @neheb
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
#
|
||||
# Copyright (C) 2019 EWSI
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dcstad
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/ewsi/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=3b146ea22bc5480d8264c5ea269831d25993673aa90a9e82dc2dc601a111da55
|
||||
|
||||
PKG_MAINTAINER:=Carey Sonsino <careys@edgewaterwireless.com>
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/dcstad
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Routing and Redirection
|
||||
TITLE:=Dual-Channel WiFi client daemon
|
||||
URL:=https://www.edgewaterwireless.com
|
||||
DEPENDS:=+libdcwsocket +libdcwproto
|
||||
endef
|
||||
|
||||
define Package/dcstad/description
|
||||
Implementation of the Dual-Channel WiFi client daemon
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
|
||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
define Package/dcstad/install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dcstad $(1)/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,dcstad))
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -190,7 +190,7 @@ main( int argc, char *argv[] ) {
|
||||
rv = 1; /* failure unless proven otherwise */
|
||||
|
||||
/* first initialize and parse the command line */
|
||||
- bzero(&cfg, sizeof(cfg));
|
||||
+ memset(&cfg, 0, sizeof(cfg));
|
||||
parse_cmdline(&cfg, argc, argv);
|
||||
|
||||
dcwloginfof("%s\n", "DCW Station Daemon Starting Up...");
|
||||
Reference in New Issue
Block a user