From: Francis Dupont Date: Wed, 6 Jan 2021 13:31:02 +0000 (+0100) Subject: [#1636] Ported 1263/1619 fixes X-Git-Tag: Kea-1.9.4~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be45b740bfe81ff3ff3eff8c2b7a1c7147a9e1bf;p=thirdparty%2Fkea.git [#1636] Ported 1263/1619 fixes --- diff --git a/configure.ac b/configure.ac index a5883b0a03..428c43cd50 100755 --- a/configure.ac +++ b/configure.ac @@ -178,10 +178,10 @@ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [#include #include ] - [static_assert(!std::is_same< + [static_assert(!std::is_same< std::chrono::system_clock::duration, - std::chrono::steady_clock::duration - >::value, "");])], + std::chrono::steady_clock::duration + >::value, "");])], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no) AC_DEFINE([CHRONO_SAME_DURATION], [1], diff --git a/doc/devel/doc.dox b/doc/devel/doc.dox index ade95e4712..b2a80aa7bb 100644 --- a/doc/devel/doc.dox +++ b/doc/devel/doc.dox @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -36,9 +36,9 @@ unless you alter description of existing commands or add a new one. There are several steps needed to document a new API command: 1. Configure sources with ./configure --enable-generate-docs - 1. Copy doc/sphinx/api/_template.json to appropriate name. + 1. Copy src/shared/api/_template.json to appropriate name. 2. Remove comments from it and fill in the actual content. - 3. Update api_files variable in doc/sphinx/Makefile.am + 3. Update api_files.mk file in src/share/api/Makefile.am 4. make html will generate multi-page html. 5. make singlehtml will generate a single page html. diff --git a/src/bin/admin/.gitignore b/src/bin/admin/.gitignore index d938490cde..1f1c6f7631 100644 --- a/src/bin/admin/.gitignore +++ b/src/bin/admin/.gitignore @@ -1,2 +1 @@ /kea-admin -/kea-admin.8 diff --git a/src/bin/agent/.gitignore b/src/bin/agent/.gitignore index ee386ea737..56d3c6083c 100644 --- a/src/bin/agent/.gitignore +++ b/src/bin/agent/.gitignore @@ -1,3 +1,2 @@ /kea-ctrl-agent -/kea-ctrl-agent.8 /agent_parser.report diff --git a/src/bin/d2/.gitignore b/src/bin/d2/.gitignore index c8d6f90644..514eb9e8d4 100644 --- a/src/bin/d2/.gitignore +++ b/src/bin/d2/.gitignore @@ -1,3 +1,2 @@ /kea-dhcp-ddns -/kea-dhcp-ddns.8 /d2_parser.report diff --git a/src/bin/dhcp4/.gitignore b/src/bin/dhcp4/.gitignore index 770611fd32..5d7552bb3e 100644 --- a/src/bin/dhcp4/.gitignore +++ b/src/bin/dhcp4/.gitignore @@ -1,3 +1,2 @@ /kea-dhcp4 -/kea-dhcp4.8 /dhcp4_parser.report diff --git a/src/bin/dhcp6/.gitignore b/src/bin/dhcp6/.gitignore index 075b3500ef..57ff3a861e 100644 --- a/src/bin/dhcp6/.gitignore +++ b/src/bin/dhcp6/.gitignore @@ -1,3 +1,2 @@ /kea-dhcp6 -/kea-dhcp6.8 /dhcp6_parser.report diff --git a/src/bin/keactrl/.gitignore b/src/bin/keactrl/.gitignore index b9e2f92dca..ec9313b11b 100644 --- a/src/bin/keactrl/.gitignore +++ b/src/bin/keactrl/.gitignore @@ -5,4 +5,3 @@ /kea-ctrl-agent.conf /kea-netconf.conf /keactrl.conf -/keactrl.8 diff --git a/src/bin/lfc/.gitignore b/src/bin/lfc/.gitignore index a64e4394bc..f488c3d6af 100644 --- a/src/bin/lfc/.gitignore +++ b/src/bin/lfc/.gitignore @@ -1,2 +1 @@ /kea-lfc -/kea-lfc.8 diff --git a/src/bin/netconf/.gitignore b/src/bin/netconf/.gitignore index c95ab298fc..2611a2f9cf 100644 --- a/src/bin/netconf/.gitignore +++ b/src/bin/netconf/.gitignore @@ -1,3 +1,2 @@ /kea-netconf -/kea-netconf.8 /netconf_parser.report diff --git a/src/bin/perfdhcp/.gitignore b/src/bin/perfdhcp/.gitignore index bdb5d378bb..1a8375a158 100644 --- a/src/bin/perfdhcp/.gitignore +++ b/src/bin/perfdhcp/.gitignore @@ -1,3 +1 @@ /perfdhcp -/perfdhcp.1 -/perfdhcp.8 diff --git a/src/bin/shell/.gitignore b/src/bin/shell/.gitignore index 126c4f2891..a6d94aaea6 100644 --- a/src/bin/shell/.gitignore +++ b/src/bin/shell/.gitignore @@ -1,3 +1,2 @@ kea-shell -kea-shell.8 *.pyc diff --git a/src/bin/shell/tests/shell_process_tests.sh.in b/src/bin/shell/tests/shell_process_tests.sh.in index cc1955045e..c7106d1ea5 100644 --- a/src/bin/shell/tests/shell_process_tests.sh.in +++ b/src/bin/shell/tests/shell_process_tests.sh.in @@ -119,7 +119,7 @@ shell_command_test() { # Check the exit code if [ "${shell_exit_code}" -ne 0 ]; then echo "ERROR:" \ - "kea-shell returned ${shell_exit_code} exit code, expected 0." + "kea-shell returned ${shell_exit_code} exit code, expected 0." else echo "kea-shell returned ${shell_exit_code} exit code as expected." fi