Compare commits

...

17 Commits

Author SHA1 Message Date
sahbot
d4aa5958f0 [CI] Update changelog for release master_v0.10.4
GitOrigin-RevId: 4de2510ae0e15b4c7365511bd5fe733750100693
2022-08-09 10:52:02 +00:00
sahbot
1be2d7c0db Integrating gmap-mod-ethernet-dev to master_v1.0.2
Issue: NET-3840 Link dev<->port dynamically when all info is available
GitOrigin-RevId: c549d98779a6b1b81ebdd525f8f16439eabe2ce3
2022-08-09 10:51:59 +00:00
sahbot
d7bfe9ee00 [CI] Update changelog for release master_v0.10.3
GitOrigin-RevId: b7c1f796d9178d73263a9d7538ec66d1a11a250d
2022-08-08 16:23:54 +00:00
sahbot
dc21889b44 Integrating gmap-server to master_v1.0.4
Issue: NET-3708 Implement using UUIDs for device keys
Issue: NET-3715 [prpl][gMap] gMap queries must be evaluated in the gMap server(not the lib)
GitOrigin-RevId: 05daee3a292c73fd7623a42ad8ffd5334b944f1f
2022-08-08 16:23:51 +00:00
sahbot
2d5d3d3f5e Integrating libgmap-client to master_v0.4.1
Issue: NET-3715 [prpl][gMap] gMap queries must be evaluated in the gMap server(not the lib)
GitOrigin-RevId: d6de2a6649a5fb6ec1b70e625557e5b8756ced96
2022-08-08 16:23:47 +00:00
sahbot
c2946febb4 [CI] Update changelog for release master_v0.10.2
GitOrigin-RevId: 21dbb48fe33a886479c0f2662d6834fba0d5f7a5
2022-08-04 09:21:40 +00:00
sahbot
5a65cdf7f4 Integrating gmap-mod-ethernet-dev to master_v1.0.1
Issue: NET-3708 LAN Device must have a uuid as unique (instance)key
GitOrigin-RevId: fde8ae20fa184ecf79c5c70b4c42c4020b53cbc3
2022-08-04 09:21:38 +00:00
sahbot
f999d27af4 Integrating libgmap-client to master_v0.4.0
Issue: NET-3708 LAN Device must have a uuid as unique (instance)key
GitOrigin-RevId: e7c23d711a8dcb2ca357af9e5f0e44d038904cc3
2022-08-04 09:21:36 +00:00
sahbot
14a3f7c807 [CI] Update changelog for release master_v0.10.1
GitOrigin-RevId: bf36d358922fa87f3d74497ed71f3b6f489eeee6
2022-07-29 09:24:20 +00:00
sahbot
ba08b5b3ea Integrating gmap-server to master_v1.0.1
Issue: NET-3708 test mib loading + move testhelper functions to correct test file
GitOrigin-RevId: 55038584e4939c1887ffd11624437a41f271a8f6
2022-07-28 13:15:18 +00:00
sahbot
dd78e96a15 [CI] Update changelog for release master_v0.10.0
GitOrigin-RevId: e38eb2fc79fb9d0411a5811829c3595b0d2ecd8f
2022-07-27 09:41:18 +00:00
Matthias FRANCK
243cd73f49 Add gmap-client
GitOrigin-RevId: 8cee177c8b114ac6cf282771f72732bf9d66c392
2022-07-27 09:38:47 +00:00
sahbot
79822389ed Integrating gmap-mod-name-selector to master_v1.0.0
Issue: NET-3709 [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
GitOrigin-RevId: 18ed457323dcb053fd9b46852365bdccdb2c6ebc
2022-07-26 16:54:23 +00:00
sahbot
78eb8c3580 Integrating gmap-server to master_v1.0.0
Issue: NET-3709 [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
GitOrigin-RevId: e2744f143499c4b6461cf53beaa36957500502da
2022-07-26 14:37:19 +00:00
sahbot
095c9efc8b Integrating gmap-mod-self to master_v1.0.0
Issue: NET-3709 [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
GitOrigin-RevId: 15b7439779deac9e5950130131afa2ea1112c9db
2022-07-26 12:04:22 +00:00
sahbot
eadbbd293c Integrating gmap-mod-ethernet-dev to master_v1.0.0
Issue: NET-3709 [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
GitOrigin-RevId: 170b8fd95bb00bc594b86ae890b122ff23532cfa
2022-07-26 10:27:25 +00:00
sahbot
40ca080fdc Integrating gmap-mod-ethernet-dev to master_v0.1.4
Issue: HOP-379 [Gitlab CI][Unit tests][valgrind] Pipeline doesn't stop when memory leaks are detected [other]
GitOrigin-RevId: 6ec2c3b03ee06983aba9992ca190327c6c854f35
2022-07-15 07:25:59 +00:00
9 changed files with 177 additions and 25 deletions

View File

@@ -8,6 +8,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## Release v0.10.4 - 2022-08-09(10:47:53 +0000)
### Other
- [gmap-mod-ethernet-dev](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev): Link dev<->port dynamically when all info is available
## Release v0.10.3 - 2022-08-08(16:23:26 +0000)
### Other
- [gmap-server](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server): Implement using UUIDs for device keys
- [gmap-server](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server): [prpl][gMap] gMap queries must be evaluated in the gMap server(not the lib)
- [gmap-server](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server): [CI] Fix missing dependencies on uuid
- [libgmap-client](https://gitlab.com/prpl-foundation/components/gmap/libraries/libgmap-client): [prpl][gMap] gMap queries must be evaluated in the gMap server(not the lib)
## Release v0.10.2 - 2022-08-04(09:20:50 +0000)
### Other
- [gmap-mod-ethernet-dev](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev): LAN Device must have a uuid as unique (instance)key
- [libgmap-client](https://gitlab.com/prpl-foundation/components/gmap/libraries/libgmap-client): LAN Device must have a uuid as unique (instance)key
## Release v0.10.1 - 2022-07-29(09:23:27 +0000)
### Other
- [gmap-server](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server): test mib loading + move testhelper functions to correct test file
## Release v0.10.0 - 2022-07-27(09:40:31 +0000)
### New
- [gmap-client](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-client): Component added
### Other
- [gmap-mod-ethernet-dev](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev): [Gitlab CI][Unit tests][valgrind] Pipeline doesn't stop when memory leaks are detected
- [gmap-mod-ethernet-dev](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev): [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
- [gmap-mod-name-selector](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-name-selector): [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
- [gmap-mod-self](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-self): [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
- [gmap-server](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server): [prpl][gMap] gMap needs to be split in a gMap-core and gMap-client process
## Release v0.9.2 - 2022-07-14(12:54:08 +0000)
### Other

View File

@@ -6,6 +6,10 @@ SoftAtHome feed of Openwrt packages for gMap components.
Feed_gmap includes the following components:
### Plugins
- [gmap-client](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-client) - gMap client plugin
### Applications
- [gmap-mod-ethernet-dev](https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev) - gMap component that adds discovered devices to the gmap datamodel and links them to the correct interface

View File

@@ -0,0 +1,24 @@
config PACKAGE_gmap-client
tristate
select SAH_AMX_GMAP_CLIENT
if PACKAGE_gmap-client
menu "Select gmap-client build options"
depends on PACKAGE_gmap-client
config SAH_AMX_GMAP_CLIENT
bool "Build the gMap client plugin"
default y
config SAH_AMX_GMAP_CLIENT_ORDER
int "gMap client plugin startup order"
default 50
config SAH_AMX_GMAP_CLIENT_ONE_PROCESS
bool "All gMap client modules run in same process"
default y
endmenu
endif

71
apps/gmap-client/Makefile Normal file
View File

@@ -0,0 +1,71 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmap-client
PKG_VERSION:=v1.0.1
SHORT_DESCRIPTION:=gMap client plugin
PKG_SOURCE:=gmap-client-v1.0.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-client/-/archive/v1.0.1
PKG_HASH:=607fe1f75e6db7c60d95236a5d845226f0710c846006f62608bcb0cba64f2927
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-client-v1.0.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
COMPONENT:=gmap-client
PKG_RELEASE:=1
define SAHInit/Install
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/S$(CONFIG_SAH_AMX_GMAP_CLIENT_ORDER)$(COMPONENT)
endef
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=gmap
SUBMENU:=Plugins
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-client
DEPENDS += +libamxc
DEPENDS += +libamxp
DEPENDS += +libamxd
DEPENDS += +libamxb
DEPENDS += +libamxo
DEPENDS += +libsahtrace
DEPENDS += +amxrt
DEPENDS += +gmap-server
MENU:=1
endef
define Package/$(PKG_NAME)/description
gMap client plugin
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMX_GMAP_CLIENT_ORDER=$(CONFIG_SAH_AMX_GMAP_CLIENT_ORDER) CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS=$(CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMX_GMAP_CLIENT_ORDER=$(CONFIG_SAH_AMX_GMAP_CLIENT_ORDER) CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS=$(CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS))
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
$(call SAHInit/Install)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMX_GMAP_CLIENT_ORDER=$(CONFIG_SAH_AMX_GMAP_CLIENT_ORDER) CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS=$(CONFIG_SAH_AMX_GMAP_CLIENT_ONE_PROCESS))
endef
define Package/$(PKG_NAME)/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
define Package/$(PKG_NAME)/config
source "$(SOURCE)/Config.in"
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmap-mod-ethernet-dev
PKG_VERSION:=v0.1.3
PKG_VERSION:=v1.0.2
SHORT_DESCRIPTION:=gMap component that adds discovered devices to the gmap datamodel and links them to the correct interface
PKG_SOURCE:=gmap-mod-ethernet-dev-v0.1.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev/-/archive/v0.1.3
PKG_HASH:=28810088a51abb5cf99b5b3423a5b1699e705f09d7fae544a3a749598e61c1c4
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-ethernet-dev-v0.1.3
PKG_SOURCE:=gmap-mod-ethernet-dev-v1.0.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-ethernet-dev/-/archive/v1.0.2
PKG_HASH:=3f5641565b72faaf2e0cb4ee428263a0af80569d7c602c29f7b660c4cf32ee4c
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-ethernet-dev-v1.0.2
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -53,6 +53,9 @@ define Build/InstallDev
endef
define Package/$(PKG_NAME)/install
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmap-mod-name-selector
PKG_VERSION:=v0.1.3
PKG_VERSION:=v1.0.0
SHORT_DESCRIPTION:=Name selection module for gmap
PKG_SOURCE:=gmap-mod-name-selector-v0.1.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-name-selector/-/archive/v0.1.3
PKG_HASH:=847e280022800a2accca983937ef88c2c255448daa6e7c1838200e0a14a28213
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-name-selector-v0.1.3
PKG_SOURCE:=gmap-mod-name-selector-v1.0.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-name-selector/-/archive/v1.0.0
PKG_HASH:=c7d1df3ba0960cf458bfa97272ec40e6ca2bf6f5c82e3eabeb2f9ad9173ba8bf
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-name-selector-v1.0.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmap-mod-self
PKG_VERSION:=v0.0.17
PKG_VERSION:=v1.0.0
SHORT_DESCRIPTION:=gmap module to fetch information about the hgw/repeater itself and the layer 2 'devices' on it
PKG_SOURCE:=gmap-mod-self-v0.0.17.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-self/-/archive/v0.0.17
PKG_HASH:=88f4b71c01f547fc0387a1e529aae4c34f3d5b6c4c03b58e33e2ac92ee5b4a80
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-self-v0.0.17
PKG_SOURCE:=gmap-mod-self-v1.0.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-mod-self/-/archive/v1.0.0
PKG_HASH:=27d93c368997b9183e7957fb9ddd806ca1d90a3d3a4fba551d3d78b0e2b4c112
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-mod-self-v1.0.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmap-server
PKG_VERSION:=v0.3.1
PKG_VERSION:=v1.0.4
SHORT_DESCRIPTION:=Service implementing the gmap data model
PKG_SOURCE:=gmap-server-v0.3.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server/-/archive/v0.3.1
PKG_HASH:=ca6b60df08a8daff2ed88c7aebebcbc9fb102333d1ca7d293a7e588c7ec10c75
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-server-v0.3.1
PKG_SOURCE:=gmap-server-v1.0.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/applications/gmap-server/-/archive/v1.0.4
PKG_HASH:=5d2021136f28ab3c3c81d240adabb83728cfd507c641cdea30602a0371f346ba
PKG_BUILD_DIR:=$(BUILD_DIR)/gmap-server-v1.0.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,6 +15,7 @@ PKG_LICENSE_FILES:=LICENSE
COMPONENT:=gmap-server
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += util-linux
define SAHInit/Install
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
@@ -44,6 +45,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxo
DEPENDS += +libgmap-client
DEPENDS += +libsahtrace
DEPENDS += +libuuid
MENU:=1
endef
@@ -70,6 +72,9 @@ define Build/InstallDev
endef
define Package/$(PKG_NAME)/install
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libgmap-client
PKG_VERSION:=v0.3.2
PKG_VERSION:=v0.4.1
SHORT_DESCRIPTION:=Client library for gmap modules
PKG_SOURCE:=libgmap-client-v0.3.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/libraries/libgmap-client/-/archive/v0.3.2
PKG_HASH:=40355a2e03ddd9f1be7e3a241ccb3f995746c8b6f07d4cfd8c3ebb17d6169399
PKG_BUILD_DIR:=$(BUILD_DIR)/libgmap-client-v0.3.2
PKG_SOURCE:=libgmap-client-v0.4.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/gmap/libraries/libgmap-client/-/archive/v0.4.1
PKG_HASH:=9a480ca0a6da4101d307463c23f50df68a9c9ddf54f17e62760294fac9e42bfc
PKG_BUILD_DIR:=$(BUILD_DIR)/libgmap-client-v0.4.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -49,6 +49,9 @@ define Build/InstallDev
endef
define Package/$(PKG_NAME)/install
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef