Compare commits

...

63 Commits

Author SHA1 Message Date
prplbot
ba84fa4f77 libamxd: Fix compilation error because of shadowed variable
Integrates following changes:
- Fix compilation error because of shadowed variable (PPW-646) (16b107d3)

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

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

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

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

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

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

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

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

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

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

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

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

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

Implements: PCF-2034

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

References: PCF-1062

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

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

References: PCF-1684

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

References: CID-508293, CID-508969

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

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

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

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

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

References: CID-507193

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

References: CID-249746

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

References: CID 507123, CID 300723

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

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

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

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

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

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

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

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

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

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

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

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

coverity references:

CID 249597, 249742
CID 249836

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

coverity references :

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

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

coverity references :

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

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

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

coverity references :

CID 393520
CID 249802
CID 341115
CID 300729
CID 249746

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

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

coverity references :

CID 508462
CID 393521
CID 249519
CID 249499

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

References: PPM-3259

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

References: PPW-459

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

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

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

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

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

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

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

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

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

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

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

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

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

References: PCF-1679

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

References: PCF-1679

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

References: PCF-1679, PCF-1680

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

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

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

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

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

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

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

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

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

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

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

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

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

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

References: PCI-45
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-03-05 09:45:45 +01:00
Petr Štetiar
d0cca925e7 libamxrt: fix libcap-ng issues on F2FS, JFFS2 and UBIFS based overlays
Commit 3dc4681f9b ("Integrating libamxp to master_v2.1.1") added
handling of subprocess capabilities via libcap-ng, which on targets
utilizing ext4 filesystem needs EXT4_FS_SECURITY kernel config symbol
enabled for proper support of extended filesystem attributes via
fsetxattr():

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

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

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

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

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

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

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

