From 9f9e8b22d5e1de5ee67952d0ce4ebc3aa1a803a5 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 2 Jun 2024 19:35:26 +0200 Subject: [PATCH 1/3] Get rid of autoconf test We stopped using that header file in 0952b37. --- configure.ac | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure.ac b/configure.ac index b2dcaf99..93535e8a 100644 --- a/configure.ac +++ b/configure.ac @@ -85,9 +85,6 @@ semaphore.h \ util.h \ ]) -# Checks for optional header files with prerequisites of other headers. -AC_CHECK_HEADERS([net/if_var.h],[],[],[#include ]) - # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE From 388fa98f639ef91733461de50b06dd57f1ffb099 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:05:20 +0200 Subject: [PATCH 2/3] openfortivpn 1.22.1 --- CHANGELOG.md | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3ba4cc2..1e876cec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ Releases This high level changelog is usually updated when a release is tagged. On the master branch there may be changes that are not (yet) described here. +### 1.22.1 + +* [-] do not advertise we talk compressed HTTP - we don't + ### 1.22.0 * [-] make sure Homebrew packages for macOS are built with --enable-legacy-pppd diff --git a/configure.ac b/configure.ac index 93535e8a..9ab62e88 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([openfortivpn], [1.22.0]) +AC_INIT([openfortivpn], [1.22.1]) AC_CONFIG_SRCDIR([src/main.c]) AM_INIT_AUTOMAKE([foreign subdir-objects]) From 5155b2de2eb4139cc0333f107a6ca4d7312d5b8f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 2 Jun 2024 20:19:56 +0200 Subject: [PATCH 3/3] tests: update checkpatch.pl from Linux kernel --- tests/ci/checkpatch/checkpatch.pl | 6 ++++++ tests/ci/checkpatch/const_structs.checkpatch | 1 + 2 files changed, 7 insertions(+) diff --git a/tests/ci/checkpatch/checkpatch.pl b/tests/ci/checkpatch/checkpatch.pl index 9c4c4a61..2b812210 100644 --- a/tests/ci/checkpatch/checkpatch.pl +++ b/tests/ci/checkpatch/checkpatch.pl @@ -6040,6 +6040,12 @@ sub process { CHK("MACRO_ARG_PRECEDENCE", "Macro argument '$arg' may be better as '($arg)' to avoid precedence issues\n" . "$herectx"); } + +# check if this is an unused argument + if ($define_stmt !~ /\b$arg\b/) { + WARN("MACRO_ARG_UNUSED", + "Argument '$arg' is not used in function-like macro\n" . "$herectx"); + } } # check for macros with flow control, but without ## concatenation diff --git a/tests/ci/checkpatch/const_structs.checkpatch b/tests/ci/checkpatch/const_structs.checkpatch index fa96cfd1..52e5bfb6 100644 --- a/tests/ci/checkpatch/const_structs.checkpatch +++ b/tests/ci/checkpatch/const_structs.checkpatch @@ -39,6 +39,7 @@ kgdb_arch kgdb_io kobj_type kset_uevent_ops +lcd_ops lock_manager_operations machine_desc microcode_ops