Skip to content

Commit

Permalink
Update openwrt package
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed Oct 9, 2024
1 parent 3a05304 commit 3c38dbf
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions openwrt/net/wfb-ng/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=wfb-ng
PKG_VERSION:=24.9.6
PKG_VERSION:=24.9.7
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/svpcom/wfb-ng.git
PKG_SOURCE_VERSION:=126e4be76e25bce9ed8a6ac65c499bf975fb11e9
PKG_SOURCE_VERSION:=3a053040442174e6c1ce76866c6da4b12c19dbb4
#PKG_MIRROR_HASH:=afa8bd06d3119e3fa8edc10d4a205e8b9ad21d0157e151aecba4dc24329a0d76

PKG_LICENSE:=GPL-3.0-only
Expand All @@ -25,7 +25,7 @@ define Package/wfb-ng
SUBMENU:=Wireless
TITLE:=Long-range packet radio link using raw WiFi
URL:=https://github.com/svpcom/wfb-ng
DEPENDS:=+libpcap +libsodium +libstdcpp
DEPENDS:=+libpcap +libsodium +libstdcpp +libevent2-core
endef

define Package/wfb-ng/description
Expand All @@ -38,6 +38,12 @@ define Package/wfb-ng/conffiles
/usr/sbin/wfb-ng.sh
endef

define Package/wfb-ng-tun
$(call Package/wfb-ng)
TITLE:=Long-range packet radio link using raw WiFi (tunnel)
DEPENDS:=+libevent2-core +kmod-tun
endef

define Package/wfb-ng/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wfb_rx $(1)/usr/bin/
Expand All @@ -46,4 +52,10 @@ define Package/wfb-ng/install
$(INSTALL_BIN) ./files/wfb-ng.init $(1)/etc/init.d/wfb-ng
endef

define Package/wfb-ng-tun/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wfb_tun $(1)/usr/bin/
endef

$(eval $(call BuildPackage,wfb-ng))
$(eval $(call BuildPackage,wfb-ng-tun))

0 comments on commit 3c38dbf

Please sign in to comment.