netifyd: Updated to v4.2.0.
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
This commit is contained in:
parent
c7334faaaa
commit
74ea2bdb80
2 changed files with 15 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2016-2021 eGloo, Incorporated
|
||||
# Copyright (C) 2016-2022 eGloo Incorporated
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
|
||||
|
@ -16,10 +16,10 @@ PKG_INSTALL:=1
|
|||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gitlab.com/netify.ai/public/netify-agent.git
|
||||
PKG_SOURCE_DATE:=2021-11-17
|
||||
PKG_SOURCE_VERSION:=v3.09
|
||||
#PKG_SOURCE_VERSION:=358ec2b0ac321e0608e78c75f6b7434ed1aec326
|
||||
PKG_MIRROR_HASH:=660079a75a17a07c638b25dab0ecc972c02fec2124930068bfcf15d28abf4121
|
||||
PKG_SOURCE_DATE:=2022-07-04
|
||||
PKG_SOURCE_VERSION:=v4.2.0
|
||||
#PKG_SOURCE_VERSION:=e3dc824d8f49ddc49a2b392b4960def267a01ba8
|
||||
PKG_MIRROR_HASH:=53b98bbc1c9442952c2cd3118de30100da9a366116ad253d14ba990671926a35
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -49,6 +49,7 @@ define Package/netifyd/conffiles
|
|||
/etc/netify.d/agent.uuid
|
||||
/etc/netify.d/serial.uuid
|
||||
/etc/netify.d/site.uuid
|
||||
/etc/netify.d/netify-categories.json
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS+=-ffunction-sections -fdata-sections -Wno-psabi
|
||||
|
@ -59,6 +60,7 @@ CONFIGURE_ARGS+= \
|
|||
--sharedstatedir=/var/run \
|
||||
--enable-lean-and-mean \
|
||||
--disable-libtcmalloc \
|
||||
--disable-jemalloc \
|
||||
--without-systemdsystemunitdir \
|
||||
--without-tmpfilesdir
|
||||
|
||||
|
@ -84,13 +86,12 @@ define Build/InstallDev
|
|||
$(CP) $(PKG_INSTALL_DIR)/usr/include/netifyd/pcap-compat/*.h $(1)/usr/include/netifyd/pcap-compat
|
||||
$(INSTALL_DIR) $(1)/usr/include/netifyd/nlohmann
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/netifyd/nlohmann/*.hpp $(1)/usr/include/netifyd/nlohmann
|
||||
$(INSTALL_DIR) $(1)/usr/include/libndpi-2.9.0
|
||||
$(INSTALL_DIR) $(1)/usr/include/libndpi-2.9.0/libndpi
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libndpi-2.9.0/libndpi/*.h $(1)/usr/include/libndpi-2.9.0/libndpi
|
||||
$(INSTALL_DIR) $(1)/usr/include/ndpi
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ndpi/*.h $(1)/usr/include/ndpi
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetifyd.{a,so*} $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetifyd.{a,so*} $(1)/usr/lib
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetifyd.pc $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnetifyd.pc $(1)/usr/lib/pkgconfig
|
||||
endef
|
||||
|
||||
define Package/netifyd/install
|
||||
|
@ -103,9 +104,10 @@ define Package/netifyd/install
|
|||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netifyd $(1)/usr/sbin
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetifyd.so.* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetifyd.so.* $(1)/usr/lib
|
||||
$(INSTALL_DIR) $(1)/etc/netify.d
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/deploy/netify-sink.conf $(1)/etc/netify.d/netify-sink.conf
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/deploy/netify-apps.conf $(1)/etc/netify.d
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/deploy/netify-categories.json $(1)/etc/netify.d
|
||||
$(INSTALL_DIR) $(1)/usr/share/netifyd
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/deploy/functions.sh $(1)/usr/share/netifyd
|
||||
endef
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
#
|
||||
# Copyright (C) 2016-2021 eGloo, Incorporated
|
||||
# Copyright (C) 2016-2022 eGloo Incorporated
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
|
||||
|
|
Loading…
Reference in a new issue