Compare commits

..

33 Commits

Author SHA1 Message Date
Hela Saadani
d2a51acf36 test: lua-amx: missing license header file
References: PPW-553

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-05-28 14:53:36 +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
18 changed files with 118 additions and 134 deletions

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.3
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.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.5.3
PKG_HASH:=31842aba197d4453aa73b21a5d8703fdfe1aa02c1e0fef3b1acdcba1583675c9
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.5.3
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.3.14
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.3.14.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.14
PKG_HASH:=40a690779c33cb6a505bc6e231e3deb50db079b579e726256d1d1e9d06e2ec6b
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.14
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.6.6
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.6.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.6.6
PKG_HASH:=5f737da52d27533b41db387d008e3723d762090a42d28a76296ccc6577e063a7
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.6.6
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.1
PKG_VERSION:=v0.11.6
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.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.6
PKG_HASH:=aeb44d88c00725dd028afdade436f61cdb6d762cbfc3bed616fac689d3405148
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.6
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.12.3
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.12.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.12.3
PKG_HASH:=89c9ddef59427a3351e5d0bacb1ef8560fdc71c6562a1dacf3f1183726282920
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.12.3
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/libamxc/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.3.1
PKG_VERSION:=v2.3.8
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.3.8.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.3.8
PKG_HASH:=ecaf791d98139df2db574c17306d792762e29b6bacfb1e658b60c204ce1d08b4
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.3.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/libamxd/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxd
PKG_VERSION:=v6.7.0
PKG_VERSION:=v6.7.5
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.7.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.7.5
PKG_HASH:=7eda28be86494b69afa83b0b11f6599735dc4142cd30c499e215fef149df5123
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.7.5
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,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.3.10
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.3.10.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.3.10
PKG_HASH:=d785a6c9dc6591d8c28428002ffd82d7955c3d4e891c2c3315524688a497570b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.3.10
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

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.7.13
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.7.13.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.7.13
PKG_HASH:=8ad1696ae3624f8050901874fab4f02ae0e1ba60f2b724357eec566d25204fa5
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.7.13
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

View File

@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Libraries
SUBMENU:=Ambiorix
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt
DEPENDS += +libamxc

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxs
PKG_VERSION:=v0.8.1
PKG_VERSION:=v0.8.3
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.8.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.8.3
PKG_HASH:=42409fe4b135b8274e9f4595c269dcc66c076aadcbfe0ee99a8c274805fcdab0
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.8.3
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/libamxt/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxt
PKG_VERSION:=v1.0.0
PKG_VERSION:=v1.0.1
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.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/archive/v1.0.1
PKG_HASH:=7897eb5cb8d8bd5f1c6de7ff75c0e626c9f8ceebad8dbface3b85f11d0cf348a
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v1.0.1
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.9.1
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.9.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.9.1
PKG_HASH:=4f3d01e6533b9bac8130a506fddfc10de4001d8050410cd69716e68c46621de0
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.9.1
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.14.1
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.14.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.14.1
PKG_HASH:=58d879a6cbfa9af84fa5e4eb31f179f20426478ed1882f92e3bed033dcd2647f
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.14.1
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.5.7
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.5.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/lua-amx/-/archive/v0.5.7
PKG_HASH:=86ea26684bd87beb9ed39891d7d2635ca2c332e118a9a2fc12a2372cf1c76658
PKG_BUILD_DIR:=$(BUILD_DIR)/lua-amx-v0.5.7
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE