From c01aa8c99b5ab2e8273550cf412e5ff4f1e34da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Wed, 25 Sep 2024 09:00:25 +0000 Subject: [PATCH 1/2] fix: opensuse: add procps package (for pkill) --- bin/admin/packages-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/admin/packages-check.sh b/bin/admin/packages-check.sh index 56b66cc95..cb3658884 100755 --- a/bin/admin/packages-check.sh +++ b/bin/admin/packages-check.sh @@ -112,7 +112,7 @@ elif echo "$DISTRO_LIKE" | grep -q -w rhel; then elif echo "$DISTRO_LIKE" | grep -q -w suse; then wanted_list="perl-common-sense perl-JSON perl-Net-Netmask perl-Net-IP \ perl-Net-DNS perl-DBD-SQLite perl-Term-ReadKey perl-DateTime \ - fortune sudo fping perl perl-base gzip \ + fortune sudo fping perl perl-base gzip procps \ xz sqlite3 binutils acl gpg2 rsync \ perl-JSON-XS inotify-tools lsof curl perl-TermReadLine-Gnu \ perl-libwww-perl perl-Digest perl-IO-Socket-SSL \ From 9319a53d841c1043ef6d1b1beed354a1cea47b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Mon, 14 Oct 2024 12:25:12 +0000 Subject: [PATCH 2/2] release v3.17.00 --- contrib/git/pre-commit | 2 +- doc/CHANGELOG.md | 4 ++++ doc/sphinx/installation/upgrading.rst | 4 ++-- lib/perl/OVH/Bastion.pm | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/contrib/git/pre-commit b/contrib/git/pre-commit index 73ac164ee..561d374d1 100755 --- a/contrib/git/pre-commit +++ b/contrib/git/pre-commit @@ -105,7 +105,7 @@ for f in $(git diff --cached --name-only --diff-filter=ACM $against); do done # check versions and docs -ver=$(grep -E '^our \$VERSION = .[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?.;$' lib/perl/OVH/Bastion.pm | cut -d"'" -f2) +ver=$(grep -Eo '^our \$VERSION = .[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?' lib/perl/OVH/Bastion.pm | cut -d"'" -f2) if ! grep -Eq "^## v$ver - 202./[01][0-9]/.." doc/CHANGELOG.md; then echo echo "ERROR: detected version '$ver', but no matching entry in doc/CHANGELOG.md" diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index f1c787845..09a8a1d08 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,7 @@ +## v3.17.00 - 2024/10/14 +fix: osh.pl: propagate signals to plugins before exiting +fix: opensuse: add procps package (for pkill) + ## v3.16.99-rc3 - 2024/09/25 fix: regression introduced by 932e72e (rc1) for stealth stdout in ssh diff --git a/doc/sphinx/installation/upgrading.rst b/doc/sphinx/installation/upgrading.rst index 06ed9ac1e..fe39a35b1 100644 --- a/doc/sphinx/installation/upgrading.rst +++ b/doc/sphinx/installation/upgrading.rst @@ -27,8 +27,8 @@ See the ``--help`` for a more fine-grained upgrade path if needed. Version-specific upgrade instructions ===================================== -v3.16.99-rc3 - 2024/09/25 -************************* +v3.17.00 - 2024/10/14 +********************* This release drops support for Ubuntu 16.04 and CentOS 7. If you're still using these EOL OS releases (which is obviously discouraged), proper functioning of The Bastion is no longer tested or guaranteed. diff --git a/lib/perl/OVH/Bastion.pm b/lib/perl/OVH/Bastion.pm index fb7467194..7e484cff6 100644 --- a/lib/perl/OVH/Bastion.pm +++ b/lib/perl/OVH/Bastion.pm @@ -5,7 +5,7 @@ use common::sense; use Fcntl; use POSIX qw(strftime); -our $VERSION = '3.16.99-rc3'; +our $VERSION = '3.17.00'; BEGIN { # only used by the handler below