Compare commits

...

144 Commits

Author SHA1 Message Date
Matthias Franck
b3e8f5a4ad libamxb: bump to mainline-3.2_v0.1.1
Integrates:
ee0c0da ("amxb_version: disable version check", 2025-01-10)

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-01-14 11:42:44 +01:00
Matthias Franck
0caaef5dd0 Merge branch 'dev_bump_libamxn' into 'mainline-3.2'
libamxb: bump to mainline-3.2_v0.1.0

See merge request prpl-foundation/prplos/feeds/feed_amx!6
2025-01-10 08:22:08 +00:00
Matthias Franck
28342711ad libamxb: bump to mainline-3.2_v0.1.0
Fixes issue on sometimes missing app:start events on ubus.

References: PPW-62, HOP-7528

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-01-10 09:19:37 +01:00
Matthias FRANCK
6ea4756b34 libamxrt: include fixes for prplos-3.2
1266d7c ("Allow forcing components to run as root (PPW-185)", 2024-12-18)
a4aa414 ("baf: introduce the baf.yml file", 2024-12-19)
e1d06fd ("ci: use new gitlab-ci templates", 2024-12-19)
922620d ("baf: fix libcap-ng issues on various filesystems", 2024-12-20)

Signed-off-by: Matthias FRANCK <matthias.franck@softathome.com>
2024-12-20 11:13:52 +01:00
Petr Štetiar
fcf51b9865 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>
2024-12-18 11:56:38 +01:00
Yüce Kürüm
d2857bb993 libamxp: upstep to 2.3.0
This upstep includes following fixes:
- Issue: PPW-65 - [USP][CDRouter][Random] Some datamodel path are 
   missing in USP hl-api tests

Signed-off-by: Yüce Kürüm <yuce.kurum@mind.be>
Signed-off-by: Yüce Kürüm <yuce.kurum_ext@softathome.com>
2024-09-23 12:33:02 +02:00
Yüce Kürüm
b528eebbca libamxrt: upstep to 0.6.3
This upstep includes following fixes:
- Issue: PPW-65 - [USP][CDRouter][Random] Some datamodel path are 
   missing in USP hl-api tests
- Issue: NET-6038 Avoid double USP connections to the same sockets

Signed-off-by: Yüce Kürüm <yuce.kurum@mind.be>
Signed-off-by: Yüce Kürüm <yuce.kurum_ext@softathome.com>
2024-09-23 12:32:48 +02:00
Petr Štetiar
35a1122c88 libamxrt: fix libcap-ng issues on ext4 by enabling EXT4_FS_SECURITY
Commit 3dc4681f9b ("Integrating libamxp to master_v2.1.1") added
handling of subprocess capabilities via libcap-ng, which on targets
utilizing ext4 filesystem needs EXT4_FS_SECURITY kernel config symbol
enabled for proper support of extended filesystem attributes via
fsetxattr():

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

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

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

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

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

Fixes: PPW-74
References: PCF-1411
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
GitOrigin-RevId: 85e0e6f92a8112ba9c3e102fc9f39341f17de3ae
(cherry picked from commit 825c023cd8)
2024-09-18 18:48:35 +00:00
sahbot
a685e3c251 Integrating libamxa to master_v0.11.1
Issue: SOFA-435 amxa resolver go into  infinite loop if a invalid path is used

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 05f478ed2cedfe60595dcecc78674c2aff59bb2a
(cherry picked from commit 1729efedca)
2024-09-18 18:48:34 +00:00
sahbot
7e21539857 Integrating libamxm to master_v0.1.0
Issue: HOP-7173 Fix example in libamxm

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

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

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

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

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

GitOrigin-RevId: 4382fc7d332baa8b698e8a610fd3eaed02b75eb9
2024-06-04 08:41:38 +00:00
sahbot
e3c46c7bd3 take backend order into account
GitOrigin-RevId: 31422f71472685b4c867f52c9bfed7e655ecc444
2024-06-04 08:41:38 +00:00
sahbot
6d09006627 Integrating libamxb to master_v4.9.7
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: f8e78323317018e424eadab11e5a217397ef80ba
2024-06-04 08:41:38 +00:00
sahbot
dffdb2714b Update file Makefile
GitOrigin-RevId: 97c1ffaf0fa6e2a5e8d790270f4157e7a170c5b1
2024-05-29 07:25:55 +00:00
sahbot
c558930060 Update file Makefile
GitOrigin-RevId: b004fba48a1c34905a6b0972ad7392b7ce1f24b3
2024-05-29 07:25:55 +00:00
sahbot
5342f60c1f Update file Makefile
GitOrigin-RevId: 24ca5e1dffc6669cb59195d05d392bdcbaf473e1
2024-05-29 07:25:55 +00:00
sahbot
b9a8867a48 Integrating mod-amxb-pcb to master_v3.10.3
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: bae1d254666cae2ce4bc8b518ae0d2c1d9accb02
2024-05-29 07:25:55 +00:00
sahbot
a176cdd626 Integrating libamxb to master_v4.9.6
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 5ace1ff9c60b12d8a8caf8d5a17692d1482a6c1f
2024-05-29 07:25:55 +00:00
sahbot
e6a3899db6 Integrating mod-amxb-ubus to master_v3.3.4
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 2636397068bf1b29d7e3775047eef993278ef94b
2024-05-29 07:25:55 +00:00
sahbot
5976c9efc8 Integrating libamxb to master_v4.9.5
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: d7da79efcef1ae721848cd2dec7c8b9913622de4
2024-05-29 07:25:55 +00:00
sahbot
ece5952ea9 Merge remote-tracking branch 'origin/master' into dev_master_group_1_upstep
GitOrigin-RevId: a680bb551e05b93f45fe2c5f1d860bca55694c38
2024-05-29 07:25:55 +00:00
sahbot
cccbc16ceb Integrating libamxb to master_v4.9.4
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 866cbb9a692b8776e55221235ce135d4d001c891
2024-05-29 07:25:55 +00:00
sahbot
572c993ece Integrating mod-amxb-ubus to master_v3.3.3
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 4a863a5084b6f871d1710ad0e0ac6ca2ebcf3f20
2024-05-29 07:25:55 +00:00
sahbot
c2bfc7933d Integrating mod-amxb-pcb to master_v3.10.2
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: ddf0220e5b49a41ca60f4e1cf11498d09d78b592
2024-05-29 07:25:55 +00:00
sahbot
31bc6c9afc Integrating libamxrt to master_v0.5.3
Issue: HOP-6620 [tr181-device -D][Memory leak] tr181-device -D is consuming 55MB in 4days
Issue: HOP-6690 Make it possible to set backend load priority
GitOrigin-RevId: 09ff31acd791a3f82c326d8a79269c7a9c88852f
2024-05-29 07:25:55 +00:00
sahbot
2cc04b5d19 Integrating amxo-cg to master_v1.4.8
Issue: HOP-6677 Make it possible to generate a full xml using all odl files available in a root-fs
GitOrigin-RevId: c9f412a9094eb7931b85e670ddb3da7c5da69af0
2024-05-29 07:25:55 +00:00
sahbot
140065edaa Integrating amxo-cg to master_v1.4.7
Issue: HOP-6677 Make it possible to generate a full xml using all odl files available in a root-fs
GitOrigin-RevId: c2f763183cdfe0441039bbaba3ffef616022e0fc
2024-05-29 07:25:55 +00:00
sahbot
f095d988a7 Integrating amxo-cg to master_v1.4.6
Issue: HOP-6677 Make it possible to generate a full xml using all odl files available in a root-fs
GitOrigin-RevId: 3c488df76867d770e39ef91d2501f94e9709109c
2024-05-29 07:25:55 +00:00
sahbot
bafee4d1a8 Integrating amxo-cg to master_v1.4.5
Issue: HOP-6677 Make it possible to generate a full xml using all odl files available in a root-fs
GitOrigin-RevId: 0a592fbc585557d61df1d7c770bfa77a2348cf5d
2024-05-29 07:25:55 +00:00
sahbot
84284a30dd Integrating amxo-cg to master_v1.4.4
Issue: HOP-6677 Make it possible to generate a full xml using all odl files available in a root-fs
GitOrigin-RevId: 6fad07b7a740493a11b456e9b45759a87a28b484
2024-05-29 07:25:55 +00:00
sahbot
43e7b793fd Integrating libamxd to master_v6.5.3
Issue: HOP-6608 - amxd_dm_invoke_action_impl missing test before the callback call (fn) [fix]
Issue: NET-5833 [amx] Improve Ambiorix const correctness
GitOrigin-RevId: d298002c9a0c708a88af5fb521de4bfb5df5e58d
2024-05-29 07:25:55 +00:00
sahbot
37e446d4d6 Integrating libamxo to master_v5.0.1
Issue: PCF-1158 libamxrt: boot logs are flooded with Include file not found "extensions/" messages
GitOrigin-RevId: 4c31354c2a4dfc29b6646de0ed3ad6d3d3530ec2
2024-05-29 07:25:55 +00:00
sahbot
87c7050c23 Integrating libamxc to master_v2.0.1
Issue: NET-5833 [amx] Improve Ambiorix const correctness
GitOrigin-RevId: f3178b50b2a2598108adbb70c998ccbd679b7366
2024-05-29 07:25:55 +00:00
sahbot
7fb6d84454 Integrating libamxd to master_v6.5.2
Issue: HOP-6608 - amxd_dm_invoke_action_impl missing test before the callback call (fn) [fix]
GitOrigin-RevId: 5556a87e70a0b3454a64409ad22728914363e582
2024-05-29 07:25:55 +00:00
sahbot
d68fbbd3f0 Integrating libamxrt to master_v0.5.2
Issue: HOP-6620 [tr181-device -D][Memory leak] tr181-device -D is consuming 55MB in 4days
GitOrigin-RevId: 2bace20166832e93cb88f6a1d72f93ff7e2dc056
2024-05-29 07:25:55 +00:00
sahbot
6e940fc7d4 Integrating libamxs to master_v0.6.1
Issue: PSEC-528 [Security][ambiorix]Some libraries are not compiled with Fortify-Source
GitOrigin-RevId: 34c20c8e56dc71a9be5e42c40a241faa2036e7c5
2024-05-29 07:25:55 +00:00
sahbot
794baa6108 Integrating libamxj to master_v1.0.1
Issue: PSEC-528 [Security][ambiorix]Some libraries are not compiled with Fortify-Source
GitOrigin-RevId: 1a7c28b9ac16d7b877e84e35a14562cc569e2d07
2024-05-29 07:25:55 +00:00
sahbot
e59abdfb4d Integrating mod-ba-cli to master_v0.11.4
Issue: PSEC-528 [Security][ambiorix]Some libraries are not compiled with Fortify-Source
GitOrigin-RevId: 29de8d66e8fd70d9895a4f5d25e966402d5acf53
2024-05-29 07:25:55 +00:00
sahbot
bac94efd87 Integrating libamxm to master_v0.0.66
Issue: PSEC-528 [Security][ambiorix]Some libraries are not compiled with Fortify-Source
GitOrigin-RevId: e585683b43f177caafe443e9fa3096772088e6d9
2024-05-29 07:25:55 +00:00
sahbot
7904d7519d ci: add opensource ci
GitOrigin-RevId: e9b86a8de781d06e175d8b91ee1c61bf4392e49e
2024-05-28 09:21:55 +00:00
sahbot
bf6fcefedd Integrating mod-lua-amx to master_v0.1.11
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 76bfef500854ffcb92d5b0a32cca7ab74fc28073
2024-05-07 20:41:03 +00:00
sahbot
dd14b19dc2 Integrating lua-amx to master_v0.5.5
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 2c01d28890a35b175f18f1659feac195128c9700
2024-05-07 20:41:03 +00:00
sahbot
7dc6500c4d Integrating libamxd to master_v6.5.1
Issue: HOP-6553 [amxd] amxd_trans_set_param with NULL value makes the amxd_trans_apply failIgnore null variants
GitOrigin-RevId: 5dce778cf4dbee7b649680099034f78f2743750d
2024-05-07 20:41:03 +00:00
sahbot
dac9f22745 Integrating amxo-cg to master_v1.4.3
Issue: HOP-6467 Fix instance counter position
Issue: ST-1371 Take counter parameter attributes into account
GitOrigin-RevId: 34465837dadc21ecdc51d5134ceef41a128d5e84
2024-05-07 20:41:03 +00:00
sahbot
ded009117e Integrating libamxo to master_v5.0.0
Issue: HOP-6102 Add `+=` syntax for appending lists in config sections [new]
Issue: HOP-6487 The amxo parser struct contains unused fields and should be removed
GitOrigin-RevId: 8748a5747c945772f385426ad636d0d0e110a5a0
2024-05-07 20:41:03 +00:00
sahbot
f9d4d06c95 Integrating libamxb to master_v4.9.3
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 0da130b3b5decd0526981089ea24e45ea6c5680b
2024-05-07 20:41:03 +00:00
sahbot
53ad43d55c Integrating libamxm to master_v0.0.65
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 39984e9e0b588cb29eb3dd5400b2dc0cee1789ab
2024-05-07 20:41:03 +00:00
sahbot
98e2356201 Integrating libamxp to master_v2.0.0
Issue: HOP-6102 Avoid g++ compiler warning for new .add_value variant function pointer
GitOrigin-RevId: 92e09829b02429a35139ec53bc9b1a329580ceb5
2024-05-07 20:41:03 +00:00
sahbot
2d635f5c37 Integrating libamxp to master_v1.4.2
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: c8e469ae28f9d0e0f1d63ed0b12d646a460a5666
2024-05-07 20:41:03 +00:00
sahbot
236f82033e Integrating libamxt to master_v1.0.0
Issue: HOP-6102 Avoid g++ compiler warning for new .add_value variant function pointer
GitOrigin-RevId: 470e77c031ea29b7fe973fb97c7b92c9f7dd3d2f
2024-05-07 20:41:03 +00:00
sahbot
2f09104a68 Integrating libamxj to master_v1.0.0
Issue: HOP-6102 Avoid g++ compiler warning for new .add_value variant function pointer
GitOrigin-RevId: 39b2e41b8fc802f3e73049d897ec73cdc3942cc2
2024-05-07 20:41:02 +00:00
sahbot
5deb9a1931 Integrating libamxc to master_v2.0.0
Issue: HOP-6102 add amxc_var_add_value() [new]
GitOrigin-RevId: d89c39c8197fd24a990beb95c718e22c822a1a24
2024-05-07 20:41:02 +00:00
sahbot
5cb1f7aac6 Integrating amxo-cg to master_v1.4.2
Issue: HOP-6467 Fix instance counter position
GitOrigin-RevId: aa5b20e50dc6479ea0b85e043ec9c298ece3b06a
2024-05-07 20:41:02 +00:00
sahbot
d810e9e66b Integrating libamxo to master_v4.3.8
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 4937dc03f38c7b7c5c68826174bf555ae52b2474
2024-04-19 19:21:07 +00:00
sahbot
2a89260979 Integrating libamxp to master_v1.4.1
Issue: HOP-6380 Expose getter and eval binary expression tree functions [fix]
GitOrigin-RevId: 9e36d8780249c07a7fc1b71aa5fc3a61a4ce99e6
2024-04-19 19:21:07 +00:00
sahbot
3ec415b78c Integrating libamxo to master_v4.3.7
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 153525b8d33ef8ebaf9684473059f5d8dc2746ad
2024-04-19 19:21:07 +00:00
sahbot
2135d22ce7 Integrating libamxb to master_v4.9.2
Issue: HOP-6376 Allow multiple registrations for the same bus context [change]
Issue: NET-5732 [AMX] Config variable not reset when backends are freed [fix]
GitOrigin-RevId: 02d076e21ebe7990997d84a041c96db6e5e76763
2024-04-19 19:21:07 +00:00
sahbot
98fac1941c Integrating libamxc to master_v1.10.5
Issue: NET-5721 Fix inconsistency in converting integer signedness [fix]
GitOrigin-RevId: 2a44c84e9b52ded17746590b22f81dfa3935b0ee
2024-04-19 19:21:07 +00:00
sahbot
3e8786d198 Integrating libamxm to master_v0.0.64
Issue: HOP-6387 [AMXM] Implement amxm_so_error to debug failed amxm_so_open
GitOrigin-RevId: c7590b37952c56b8b5cb0d6ad0ff60b242d38c36
2024-04-19 19:21:07 +00:00
sahbot
7afa879905 Integrating amxo-cg to master_v1.4.1
Issue: HOP-6374 Parameters must also be notated in xml using supported path notation
GitOrigin-RevId: 645eb0a819e642691059637ea90d43cd0bc33b72
2024-04-19 19:21:07 +00:00
sahbot
e9e2dfddaf Integrating libamxrt to master_v0.5.1
Issue: IOT-1221 amxrt app exits immediately on LXC due to capdrop error
GitOrigin-RevId: f152b171dc14435b00e0cddf437c625440ee0cf1
2024-04-19 19:21:07 +00:00
sahbot
d2ca3eb0ae Integrating acl-manager to master_v0.6.7
Issue: HOP-6338 Make amxb timeouts configurable [change]
GitOrigin-RevId: 0dcf44f9587fef660f66bd609319c00994342c8b
2024-04-12 05:18:51 +00:00
sahbot
3eab17316a Integrating libamxrt to master_v0.5.0
Issue: HOP-6338 Pass configuration to libamxb [new]
GitOrigin-RevId: 11f4d10f0e34b63e2d740a107d621b975f2b4045
2024-04-12 05:18:51 +00:00
sahbot
dcf7327cf5 Integrating amx-fcgi to master_v1.3.9
Issue: HOP-6338 Make amxb timeouts configurable [change]
GitOrigin-RevId: 4be5068eb6d97bff07e4af29bf11c28a6967b147
2024-04-12 05:18:51 +00:00
sahbot
99a3c69aab Integrating libamxb to master_v4.9.1
Issue: HOP-6338 Make timeouts configurable. [new]
GitOrigin-RevId: 9c1a43dcb10b5f46d4e1ba62ec96eb90e3edbf27
2024-04-12 05:18:51 +00:00
sahbot
3e24748f90 Integrating libamxb to master_v4.9.0
Issue: HOP-6338 Make timeouts configurable. [new]
GitOrigin-RevId: 02f18af0facdbacab766e7d4df656f19f5deec14
2024-04-12 05:18:51 +00:00
sahbot
21f9bf8d54 Integrating libamxc to master_v1.10.4
Issue: NET-5673 Fix crash on converting string variant without buffer to timestamp [fix]
GitOrigin-RevId: 6a1042dace61c189e9551cb79abdc8f2b9c0bfb8
2024-04-12 05:18:51 +00:00
sahbot
a464331b43 Integrating libamxb to master_v4.8.3
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: ba13e4ff691051a3b0c2b6377a3309ac81387d0c
2024-04-12 05:18:51 +00:00
sahbot
1b373466ba [libsahtrace] fix hash of upstream package
By accident the version of libsahtrace was changed, but the hash was not updated.

GitOrigin-RevId: bb3fd66fe51cc835059da461d0844cbff8c720fa
2024-04-02 07:45:30 +00:00
sahbot
3cc9b3e68d Integrating libamxo to master_v4.3.6
Issue: NET-5635 Fix nested list parsed as not-nested list [fix]
Issue: NET-5639 fix string literal with leading/trailing spaces parsed as without [fix]
GitOrigin-RevId: 8904d8ca7a69ead96e399623d37d55e066d3fa6f
2024-03-25 06:56:15 +00:00
sahbot
acb23d4502 Integrating libamxo to master_v4.3.5
Issue: NET-5639 fix string literal with leading/trailing spaces parsed as without [fix]
GitOrigin-RevId: 0ea86dd4940767c95eb3e192e8a747c63e40049d
2024-03-25 06:56:15 +00:00
sahbot
1b6aea934e Revert "Update file Makefile"
This reverts commit 7cb99e745e5ea5db1f04d164ab72a79fd7227634

GitOrigin-RevId: 250379e6c8e8dbdeb2d21305fd5ed3b4fabeef15
2024-03-25 06:56:15 +00:00
sahbot
b68b8cbed4 Revert "Update file Makefile"
This reverts commit 0ee01f2249a4c77dd0a97ceb7a2ace46b933ebfe

