Both util/clixon_util_stream.c and lib/src/clixon_stream.c depend on
libcurl. The latter has `#ifdef CLIXON_PUBLISH_STREAMS` but the former
does not. So `make util` fails without `--enable-publish` if libcurl
is not installed.
To preserve the original behavior (libcurl is an implicit dependency),
this patch adds a `--without-libcurl` option to indicate this default.
The check for libcurl and curl/curl.h is factored out as a separate
check before checking for `--enable-publish`. If the two build options
are in conflict we exit with a clear error code.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This patch replaces the hard-coded `-I /usr/include/libxml2` used when
building clixon_util_regexp with the output from `xml2-config --cflags`.
To support cross-compiling, and preserve backwards compatibility with
the `--with-libxml2` option, we allow the user to pass the path to the
xml2-config tool as an optional argument. Similar to what python-lxml,
and other packages, that rely on libxml2 do. The argument is optional
to ensure that we default to use the hard-coded path from before.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
* `clixon-test` built in `docker/test`
* Renamed from `clixon-system` built in `docker/main`
* `clixon-example` built in `docker/example`
* Added netconf ssh subsystem
* Renamed from `clixon` built in `docker/base`
* Added ietf-yang-schema-mount@2019-01-14.yang
Added configure option --with-mib-generated-yang-dir=DIR with
default value /usr/share/mibyang where generated YANGs from MIBs
should be placed so that SNMP tests know where to find the YANGs.
Integrated netsnmp agent and clixon event handling, made a workaround of fdset:s
used in the netsnmp API with sockets used in Clixon
Added a hardcoded MIB OID handler as subagent
Added libnetsnmpagent to autotools dependency check
New OE_SNMP error code
Check data paths for .., ~ and soft links
Changed semantics of `CLICON_HTTP_DATA_PATH` and `_ROOT`
Change URI catch-all to 404 instead of 400
Fixed some memory leaks