Commit graph

13 commits

Author SHA1 Message Date
Daniel Danzberger
ad74bff866 configure: Fix overwriting -ldl with -lcurl
This caused the libbbfdm.so not beining linked against -ldl direclty.
It might not have caused any issues because the linker adds it as
depenency of other libraries like libcurl when resolving symbols.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-01-25 04:23:21 +01:00
Amin Ben Ramdhane
eef08e0770 bbf: remove the call to icwmp shell script 2021-01-04 10:22:12 +01:00
Amin Ben Ramdhane
ae196c5459 SoftwareModules: move it from TR157 to TR181 folder 2020-12-21 20:47:04 +01:00
Amin Ben Ramdhane
b9a12b057b remove tr064 feature and cleanup 2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
5f4659f054 ubus api: remove unused code and use libubus api by default 2020-05-27 08:47:30 +01:00
Daniel Danzberger
17e255c450 Only link SSL libraries when selected by config
This commit fixes '-lssl' and '-lmbedtls' being linked even when they
haven't been selected by --enable-libmbedtls or --enable-libopenssl

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-03-17 12:54:26 +01:00
Amin Ben Ramdhane
a1f7ce98cf Ticket refs #1254: Improvement validation parameters 2020-03-13 16:28:32 +01:00
Daniel Danzberger
9b8a2de146 Add --enable-generic-openwrt configure option
This option allows selecting between a build with IOPSYS WRT features,
like the "router.*" ubus objects and a generic OpenWrt.

When GENERIC_OPENWRT is defined, only features that are available on a
generic openwrt build should be used.

This option is disabled by default.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-03-09 12:53:02 +01:00
Omar Kallel
5b0bc22622 Ticket Refs #1835: TR-181: Device.Security object 2020-03-03 15:30:08 +01:00
Daniel Danzberger
234ab4e70d Add missing library libdl when linking
This fixes undefined reference errors for libdl functions
when linking against -libbbfdm

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Daniel Danzberger
588db7e54f dmubus: fixes and improvements
- use libubus instead of fork and exec ubus program
- move redundant code to static functions
- don't export ubus_ctx. It's only used in dmubus.c
- mark static gobals static
- remove unecessary json to blobmsg conversions/allocations when preparing parameters for ubus_invoke
- fix memleaks on not freeing ubus_ctx from ubus_connect
- fix invoking requests on random stack value id when ubus_lookup_id failed
- don't connect/disconnect on every request
- don't reallocate blob_buf on every request

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Amin Ben Ramdhane
9cca4a5297 Ticket refs #955: TR-157 BulkData object 2019-09-25 16:59:35 +01:00
Amin Ben Ramdhane
cb2dd1e4ac libbbfdm : initial release 2019-08-26 17:02:43 +01:00