GitOrigin-RevId: ecd3c117d983786397a83e40fe7f3564b35e5b01
2024-03-25 06:56:15 +00:00
sahbot
77116dc150 Update file Makefile
GitOrigin-RevId: 0ee01f2249a4c77dd0a97ceb7a2ace46b933ebfe
2024-03-25 06:56:15 +00:00
sahbot
d2b570fd38 Update file Makefile
GitOrigin-RevId: 7cb99e745e5ea5db1f04d164ab72a79fd7227634
2024-03-25 06:56:15 +00:00
sahbot
8b911a895f Integrating mod-amxb-pcb to master_v3.10.1
Issue: NET-5630 [AMX] Eventing no longer works for mapped native pcb objects [fix]
GitOrigin-RevId: e5d4a204f9f1f39a4fc0734e9f496c479fb1924b
2024-03-25 06:56:15 +00:00
sahbot
a4346cda1e Integrating libamxd to master_v6.5.0
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 9dc82acaf257827ad5aa9eeb36ea845b0479fe35
2024-03-25 06:56:15 +00:00
sahbot
c2a6836ce9 Integrating lua-amx to master_v0.5.4
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 7426dc1b97296d8705f45764508f5a3855d82200
2024-03-25 06:56:15 +00:00
sahbot
01a9d072b2 Integrating lua-amx to master_v0.5.3
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 23bc8f0dba9b3a1f71876561dc1b721bfbb4ec2b
2024-03-25 06:56:15 +00:00
sahbot
537110d0f5 Integrating mod-ba-cli to master_v0.11.3
Issue: HOP-6140 [ba-cli]When set fails the error must be printed instead of no data found
GitOrigin-RevId: a1d2df37908cdaefdea07cb6c9bc0a7a516ee841
2024-03-18 14:02:07 +00:00
sahbot
0d02a93dc8 Integrating lua-amx to master_v0.5.2
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: 19e28b6fa0a8882ee98c0ada4a485348bd974139
2024-03-18 14:02:07 +00:00
sahbot
fcf1ad2986 Integrating lua-amx to master_v0.5.1
Issue: DUMMY-0000 - No associated bugs found
GitOrigin-RevId: bc0baf5e6dbf8ef7fbe1afad6bb4df75b755046a
2024-03-18 14:02:07 +00:00
sahbot
048d281ed4 Integrating mod-amxb-pcb to master_v3.10.0
Issue: HOP-6015 After reboot all hosts are disconnected (AKA amb timeouts)
GitOrigin-RevId: 0bd12eafc6cc54cd6f25334c17c23840a615a564
2024-03-18 14:02:07 +00:00
sahbot
34d012410c Integrating libamxd to master_v6.4.2
Issue: HOP-6119 Datamodel application generic performance improvement
GitOrigin-RevId: 428835cd43b6fcc66d49883c6ba8e68790d36b20
2024-03-18 14:02:07 +00:00
sahbot
98c7f4b1a7 Update 2 files
- /libs/libsahtrace/Config.in
- /libs/libsahtrace/Makefile

GitOrigin-RevId: 47919c0627345c7643a67d768cff0d35fd99ecb3
2024-03-15 09:56:26 +00:00
sahbot
db5700ed26 Integrating libsahtrace to master_v1.16.0
Issue: NET-5584 User log: Make it optional
GitOrigin-RevId: 3985c4c30237e597ecd54b606ee2de60c2785bc8
2024-03-14 13:06:06 +00:00
28 changed files with 337 additions and 115 deletions

4
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,4 @@
---
include:
- remote: 'https://gitlab.com/prpl-foundation/tooling/yml-templates/raw/main/.feed-pipeline.yml'

View File

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

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=acl-manager
PKG_VERSION:=v0.6.6
PKG_VERSION:=v0.7.0
SHORT_DESCRIPTION:=The ACL manager monitors ACL directory and merges ACL files
PKG_SOURCE:=acl-manager-v0.6.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.6.6
PKG_HASH:=ef1789e6aeebbcdb9621ff59201d51d76f1a0a8cf44f7c45a129157dbaca8a3a
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.6.6
PKG_SOURCE:=acl-manager-v0.7.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.7.0
PKG_HASH:=7be45288a37c1ca2f27b0b20be175dee8fb32d2071fc3168942926db5ebea1f1
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.7.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -44,17 +44,17 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
$(call SAHInit/Install)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS=$(CONFIG_SAH_SERVICES_ACL-MANAGER_REQUIRES_USERS))
endef
define Package/$(PKG_NAME)/install
@@ -67,4 +67,8 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
define Package/$(PKG_NAME)/config
source "$(SOURCE)/Config.in"
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amx-fcgi
PKG_VERSION:=v1.3.8
PKG_VERSION:=v1.3.9
SHORT_DESCRIPTION:=Ambiorix Fast CGI app for web-servers
PKG_SOURCE:=amx-fcgi-v1.3.8.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.8
PKG_HASH:=ee31fc2b11d6747220df93baf37ad4558d470c23c81add89e898594da7c966dd
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.8
PKG_SOURCE:=amx-fcgi-v1.3.9.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v1.3.9
PKG_HASH:=8dafdcf8cd619c2913db3aae81b298050e9413b4411ede2a45fa839ecaf670e8
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v1.3.9
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-cg
PKG_VERSION:=v1.4.0
PKG_VERSION:=v1.5.4
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.4.0
PKG_HASH:=5195e715168cd733d42290ddbb290a1d4363015fed2129b2bfc53f25ae058699
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.4.0
PKG_SOURCE:=amxo-cg-v1.5.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.5.4
PKG_HASH:=243753b8bbf8d789bd6ef0e742fc1dc9f7fa0152c6f1033d4bdfb324235573e9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.5.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

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

61
apps/dmtui/Makefile Normal file
View File

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

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.0
PKG_VERSION:=v0.11.1
SHORT_DESCRIPTION:=Access control verification
PKG_SOURCE:=libamxa-v0.11.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.0
PKG_HASH:=18bdeaf99a56530c7b2725cc3bced0eb92e04e54c57ae0f3aa98ac4c005588a9
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.0
PKG_SOURCE:=libamxa-v0.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.1
PKG_HASH:=c4ce80b236e2e6bef000e6c90df0b4be995e8ce689f88bbbbc1a3dcf6199d664
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxb
PKG_VERSION:=v4.8.2
PKG_VERSION:=mainline-3.2_v0.1.1
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.8.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.8.2
PKG_HASH:=9d83d0fd591f3572ebf039c28b3377127d7db5133c7f8ce829bbe0c09d9c9b0e
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.8.2
PKG_SOURCE:=libamxb-mainline-3.2_v0.1.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/mainline-3.2_v0.1.1
PKG_HASH:=007defbbe6e26fe9e6beaf98de36ec0d93041b6b1144a99941bc9a5c0c7a5571
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-mainline-3.2_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,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v1.10.3
PKG_VERSION:=v2.1.0
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v1.10.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v1.10.3
PKG_HASH:=de2b4e3e38cd72ad91f6c13cb2d6170ec249a15ea5f7eb276cbf25b7aa9ceda5
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v1.10.3
PKG_SOURCE:=libamxc-v2.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.1.0
PKG_HASH:=1a8dc9c9912703f334e6265526157bd39af8867a142b6046be0c1b7490056f77
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.1.0
PKG_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:=libamxd
PKG_VERSION:=v6.4.1
PKG_VERSION:=v6.5.5
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.4.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.4.1
PKG_HASH:=e186206f775542250a5b4a7bfd3cd51608b3bb073c9112b54607933a9a402089
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.4.1
PKG_SOURCE:=libamxd-v6.5.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.5.5
PKG_HASH:=fbf6f70e954dccc867fba532e8a1d4d4fcbe215f739103974ad74a7c29fed89f
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.5.5
PKG_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:=libamxj
PKG_VERSION:=v0.3.64
PKG_VERSION:=v1.0.3
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
PKG_SOURCE:=libamxj-v0.3.64.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v0.3.64
PKG_HASH:=a21cbbe23d296ec08215a8e54a657eb1302fd88152ca49e9fe60752b58fa4322
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v0.3.64
PKG_SOURCE:=libamxj-v1.0.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v1.0.3
PKG_HASH:=583647d91000377dc13711e26b2de2aa024895182d05e4b7f704e8be099b0e58
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v1.0.3
PKG_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:=libamxm
PKG_VERSION:=v0.0.63
PKG_VERSION:=v0.1.0
SHORT_DESCRIPTION:=modularity API, simplifies creation of plug-ins
PKG_SOURCE:=libamxm-v0.0.63.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.0.63
PKG_HASH:=8c98793c0b688f8c188a4787ea85af1e31ff4ca4154c6e78be664fa6f107d1c0
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.63
PKG_SOURCE:=libamxm-v0.1.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.1.0
PKG_HASH:=b98980d2cf88c34a674f9a62cc2e71dc1cf9e94d2f38c52f513958669deb21f5
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.1.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxo
PKG_VERSION:=v4.3.4
PKG_VERSION:=v5.0.2
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
PKG_SOURCE:=libamxo-v4.3.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v4.3.4
PKG_HASH:=a0768f8a23c3500cdbf7770e6554d63520af125a59706642ace63284f807fac3
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v4.3.4
PKG_SOURCE:=libamxo-v5.0.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.0.2
PKG_HASH:=60cce73fd5c37f2eb4e21588cbc8864b86bbf70cc8b75e9aae91b6ced7e4d295
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.0.2
PKG_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:=libamxp
PKG_VERSION:=v1.4.0
PKG_VERSION:=v2.3.0
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxp-v1.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v1.4.0
PKG_HASH:=605091c1977bad2f3e93dbaba1832eeafcbbb6bc119cc7a76ad52f5268aaecb0
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v1.4.0
PKG_SOURCE:=libamxp-v2.3.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.3.0
PKG_HASH:=c207832d9bea0c5149dab16afa6f13bcd7d4b85efa20ad5592cec1a32465930d
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.3.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -25,6 +25,7 @@ define Package/$(PKG_NAME)
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp
DEPENDS += +libamxc
DEPENDS += +libcap-ng
MENU:=1
endef

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,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxrt
PKG_VERSION:=v0.4.2
PKG_VERSION:=mainline-3.2_v0.1.1
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.4.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.4.2
PKG_HASH:=9186326b5776ec313b5a3cb74561d3eed2a570080da2f76bab29a7849f286560
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.4.2
PKG_SOURCE:=libamxrt-mainline-3.2_v0.1.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/mainline-3.2_v0.1.1
PKG_HASH:=28c6aa7ede9b1e2686be9d61000f80189b194312c50b482d7b0073b2ed6e2fde
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-mainline-3.2_v0.1.1
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -38,15 +38,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_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_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,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxs
PKG_VERSION:=v0.6.0
PKG_VERSION:=v0.6.4
SHORT_DESCRIPTION:=Data model synchronization C-API
PKG_SOURCE:=libamxs-v0.6.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.6.0
PKG_HASH:=fd1889cdd9cd1cac6816973f490fd66c02d2dcc9887d31cf306e6cf2c38331c0
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.6.0
PKG_SOURCE:=libamxs-v0.6.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.6.4
PKG_HASH:=f5a296b30c2b27ef2d05d3f05465e5f9c4549f6fcbfd194bfd264face6c6282d
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.6.4
PKG_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:=libamxt
PKG_VERSION:=v0.2.28
PKG_VERSION:=v1.0.0
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxt-v0.2.28.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/archive/v0.2.28
PKG_HASH:=bbdba7ff699a339a91648f41037aa130a328c20489e28be3e9aeb3532a751b43
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v0.2.28
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_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

58
libs/libamxtui/Makefile Normal file
View File

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

View File

@@ -0,0 +1,20 @@
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,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.9.7
PKG_VERSION:=v3.12.0
SHORT_DESCRIPTION:=PCB backend implementation for amxb
PKG_SOURCE:=amxb_pcb-v3.9.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.9.7
PKG_HASH:=719d379485c2a228c1b5a318da1657a6f9f793de68340943bc4508b324f4f239
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.9.7
PKG_SOURCE:=amxb_pcb-v3.12.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.12.0
PKG_HASH:=b548b01b599111650021d14b81a4ab6d854426bc75a4d23674e48de0c94499d8
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.12.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -39,15 +39,15 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(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))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
endef
define Package/$(PKG_NAME)/install
@@ -60,4 +60,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

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

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-ubus
PKG_VERSION:=v3.3.2
PKG_VERSION:=v3.4.0
SHORT_DESCRIPTION:=Ubus Backend
PKG_SOURCE:=amxb_ubus-v3.3.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.3.2
PKG_HASH:=ae6a43b05af2aa2660d91b9636100821c56e3927f52eb985e7b42f1dc21b720e
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.3.2
PKG_SOURCE:=amxb_ubus-v3.4.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.4.0
PKG_HASH:=0efd490118038c3e86f47b0f579af1fab73b939725f0abd0ae8084a0191e078b
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.4.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -34,15 +34,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)
$(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_LIB_AMXB_UBUS_ORDER=$(CONFIG_SAH_LIB_AMXB_UBUS_ORDER))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_LIB_AMXB_UBUS_ORDER=$(CONFIG_SAH_LIB_AMXB_UBUS_ORDER))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_LIB_AMXB_UBUS_ORDER=$(CONFIG_SAH_LIB_AMXB_UBUS_ORDER))
endef
define Package/$(PKG_NAME)/install
@@ -55,4 +55,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

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

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-ba-cli
PKG_VERSION:=v0.11.2
PKG_VERSION:=v0.13.0
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
PKG_SOURCE:=mod-ba-cli-v0.11.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.11.2
PKG_HASH:=f9ba129a8a04c919b37c46f2c5aa79d764ebeee453379b80a808af231f71bc96
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.11.2
PKG_SOURCE:=mod-ba-cli-v0.13.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.13.0
PKG_HASH:=0f204f48506c0556fed7676d4cb23c84ba088f7fc328c80d8563b7c93f713d7e
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.13.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -29,6 +29,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxd
DEPENDS += +libamxb
DEPENDS += +libamxa
DEPENDS += +libamxo
DEPENDS += +amx-cli
MENU:=1
endef
@@ -38,15 +39,15 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_RBUS_CLI))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-lua-amx
PKG_VERSION:=v0.1.10
PKG_VERSION:=v0.1.11
SHORT_DESCRIPTION:=Ambiorix LUA extension
PKG_SOURCE:=mod-lua-amx-v0.1.10.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/mod-lua-amx/-/archive/v0.1.10
PKG_HASH:=f830b23cb966b8a1a538ef54f85cc0e445ca5cb8b122c28852e41c37188386b1
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-lua-amx-v0.1.10
PKG_SOURCE:=mod-lua-amx-v0.1.11.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/mod-lua-amx/-/archive/v0.1.11
PKG_HASH:=83da54d51f4be76c121d89a48863ec0c5df90c194fc30c6db089836b97896d7d
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-lua-amx-v0.1.11
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:=lua-amx
PKG_VERSION:=v0.5.0
PKG_VERSION:=v0.5.5
SHORT_DESCRIPTION:=LUA AMX Bindings
PKG_SOURCE:=lua-amx-v0.5.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/bindings/lua/lua-amx/-/archive/v0.5.0
PKG_HASH:=8873b9474ebbe20fd3b4d78eb03c192910780b20c89f9d484a80d1785769b7f0
PKG_BUILD_DIR:=$(BUILD_DIR)/lua-amx-v0.5.0
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_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE