Compare commits

...

151 Commits

Author SHA1 Message Date
Nusya Pankratov
6a3871c3c3 libs/yajl-host Add yajl package with build and installation rules
Add support for the yajl package, a small event-driven JSON parser and generator written in ANSI C.
Define the package with build and installation rules, using CMake for the configuration.
Include both the library and its installation steps.
The package is released under the ISC license and provides a lightweight JSON solution.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 22:03:30 +02:00
Nusya Pankratov
5b30627ff7 libs/libcap-ng-host/Makefile Add libcap-ng package with build and installation rules
Add support for the libcap-ng package, a POSIX capabilities library.
Define both libcap-ng and libcap-ng-bin packages, including installation and build rules.
Add necessary configurations for host and target environments, including LTO and autoreconf fixup.
The binary package contains utilities related to libcap-ng.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:58:57 +02:00
Nusya Pankratov
ddb2b37161 apps/amxo-xml-to Add amxo-xml-to package with build and installation rules
Add amxo-xml-to package to the build system.
Define package properties including version, description, and dependencies.
Configure host build dependencies (libamxc/host, libamxj/host, libxslt/host).
Include build and install rules for both host and target environments.
Configure package installation steps and clean up unnecessary files during installation.
Enable host build and package creation.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:53:28 +02:00
Nusya Pankratov
90e4bb93a9 libs/uriparser/Makefile Update amxo-cg Makefile for host build configuration
Update amxo-cg Makefile to include host-build.mk for host build configuration.
Disable unnecessary URIPARSER options (BUILD_DOCS, BUILD_TESTS, BUILD_TOOLS) in CMake.
Enable host build using HostBuild

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:15:42 +02:00
Nusya Pankratov
2463226fe9 libs/libamxs/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:12:21 +02:00
Nusya Pankratov
8614ddcfe6 libs/libamxp/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:10:42 +02:00
Nusya Pankratov
994c7f2e31 libs/libamxo/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:09:39 +02:00
Nusya Pankratov
1654d3c309 libs/libamxj/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:07:50 +02:00
Nusya Pankratov
51ab7d8fed libs/libamxb/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:06:31 +02:00
Nusya Pankratov
29e4280469 libs/libamxc/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:05:01 +02:00
Nusya Pankratov
e1b61b4839 libs/libamxb/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 21:02:27 +02:00
Nusya Pankratov
5fec98b341 amxo-cg/Makefile Add host build depends, flags, define Host/Install
Add host build dependencies and flags to amxo-cg Makefile.
Include necessary libraries (libamxc/host, libamxj/host, libamxp/host, libamxd/host, libamxo/host, libxml2/host, yajl-host/host).
Add Host/Install definition for proper installation paths and flags.
Enable host build using host-build.mk.

Closes: PCI-46
Signed-off-by: Nusya Pankratov <n.pankratov@inango-systems.com>
2025-02-25 20:50:08 +02:00
sahbot
2d3b3a00c1 Integrating libamxd to master_v6.7.0
Issue: HOP-8179 Improve data model mamagement functions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 2b42b0c07c1adce9a09523d196a32265356a8858
2024-12-12 16:09:59 +00:00
sahbot
f80f701d0c Integrating libamxp to master_v2.6.3
Issue: HOP-8166 Reduce usage of appendf in expression parser

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f97e4065e19cc44ae95fad1fb03694f5732a92dd
2024-12-12 16:09:59 +00:00
sahbot
b6ea6947f2 Integrating amxo-cg to master_v1.6.3
Issue: HOP-8155 [amxo-cg] not compiling with gcc13.3.0

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: e77c6365450cf0288baeb0595d8cbfbd0b4cc3e8
2024-12-12 16:09:59 +00:00
sahbot
64c31e101f Integrating libamxc to master_v2.3.1
Issue: HOP-8057 Provide integer -> string conversion functions
Issue: HOP-8136 [Amxc] Enable comparison of null variants

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 4917fb5d30c5057e474ed0220aa77519ef1501da
2024-12-10 06:35:36 +00:00
sahbot
b578f3728c Integrating libamxc to master_v2.3.0
Issue: HOP-8057 Provide integer -> string conversion functions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 0151937c5ab986fb7b65986ed4b3985f6b50dda3
2024-12-10 06:35:36 +00:00
sahbot
46c39c956a Integrating libamxp to master_v2.6.2
Issue: HOP-8130 [libamxp]Memory leak can occur when signal can not be emitted
Issue: NET-6400 [AMX] Slots callback functions are called multiple times

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9d1f4b84b7ffd2912202050daef6d521b41410f6
2024-12-10 06:35:36 +00:00
sahbot
5a74bf00b7 Integrating amxrt to master_v2.2.4
Issue: HGWPR-32571 option p busybox not available

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 7e240cf097bc725d015752ad2221751a6ca346fb
2024-12-10 06:35:36 +00:00
sahbot
4cee1249e4 Integrating mod-amxb-ubus to master_v3.8.1
Issue: HOP-8082 [ubusd] handle large messages: rework logs for fragmented messages

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 8dc3ec425ab3c9e315fc7e95c24ba218374ab55f
2024-12-10 06:35:35 +00:00
sahbot
a717a66fca Integrating libamxp to master_v2.6.1
Issue: NET-6400 [AMX] Slots callback functions are called multiple times

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d125f27086dd61a341cbd8a9f5db3f64437e38c5
2024-12-10 06:35:35 +00:00
sahbot
ea7ae177eb Integrating mod-amxb-ubus to master_v3.8.0
Issue: HOP-8050 [ubusd] handle large messages - part 2: Fragment messages
Issue: HOP-8094 Too many or wrong events are send over bus systems

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 661308edc0814ebc6da85c1c8fcb6696f13c5d48
2024-12-05 10:26:46 +00:00
sahbot
81850cbb18 Integrating mod-amxb-pcb to master_v3.16.0
Issue: HOP-8094 Too many or wrong events are send over bus systems

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: bfad57541d46e750337ebe631ea487da4518df7a
2024-12-05 10:26:46 +00:00
sahbot
bac345d6aa Integrating amx-cli to master_v0.5.2
Issue: HOP-8084 [amx-cli] missing include for basename

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 011abb495a69469f8e2e63b2f6bfa8bb97527c6d
2024-12-05 10:26:46 +00:00
sahbot
fc8ac01dd9 Integrating mod-amxb-ubus to master_v3.7.1
Issue: HOP-8050 [ubusd] handle large messages - part 2: Fragment messages

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 29f42f544ad267b492e2815d7dc86bd5f4b644d8
2024-12-05 10:26:46 +00:00
sahbot
97fd1157f2 Integrating mod-amxb-ubus to master_v3.7.0
Issue: HOP-7964 Improve event filtering in bus backends
Issue: HOP-8004 Optimize logging
Issue: HOP-8041 Re-assemble fragmented messages

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: fc9486c0a8a00175bbdd17ecb36232a4438f9c7f
2024-11-28 09:07:04 +00:00
sahbot
99955f8a6a Integrating mod-amxb-pcb to master_v3.15.0
Issue: HOP-7964 Improve event filtering in bus backends
Issue: HOP-8004 Optimize logging

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 27f4b3d5354c9e3154a01f45a9ca8660888a76ac
2024-11-28 09:07:04 +00:00
sahbot
090c7cd1b7 Integrating mod-amxb-ubus to master_v3.6.0
Issue: HOP-7964 Improve event filtering in bus backends
Issue: HOP-8004 Optimize logging

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 0bf5f52005fd4187c27af173919ac1c8dd10ed94
2024-11-28 09:07:04 +00:00
sahbot
bd85a004fd Integrating libamxp to master_v2.6.0
Issue: HOP-8003 [FSAM][Container] MQTT Events not dispatched on Device.MQTT.Client.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 43d7ef9cc5c9e2245aab8ec2333e159f402c4b48
2024-11-28 09:07:04 +00:00
sahbot
7b17cce0dd Integrating libamxc to master_v2.2.2
Issue: HOP-7976 amxc_set improvements

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a0350276121020ff358c6ce7ec9253121c785192
2024-11-28 09:07:04 +00:00
sahbot
8036713404 Integrating libamxb to master_v4.11.7
Issue: HOP-7943 Failed to load amx pcb backend in amxdev docker

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 8085b2224e1722a0d53aaab4ade993a28488ab7d
2024-11-28 09:07:04 +00:00
sahbot
d08123ddb7 Integrating mod-amxb-pcb to master_v3.14.5
Issue: HOP-7964 Improve event filtering in bus backends

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d93abd6ea7866792613adcc8b7613e19fac74148
2024-11-28 09:07:04 +00:00
sahbot
cfebd90e76 Integrating mod-amxb-ubus to master_v3.5.3
Issue: HOP-7964 Improve event filtering in bus backends

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 037b924bb28cbfca63a70cf3b5d52ce817e44ade
2024-11-28 09:07:04 +00:00
sahbot
46096bfa56 Integrating amxrt to master_v2.2.3
Issue: HOP-7910 [device] remove the debug information for the whole DM [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: c4ef0612f18277784b33a9b43403fbac12b9659e
2024-11-28 09:07:04 +00:00
sahbot
ddc5cadefe Integrating libamxd to master_v6.6.2
Issue: HOP-7728 [LCM] The first DU instance gets renamed (but not in dm)
Issue: HOP-7820 Optimizations in ambiorix libraries

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 12278f0689b3b1791626960a4b888819c5fc25e6
2024-11-06 11:03:59 +00:00
sahbot
3ac330cf2d Integrating mod-amxb-ubus to master_v3.5.2
Issue: HOP-7820 Optimizations in ambiorix libraries

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 6b77bb07ccbac3eeb17fd0a6986c561a084ab31d
2024-11-06 11:03:59 +00:00
sahbot
c72c726091 Integrating libamxp to master_v2.5.0
Issue: HOP-7820 Optimizations in ambiorix libraries

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f1353fe155c25f1662085d0173a0bfae886db328
2024-11-06 11:03:59 +00:00
sahbot
891f8188bb Integrating mod-amxb-pcb to master_v3.14.4
Issue: HOP-7747 wld crash

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5173c1c401155d9e6adfc00f38aedf7ef72a1fe6
2024-11-06 11:03:59 +00:00
sahbot
6606b3d45f Integrating libamxc to master_v2.2.1
Issue: HOP-7820 Optimizations in ambiorix libraries

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 33563f268eb960444e839fdea5863579195ffc5d
2024-11-06 11:03:59 +00:00
sahbot
f2e514f3d9 Integrating libamxd to master_v6.6.1
Issue: HOP-7728 [LCM] The first DU instance gets renamed (but not in dm)

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 63065cb58f4061c4e9e11f7483d044981c833075
2024-11-06 11:03:59 +00:00
sahbot
5128851c9c Integrating libamxrt to master_v0.6.5
Issue: NET-6219 [amx][regression] gmap-mod-ethernet-dev can't find DHCPv4Server.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9a496e70df89e7b9ea4950a71277ddc7b5486cd7
2024-11-06 11:03:59 +00:00
sahbot
039dba3351 Integrating amxo-cg to master_v1.6.2
Issue: HOP-7218 Clarification: AMX non function key behaviour while doing GSDM.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 6889f6073bd66f1d46216410dfb3006b9488a6e4
2024-10-21 06:52:55 +00:00
sahbot
87148cca62 Integrating libamxs to master_v0.8.1
Issue: DUMMY-0000 - No associated bugs found

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 1d79c5b18b5fe2cd22b58e1312c423f713c59c05
2024-10-21 06:52:55 +00:00
sahbot
bf2240c54b Integrating mod-ba-cli to master_v0.14.0
Issue: HOP-7218 Clarification: AMX non function key behaviour while doing GSDM.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 04ce10d90973a8527100ad566dac228a60728d9a
2024-10-21 06:52:55 +00:00
sahbot
9335759cf2 Integrating libamxo to master_v5.2.0
Issue: HOP-7218 Clarification: AMX non function key behaviour while doing GSDM.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5ade394bf8f91fbcd9994b207a04c9fc1992d74e
2024-10-21 06:52:55 +00:00
sahbot
d8a2815f8a Integrating libamxd to master_v6.6.0
Issue: HOP-7218 Clarification: AMX non function key behaviour while doing GSDM.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9f804989968eb0260d221e2de1af6c3cf92609b3
2024-10-21 06:52:55 +00:00
sahbot
01c9c3a1c0 Integrating libamxs to master_v0.8.0
Issue: HOP-5920 Add support for read-only objects in a local datamodel [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: ca6fcf9e303bedd6c0f7b37b75c8d5bd3a6be389
2024-10-15 10:25:30 +00:00
sahbot
49292f1564 Integrating libamxb to master_v4.11.6
Issue: NET-6219 gmap-mod-ethernet-dev can't find DHCPv4Server.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: ba07be7ab5a7b61d0692350c67489ba7865bd1e6
2024-10-15 10:25:30 +00:00
sahbot
567d69466a Integrating libamxp to master_v2.4.2
Issue: SSW-8456 - add missing include for amxc_llist_it_t

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 585cc9213c829e4bc7dc438dcd9f2dc13c59e8d7
2024-10-11 12:10:37 +00:00
sahbot
05a52064cb Integrating mod-amxb-pcb to master_v3.14.3
Issue: HOP-7623 Crash on "tr181-device;-D;" after upgrade followed by hard reset on HGW

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 3921625de2920e97a530d25ee9d820db178c0046
2024-10-11 12:10:37 +00:00
sahbot
3cc965b66d Integrating libamxs to master_v0.7.1
Issue: HOP-7574 Loop detection can drop too much events due to initial sync [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: c792073da3b8d6ce93dab9a1ca254f2d57f1f2aa
2024-10-08 12:26:52 +00:00
sahbot
a685b5ec24 Integrating mod-amxb-pcb to master_v3.14.2
Issue: HOP-7578 tr181-device crashes - double free

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 2e68d3a727683887eb83394b123a6483355fe224
2024-10-08 12:26:52 +00:00
sahbot
32548ad8ac Merge branch 'dev_master_group_1_upstep' of gitlabinternal.softathome.com:ambiorix/buildsystems/openwrt/feed_amx into dev_master_group_1_upstep
GitOrigin-RevId: 0a2c58f3fb33e9fa6959ca9276975c3218c5bf07
2024-10-08 12:26:52 +00:00
sahbot
7e717e5fa3 Integrating libamxb to master_v4.11.5
Issue: DUMMY-0000 - No associated bugs found

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: b34bddefd6ebb600559d507bd4aa438b4e95fa5f
2024-10-08 12:26:52 +00:00
sahbot
f15db0eeca Integrating mod-amxb-ubus to master_v3.5.1
Issue: HOP-7547 UBus responses can be handled when calling ubus_lookup_id which can lead to segfaults.

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 326cd25c7255abfc50628c97a59c0b144707bc31
2024-10-03 05:44:05 +00:00
sahbot
9ae1a8b92d Integrating mod-amxb-pcb to master_v3.14.1
Issue: HOP-7529 amx pcb backend does not handle request getObject with a parameter list

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d88df9bec115e69cbe98f273390fc1136a17e236
2024-10-03 05:44:05 +00:00
sahbot
23fa068f91 Integrating libamxo to master_v5.1.0
Issue: HOP-7494 ODL: Add keywords for empty sync callbacks [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 11251e0e258c3f87dfedec0a9244db9f3a77e30e
2024-10-03 05:44:05 +00:00
sahbot
24ead70ca2 Integrating libamxs to master_v0.7.0
Issue: HOP-7494 Add empty translation and action callbacks [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 055bc183d032c102012b9a920a4f2148d10f6524
2024-10-03 05:44:05 +00:00
sahbot
ea8753758a Integrating mod-amxb-ubus to master_v3.5.0
Issue: HOP-7380 [tr181-device] tr181-device crash

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d0aebc1c237a253252fed7c021c7282179cff889
2024-09-27 13:57:05 +00:00
sahbot
9924edc0ae Integrating mod-amxb-pcb to master_v3.14.0
Issue: HOP-7380 [tr181-device] tr181-device crash

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: ec2534c9c0fde13415105905696a94a7533d61fe
2024-09-27 13:57:04 +00:00
sahbot
8d3c63d50d Integrating libamxp to master_v2.4.0
Issue: HOP-7380 [tr181-device] tr181-device crash
Issue: HOP-7484 race condition in amxp_subproc_vstart leads to sigchild loss

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9b578f185c71df7217ab64d9ae6f8c767dcd2c5d
2024-09-27 13:57:03 +00:00
sahbot
30b2499f65 Integrating libamxp to master_v2.3.1
Issue: HOP-7484 race condition in amxp_subproc_vstart leads to sigchild loss

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 61bbd7c8c8aaf3188e41e9bb2d116d792b2322af
2024-09-27 13:57:03 +00:00
sahbot
de1668fd2d Integrating libamxrt to master_v0.6.4
Issue: DUMMY-0000 - No associated bugs found

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 6bde33d302889412625d8a3b156ec82f6f16a525
2024-09-27 13:57:02 +00:00
sahbot
18a8fbf507 Integrating libamxrt to master_v0.6.3
Issue: NET-6152 - [USP][CDRouter][Random] Some datamodel path are missing in USP hl-api tests
Issue: PPW-65 - [USP][CDRouter][Random] Some datamodel path are missing in USP hl-api tests

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: cac5d4d3bcb8e255ac3d5397260ad181a75d847d
2024-09-23 09:22:20 +00:00
sahbot
e6c3369e17 Integrating libamxp to master_v2.3.0
Issue: NET-6152 - [USP][CDRouter][Random] Some datamodel path are missing in USP hl-api tests
Issue: PPW-65 - [USP][CDRouter][Random] Some datamodel path are missing in USP hl-api tests

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 01fb131eabb8f8f374db436ab3979cb12306a27c
2024-09-23 09:22:20 +00:00
sahbot
83fc6ee93f Integrating mod-amxb-pcb to master_v3.13.0
Issue: HOP-7427 Add configuration for listen socket permissions and ownership [fix]
Issue: SSW-9036 [CHR2fa][Crash] gmap-mod-ssw plugin crash

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 3d145a24658bf88f9feca208082406d76a25fdd8
2024-09-23 09:22:20 +00:00
sahbot
147746557d Integrating amx-fcgi to master_v1.3.13
Issue: HOP-7366 - [security][amx-fcgi]Prevent Upload/Download API to write/access files outside of authorized directories

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: ea0e9f7a3cd44b89d704efa8d4493b3f35dd600e
2024-09-23 09:22:20 +00:00
sahbot
0f55763b3e Integrating libamxb to master_v4.11.4
Issue: HOP-7436 Depth must be ignored on get with parameter paths

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: b39317d66d377434b74483e11e5b566530cb9090
2024-09-23 09:22:20 +00:00
sahbot
903fc3fc5c Integrating amxrt to master_v2.2.1
Issue: DUMMY-0000 - No associated bugs found

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9518d46db83695280ae280bf8812d307c96ae278
2024-09-23 09:22:20 +00:00
sahbot
2359b3b69f Integrating libamxd to master_v6.5.7
Issue: HOP-7418 Error in fetching a parameter recursively using search or wildcard path

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 281ce75aad7ec2c525d4ac94eda2cf24df5a2c30
2024-09-23 09:22:20 +00:00
sahbot
247650aa84 Integrating mod-amxb-ubus to master_v3.4.1
Issue: HOP-7415 [Ubus Backend] Use correct object path when checking existing subscriptions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 31ffd38fdc7906ba682eea2c2f48ee43c4362826
2024-09-23 09:22:20 +00:00
sahbot
0b47204d31 Integrating libamxo to master_v5.0.3
Issue: DUMMY-0000 - No associated bugs found

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 8b6715c757a6daefc63d4ef3a55447ea2ed6f6bf
2024-09-23 09:22:20 +00:00
sahbot
94d4711150 Integrating mod-amxb-pcb to master_v3.12.3
Issue: SSW-9036 [CHR2fa][Crash] gmap-mod-ssw plugin crash

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: eb5c29ddec91e57507fb7c22dbe299d6425a686b
2024-09-23 09:22:20 +00:00
Petr Štetiar
825c023cd8 libamxrt: fix libcap-ng issues on ext4 by enabling EXT4_FS_SECURITY
Commit 3dc4681f9b ("Integrating libamxp to master_v2.1.1") added
handling of subprocess capabilities via libcap-ng, which on targets
utilizing ext4 filesystem needs EXT4_FS_SECURITY kernel config symbol
enabled for proper support of extended filesystem attributes via
fsetxattr():

 amxp_subproc_start()
 `-amxp_subproc_vstart()
   `-amxp_subproc_exec_child()
     `-amxp_subproc_set_capabilities()
       `-capng_apply_caps_fd()
         `-fsetxattr()

 open("/usr/sbin/unbound", O_RDWR|O_LARGEFILE) = 3
 ...
 fsetxattr(3, "security.capability", "\1\0\0\2\0\0\0\0*$\0\200\0\0\0\0\0\0\0", 20, 0) = -1 EOPNOTSUPP (Not supported)

This failure then leads to missing CAP_NET_BIND_SERVICE capability and thus
unbound can't start:

 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for 0.0.0.0 port 53
 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for :: port 53
 [1726337363] unbound[30984:0] fatal error: could not open ports
 ...
 tr181-dns: dns     - [i]Started Unbound (1 times) - (start_unbound@modunbound_main.c:455)
 tr181-dns: dns     - [i]wait for wait:done - (start_unbound@modunbound_main.c:457)
 tr181-dns: dns     - [x]Unbound stopped! - (unbound_stopped@modunbound_main.c:373)

So lets fix it by selecting KERNEL_EXT4_FS_SECURITY config symbol if
either target uses ext4 filesystem or kmod-fs-ext4 package is selected.

Fixes: PPW-74
References: PCF-1411
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
GitOrigin-RevId: 85e0e6f92a8112ba9c3e102fc9f39341f17de3ae
2024-09-17 14:08:11 +00:00
sahbot
b26ff904d0 Integrating libamxd to master_v6.5.6
Issue: HOP-7332 Include mibs when checking for supported objects

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 77c10f0c20f01ff94659a5e4c6b49e7c0826b187
2024-09-09 08:30:34 +00:00
sahbot
da4577f73f Integrating mod-amxb-pcb to master_v3.12.2
Issue: VOIP-609 [reg]voice activation issues. X_SOFTATHOME-COM_VoiceActivation is missing

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: fc688c0f6b9e98b334164eca81a3a8783b5ff209
2024-09-09 08:30:34 +00:00
sahbot
cfa966fced Integrating libamxb to master_v4.11.3
Issue: VOIP-609 [reg]voice activation issues. X_SOFTATHOME-COM_VoiceActivation is missing

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5c2cb875b6117d2dfa869827a211fc50808fbfe1
2024-09-09 08:30:34 +00:00
sahbot
3a77723925 Integrating amx-fcgi to master_v1.3.12
Issue: HGWPR-30812 NOT-23 - Unauthenticated Web UI Denial of Service [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 3ec7c73c522ce3f2609665257d9f52cae1aeaaf6
2024-09-09 08:30:34 +00:00
sahbot
9abfa29f6e Integrating libamxb to master_v4.11.2
Issue: VZ-3615 [VZ][WiFi][Random] WPS-PBC pairing fails using both Button and WebUI methods on the 5GHz band when SON is enabled

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a6a6e76849c96883f80c1799c1c5ae5972651715
2024-08-08 11:58:21 +00:00
sahbot
1729efedca Integrating libamxa to master_v0.11.1
Issue: SOFA-435 amxa resolver go into  infinite loop if a invalid path is used

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 05f478ed2cedfe60595dcecc78674c2aff59bb2a
2024-08-08 11:58:21 +00:00
sahbot
5b5f290b9a Integrating amx-fcgi to master_v1.3.11
Issue: HGWPR-25822 NOT-20 Unauthenticated Web UI Denial of Service
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 881cb70273eae9e7cf4a408fe94a2676b8faa450
2024-08-01 10:02:10 +00:00
sahbot
88c73fcd70 Integrating libamxj to master_v1.0.4
Issue: HGWPR-25822 NOT-20 Unauthenticated Web UI Denial of Service

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f433c1a5c99efaca1bac7b4e4cf5029fc936e9e5
2024-08-01 10:02:10 +00:00
sahbot
a6e69400bd Integrating libamxc to master_v2.2.0
Issue: HOP-7194 : Add new helpers for Set module [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 506d1280507c9a6c7606fa2c3f6c4d32f89c1c81
2024-08-01 10:02:10 +00:00
sahbot
96de1946ff Integrating libamxrt to master_v0.6.2
Issue: NET-6038 Avoid double USP connections to the same sockets

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d95c71721e9bb9ce4bd779ee32c974d3abb7ed82
2024-08-01 10:02:10 +00:00
sahbot
1d840c188b Integrating mod-amxb-pcb to master_v3.12.1
Issue: HOP-7094 Sub-object synchronisation initalize with wrong value with pcb-plugin

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 5c43d45bd48e43c290b7f7beed368503808f46ce
2024-08-01 10:02:10 +00:00
sahbot
f8f9d11b44 Integrating acl-manager to master_v0.7.1
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a94cb1d345a97eb231eea16007bdb641de7da5bf
2024-08-01 10:02:10 +00:00
sahbot
944495690c Integrating amx-fcgi to master_v1.3.10
Issue: HOP-4680 Better shutdown script [fix]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a75f12236714f2ef24ac619fb8ad3686865f8a83
2024-08-01 10:02:10 +00:00
sahbot
23ee69f24a Integrating amxo-cg to master_v1.5.5
Issue: HOP-7179 Some private parameters are still present in the AMX/XML file

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: de82f723f9550f693b5211c6707e84fcb1d5f639
2024-08-01 10:02:10 +00:00
sahbot
8bd809013f Integrating mod-ba-cli to master_v0.13.1
Issue: HOP-7181 Setting an empty string is passing a NULL variant

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: febf7c6e6b1c8bd98ab2e57d729ae33ac29ec73c
2024-08-01 10:02:10 +00:00
sahbot
7e21539857 Integrating libamxm to master_v0.1.0
Issue: HOP-7173 Fix example in libamxm

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: c7f8ebdc8d791431ce7ecf55a7358f26e0d4bf59
2024-07-26 05:40:57 +00:00
sahbot
74c7af74de Integrating libamxc to master_v2.1.0
Issue: HOP-7172 Remove length argument of hash functions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f4df85292da1ae36e8bb29741a1512d5e6e790f8
2024-07-26 05:40:57 +00:00
sahbot
0a011c310c Integrating mod-amxb-ubus to master_v3.4.0
Issue: NET-6007 Bus statistics: basic counters

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 3d07525c9a3d7c17f585be5585908a2b6ef6e682
2024-07-26 05:40:57 +00:00
sahbot
8aaa1fe230 Integrating mod-amxb-pcb to master_v3.12.0
Issue: NET-6006 Bus statistics: basic counters

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: c31d2c41abefc3624dda515eb950a1cb6cba2db7
2024-07-26 05:40:57 +00:00
sahbot
97eaa1872d Integrating libamxb to master_v4.11.1
Issue: NET-6005 Bus statistics: backend interface, client interface, basic common stats
GitOrigin-RevId: 71745cd89febcedd7a405198b6bf1f7fbe4e0e08
2024-07-26 05:40:57 +00:00
sahbot
1e1a5f1518 Integrating libamxb to master_v4.11.0
Issue: NET-6005 Bus statistics: backend interface, client interface, basic common stats
GitOrigin-RevId: 96a5203d57a60e98260bf725bb5c3c08c3e04fe0
2024-07-26 05:40:57 +00:00
sahbot
f6c159fe68 Integrating mod-amxb-pcb to master_v3.11.1
Issue: HOP-6876 [AMX] Lib amxb crashes due to doube free call
GitOrigin-RevId: c99e716e98ce37e2ce3ee48f0754f674c2dc407c
2024-07-18 05:53:10 +00:00
sahbot
c226e0b916 Integrating amxrt to master_v2.2.0
Issue: HOP-4680 Move amx init functions to related component [fix]
GitOrigin-RevId: 987f4ea266464774e8d49fa76fbad065a8141660
2024-07-18 05:53:10 +00:00
sahbot
a4bcdd95dc Integrating mod-amxb-pcb to master_v3.11.0
Issue: HOP-7093 [AMXB] Introduce depth and event_types parameters for subscriptions
GitOrigin-RevId: 93c8772a4121f029925400b3cea7444e06bda42f
2024-07-17 05:14:32 +00:00
sahbot
05ee5f793c Integrating libamxp to master_v2.2.0
Issue: HOP-7084 amxp: add amxp_subproc_close_fd(amxp_subproc_t* proc, int fd)
Issue: HOP-7091 amxp: fds from amxp_subproc_open_fd() must not be O_NONBLOCK for the child
GitOrigin-RevId: 8ac6cf2d88f67082fc39240e77e5ff3bb079acdd
2024-07-17 05:14:32 +00:00
sahbot
a7679e02d5 Integrating libamxrt to master_v0.6.1
Issue: HOP-5530 [USP][AMX] Add connection retry mechanism for broken connections
Issue: HOP-7090 - Apply process capabilities after obtaining the required plugin objects [fix]
GitOrigin-RevId: e399df380f5e65042a72691a67cc2ec23a97cb86
2024-07-17 05:14:32 +00:00
sahbot
f60624e13d Integrating libamxrt to master_v0.6.0
Issue: HOP-5530 [USP][AMX] Add connection retry mechanism for broken connections
GitOrigin-RevId: ebb19e77a2a5623dbeb751f7c605194fad7aaf73
2024-07-17 05:14:32 +00:00
sahbot
c9c291e6b5 Integrating libamxo to master_v5.0.2
Issue: NET-5979 [AMX] User flags must be saved for key parameters
GitOrigin-RevId: 33e3564ae4a6465a682547b53908b902c6ffcae7
2024-07-17 05:14:32 +00:00
sahbot
bddfc9de08 Integrating amxo-cg to master_v1.5.4
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 4b251046216d648428e360c71b7f617b99de3ea9
2024-07-17 05:14:32 +00:00
sahbot
15f852c997 Integrating libamxj to master_v1.0.3
Issue: HOP-7007 Improve documentation and unit tests for amxj_write [other]
GitOrigin-RevId: cad515c51bc6291e57d5812c31903c581805fcb3
2024-07-17 05:14:32 +00:00
sahbot
b5ed6fc2a4 share libamxtui on gitlab.com
GitOrigin-RevId: 5ad02a90ea73c43e65601aca8b8e1ba01e925f64
2024-07-05 07:42:31 +00:00
sahbot
edbe825a22 Integrating mod-amxb-pcb to master_v3.10.9
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 7bdf70ed0c222788f50290673ae95d84751fff09
2024-07-05 06:55:40 +00:00
sahbot
72fcf9cdda share dmtui on gitlab.com
GitOrigin-RevId: e3511b5f174752b597b8703b944240540ece53b1
2024-07-05 06:40:05 +00:00
sahbot
e9daa8c70a Integrating amxo-cg to master_v1.5.3
Issue: HOP-6985 Attribute mutable is missing
GitOrigin-RevId: 6bfd9c4d56ba5d9b2af2eec2da31ca7662c8b9e7
2024-07-04 05:58:01 +00:00
sahbot
adeea024d7 Integrating libamxrt to master_v0.5.5
Issue: HOP-6957 Calculate remaining time of timers before checking and updating the state
Issue: HOP-6962 Disconnect the amxrt_wait_done callback before handling events [fix]
GitOrigin-RevId: d0f10452d3dbddaf443b5a3f9d68d36709909ead
2024-07-04 05:58:01 +00:00
sahbot
7e3f418f39 Integrating amxo-cg to master_v1.5.2
Issue: HOP-6985 Attribute mutable is missing
GitOrigin-RevId: 08fc3e2aa8efc20f52d728049fdf2578c763e611
2024-07-04 05:58:01 +00:00
sahbot
eb9cdf265e Integrating mod-ba-cli to master_v0.13.0
Issue: HOP-6963 [ba-cli]Crash when removing backend with open connections
Issue: HOP-6964 [ba-cli]It must be possible to set protected mode on all open connections
GitOrigin-RevId: 73b5159ce17af5b092856799bfcea2bb58063f0a
2024-07-04 05:58:01 +00:00
sahbot
78ca76da87 Integrating libamxb to master_v4.10.3
Issue: HOP-6917 [AMX] Add function to get backend name from uri [new]
Issue: HOP-6966 [ba-cli] Unable to get protected object when using Device.
Issue: VZ-3176 Subscriptions on non existing objects must fail
GitOrigin-RevId: 39da11c5f43d1f9564a80f687f6d47d4354fcd95
2024-07-04 05:58:01 +00:00
sahbot
29ae9fa5f0 Integrating mod-amxb-pcb to master_v3.10.7
Issue: HOP-6916 Remove subscriber from list when request is destroyed
GitOrigin-RevId: 5c59adab5bff6606aecbb5dc95be25db6f5e9858
2024-07-04 05:58:01 +00:00
sahbot
0c344e6663 Integrating libamxb to master_v4.10.2
Issue: HOP-6917 [AMX] Add function to get backend name from uri [new]
Issue: VZ-3176 Subscriptions on non existing objects must fail
GitOrigin-RevId: 222ec514c8075b91433624bbbb7a4f66d6d690e1
2024-07-04 05:58:01 +00:00
sahbot
a5b638145b Integrating libamxrt to master_v0.5.4
Issue: HOP-6957 Calculate remaining time of timers before checking and updating the state
GitOrigin-RevId: ba3d55fb4942d6e571b33386a8ddfb21efa27de5
2024-07-04 05:58:00 +00:00
sahbot
cb71cb0726 Integrating libamxd to master_v6.5.5
Issue: HOP-6953 Key parameters without read-only in definition are write-once and must be reported as read-write in gsdm
GitOrigin-RevId: e00e3755ffc5db706c7c4128f32b62279aa89075
2024-07-04 05:58:00 +00:00
sahbot
03236ff656 Integrating libamxb to master_v4.10.1
Issue: HOP-6917 [AMX] Add function to get backend name from uri [new]
Issue: VZ-3176 Subscriptions on non existing objects must fail
GitOrigin-RevId: 0c41ac62657a524a5631ad7f200b93b62b0bf467
2024-07-04 05:58:00 +00:00
sahbot
d99f2d5d57 Integrating mod-amxb-ubus to master_v3.3.6
Issue: VZ-3176 Drop invalid events early
GitOrigin-RevId: 5b5707e332c3c738907ef7b343b409def97c4d8f
2024-07-04 05:58:00 +00:00
sahbot
7ace8fd094 Integrating amxo-cg to master_v1.5.1
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 053766fefbaf3bbc52b9553daac9720adcd5d080
2024-07-04 05:58:00 +00:00
sahbot
6f48024750 Integrating acl-manager to master_v0.7.0
Issue: HOP-6790 - Add missing dependency on acl group [fix]
GitOrigin-RevId: ed0d3c84f93abc326fe6b90e22a1874d0e6690f1
2024-07-04 05:58:00 +00:00
sahbot
7fa32d9e19 Integrating mod-amxb-pcb to master_v3.10.6
Issue: HOP-5666 Set request destroy handler on subscription requests [fix]
GitOrigin-RevId: 3d9effb2b0d0bb686573f56a7058dd907c9aa568
2024-06-25 06:07:17 +00:00
sahbot
9c595a5045 Integrating mod-amxb-pcb to master_v3.10.5
Issue: HOP-5666 Set request destroy handler on subscription requests [fix]
GitOrigin-RevId: 53f2bfaf407a8d955031f0177d3a2d8caa58989e
2024-06-21 05:08:01 +00:00
sahbot
6e1776104e Integrating libamxd to master_v6.5.4
Issue: HOP-6584 [TR181-Device]Bidirectional communication support between UBUS and IMTP
GitOrigin-RevId: c6156444e203d10e9e3fc5410393a1fd1298d0de
2024-06-21 05:08:01 +00:00
sahbot
1677cce6eb Integrating libamxb to master_v4.10.0
Issue: HOP-6584 [TR181-Device]Bidirectional communication support between UBUS and IMTP
GitOrigin-RevId: 8ddeed4f86a0a2d4055e81dae31c85e4f03bb800
2024-06-21 05:08:01 +00:00
sahbot
47a0fe4d9b Integrating libamxs to master_v0.6.4
Issue: HOP-5430 Handle events from the amxs signal manager, if available, before other events [fix]
GitOrigin-RevId: dfefde32c7b8cc5a0826332c9767f261da20c4fd
2024-06-21 05:08:01 +00:00
sahbot
427d193617 Integrating libamxp to master_v2.1.2
Issue: HOP-5430 DHCPv6Client/DHCPv6Server in misconfigured state
Issue: HOP-6847 amxp: crash in amxp_signal_read() when suspending/resuming a signal manager
GitOrigin-RevId: 90725b60fc31b44a2e1d38ee374e4c1e70b17bfb
2024-06-21 05:08:01 +00:00
sahbot
3dc4681f9b Integrating libamxp to master_v2.1.1
Issue: HOP-6586 Set file capabilities on subprocess execution
GitOrigin-RevId: 89b1639c5228f1d3c8ede64b8f2ca294c75ed15a
2024-06-11 14:21:32 +00:00
sahbot
ca084aa36b Integrating libamxm to master_v0.0.68
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 0520625052ed1fd0fca3bd328ac1f9c28e7fb199
2024-06-11 14:21:32 +00:00
sahbot
cacede1fa8 Integrating libamxb to master_v4.9.9
Issue: HOP-6690 Respect backend load order when no backend-order is defined
GitOrigin-RevId: b0771f531af9daed27f305da6eed7a0cec0d2291
2024-06-11 14:21:32 +00:00
sahbot
db31c5a480 Integrating libamxs to master_v0.6.3
Issue: VOIP-595 [prpl] libamxs loopback detection issue on initial sync [fix]
GitOrigin-RevId: 35c15a9cc9b9235e30bcdc94a8ac82847adfdb37
2024-06-11 14:21:32 +00:00
sahbot
9f67c34fbb Integrating amxo-cg to master_v1.5.0
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 891dbc4d677a55e3a7568c93574658db94660e1a
2024-06-11 14:21:32 +00:00
sahbot
e4a2b0592b Update file Makefile
GitOrigin-RevId: 722a2b64eea904de780428c7bb2dde862aae3b4d
2024-06-11 14:21:32 +00:00
sahbot
eede685551 Integrating amxo-cg to master_v1.4.9
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 862903d12198e3733cad9ffa6e62fe7b8b382324
2024-06-11 14:21:32 +00:00
sahbot
444b331f08 Integrating libamxm to master_v0.0.67
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 057083b3f5de331a0e5b963e623169fe83ab2e37
2024-06-06 11:06:22 +00:00
sahbot
fca5aa76ff [CI] Update PKG_HASH
GitOrigin-RevId: 82425c24653c00e675061f586e94b2646cb9b83b
2024-06-04 08:41:38 +00:00
sahbot
5ec09d22dd Integrating libamxc to master_v2.0.2
Issue: HOP-6760 segfault in libamxc amxc_string_to_upper and to_lower APIs providing an amxc string with a null buffer [fix]
GitOrigin-RevId: 55cd14ddbcdf898874eafd537025b648f2e17180
2024-06-04 08:41:38 +00:00
sahbot
778bfa7340 [CI] Update PKG_HASH
GitOrigin-RevId: 2bd0f59f474b2a99a444d89df09a52da5c6e095d
2024-06-04 08:41:38 +00:00
sahbot
b7f9821172 Integrating mod-ba-cli to master_v0.12.0
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 48afe8f64b5dab00b800de9207947e28cc4b93fb
2024-06-04 08:41:38 +00:00
sahbot
0eff529354 [CI] Update PKG_HASH
GitOrigin-RevId: 6fe64751c80891e72426ec896b0c1d8d93f0ef14
2024-06-04 08:41:38 +00:00
sahbot
c424e4fb76 Integrating libamxb to master_v4.9.8
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: cd220fbd31771fd441949bcbf7be33b998b72cc0
2024-06-04 08:41:38 +00:00
sahbot
faf4421134 [CI] Update PKG_HASH
GitOrigin-RevId: 154e1f64942e5cfe5a95139afd88594c35f450c2
2024-06-04 08:41:38 +00:00
sahbot
261694e7f1 Integrating mod-amxb-pcb to master_v3.10.4
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 5a0175e2d454f206e239011b0d56760e2f67729e
2024-06-04 08:41:38 +00:00
sahbot
7105e1ba58 Integrating mod-amxb-ubus to master_v3.3.5
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: e0393b07433a344ca0d976b913815095be48a25d
2024-06-04 08:41:38 +00:00
sahbot
4722a2078b [CI] Update PKG_HASH
GitOrigin-RevId: 0179adcb85879e17e5cc91fbe45a1341e99d3532
2024-06-04 08:41:38 +00:00
sahbot
7f4ad1f370 Integrating libamxj to master_v1.0.2
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 68776b282b26306b9b227ee47d65ff638f9aef4a
2024-06-04 08:41:38 +00:00
sahbot
44ba66379d Integrating libamxs to master_v0.6.2
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: a94274358a40db7567aba3c93f91c225c5554669
2024-06-04 08:41:38 +00:00
sahbot
19fee2207c Integrating mod-ba-cli to master_v0.11.5
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 64101620d5cb75508921dcfe6831f21f66183bd6
2024-06-04 08:41:38 +00:00
sahbot
36976af013 Update 2 files
- /mods/mod-amxb-pcb/Config.in
- /mods/mod-amxb-ubus/Config.in

GitOrigin-RevId: cb15e3a7dcdf00cbb6287a784149b44182fbf503
2024-06-04 08:41:38 +00:00
sahbot
e0ebe61bfd Update 4 files
- /mods/mod-amxb-pcb/Config.in
- /mods/mod-amxb-pcb/Makefile
- /mods/mod-amxb-ubus/Config.in
- /mods/mod-amxb-ubus/Makefile

GitOrigin-RevId: 4382fc7d332baa8b698e8a610fd3eaed02b75eb9
2024-06-04 08:41:38 +00:00
sahbot
e3c46c7bd3 take backend order into account
GitOrigin-RevId: 31422f71472685b4c867f52c9bfed7e655ecc444
2024-06-04 08:41:38 +00:00
sahbot
6d09006627 Integrating libamxb to master_v4.9.7
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: f8e78323317018e424eadab11e5a217397ef80ba
2024-06-04 08:41:38 +00:00
31 changed files with 592 additions and 98 deletions

View File

@@ -0,0 +1,20 @@
config PACKAGE_acl-manager
tristate
select SAH_SERVICES_ACL-MANAGER
if PACKAGE_acl-manager
menu "Select acl-manager build options"
depends on PACKAGE_acl-manager
config SAH_SERVICES_ACL-MANAGER
bool "The ACL manager will monitor the ACL directory and merge ACL files together to create a single master ACL file per role."
default y
config SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS
bool "Add a dependency on Users.Group.acl-group that is required on prpl OS"
default y
endmenu
endif

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=acl-manager
PKG_VERSION:=v0.6.7
PKG_VERSION:=v0.7.1
SHORT_DESCRIPTION:=The ACL manager monitors ACL directory and merges ACL files
PKG_SOURCE:=acl-manager-v0.6.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.6.7
PKG_HASH:=32302424e772cd7b00b4603f77596170e8430e2db7a7bf0541849f3267c34d9c
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.6.7
PKG_SOURCE:=acl-manager-v0.7.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.1
PKG_HASH:=9a8c39941825da35d505f33cd8817bc5fe7674cbbb624b4b62e10f2251359b81
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -44,17 +44,17 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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)
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
$(call SAHInit/Install)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
endef
define Package/$(PKG_NAME)/install
@@ -67,4 +67,8 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
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:=amx-cli
PKG_VERSION:=v0.5.1
PKG_VERSION:=v0.5.2
SHORT_DESCRIPTION:=Ambiorix interactive CLI
PKG_SOURCE:=amx-cli-v0.5.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.1
PKG_HASH:=74f98759b38c9154c7af757713942bdbbfeb51c2f2548c1248c03dfd44f6980e
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.1
PKG_SOURCE:=amx-cli-v0.5.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.2
PKG_HASH:=a05aa44845a016db7b937ed7ad518decbd45e7484d56f62d1c1c72dee5793aef
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.2
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:=amx-fcgi
PKG_VERSION:=v1.3.9
PKG_VERSION:=v1.3.13
SHORT_DESCRIPTION:=Ambiorix Fast CGI app for web-servers
PKG_SOURCE:=amx-fcgi-v1.3.9.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.9
PKG_HASH:=8dafdcf8cd619c2913db3aae81b298050e9413b4411ede2a45fa839ecaf670e8
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.9
PKG_SOURCE:=amx-fcgi-v1.3.13.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.13
PKG_HASH:=4f245bac44238809855f52b1ea06a8b0f0f9cc2a9540a180ed0151cec39f6eff
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.13
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:=amxo-cg
PKG_VERSION:=v1.4.8
PKG_VERSION:=v1.6.3
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.4.8.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.4.8
PKG_HASH:=de6ca4987c5ff7cd3bb0e5716810897276d0eefb07c8bbbf44b4b82d41c37be4
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.4.8
PKG_SOURCE:=amxo-cg-v1.6.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.6.3
PKG_HASH:=670d7e4958eb9d9ac209be4fb5c78607a3d485ff9bc5cd2f6cd98814f3643e6a
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.6.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,7 +15,12 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host libamxj/host libamxp/host libamxd/host libamxo/host libxml2/host yajl-host/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -29,6 +34,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxo
DEPENDS += +libxml2
DEPENDS += +yajl
DEPENDS += +libamxs
MENU:=1
endef
@@ -44,6 +50,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin BINDIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -58,4 +68,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

67
apps/amxo-xml-to/Makefile Normal file
View File

@@ -0,0 +1,67 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-xml-to
PKG_VERSION:=v0.2.7
SHORT_DESCRIPTION:=Ambiorix XML converter
PKG_SOURCE:=amxo-xml-to-v0.2.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-xml-to/-/archive/v0.2.7
PKG_HASH:=39e9c232eee25df5a64b1a10e2ceb7a1a90213ed25da074e1a956ab95bd15c73
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-xml-to-v0.2.7
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host libamxj/host libxslt/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Ambiorix
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-xml-to
DEPENDS += +libamxc
DEPENDS += +libamxj
DEPENDS += +libxslt
MENU:=1
endef
define Package/$(PKG_NAME)/description
Ambiorix XML converter
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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)
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin BINDIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
define Package/$(PKG_NAME)/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
find $(1) -name *.a -exec rm {} +;
find $(1) -name *.h -exec rm {} +;
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -0,0 +1,23 @@
xmlSubstituteEntitiesDefault call is deprecated in libxml2
OpenWRT version of the pkg-config utility adds `-lz' flag before `-lxml2' with broke linkage against static libxml2
diff --git a/src/makefile b/src/makefile
index 52bea84..5fa8116 100644
--- a/src/makefile
+++ b/src/makefile
@@ -23,6 +23,7 @@ CFLAGS += -Werror -Wall -Wextra \
-Wformat=2 -Wno-unused-parameter -Wshadow \
-Wwrite-strings -Wredundant-decls \
-Wno-format-nonliteral \
+ -Wno-deprecated-declarations \
-g3 -Wmissing-declarations $(addprefix -I ,$(INCDIRS)) \
$(shell pkg-config --cflags libxslt libexslt) \
-pthread
@@ -34,7 +34,7 @@ else
CFLAGS += -Wstrict-prototypes -Wold-style-definition -Wnested-externs -std=c11
endif
-LDFLAGS += $(STAGING_LIBDIR) -lamxc -lamxj $(shell pkg-config --libs libxslt libexslt)
+LDFLAGS += $(STAGING_LIBDIR) -lamxc -lamxj $(shell pkg-config --libs libxslt) $(shell pkg-config --libs libexslt)
# targets
all: ../include_priv/version.h $(COMPONENT)

View File

@@ -1,20 +1,27 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxrt
PKG_VERSION:=v2.1.3
PKG_VERSION:=v2.2.4
SHORT_DESCRIPTION:=Data model runtime
PKG_SOURCE:=amxrt-v2.1.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.1.3
PKG_HASH:=a414dbf2d596753641456e755521448f52d71b1f3418d9f5dba88d70b0be7678
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.1.3
PKG_SOURCE:=amxrt-v2.2.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.2.4
PKG_HASH:=44a4086d169cb5369635ea131a35ab5dc4befeaf59c92dc92bdfac9bca24e62b
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.2.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
COMPONENT:=amxrt
PKG_RELEASE:=1
define SAHInit/Install
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/amx-shutdown-wait ${PKG_INSTALL_DIR}/etc/rc.d/S90amx-shutdown-wait
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/amx-shutdown-wait ${PKG_INSTALL_DIR}/etc/rc.d/K90amx-shutdown-wait
endef
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
@@ -44,6 +51,8 @@ endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
$(call SAHInit/Install)
endef
define Build/InstallDev

61
apps/dmtui/Makefile Normal file
View File

@@ -0,0 +1,61 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dmtui
PKG_VERSION:=v0.3.3
SHORT_DESCRIPTION:=Simple example application that creates a data model using the Ambiorix framework
PKG_SOURCE:=dmtui-v0.3.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/amxlab/tui/applications/dmtui/-/archive/v0.3.3
PKG_HASH:=51cfd6d4269e8d51722bbe6553c63fda040fadaa28787feb0d6f139c99f6137f
PKG_BUILD_DIR:=$(BUILD_DIR)/dmtui-v0.3.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Examples
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/amxlab/tui/applications/dmtui
DEPENDS += +libamxc
DEPENDS += +libamxp
DEPENDS += +libamxt
DEPENDS += +libamxd
DEPENDS += +libamxo
DEPENDS += +libamxb
DEPENDS += +libamxtui
MENU:=1
endef
define Package/$(PKG_NAME)/description
Simple example application that creates a data model using the Ambiorix framework
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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)
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
define Package/$(PKG_NAME)/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
find $(1) -name *.a -exec rm {} +;
find $(1) -name *.h -exec rm {} +;
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.0
PKG_VERSION:=v0.11.1
SHORT_DESCRIPTION:=Access control verification
PKG_SOURCE:=libamxa-v0.11.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.0
PKG_HASH:=18bdeaf99a56530c7b2725cc3bced0eb92e04e54c57ae0f3aa98ac4c005588a9
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.0
PKG_SOURCE:=libamxa-v0.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.1
PKG_HASH:=c4ce80b236e2e6bef000e6c90df0b4be995e8ce689f88bbbbc1a3dcf6199d664
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.1
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:=libamxb
PKG_VERSION:=v4.9.3
PKG_VERSION:=v4.11.7
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.9.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.9.3
PKG_HASH:=cc634b4aa5652999a94687b4855c02cfb49e192d8f27af4aa949b78d2e5dc6c2
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.9.3
PKG_SOURCE:=libamxb-v4.11.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.7
PKG_HASH:=ed05112bd7d3191ccf998de78c6b4dac01e77e8ae38d7c693dd2ea667579ac95
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.7
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,7 +15,12 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host libamxp/host libamxd/host uriparser/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -41,6 +46,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -55,4 +64,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.0.1
PKG_VERSION:=v2.3.1
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v2.0.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.0.1
PKG_HASH:=9f3903961c3ca5ce4738718c5eb4fd675e8a981f41d033478d7d9abc4bed876c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.0.1
PKG_SOURCE:=libamxc-v2.3.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.3.1
PKG_HASH:=7422bec681804bd0f9e54186e7f146f6f9d84627e12d2372285362546e66e221
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.3.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -16,6 +16,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -37,6 +38,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include PREFIX=/)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -51,4 +56,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxd
PKG_VERSION:=v6.5.3
PKG_VERSION:=v6.7.0
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.5.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.5.3
PKG_HASH:=149e7d6bb03bc0377c7047bd6132cc864409e6335e9fbac5cc95622fa714b6f6
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.5.3
PKG_SOURCE:=libamxd-v6.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.7.0
PKG_HASH:=66da959f5d61ec1d3f2d4b856cb298d05d0478aaacf5aa73bf03f0f4d653797f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.7.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,7 +15,12 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host libamxp/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -39,6 +44,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -53,4 +62,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxj
PKG_VERSION:=v1.0.1
PKG_VERSION:=v1.0.4
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
PKG_SOURCE:=libamxj-v1.0.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.1
PKG_HASH:=221b2b19a38f4b5b580ff28965677787a5dc54a3485fa832068390fbe016853b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.1
PKG_SOURCE:=libamxj-v1.0.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.4
PKG_HASH:=4caa4c4c1505ee2eab189042058b978875f3e03cead3a115eb8eba08a168f865
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,7 +15,12 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host yajl-host/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -39,6 +44,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -53,4 +62,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxm
PKG_VERSION:=v0.0.66
PKG_VERSION:=v0.1.0
SHORT_DESCRIPTION:=modularity API, simplifies creation of plug-ins
PKG_SOURCE:=libamxm-v0.0.66.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.0.66
PKG_HASH:=c441baeafa08291d2adbd7419d358d606f55301aa943753ef32ecbb4d5ebefef
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.66
PKG_SOURCE:=libamxm-v0.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.1.0
PKG_HASH:=b98980d2cf88c34a674f9a62cc2e71dc1cf9e94d2f38c52f513958669deb21f5
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.1.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:=libamxo
PKG_VERSION:=v5.0.1
PKG_VERSION:=v5.3.0
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
PKG_SOURCE:=libamxo-v5.0.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.0.1
PKG_HASH:=0f79ad13e6623edbc2aeec27422908f808c814fa2a13ca5a6c3f2a8c62e08855
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.0.1
PKG_SOURCE:=libamxo-v5.3.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.3.0
PKG_HASH:=e3bbe93e197dde180b2ab53c8f70963d0110d9c9a12dfaf2fe48112f987af9c3
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.3.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -17,7 +17,12 @@ PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
HOST_BUILD_DEPENDS:=libamxc/host libamxp/host libamxd/host libamxs/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -43,6 +48,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -57,4 +66,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxp
PKG_VERSION:=v2.0.0
PKG_VERSION:=v2.6.3
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxp-v2.0.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.0.0
PKG_HASH:=e69c113fe6448bce5133e37a499084c4497364aaeec7e7d682a6cae5ee4e1343
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.0.0
PKG_SOURCE:=libamxp-v2.6.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.6.3
PKG_HASH:=8014aa77facf24f7e7930165a2f1f68e246da144b1a6bed4df3ba996266cd30c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.6.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -17,7 +17,12 @@ PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
HOST_BUILD_DEPENDS:=libamxc/host libcap-ng-host/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -25,6 +30,7 @@ define Package/$(PKG_NAME)
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp
DEPENDS += +libamxc
DEPENDS += +libcap-ng
MENU:=1
endef
@@ -40,6 +46,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/usr/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -54,4 +64,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxrt
PKG_VERSION:=v0.5.3
PKG_VERSION:=v0.6.5
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.5.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.5.3
PKG_HASH:=7fe504b8a264fb81265703e27cb85adcbfafadcc79c5333a71e445ebaed582ac
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.5.3
PKG_SOURCE:=libamxrt-v0.6.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.5
PKG_HASH:=b76ad87fe9ef2417c84530e57a527945ace1eb18edf6dfc8e6a494254ed4ba3c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.5
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:=libamxs
PKG_VERSION:=v0.6.1
PKG_VERSION:=v0.8.1
SHORT_DESCRIPTION:=Data model synchronization C-API
PKG_SOURCE:=libamxs-v0.6.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.6.1
PKG_HASH:=43f2df53a569208730e2ebd264593603933e789a5bcf0ab1d67258ff933a9a52
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.6.1
PKG_SOURCE:=libamxs-v0.8.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.8.1
PKG_HASH:=14f3db230f42686381c690fc8ba92c7b724f43756baf102d10056b89ccd40715
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.8.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -15,7 +15,12 @@ PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
HOST_BUILD_DEPENDS:=libamxc/host libamxp/host libamxb/host libamxd/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
@@ -41,6 +46,10 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Host/Install
$(call Host/Compile/Default, install INSTALL=install D=$(STAGING_DIR_HOSTPKG) DEST=$(STAGING_DIR_HOSTPKG) STAGINGDIR=$(STAGING_DIR_HOSTPKG) CONFIGDIR=$(STAGING_DIR_HOSTPKG) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR_HOSTPKG)/lib/pkgconfig LIBDIR=/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR_HOSTPKG)/include INCLUDEDIR=/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
@@ -55,4 +64,5 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

58
libs/libamxtui/Makefile Normal file
View File

@@ -0,0 +1,58 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxtui
PKG_VERSION:=v0.1.7
SHORT_DESCRIPTION:=Libamxtui is a library that provides terminal user interface widgets based on ncurses
PKG_SOURCE:=libamxtui-v0.1.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/amxlab/tui/libraries/libamxtui/-/archive/v0.1.7
PKG_HASH:=6bf9aa7276417534471d09925e31f99276e290348bbfced3534f7f5075622824
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxtui-v0.1.7
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Ambiorix
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/amxlab/tui/libraries/libamxtui
DEPENDS += +libamxc
DEPENDS += +libamxt
DEPENDS += +libamxp
DEPENDS += +libncurses
MENU:=1
endef
define Package/$(PKG_NAME)/description
Libamxtui is a library that provides terminal user interface widgets based on ncurses.
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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)
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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)
endef
define Package/$(PKG_NAME)/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
if [ -d ./files ]; then \
$(CP) ./files/* $(1)/; \
fi
find $(1) -name *.a -exec rm {} +;
find $(1) -name *.h -exec rm {} +;
find $(1) -name *.pc -exec rm {} +;
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -0,0 +1,97 @@
#
# Copyright (C) 2020 Lucian Cristian
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libcap-ng
PKG_VERSION:=0.8.3
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://people.redhat.com/sgrubb/libcap-ng
PKG_HASH:=bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d
PKG_MAINTAINER:=Lucian CRISTIAN <lucian.cristian@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
PKG_LICENSE_FILES:=License
PKG_CPE_ID:=cpe:/a:libcap-ng_project:libcap-ng
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_BUILD_FLAGS:=lto
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/libcap-ng/Default
TITLE:=POSIX capabilities library
SECTION:=libs
CATEGORY:=Libraries
URL:=https://people.redhat.com/sgrubb/libcap-ng/index.html
endef
define Package/libcap-ng/description/Default
POSIX capabilities library
endef
define Package/libcap-ng
$(call Package/libcap-ng/Default)
TITLE += library
endef
define Package/libcap-ng-bin
$(call Package/libcap-ng/Default)
TITLE += binaries
DEPENDS += libcap-ng
endef
define Package/libcap-ng-bin/description
$(call Package/libcap-ng/description/Default)
.
This package contains the libcap-ng utilities.
endef
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(FPIC)
CONFIGURE_VARS += \
ac_cv_prog_swig_found=no
CONFIGURE_ARGS += \
--prefix=/usr \
--without-python \
--without-python3
CONFIGURE_HOST_ARGS += \
--without-python \
--without-python3
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcap-ng.{so*,a} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libcap-ng.pc $(1)/usr/lib/pkgconfig/
$(INSTALL_DIR) $(1)/usr/share/aclocal
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/cap-ng.m4\
$(1)/usr/share/aclocal
endef
define Package/libcap-ng/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcap-ng.so* $(1)/usr/lib/
endef
define Package/libcap-ng-bin/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/sbin/
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,libcap-ng))
$(eval $(call BuildPackage,libcap-ng-bin))

View File

@@ -12,6 +12,7 @@ PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/$(PKG_NAME)
@@ -27,6 +28,7 @@ define Package/$(PKG_NAME)/description
endef
CMAKE_OPTIONS += -DURIPARSER_BUILD_DOCS:BOOL=OFF -DURIPARSER_BUILD_TESTS:BOOL=OFF
CMAKE_HOST_OPTIONS += -DURIPARSER_BUILD_DOCS:BOOL=OFF -DURIPARSER_BUILD_TESTS:BOOL=OFF -DURIPARSER_BUILD_TOOLS:BOOL=OFF
define Build/Install
$(call Build/Install/Default)
@@ -48,4 +50,5 @@ define Package/$(PKG_NAME)/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,$(PKG_NAME)))

51
libs/yajl-host/Makefile Normal file
View File

@@ -0,0 +1,51 @@
#
# Copyright (C) 2014, 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=yajl
PKG_VERSION:=2.1.0
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/lloyd/yajl
PKG_SOURCE_VERSION:=$(PKG_VERSION)
PKG_MIRROR_HASH:=0cd74320be0270a07931e42d2f14f87a8b3fb664ecb5db58b0e838886211ab1f
PKG_MAINTAINER:=Charles Southerland <charlie@stuphlabs.com>
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:yajl_project:yajl
CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/yajl
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Yet Another JSON Library
URL:=https://lloyd.github.io/yajl
endef
define Package/yajl/description
Yet Another JSON Library. YAJL is a small event-driven (SAX-style)
JSON parser written in ANSI C, and a small validating JSON generator.
YAJL is released under the ISC license.
YAJL was created by Lloyd Hilaiel.
endef
define Package/yajl/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libyajl.so* $(1)/usr/lib/
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,yajl))

View File

@@ -0,0 +1,11 @@
--- a/reformatter/CMakeLists.txt
+++ b/reformatter/CMakeLists.txt
@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_
ADD_EXECUTABLE(json_reformat ${SRCS})
-TARGET_LINK_LIBRARIES(json_reformat yajl_s)
+TARGET_LINK_LIBRARIES(json_reformat yajl_s m)
# In some environments, we must explicitly link libm (like qnx,
# thanks @shahbag)

View File

@@ -0,0 +1,8 @@
--- a/perf/CMakeLists.txt
+++ b/perf/CMakeLists.txt
@@ -20,4 +20,4 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_
ADD_EXECUTABLE(perftest ${SRCS})
-TARGET_LINK_LIBRARIES(perftest yajl_s)
+TARGET_LINK_LIBRARIES(perftest yajl_s m)

View File

@@ -13,7 +13,7 @@ config SAH_MOD_AMXB_PCB
config SAH_MOD_AMXB_PCB_ORDER
string "Backend load order"
default ""
default "10-"
endmenu

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.10.3
PKG_VERSION:=v3.16.0
SHORT_DESCRIPTION:=PCB backend implementation for amxb
PKG_SOURCE:=amxb_pcb-v3.10.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.10.3
PKG_HASH:=00c90e62451c82270625835d4e634511eb357bb31267a405c6552fc5ff07adcd
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.10.3
PKG_SOURCE:=amxb_pcb-v3.16.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.16.0
PKG_HASH:=f46be0036798f5610d42bc4d9e968c273eeff032742eb2de941898d7546018b9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.16.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -13,7 +13,7 @@ config SAH_LIB_AMXB_UBUS
config SAH_LIB_AMXB_UBUS_ORDER
string "Backend load order"
default ""
default "05-"
endmenu

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-ubus
PKG_VERSION:=v3.3.4
PKG_VERSION:=v3.8.1
SHORT_DESCRIPTION:=Ubus Backend
PKG_SOURCE:=amxb_ubus-v3.3.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.3.4
PKG_HASH:=eeecdf4c32f61dd6be3f2eba2b42ab73b0ce7c22ec7cdabcd042ac51bbb368bb
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.3.4
PKG_SOURCE:=amxb_ubus-v3.8.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.8.1
PKG_HASH:=d2a1b4e880f163559953388ba006a08f8d97e4ef31347b9df384631db97650b8
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.8.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -19,6 +19,10 @@ config SAH_MOD_BA_CLI_INSTALL_PCB_CLI
bool "Install pcb cli"
default y
config SAH_MOD_BA_CLI_INSTALL_RBUS_CLI
bool "Install rbus cli"
default y
endmenu
endif

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-ba-cli
PKG_VERSION:=v0.11.4
PKG_VERSION:=v0.14.0
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
PKG_SOURCE:=mod-ba-cli-v0.11.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.11.4
PKG_HASH:=537fcdd3653135ec1906e953b5c62b4030e6bb0a24d3f0a8145343f07c2db338
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.11.4
PKG_SOURCE:=mod-ba-cli-v0.14.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.14.0
PKG_HASH:=169ef518f965f59a0a0fefe76f270f97e02cbd317e016d36b1bec88103cae46e
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.14.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -39,15 +39,15 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(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_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Package/$(PKG_NAME)/install