Cc: stable-3.1
Fixes: PCF-1456
References: PCF-1411, PPW-74
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit fcf51b9865)
2025-02-06 10:33:21 +01:00
23 changed files with 192 additions and 174 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.1
PKG_VERSION:=v0.9.0
SHORT_DESCRIPTION:=The ACL manager monitors ACL directory and merges ACL files
PKG_SOURCE:=acl-manager-v0.7.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.1
PKG_HASH:=9a8c39941825da35d505f33cd8817bc5fe7674cbbb624b4b62e10f2251359b81
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.1
PKG_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.2
PKG_VERSION:=v0.5.4
SHORT_DESCRIPTION:=Ambiorix interactive CLI
PKG_SOURCE:=amx-cli-v0.5.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.2
PKG_HASH:=a05aa44845a016db7b937ed7ad518decbd45e7484d56f62d1c1c72dee5793aef
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.2
PKG_SOURCE:=amx-cli-v0.5.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.4
PKG_HASH:=3c85b78deee0a3843b7f3a662466789a2dd841fc5781b9b50b84213c47583cb7
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-fcgi
PKG_VERSION:=v1.3.13
PKG_VERSION:=v1.4.0
SHORT_DESCRIPTION:=Ambiorix Fast CGI app for web-servers
PKG_SOURCE:=amx-fcgi-v1.3.13.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.13
PKG_HASH:=4f245bac44238809855f52b1ea06a8b0f0f9cc2a9540a180ed0151cec39f6eff
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.13
PKG_SOURCE:=amx-fcgi-v1.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.4.0
PKG_HASH:=5db11e592ca35638a14a9fd486e5720a3b06c79ade75d174a216428078c3b019
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.4.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -22,15 +24,6 @@ define SAHInit/Install
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/K10$(COMPONENT)
endef
define SAHBackupRestore/Install
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup/B10$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore/R10$(COMPONENT)
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import/R10$(COMPONENT)
endef
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
@@ -63,7 +56,6 @@ define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call SAHInit/Install)
$(call SAHBackupRestore/Install)
endef
define Build/InstallDev

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-cg
PKG_VERSION:=v1.6.3
PKG_VERSION:=v1.8.0
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.6.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.6.3
PKG_HASH:=670d7e4958eb9d9ac209be4fb5c78607a3d485ff9bc5cd2f6cd98814f3643e6a
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.6.3
PKG_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

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.4
PKG_VERSION:=v2.4.0
SHORT_DESCRIPTION:=Data model runtime
PKG_SOURCE:=amxrt-v2.2.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.2.4
PKG_HASH:=44a4086d169cb5369635ea131a35ab5dc4befeaf59c92dc92bdfac9bca24e62b
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.2.4
PKG_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.1
PKG_VERSION:=v0.11.8
SHORT_DESCRIPTION:=Access control verification
PKG_SOURCE:=libamxa-v0.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.1
PKG_HASH:=c4ce80b236e2e6bef000e6c90df0b4be995e8ce689f88bbbbc1a3dcf6199d664
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.1
PKG_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.7
PKG_VERSION:=v4.14.1
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.11.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.7
PKG_HASH:=ed05112bd7d3191ccf998de78c6b4dac01e77e8ae38d7c693dd2ea667579ac95
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.7
PKG_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.3.1
PKG_VERSION:=v2.5.2
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v2.3.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.3.1
PKG_HASH:=7422bec681804bd0f9e54186e7f146f6f9d84627e12d2372285362546e66e221
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.3.1
PKG_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.7.0
PKG_VERSION:=v6.9.1
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.7.0
PKG_HASH:=66da959f5d61ec1d3f2d4b856cb298d05d0478aaacf5aa73bf03f0f4d653797f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.7.0
PKG_SOURCE:=libamxd-v6.9.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.9.1
PKG_HASH:=600f8e1f3105a1d719bbefa19acef88c07757514f1e0ff9b80b72646fe9c246b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.9.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -36,11 +38,11 @@ define Build/Compile
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_ACCESSPOINT=$(CONFIG_PRPL_CPE_OPMODE_EXTENDER) CONFIG_GATEWAY=$(CONFIG_PRPL_CPE_OPMODE_GATEWAY))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,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.3.0
PKG_VERSION:=v5.5.1
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
PKG_SOURCE:=libamxo-v5.3.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.3.0
PKG_HASH:=e3bbe93e197dde180b2ab53c8f70963d0110d9c9a12dfaf2fe48112f987af9c3
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.3.0
PKG_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.6.3
PKG_VERSION:=v2.10.0
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxp-v2.6.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.6.3
PKG_HASH:=8014aa77facf24f7e7930165a2f1f68e246da144b1a6bed4df3ba996266cd30c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.6.3
PKG_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.5
PKG_VERSION:=v0.8.0
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.6.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.5
PKG_HASH:=b76ad87fe9ef2417c84530e57a527945ace1eb18edf6dfc8e6a494254ed4ba3c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.5
PKG_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.8.1
PKG_VERSION:=v0.9.0
SHORT_DESCRIPTION:=Data model synchronization C-API
PKG_SOURCE:=libamxs-v0.8.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.8.1
PKG_HASH:=14f3db230f42686381c690fc8ba92c7b724f43756baf102d10056b89ccd40715
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.8.1
PKG_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.8.1
PKG_VERSION:=v3.11.0
SHORT_DESCRIPTION:=Ubus Backend
PKG_SOURCE:=amxb_ubus-v3.8.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.8.1
PKG_HASH:=d2a1b4e880f163559953388ba006a08f8d97e4ef31347b9df384631db97650b8
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.8.1
PKG_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.14.0
PKG_VERSION:=v0.16.0
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
PKG_SOURCE:=mod-ba-cli-v0.14.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.14.0
PKG_HASH:=169ef518f965f59a0a0fefe76f270f97e02cbd317e016d36b1bec88103cae46e
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.14.0
PKG_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.16.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.16.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.16.0
PKG_HASH:=f46be0036798f5610d42bc4d9e968c273eeff032742eb2de941898d7546018b9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.16.0
PKG_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