Compare commits

...

204 Commits

Author SHA1 Message Date
prplbot
19f889d14e libamxb: Add flag AMXB_FLAG_KEYSETS for get supported
Integrates following changes:
- Add flag AMXB_FLAG_KEYSETS for get supported (cee07df0)
- subscriptions: Add a new object getter (PPW-700) (4d0f46a3)
- dummy_be: Implement test dummy even subscription (PPW-699) (f102b109)
- subscription: Add remote subscription index vs. named test (PPW-699) (d4a5adfc)
- test_amxb_e2e: Add remote subscription index vs. named test (PPW-699) (35d8dad3)
- subscription: Add remote subscription index vs. named test (PPW-699) (fc59e168)
- libamxb: Fix private declarations in private header files. (f6850fda)
- Documentation: Improve documentation of amxb_set (c79bc1d9)
- discovery: Wrong or incorrect bus context can be returned with AMXB_BE_DISCOVER_DESCRIBE (PPW-701) (32fd3137)
- unit-test: discovery: Wrong or incorrect bus context can be returned with AMXB_BE_DISCOVER_DESCRIBE (PPW-701) (27d55c9d)

References: PPW-704, PPW-700, PPW-699, PPW-703, HOP-9228, PPW-698, PPW-701
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-18 14:15:43 +00:00
prplbot
ba84fa4f77 libamxd: Fix compilation error because of shadowed variable
Integrates following changes:
- Fix compilation error because of shadowed variable (PPW-646) (16b107d3)

References: PPW-646
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-12-08 15:48:20 +01:00
prplbot
9764ef4375 libamxc: “Off” value for WiFi.AccessPoint.MACFiltering.Mode rejected, causing ACL deny logic malfunction
Integrates following changes:
- fix: remove auto-conversion of "on"/"off" strings to boolean values (4fd65e64)

References: PPW-1128, PPW-1112
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-25 11:30:18 +01:00
prplbot
38bf55b137 libamxd: fix: improve reference path resolution in amxd_path_get_fixed_part
Integrates following changes:
- fix: improve reference path resolution in amxd_path_get_fixed_part (516877d5)

References: PPW-1102
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-21 12:11:08 +01:00
prplbot
6b4bf26f3e libamxb: [dmproxy][amx timeouts] Replace synchronous describe call from dmproxy [fix]
Integrates following changes:
- subscription: Add remote subscription index vs. named test [fix] (3b384f41)
- subscription: Add remote subscription index vs. named test [fix] (a9fd8124)
- [dmproxy][amx timeouts] Replace synchronous describe call from dmproxy (6d71b1df)
- refactor: rename amxb_subscription_new_v2 to amxb_subscription_new_no_check (28ceb438)
- docs: enhance subscription API documentation and add internal code comments (64104f5a)

References: PPW-1048
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-21 11:08:14 +01:00
FAOUZI YAHYA
0d0a3dc387 amxo-cg: upstep to v1.8.0
References: PPW-620

Signed-off-by: FAOUZI YAHYA <faouzi.yahya_ext@softathome.com>
2025-11-14 10:44:14 +00:00
prplbot
bd26a4acb3 lua-amx: [AMX][Lua bindings][Monitoring] If one object is not present the next subscriptions fail
Integrates following changes:
- Issue: PPW-553  [lua] missing license header file (59bb3617)
- ci: enable license check (57235619)
- ci: enable crosscompilations and unit tests (fee2d492)
- ci: set correct lua version (313f8bf7)
- PROVISORY: ci: disable unit tests (0910a255)
- fix: fix subscription handling and extend lamxb.lua for json output (d9cb26e2)
- ci: baf: update autogenerated files (b3235d51)

References: PPW-778, PPW-553
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-11-14 11:26:04 +01:00
prplbot
296866f48d amxd: cumulative fixes for parameter handling, uniqueness validation, and transaction safety
Integrates following changes:
- revert: protected access can change read-only parameters (631ebb41)
- fix: ensure unique keys in GSDM (82a0f26b)
- libamxd: fix index search for object lookup (de8557fb)
- fix: ensure unique keys in GSDM (7e699ce7)
- unit test: when creating a new instance unique values are not taken into account to validate the new instance (0389b42d)
- instance creation: when creating a new instance unique values are not taken into account to validate the new instance (a724ecd0)
- documentation: fix typos in header docs (8aa09c24)
- dm-transaction: When adding and deleting an object in the same transaction a seg-fault occurs (b1ba037b)
- dm-transaction: add unit-test for add-inst transactions (da080fb2)
- libamxd: Possible memory leak in amxd_build_key_expr_string (b510d011)
- unit-test: possible memory leak in amxd_build_key_expr_string (7a116cfb)
- unique-values: uniqueness is only considered when the value is not the empty string (3a54e16f)
- unit-test: uniqueness is only considered when the value is not the empty string (3e9ea05f)
- libamxd: key parameters can be modified after they are verified (ccc51072)
- unit-tests: key parameters can be modified after they are verified (d26b9d68)
- regression: when setting a parameter to the same value, validation is done (28a3b23c)

References: PPW-731, PPW-725, PPW-724, PPW-727, PPW-723, PPW-722, PPW-740, PPW-730, PPW-721, PPW-741
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-30 16:36:22 +01:00
prplbot
f723a78e1e amxrt: bump to v2.4.0
Integrates following changes:
- ci: include the ci templates (b5491a49)
- baf: introduce the baf.yml file (00f4a557)
- ci: enable crosscompilations and unit tests (1382fd9e)
- ci: baf: update autogenerated files (71b7f3ca)
- PROVISORY: ci: disable unit tests (599bffaf)
- amxrt: library routine to have procd based service monitoring for prplware (51131fe0)

References: PCF-1990
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-27 12:01:07 +00:00
prplbot
2691b43f15 libamxrt: bump to v0.8.0
Integrates following changes:
- amxrt_stop: Remove signal handlers after invoking entry points (822ded12)
- unit_tests: Add scenario to cover timers expiring while stopping amxrt (965ab4ec)

References: PPW-927
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-24 11:16:51 +00:00
prplbot
d587005177 acl-manager: bump to v0.9.0
Integrates following changes:
- baf: fix start order (1236a225)

References: PPW-1026
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-22 16:20:56 +00:00
prplbot
42742ce29f libamxc: Type ID is defined for float variant, but not implemented [fix]
Integrates following changes:
- libamxc: type ID is defined for float variant, but not implemented (0d09fddf)
- odl-parser: fix handling of escape characters in strings (fddd204a)
- amxc_set: Add function to check if set is emtpy (fc3dea45)
- amxc_set_to_string: potential buffer overrun (e74bee64)
- amxc_set_to_string: optimize set to_string operation (316c8685)
- amxc_set: add mutual difference operation (3aa4e225)
- test amxc_set: add amxc_set_mutual_difference unit tests (913f9130)
- doc: Update and improve variant type documentation (e80fcf37)
- cli: output uses lexicographical sorting instead of expected natural sorting (ac074296)
- test: output uses lexicographical sorting instead of expected natural sorting (8b86bb5a)
- variant: add a function to retrieve the path of a variant in a composite variant (1fb30558)
- common: update copyright year to 2025 (21dc829e)

References: PPW-709, PPW-712, PPW-713, PPW-708, PPW-781, PPW-710, PPW-705, PPW-711, PPW-707
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-22 16:31:24 +01:00
prplbot
8d4aaff276 libamxs: bump to v0.9.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (51cb5e94)
- PROVISORY: ci: disable unit tests (d69013b6)
- add API to monitor search path subscriptions on the client side (afd20b10)

References: PPW-746
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-07 12:02:43 +00:00
prplbot
db368cf01b libamxp: bump to v2.10.0
Integrates following changes:
- fix: add API to monitor search path subscriptions on the client side (27beb394)
- fix: re-add verify flag for backwards compatibility (5a6b875f)
- amxp-subproc: fail in amxp_subproc_vstart may lead to blocked signals (69ab9f14)
- amxp_subproc: [overlayfs removal] capabilities dropped on subprocess execution (4e49ad0d)
- amxp-promise: add a promise API for synchronizing program execution in some concurrent asynchronous I/O (575a5043)
- unit-test: add a promise API for synchronizing program execution in some concurrent asynchronous I/O (529b9b6b)
- libamxp-doc: implement abstraction layer for asynchronous and synchronous operations with promises (b1b03771)
- chained-promise: when a chained promise is canceled the wrong private data is passed (d3296a76)
- chained-promise: when a chained promise is canceled the cancel order is incorrect. (9d16f87b)

References: PPW-783, PPW-749, PPW-784, PPW-785, PPW-750, PPW-746, PPW-748
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-07 12:02:42 +00:00
Anton Chigrin
f7f7b4636b profiles: prpl.yml: feed_amx: libamxo: Update ambiorix documentation
Integrates:
- libamxo: Update documentation, add instruction how to use FD type with
  RPC and event

Implements: PCF-2034

Signed-off-by: Anton Chigrin <a.chigrin@inango-systems.com>
2025-10-06 13:42:21 +02:00
prplbot
4346e6ce7d amx-fcgi: bump to v1.4.0
Integrates following changes:
- amx-fcgi: Clean-up/stopping amx-fcgi causes a crash (PPW-769) (0eadca22)
- Eventing: JSON conversion can fail (PPW-770) (96222750)

References: PPW-769, PPW-770
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-06 07:55:48 +00:00
prplbot
d67fc1f0e0 libamxt: bump to v1.0.2
Integrates following changes:
- ci: enable crosscompilations and unit tests (2d739bf6)
- amx-cli: Pseudo terminal not properly closed on exit: O_NONBLOCK flag is kept on stdout (62a2c537)

References: PPW-759
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-04 14:31:44 +00:00
prplbot
60c21174f7 amx-cli: bump to v0.5.4
Integrates following changes:
- amx-cli: Pseudo terminal not properly closed on exit: O_NONBLOCK flag is kept on stdout (PPW-759) (6720fe10)
- amx-cli: Non root user has full data model access (no ACL checking) (PPW-697) (a1006eb9)
- test: Non root user has full data model access (no ACL checking) (PPW-697) (0c02c4a9)
- amx_cli_read_line: show prompt when requested (PPW-782) (34c79133)

References: PPW-697, PPW-759, PPW-782, HOP-10263
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-04 14:31:43 +00:00
prplbot
67f4f17504 libamxo: The odl print method is stripping all remaining escape chars
Integrates following changes:
- ci: enable crosscompilations and unit tests (338a6c91)
- The odl print method is stripping all remaining escape chars "\" (PPW-707) (98078670)
- amxo_save: Possible NULL pointer dereference when saving date-time values (PPW-742) (444322f7)
- unit-test: Saving instances with unique values must save the unique values in the instance header. (PPW-724) (a9ad4235)
- unique-values: Unique value parameters must be saved in the instance header. (PPW-724) (f72ab7a5)
- Documentation: Fix typos in the documentation (PPW-725) (314ed027)
- odl-parser: While parsing odl file the next chunk read could overwrite not processed data (PPW-743) (89c096f2)
- unit-test: While parsing odl file the next chunk read could overwrite not processed data (PPW-743) (bfbe007a)
- odl-save: Incorrect values are saved by generic odl save methods (PPW-744) (b17c8558)
- unit-test: Incorrect values are saved by generic odl save methods (PPW-744) (d237f191)
- doc: Clarify save functionality (PPW-744) (252b104d)
- odl read: odl parser reads incorrect content in large odl files (PPW-745) (921dd747)
- unit-test: odl parser reads incorrect content in large odl files (PPW-745) (496f75bd)

References: PPW-707, PPW-724, PPW-744, PPW-745, PPW-742, PPW-725, PPW-743
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-02 18:04:00 +01:00
prplbot
a01987d1b6 acl-manager: fix logically dead code
Integrates following changes:
- baf: set category to "amx" (06c61248)
- ci: baf: update autogenerated files (624236bc)
- coverity: acl-manager: Logically dead code (DEADCODE) CID-526555 (PPW-636) (3e3af176)

References: PPW-636, CID-526555, CWE-561
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-02 17:16:25 +02:00
prplbot
b51fad14a1 libamxa: Improve API for validating delete requests
Integrates following changes:
- uspagent: No response from the agent after sending Del message request with an invalid Object (a6af6caa)

References: PPW-695
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-02 15:45:27 +01:00
prplbot
e4540fdbec libamxrt: bump to v0.6.8
Integrates following changes:
- process-priority: change priority to int32 for negative support (00c56547)
- documentation: document odl file load order in libamxrt (aee716ef)
- config: extend default include-dirs and import-dirs (67bbbad4)

References: PPW-752, PPW-754, PPW-753
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-10-02 13:43:42 +00:00
prplbot
12c81bb76d libamxp: bump to v2.9.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (7b43255c)
- amxp_sigmngr: signal manager priority (39795598)

References: PPW-851
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-09-03 15:45:05 +00:00
prplbot
07f0fdfbda libamxc: bump to v2.5.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (afe97997)
- libamxc: add 64-bit versions of macros exposed in variant header (d3573ebd)

References: PPW-663
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-07-23 13:49:16 +00:00
prplbot
3b9a5c59d4 libamxb: bump to v4.14.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (21e4ed58)
- PROVISORY: ci: disable unit tests (6243ccd1)
- libamxb: Incorrect update of lookup cache (PPW-627) (556409fd)
- wait-for: Improve wait-for functionality (PPW-627) (47b1a050)
- unit-test: Improve wait-for functionality (PPW-627) (ac114789)

References: PPW-627
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-07-01 10:56:03 +00:00
prplbot
16758e4fa1 mod-amxb-ubus: bump to v3.11.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (dd4bcd09)
- amxb_ubus: Can not find mapped objects using amxb_be_who_has_ex (PPW-627) (8d219052)

References: PPW-627
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-07-01 10:56:03 +00:00
prplbot
695d14f738 mod-ba-cli: bump to v0.16.0
Integrates following changes:
- ci: enable crosscompilations and unit tests (09f968ce)
- PROVISORY: ci: disable unit tests (545592db)
- mod-ba-cli: object lookup improvement: Object lookup should always be done using full object path (PPW-627) (ff36059f)

References: PPW-627
Signed-off-by: prplbot <bot@prplfoundation.org>
2025-07-01 10:56:03 +00:00
Toon Caeyers
4b1ec39bef libamxrt: bump to v0.6.7
Integrates:
- 08e0e014e7b1 ("Support for global config directory")

References: PCF-1837, PCF-1057, SAH-HOP-6462

Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-06-17 21:16:26 +02:00
Toon Caeyers
fc89aea6a0 acl-manager: bump to v0.7.2
Integrates:
- 4601d2284c1e ("unit-tests: ACL files can contain variables in path names (HOP-9001)")
- f7a69e4d1a29 ("libamxa: ACL files can contain variables in path names")

References: PCF-1837, PCF-1057, SAH-HOP-9001

Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-06-17 21:16:26 +02:00
Toon Caeyers
bfc51d29ce libamxa: bump to v0.11.7
Integrates:
- e47d84d3ef9b ("libamxa: add-unit tests ACL files can contain variables in path names")
- 9babbdf8f86d ("libamxa: (update private include files)  ACL files can contain variables in path names")
- c71b438328b0 ("libamxa: ACL files can contain variables in path names")

References: PCF-1837, PCF-1057, SAH-HOP-9001

Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
2025-06-17 21:16:26 +02:00
Hela Saadani
b21cb34899 libamxd: bump to v6.7.6
Integrates:
- bbf17c7: ("amxd_path: add function to get part of path at a certain index PCF-1062", 2025-06-12)

References: PCF-1062

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-06-13 18:13:04 +02:00
Matthias Franck
60b256369f libamxp: fix compilation with libcap-ng 0.8.4
Cause: Some warnings are treated as errors by the compiler.

Solution: Check the return values of the capng_get_caps_process and capng_apply_caps_fd functions.

References: PCF-1684

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-06-05 08:33:09 +02:00
Matthias Franck
a94fc00f70 lua-amx: bump to v0.5.6
Integrates:
- 4487f12 ("lua-amx: Coverity: Fix Unchecked return value (CID-508293)", 2025-04-19)
- 160a318 ("lua-amx: Coverity: Fix Unchecked return value (CID-508969)", 2025-04-19)

References: CID-508293, CID-508969

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-05-13 10:21:07 +02:00
ahmed sassi
3e6aa621cd mob-ba-cli: bump to v0.14.1
Integrates:
- 0944b24: ("cli: Coverity: Fix Logically dead code (CID-507092)", 2025-04-20)
- 9c7b8f3: ("cli: Coverity: Fix Unchecked return value (CID-249692)", 2025-04-20)
- 45a99dd: ("cli: Coverity: Fix Out-of-bounds access (CID-249590)", 2025-04-20)

References: CID-507092, CID-249692, CID-249590

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 10:14:22 +02:00
ahmed sassi
c96b9c4b2f libamxm: bump to v0.1.1
Integrates:
- 3767428: ("libamxm: Coverity: Fix String not null terminated (CID-249684, CID-249777, CID-249561, CID-249654)", 2025-04-24)

References:CID-249684, CID-249777, CID-249561, CID-249654

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 10:07:14 +02:00
ahmed sassi
fc47d3d3e6 mod-amxb-ubus: bump to v3.9.1
Integrates:
- ec54feb: ("amxb-ubus list: Coverity: Fix Unchecked return value (CID-507193)", 2025-04-24)

References: CID-507193

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:55:45 +02:00
ahmed sassi
acb239012b libamxc: bump to v2.3.8
Integrates:
- 2dfd26f: ("amxc_string: Coverity: Fix Missing varargs init or cleanup (CID 249746)", 2025-04-25)

References: CID-249746

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:55:45 +02:00
ahmed sassi
28041dcccf libamxp: bump to v2.7.13
Integrates:
- d8903fa: ("amxp_subproc: Coverity: Fix Time of check time of use (CID 507123)", 2025-04-25)
- aa26544: ("amxp_dir: Coverity: Fix Time of check time of use (CID 300723)", 2025-04-25)

References: CID 507123, CID 300723

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:55:45 +02:00
ahmed sassi
72977431d6 libamxt: bump to v1.0.1
Integrates:
- eeed7ab: ("libamxt tty: Coverity: Fix Dereference null return value (CID-249787)", 2025-04-26)
- 07bddb2: ("libamxt tty: Coverity: Fix Dereference null return value (CID-249625)", 2025-04-26)
- 4895537: ("libamxt tty: Coverity: Fix Resource leak (CID-249635)", 2025-04-26)
- 3ff21bc: ("libamxt tty-output: Coverity: Fix Unchecked return value from library (CID-341009)", 2025-04-26)
- fa9776b: ("libamxt tty-output: Coverity: Fix Missing varargs init or cleanup (CID-249502)", 2025-04-26)
- 474a0eb: ("libamxt tty-output: Coverity: Fix Overflowed integer argument (CID-393569)", 2025-04-26)

References:CID-249787, CID-249625, CID-249635, CID-341009, CID-249502, CID-393569

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:55:21 +02:00
ahmed sassi
55a4f26177 amx-cli: bump to v0.5.3
Integrates:

- 92d1e86: ("amx-cli: Coverity: Unchecked return value from library (CID-341049)", 2025-04-26)
- 3695f99: ("amx-cli: Coverity: Resource leak (CID-240178)", 2025-04-26)
- efed35b: ("amx-cli: Coverity: Negative array index read (CID-249537)", 2025-04-26)

References:CID-240178, CID-249537, CID-341049

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:27:08 +02:00
ahmed sassi
13d6a25077 amx-fcgi: bump to v1.3.14
Integrates:
- 2d802ce: ("amx-fcgi upload: Coverity: Fix Unchecked return value from library and Time of check time of use (CID-341154, CID-341054)", 2025-04-27)
- 9533b05: ("amx-fcgi upload: Coverity: Fix Unchecked return value from library and Time of check time of use (CID-341061, CID-341120)", 2025-04-27)
- abac9cb: ("amx-fcgi batch: Coverity: Fix  Out-of-bounds read (CID-341228)", 2025-04-27)
- 65c0ebf: ("amx-fcgi httpaccess: Coverity: Fix Unchecked return value (CID-341165)", 2025-04-27)
- 19433c2: ("amx-fcgi handle: Coverity: Argument cannot be negative (CID-341294)", 2025-04-27)

References:CID-341054, CID-341061, CID-341120, CID-341154, CID-341165, CID-341228, CID-341294

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 09:24:52 +02:00
ahmed sassi
b88cce46f7 amxo-cg: bump to v1.6.6
Integrates:
- 54ea814: ("amxo-cg arg-parser: Coverity: Fix Extra argument to printf format specifier (CID-249719)", 2025-04-28)
- 5b97d0f: ("amxo-cg xml-gen: Coverity: Fix Overflowed constant (CID-507229)", 2025-04-28)
- 1c5f6a6: ("amxo-cg file-collector: Coverity: Fix Dereference null return value (CID-507207)", 2025-04-28)
- b821afa: ("amxo-cg file-collector: Coverity: Fix Invalid type in argument to printf format specifier (CID-507068)", 2025-04-28)

References: CID-249719, CID-507068, CID-507207, CID-507229

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-05-13 08:58:54 +02:00
Hela Saadani
2130d895e5 libamxd: bump to v6.7.5
Integrates:
a59d098 ("Netdev: NetDev.Link.*.Neigh object deletion doesn't work properly (PPW-115)", 2025-01-27)

References: PPW-115
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-04-28 16:14:17 +02:00
ahmed sassi
0e3aaf6c05 libamxs:fix several coverity issues(249836, 249597, 249742, 249527)
Integrates:

- e07f45e: ("amxs_util: Coverity: fix uninitialized pointer read (CID 249597, 249742)", 2025-03-11)
- ebac093: ("amxs_sync_ctx: Coverity: fix uninitialized pointer read (CID 249836)", 2025-03-11)

coverity references:

CID 249597, 249742
CID 249836

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
5698879c57 libamxp:fix several coverity issues(CID 517339, 249763, 508637, 508539, 300733, 249648, 506987, 507100, 507031, 393552, 393507, 249504, 50888,341301, 249549, 249603, 249667, 249789, 300723, 276689)
Integrates:
- 1744e1b: ("amxp_subproc: Coverity: Fix Use of 32-bit time_t (CID 276689)", 2025-03-13)
- 405f81a: ("amxp_dir: Coverity: Fix Time of check time of use (CID 300723)", 2025-03-13)
- 9a2d597: ("amxp_expression: Coverity: Fix Free of address-of expression (CID 249549,249603,249667,249789)", 2025-03-13)
- c7bfab9: ("amxp_schedule: Coverity: Fix Logically dead code (CID 341301)", 2025-03-13)
- 6202ddf: ("amxp_expression: Coverity: Fix Dereference before null check (CID 508880)", 2025-03-13)
- 1224237: ("amxp_proccess_info: Coverity: Fix Uninitialized pointer read (CID 249504)", 2025-03-13)
- 73ea133: ("amxp_syssig: Coverity: Fix Uninitialized pointer read (CID 393507)", 2025-03-13)
- 7a0a237: ("amxp_schedule: Coverity: Fix Overflowed constant (CID 393552)", 2025-03-13)
- 9fa2e55: ("amxp_subproc: Coverity: Fix Multiple deffects in amxp_subproc_exec_child (CID 249648, 506987, 507100, 507031)", 2025-03-13)
- 01fa549: ("amxp_sigmngr: Coverity: Fix Free of address-of expression (CID 249763, 508637, 508539, 300733)", 2025-03-17)
- e5fdd64: ("amxp_signal: Coverity: Fix Dereference before null check (CID 517339)", 2025-03-28)
- eb45920: ("baf: set SoftAtHome as copyrights holder in LICENSE file", 2025-04-09)
- 00172bd: ("[CI] Update autogenerated files", 2025-03-12)
- d500ecc: ("ci: include the ci templates", 2025-03-12)

coverity references :

CID 276689
CID 300723
CID 249549,249603,249667,249789
CID 341301
CID 508880
CID 249504
CID 393507
CID 393552
CID 249648, 506987, 507100, 507031
CID 249763, 508637, 508539, 300733
CID 517339

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
12bc7e0c5a libamxo:fix several coverity issues(CID 393511, 507106, 249769, 249833, 344685, 341090, 341300)
Integrates:
- 672f1c8: ("amxo_parser: Coverity: Fix resource leak (CID 341090, 341300)", 2025-03-11)
- 6966eda: ("amxo_parser: Coverity: Fix Unchecked return value from library (CID 344685)", 2025-03-11)
- 0658d67: ("amxo_parser: Coverty: Fix Dereference null return value (CID 249833)", 2025-03-11)
- c05316a: ("amxo_parser: Coverity: Fix Logically dead code (CID 249769)", 2025-03-11)
- 9530476: ("amxo_parser: Coverity: Fix Dereference null return value (CID 507106)", 2025-03-11)

coverity references :

CID 341090, 341300
CID 344685
CID 249833
CID 249769
CID 507106

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
5a326b13c7 libamxc :fix several coverity issues(CID 249746, 300729, 249778, 341115, 24980,393520)
Integrates:

- 4032597: ("amxc_array: Coverity: Fix Overflowed constant (CID 393520)", 2025-03-12)
- b0326d1: ("amxc_varriant fd: Coverity: Fix Operands don't affect result (CID 249802)", 2025-03-12)
- b673f0f: ("variant_dump: Coverity: Fix Unchecked return value (CID 341115)", 2025-03-12)
- c52c20a: ("amxc_set: Coverity: Fix Dereference before null check (CID 300729)", 2025-03-12)
- 64dea0a: ("amxc_string: Coverity: Fix Missing varargs init or cleanup (CID 249746)", 2025-03-12)

coverity references :

CID 393520
CID 249802
CID 341115
CID 300729
CID 249746

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
Hela Saadani
dd6d23661a libamxa:fix several coverity issues(CID 249519, 393521, 508462 ,249499)
Integrates :

- c858588: ("amxa_validate_operate: Coverty: Fix unchecked return value (CID 508462)", 2025-03-11)
- 7601e2d: ("amxa_merge: Coverity: Fix overflowed constant (CID 393521)", 2025-03-11)
- e81c7c1: ("amaxa_merger: Coverity: fix argument cannot be negative (CID 249519)", 2025-03-10)
- e3f5038: ("amxa_merge: Coverity: fix (TOCTOU) Time of check time of use (CID 249499)", 2025-03-10)

coverity references :

CID 508462
CID 393521
CID 249519
CID 249499

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-04-16 13:03:46 +00:00
sahtelnet258
d089d84826 libamb: amxb_log: Possible NULL pointer dereference (PPM-3259)
Integrates:
- 8475157: ("amxb_log: Possible NULL pointer dereference", 2025-03-25)

References: PPM-3259

Signed-off-by: sahtelnet258 <hela.saadani_ext@softathome.com>
2025-04-15 15:12:19 +02:00
Hela Saadani
9945b6e67c libamxo: PPW-459 Parser does not take into consideration a variable call [fix]
Integrates:
- 51c6ee4: ("libamxo: Parser does not take into consideration a variable call (PPW-459)", 2025-02-24)

References: PPW-459

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-04-08 12:06:07 +01:00
Nikolai Merinov
c9a202307b mod-amxb-pcb: Remove package with non-existent dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/mod-amxb-pcb/Makefile' has a dependency on 'libpcb', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/mod-amxb-pcb/Makefile' has a dependency on 'libusermngt', which does not exist

This is happening as mod-amxb-pcb defines a wrong dependency on
non-existent libpcb and libusermngt packages.

Package mod-amxb-pcb impossible to compile without vendor specific
"libpcp" library, that not part of prplOS, so let's fix it by removing
non-buildable package.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Nikolai Merinov
8dc1aa799f libamxp: fix incorrect host dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/libamxp/Makefile' has a build dependency on 'bison/host', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/libamxp/Makefile' has a build dependency on 'flex/host', which does not exist

This happend as libamxp defines a wrong dependency on non existent
flex/host and bison/host packags.

remove dependencies to non existent flex/host and bison/host package.
OpenWrt provides flex and bison utilities as tools/flex and tools/bison
targets. This tools alwys compiled before start of packages compilation.
There is no way to describe this dependency explicitely in OpenWrt.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Nikolai Merinov
ad75c589cc libamxo: fix incorrect host dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/libamxo/Makefile' has a build dependency on 'bison/host', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/libamxo/Makefile' has a build dependency on 'flex/host', which does not exist

This happend as libamxo defines a wrong dependency on non existent
flex/host and bison/host packags.

OpenWrt provides flex and bison utilities as tools/flex and tools/bison
targets. This tools alwys compiled before start of packages compilation.
There is no way to describe this dependency explicitely in OpenWrt.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Matthias Franck
5044552934 mod-busstats: add package
Introduces the mod-busstats package.
mod-busstats allows to fetch the statistics on usage of the inter-process communication bus connections of a component.

References: PCF-1679

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 17:00:24 +01:00
Matthias Franck
8b2e088e61 libamxb: bump to v4.12.0
Integrates:
- e2d537d ("Amx backend: RPC to reset a plugin statistics(PCF-1679)", 2025-02-11)

References: PCF-1679

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 17:00:11 +01:00
Matthias Franck
43097f1114 mod-amxb-ubus: bump to v3.9.0
Integrates:
- 96ef54b ("Amx backend: RPC to reset a plugin statistics(PCF-1679)", 2025-02-11)

References: PCF-1679, PCF-1680

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 16:59:47 +01:00
Hela Saadani
25b6d8db9f libamxd: v6.7.3: Performance improvements
- d5bad5c7c933 ("[CI] Update changelog for release master_v6.7.3")
- 6efded78885c ("Issue: HOP-8358 Performance improvements data model transactions")
- 45a060400d02 ("[CI] Update changelog for release master_v6.7.2")
- 8de3afc2dc63 ("Issue: HOP-8255 Custom action handlers must be used when available in creating pcb reply messages")
- 18239a4ca004 ("[CI] Update changelog for release master_v6.7.1")
- 2502b6555a5b ("Issue: HOP-8255 Custom action handlers must be used when available in creating pcb reply messages")

* HOP-8358: - Improve building reply of add instance
            - Skip key verification if no key parameters are changed
            - Optimize transactions, avoid double look-ups
            - Make it possible to set read-only parameters when using protected mode.
* HOP-8255: When parameter values are replied the value is directly from memory, but when a read handler is set on the parameter that one should be used.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 18:09:25 +01:00
Hela Saadani
f1ed812f50 libamxo: v5.3.2: Cache parsed mib expressions and fix parameter identation when saving odl files
- cf43e3842c55 ("[CI] Update changelog for release master_v5.3.2")
- 77e31399a82c ("Issue: HOP-8354 Fix parameter identation when saving odl files")
- aebd63e5e169 ("[CI] Update changelog for release master_v5.3.1")
- 884dd438d9fd ("Issue: HOP-8233 Cache parsed mib expressions")

* HOP-8354: Adds an indentation before parameters when saving odl files
* HOP-8233: Whenever the mibs are applied to the data model, their expression is re-parsed.
            For components such as gmap-server that rely heavily on dynamically changing mibs,
            this is an extra needless cost that may be optimized by caching the parsed expression.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 18:09:15 +01:00
Hela Saadani
c48d559db0 libamxp: v2.7.0: Avoid variant copies
- b398887391f3 ("[CI] Update changelog for release master_v2.7.0")
- e88416196aae ("Issue: HOP-8351 Avoid variant copies")

Add a function that takes ownership of the variant data for deferred calls.
The variant data must be freed when the deferred call has been executed or when the queued deferred call is removed from the list.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:54:59 +01:00
Hela Saadani
a1d0d2feb4 mod-amxb-ubus: v3.8.2: Avoid variant copies
- b67bd98880f1 ("[CI] Update changelog for release master_v3.8.2")
- 88d148fd32c7 ("Issue: HOP-8351 Avoid variant copies")

Adds a function that takes ownership of the variant data for deferred calls.
The variant data must be freed when the deferred call has been executed or when the queued deferred call is removed from the list.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:51:07 +01:00
Hela Saadani
96c904af24 libamxrt: v0.6.6: forward porting of fixes in prplWare 3.2 release
in commit fa710078632f ("[CI] Update autogenerated files")
in commit 092b0e775568 ("baf: fix libcap-ng issues on various filesystems")
in commit af97038c00d8 ("ci: use new gitlab-ci templates")
in commit 4fafa9751b54 ("baf: introduce the baf.yml file")
in commit d33cba16a6bd ("Allow forcing components to run as root (PPW-185)")

References: PPW-185, PPW-74, PCF-1411, PCF-1456

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:43:39 +01:00
Hela Saadani
0b1f5442fe libamxb: v4.11.8: Always log bus timeouts to syslog
- ddd0af980d88 ("[CI] Update changelog for release master_v4.11.8")
- ea8a01b78bac ("Issue: HOP-8243 [Amxb] Always log bus timeouts to syslog")

A logging function can be set in lib amxb, if this is done all the amxb calls involving bus access will be logged using this function.
In order to always log bus timeouts , use syslog instead of the custom logging function when a timeout has occured. This increases visibility of bus timeouts.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:41:06 +01:00
ahmed sassi
b7eda3aa78 amxo-cg: bump to v1.6.5
Integrates:

- c1ad3f834647b223b5abde24fdd01eb951b9725a("Fix wrong mapping to non-existent objects(PCI-45)", 2025-01-20)

References: PCI-45
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-03-05 09:45:45 +01:00
Petr Štetiar
d0cca925e7 libamxrt: fix libcap-ng issues on F2FS, JFFS2 and UBIFS based overlays
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)

That was fixed in commit 995891f8ca ("libamxrt: fix libcap-ng issues
on ext4 by enabling EXT4_FS_SECURITY").

Lately it was found out, that on some targets, like RPI the same issue
appeared again. It was found out, that it was due to the fact, that RPI
is using f2fs based rootfs_data overlay, because procd/fstools creates
f2fs based rootfs_data overlays if the available storage space is bigger
then 100MiB, in other cases its going to use ext4 filesystem.

So lets fix it for good for all the targets supported by underlying
OpenWrt system, by selecting the corresponding KERNEL_*_FS_SECURITY
config symbols. Unfortunatelly for f2fs we can't use target's specific
USES_F2FS as its not available, but we could probably use mkf2fs for
that purpose as every target seems to include it, so it should work.

Cc: stable-3.1
Fixes: PCF-1456
References: PCF-1411, PPW-74
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit fcf51b9865)
2025-02-06 10:33:21 +01:00
sahbot
9996468664 Integrating libamxo to master_v5.3.0
Issue: HOP-8052 Reduce unnecessary formatted writes

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 6b0a33020ffba535e00733bfb4a905cb7c9b1034
2024-12-12 16:09:59 +00: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
28 changed files with 360 additions and 183 deletions

View File

@@ -0,0 +1,28 @@
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_START_ORDER
int "Start up order for the acl-manager plugin"
default 16
config SAH_SERVICES_ACL-MANAGER_STOP_ORDER
int "Shutdown order for the acl-manager plugin"
default 84
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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=acl-manager
PKG_VERSION:=v0.6.7
PKG_VERSION:=v0.9.0
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.9.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.9.0
PKG_HASH:=14b90243abfb79969d488d9c4302761fbb5afba81da4839cbb6f025d6b2e0223
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.9.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -18,8 +20,8 @@ PKG_RELEASE:=1
define SAHInit/Install
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/S16$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/K16$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/S$(CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER)$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/K$(CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER)$(COMPONENT)
endef
include $(INCLUDE_DIR)/package.mk
@@ -44,17 +46,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_START_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER) CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER) 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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER) CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER) 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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_START_ORDER) CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER=$(CONFIG_SAH_SERVICES_ACL-MANAGER_STOP_ORDER) CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
endef
define Package/$(PKG_NAME)/install
@@ -67,4 +69,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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-cli
PKG_VERSION:=v0.5.1
PKG_VERSION:=v0.5.4
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.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.4
PKG_HASH:=3c85b78deee0a3843b7f3a662466789a2dd841fc5781b9b50b84213c47583cb7
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-fcgi
PKG_VERSION:=v1.3.9
PKG_VERSION:=v1.4.0
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.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.4.0
PKG_HASH:=5db11e592ca35638a14a9fd486e5720a3b06c79ade75d174a216428078c3b019
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.4.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -22,15 +24,6 @@ define SAHInit/Install
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/K10$(COMPONENT)
endef
define SAHBackupRestore/Install
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup/B10$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore/R10$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import/R10$(COMPONENT)
endef
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
@@ -63,7 +56,6 @@ 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)
$(call SAHBackupRestore/Install)
endef
define Build/InstallDev

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-cg
PKG_VERSION:=v1.4.8
PKG_VERSION:=v1.8.0
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.8.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.8.0
PKG_HASH:=6e735d402a2f4870cca06fff29a796f5b46b51a78b1ddff592673cb3ef5babfe
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.8.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -29,6 +31,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxo
DEPENDS += +libxml2
DEPENDS += +yajl
DEPENDS += +libamxs
MENU:=1
endef

View File

@@ -11,9 +11,9 @@ config SAH_SERVICES_AMXRT
bool "Build libamxrt application"
default y
config SAH_AMXRT_RWDATAPATH
string "Persistent storage location"
default "/etc/config"
config SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS
bool "Adds the procd init functions script in stead of the non-procd init functions script"
default PACKAGE_procd
endmenu

View File

@@ -1,20 +1,29 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amxrt
PKG_VERSION:=v2.1.3
PKG_VERSION:=v2.4.0
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.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.4.0
PKG_HASH:=29273105b1d6df134fa2f3d7567e1782d1ab1a6092f2ded6452a4a94cdfe1375
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.4.0
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)
@@ -39,15 +48,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_AMXRT_PROCD_INIT_FUNCTIONS=$(CONFIG_SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS=$(CONFIG_SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS))
$(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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS=$(CONFIG_SAH_SERVICES_AMXRT_PROCD_INIT_FUNCTIONS))
endef
define Package/$(PKG_NAME)/install
@@ -60,4 +71,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)))

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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.0
PKG_VERSION:=v0.11.8
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.8.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.8
PKG_HASH:=b8ed51170c4c473727e6fd55db6b33ed3cfb10984c1da29219c0926967e444bb
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.8
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,16 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxb
PKG_VERSION:=v4.9.3
PKG_VERSION:=dev_PPW-698
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_PROTO:=git
PKG_SOURCE_VERSION:=dev_PPW-698
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb.git
PKG_MIRROR_HASH:=skip
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -38,11 +41,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.0.1
PKG_VERSION:=v2.5.2
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.5.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.5.2
PKG_HASH:=0b4426d8e30717361c735b048aac074c5df4c76d58b018be2891e6e78970cf7c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.5.2
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -34,11 +36,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxd
PKG_VERSION:=v6.5.3
PKG_VERSION:=v6.9.1
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.9.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.9.1
PKG_HASH:=600f8e1f3105a1d719bbefa19acef88c07757514f1e0ff9b80b72646fe9c246b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.9.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -36,11 +38,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

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

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxm
PKG_VERSION:=v0.0.66
PKG_VERSION:=v0.1.1
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.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.1.1
PKG_HASH:=abf2a9d6daab5103198666ae05231cf5d3db8a555ac644d6756f9c1fdb3ff33c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.1.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,21 +1,21 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxo
PKG_VERSION:=v5.0.1
PKG_VERSION:=v5.5.1
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.5.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.5.1
PKG_HASH:=8692da5ae8b2ca522f8b1c3a8641e8fef301bd5981ee9b909dc07a4ac35a5728
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.5.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
include $(INCLUDE_DIR)/package.mk
@@ -40,11 +40,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,21 +1,21 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxp
PKG_VERSION:=v2.0.0
PKG_VERSION:=v2.10.0
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.10.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.10.0
PKG_HASH:=d5c64a24797ff383d0e956560c82f0505089173eb981ddf01127a5087875c6ad
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.10.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
include $(INCLUDE_DIR)/package.mk
@@ -25,6 +25,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
@@ -37,11 +38,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -10,11 +10,23 @@ menu "Select libamxrt build options"
config SAH_LIB_AMXRT
bool "Build libamxrt"
default y
select KERNEL_EXT4_FS_SECURITY if USES_EXT4 || PACKAGE_kmod-fs-ext4
select KERNEL_JFFS2_FS_SECURITY if USES_JFFS2 || USES_JFFS2_NAND
select KERNEL_UBIFS_FS_SECURITY if USES_UBIFS
select KERNEL_F2FS_FS_SECURITY if PACKAGE_mkf2fs
config SAH_AMXRT_RWDATAPATH
string "Persistent storage location"
default "/etc/config"
config FORCE_RUNNING_AS_ROOT
bool "INSECURE: This options forces ambiorix components to run as the root user, even if they request to run as a different user"
default y
config REMOVE_CAPS_ODLS
bool "INSECURE: This option removes all the capability ODLs (*_caps.odl) from /etc/amx and subdirectories during first boot. This will also force all components to run as root"
default y
endmenu
endif

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxrt
PKG_VERSION:=v0.5.3
PKG_VERSION:=v0.8.0
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.8.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.8.0
PKG_HASH:=c419e13a4bc77ddf7faee0177b98950e2dd795aa41cab1111a4dae695b57337f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.8.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -38,15 +40,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_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(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_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
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_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
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_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY) CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxs
PKG_VERSION:=v0.6.1
PKG_VERSION:=v0.9.0
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.9.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.9.0
PKG_HASH:=7f096665b979edabd5485b3b49aa8677a19062f54db1cc42563c89efc324d87d
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.9.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -38,11 +40,11 @@ define Build/Compile
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
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_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxt
PKG_VERSION:=v1.0.0
PKG_VERSION:=v1.0.2
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxt-v1.0.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/archive/v1.0.0
PKG_HASH:=3afe221384abf13b05b3ad88577573977ac83063dead584a114fc8633c2dd5cf
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v1.0.0
PKG_SOURCE:=libamxt-v1.0.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/archive/v1.0.2
PKG_HASH:=9b617e957133c2cdfe708bc021a590fbcb19d6e30d2472563d1720cf79acc044
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v1.0.2
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

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

@@ -1,20 +0,0 @@
config PACKAGE_mod-amxb-pcb
tristate
select SAH_MOD_AMXB_PCB
if PACKAGE_mod-amxb-pcb
menu "Select mod-amxb-pcb build options"
depends on PACKAGE_mod-amxb-pcb
config SAH_MOD_AMXB_PCB
bool "Build pcb backend for ambiorix"
default y
config SAH_MOD_AMXB_PCB_ORDER
string "Backend load order"
default ""
endmenu
endif

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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-ubus
PKG_VERSION:=v3.3.4
PKG_VERSION:=v3.11.0
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.11.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.11.0
PKG_HASH:=b1fb2d4ad34c7bd6f0eadea7be82923e8c1237cdc61dc982a7a5fea393d1fd36
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.11.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -25,7 +27,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxc
DEPENDS += +libamxb
DEPENDS += +libamxd
DEPENDS += +ubus
DEPENDS += +libubus
MENU:=1
endef

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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-ba-cli
PKG_VERSION:=v0.11.4
PKG_VERSION:=v0.16.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.16.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.16.0
PKG_HASH:=4bc266f76778fa691387993472539ddd234adc0ff800237bf1898833e741ddf7
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.16.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -39,15 +41,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

View File

@@ -1,53 +1,49 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.10.3
SHORT_DESCRIPTION:=PCB backend implementation for amxb
PKG_NAME:=mod-busstats
PKG_VERSION:=v0.3.0
SHORT_DESCRIPTION:=Bus statistics
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:=mod-busstats-v0.3.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_dm_mods/mod-busstats/-/archive/v0.3.0
PKG_HASH:=9170310e598d70a165c163cb09f7733416e5bcd27461ba8945d54324b514f7d5
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-busstats-v0.3.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += libamxo
PKG_BUILD_DEPENDS += libsahtrace
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Ambiorix
SUBMENU:=Modules
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_dm_mods/mod-busstats
DEPENDS += +libamxc
DEPENDS += +libamxj
DEPENDS += +libamxp
DEPENDS += +libamxd
DEPENDS += +libamxb
DEPENDS += +libpcb
DEPENDS += +libamxa
DEPENDS += +libusermngt
DEPENDS += +yajl
MENU:=1
endef
define Package/$(PKG_NAME)/description
PCB backend implementation for amxb
Bus statistics
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_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(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 CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(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 CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(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
@@ -60,8 +56,4 @@ 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,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/lua-amx/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=lua-amx
PKG_VERSION:=v0.5.5
PKG_VERSION:=v0.7.0
SHORT_DESCRIPTION:=LUA AMX Bindings
PKG_SOURCE:=lua-amx-v0.5.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/lua-amx/-/archive/v0.5.5
PKG_HASH:=2c1af69c65a4f9edb9c8d5a53cd771400d2935e2d6448226b6228577d4e30c1b
PKG_BUILD_DIR:=$(BUILD_DIR)/lua-amx-v0.5.5
PKG_SOURCE:=lua-amx-v0.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/lua-amx/-/archive/v0.7.0
PKG_HASH:=ff21249cc229d73ac9a54f1b0e6a8e7a36da6f37a13f85e1e5a537f4edd76e72
PKG_BUILD_DIR:=$(BUILD_DIR)/lua-amx-v0.7.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE