Compare commits

...

141 Commits

Author SHA1 Message Date
Anatolii Rybchych
ffca68185a integration: bump amx-fcgi version to dev_PCF-2194
Reference: dev_PCF-2194
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
2025-11-29 17:04:04 +02: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
24 changed files with 199 additions and 179 deletions

View File

@@ -11,6 +11,14 @@ 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

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.7.0
PKG_VERSION:=v0.9.0
SHORT_DESCRIPTION:=The ACL manager monitors ACL directory and merges ACL files
PKG_SOURCE:=acl-manager-v0.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.0
PKG_HASH:=7be45288a37c1ca2f27b0b20be175dee8fb32d2071fc3168942926db5ebea1f1
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.0
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 CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
$(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 CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
$(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 CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
$(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

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,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/applications/amx-fcgi/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-fcgi
PKG_VERSION:=v1.3.9
PKG_VERSION:=dev_PCF-2194
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_PROTO:=git
PKG_SOURCE_VERSION:=$(PKG_VERSION)
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi.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
@@ -22,15 +25,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 +57,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.5.4
PKG_VERSION:=v1.8.0
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.5.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.5.4
PKG_HASH:=243753b8bbf8d789bd6ef0e742fc1dc9f7fa0152c6f1033d4bdfb324235573e9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.5.4
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,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/amxrt/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amxrt
PKG_VERSION:=v2.2.0
PKG_VERSION:=v2.4.0
SHORT_DESCRIPTION:=Data model runtime
PKG_SOURCE:=amxrt-v2.2.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.2.0
PKG_HASH:=0bd6e83da66bd45127c49d686c7de62bd6f183cf9991259117db564a04a81f8f
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.2.0
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
@@ -46,17 +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
@@ -69,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)))

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,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/libamxb/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxb
PKG_VERSION:=v4.11.1
PKG_VERSION:=v4.14.1
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.1
PKG_HASH:=882f20d994eead107b16d1f191d6b0f9b837206364b9835d1ff523219f80d405
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.1
PKG_SOURCE:=libamxb-v4.14.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.14.1
PKG_HASH:=0f2415b94a1f16326d54c69f0e484943a2ef9d8c39cd5baa8182bba3612bb4f2
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.14.1
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/libamxc/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.1.0
PKG_VERSION:=v2.5.2
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v2.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.1.0
PKG_HASH:=1a8dc9c9912703f334e6265526157bd39af8867a142b6046be0c1b7490056f77
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.1.0
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.5
PKG_VERSION:=v6.9.0
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.5.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.5.5
PKG_HASH:=fbf6f70e954dccc867fba532e8a1d4d4fcbe215f739103974ad74a7c29fed89f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.5.5
PKG_SOURCE:=libamxd-v6.9.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.9.0
PKG_HASH:=21b3d06eff99a3a49be1fe7943442b9115586dd328987e12f7f0fecde4c7d81b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.9.0
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.3
PKG_VERSION:=v1.0.4
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
PKG_SOURCE:=libamxj-v1.0.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.3
PKG_HASH:=583647d91000377dc13711e26b2de2aa024895182d05e4b7f704e8be099b0e58
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.3
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.1.0
PKG_VERSION:=v0.1.1
SHORT_DESCRIPTION:=modularity API, simplifies creation of plug-ins
PKG_SOURCE:=libamxm-v0.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.1.0
PKG_HASH:=b98980d2cf88c34a674f9a62cc2e71dc1cf9e94d2f38c52f513958669deb21f5
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.1.0
PKG_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.2
PKG_VERSION:=v5.5.1
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
PKG_SOURCE:=libamxo-v5.0.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.0.2
PKG_HASH:=60cce73fd5c37f2eb4e21588cbc8864b86bbf70cc8b75e9aae91b6ced7e4d295
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.0.2
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.2.0
PKG_VERSION:=v2.10.0
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxp-v2.2.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.2.0
PKG_HASH:=9bdcd0848e665ee5565d2a1228d77f7bd05405d7927e3d435ccf1e5c8561d8f6
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.2.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
@@ -38,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.6.1
PKG_VERSION:=v0.8.0
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.6.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.1
PKG_HASH:=5d2d4ea14511812f938ecb40d05949c13ae30740e65e9cb049632307d2dc00ef
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.1
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.4
PKG_VERSION:=v0.9.0
SHORT_DESCRIPTION:=Data model synchronization C-API
PKG_SOURCE:=libamxs-v0.6.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.6.4
PKG_HASH:=f5a296b30c2b27ef2d05d3f05465e5f9c4549f6fcbfd194bfd264face6c6282d
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.6.4
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

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 "10-"
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/amxb_backends/amxb_ubus/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-ubus
PKG_VERSION:=v3.4.0
PKG_VERSION:=v3.11.0
SHORT_DESCRIPTION:=Ubus Backend
PKG_SOURCE:=amxb_ubus-v3.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.4.0
PKG_HASH:=0efd490118038c3e86f47b0f579af1fab73b939725f0abd0ae8084a0191e078b
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.4.0
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

@@ -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.13.0
PKG_VERSION:=v0.16.0
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
PKG_SOURCE:=mod-ba-cli-v0.13.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.13.0
PKG_HASH:=0f204f48506c0556fed7676d4cb23c84ba088f7fc328c80d8563b7c93f713d7e
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.13.0
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

View File

@@ -1,53 +1,49 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.12.0
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.12.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.12.0
PKG_HASH:=b548b01b599111650021d14b81a4ab6d854426bc75a4d23674e48de0c94499d8
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.12.0
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