Commit graph

210 commits

Author SHA1 Message Date
Olof hagsand
f64c9016a1 6.6.0.PRE 2023-12-06 13:45:52 +01:00
Olof hagsand
d85f7c0032 Clixon 6.5.0 2023-12-05 16:10:23 +01:00
Olof hagsand
a3a7624a11 CI: adjusted to removed utils
Autoconf: updated config-aux
2023-12-02 17:28:05 +01:00
Olof hagsand
80a10b694c All clixon test utilities in util/ moved to separate repo: clicon/clixon-util 2023-12-02 17:11:16 +01:00
Olof hagsand
81b4fdb274 Added SSHD_BIN in configure.ac 2023-11-28 17:02:13 +01:00
Philip Prindeville
b9ed302de1 Remove hardcoded paths to commands, configs, etc. in source 2023-11-28 16:42:33 +01:00
Philip Prindeville
30fbb82fc6 Revert "fix --with-cligen build option"
This reverts commit ea14b4fa24.
2023-11-05 11:38:42 +01:00
Philip Prindeville
878764b6f3 Avoid additional 'eval echo ...' sequences 2023-10-30 11:17:51 +01:00
Philip Prindeville
5919ba6c6a Add autoconf handling of clixon user/group in config files 2023-10-03 23:41:47 +02:00
Olof hagsand
d87ab39a7e Init of 6.5.0.PRE 2023-10-03 15:35:58 -05:00
Olof hagsand
76a071b229 Clixon 6.4.0 2023-09-30 09:58:09 +02:00
Philip Prindeville
3bd440eaaa Fix double expansion of ${datadir} 2023-08-19 09:55:59 +02:00
Olof hagsand
27b77b14bc Clixon 6.4.0.PRE 2023-08-01 10:49:55 +02:00
Olof hagsand
dcdb9939d6 Clixon 6.3.0 2023-07-29 14:26:47 +02:00
Renato Botelho do Couto
8caaef639e autoreconf: Regenerate after changing configure.ac 2023-07-06 19:55:23 +02:00
Renato Botelho do Couto
f2b8a8045f autoreconf: Regenerate after changing configure.ac 2023-07-06 13:21:37 +00:00
Olof hagsand
fab8d35dff Output pipe function detection in configure.ac 2023-07-05 15:49:30 +02:00
Olof hagsand
ca697c9a36 Removed extras/ and build-root/ code since they are not properly maintained 2023-06-29 15:00:59 +02:00
Olof hagsand
4b49953461 Bumped to 6.3.0.PRE 2023-05-03 13:53:42 +02:00
Olof hagsand
130c1b086f Clixon 6.2.0 2023-04-30 20:55:09 +02:00
Olof hagsand
5d1c6b5759 Preparations for 6.2.0
Openssl 3.0 and autoconf 2.71
2023-04-29 16:23:54 +02:00
Olof hagsand
411a67f9d6 Start of 6.2.0.PRE development.
Removed autoconf requirement to have libcurl
2023-02-20 09:40:12 +01:00
Olof hagsand
72a4494b69 Clixon 6.1
Reviewed documentation, changelog, etc
2023-02-19 11:35:37 +01:00
Olof hagsand
585e725aec Yang schema mount: replaced config --enable-yang-schame-mount with runtime option CLICON_YANG_SCHEMA_MOUNT
Added config and validation-level as parameters to ca_yang_mount
2023-02-17 16:39:39 +01:00
Joachim Wiberg
1283270504 configure.ac: fix string comparison operator, == vs =
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2023-02-09 15:53:52 +01:00
Joachim Wiberg
9cd764f031 example/main: replace hard-coded path with variables from configure
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2023-02-09 15:53:52 +01:00
Joachim Wiberg
e84d43c8e3 configure.ac: add proper check for libcurl + curl/curl.h
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>
2023-02-09 15:53:52 +01:00
Joachim Wiberg
a7693c8856 configure.ac: find include path to libxml2 using xml2-config tool
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>
2023-02-09 15:51:33 +01:00
Olof hagsand
91034e5361 YANG schema mount, added configure option --enable-yang-schema-mount 2023-01-30 11:49:11 +01:00
Olof Hagsand
61e2f014be * Changed docker builds
* `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
2022-12-11 13:57:27 +01:00
Olof Hagsand
6baa904039 Added CLIXON_CLIENT_SSH to client API to communicate remotely via SSH netconf sub-system
configure: stringified SSH_BIN
C-API: Added `sock_flags` parameter to `clixon_proc_socket()`
2022-12-08 15:13:05 +01:00
Olof hagsand
100f15b699 Add SSH_BIN compile-time option
Clarify documentation of internal netconf message struct
2022-12-07 12:15:08 +01:00
Olof hagsand
7b8f472b25 Clixon 6.1.0.PRE 2022-12-03 18:45:01 +01:00
Olof hagsand
083bb72d2b Clixon 6.0.0 2022-11-29 17:04:26 +01:00
Olof hagsand
d84c529ff1 [Code formatting: Change indentation style to space](https://github.com/clicon/clixon/issues/379)
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
f0def17b85 New pre version: 6.0.0.PRE 2022-09-26 12:37:52 +02:00
Olof hagsand
33297925cb Clixon 5.9.0 autoconf 2022-09-24 17:06:48 +02:00
Olof hagsand
a3b94f4781 Beginning 5.9.0.PRE 2022-07-29 08:56:14 +02:00
Olof hagsand
6f5149cc32 Clixon 5.8.0 release 2022-07-28 19:15:00 +02:00
Olof hagsand
c366962054 SNMP frontend: changed default mibyang dir to /share/mib-yangs to be same as repo
Test: new prel test_snmp_ifmib.sh
2022-06-26 11:28:42 +02:00
Olof hagsand
f112580546 SNMP MIB->YANG translation file handling.
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.
2022-06-26 11:28:42 +02:00
Olof hagsand
e32cb81b49 Clixon SNMP frontend update
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
2022-06-26 11:26:04 +02:00
Olof hagsand
d72aa58f90 Initial Net-snmp frontend commit
Added apps/snmp with makefiles, autotools, docker adjustment
Minimal snmp_main program
2022-06-26 11:26:04 +02:00
Olof hagsand
5740d37737 Clixon 5.8.0.pre 2022-05-30 12:30:37 +02:00
Olof hagsand
0adeae64df Clixon 5.7.0 2022-05-16 19:44:32 +02:00
Olof hagsand
aaf8dee44f * autotools: removed warning of HAVE_HTTP1 by adding doc-string
* NETCONF 1.1 capability: removed extra, redundant conditional
2022-04-03 12:43:54 +02:00
Olof hagsand
9a88cb5f0d * Bumped version to 5.7.0_PRE
* Fixed: SEGV in cli show yang
2022-03-14 12:13:45 +01:00
Olof hagsand
60e6477be2 Clixon 5.6.0 Release 2022-03-08 10:40:34 +01:00
Olof hagsand
4aa74fa1d8 * Restconf native http/1, first working version
* Renamed files clixon_http -> restconf_http
  * Split main file into restconf_native.c
  * Remove all evhtp code and libevhtp/libevent dependency
2022-02-08 18:59:47 +01:00
Olof hagsand
dadf4a778a * HTTP/1 native parser as part of the RESTCONF client
* Fixed memory error in opendir/readdir in clicon_file_dirent
* Remove MAXPATH in parsers
* New string-del function
2022-02-08 16:59:08 +01:00