From c84e3a11bfd886f7ba0af3b948aef3728c740c99 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sat, 22 Jun 2024 23:36:15 +0200 Subject: [PATCH] ClusterSSH: update to 4.16 --- srcpkgs/ClusterSSH/patches/15config.diff | 30 ++++++++++++++++++++++++ srcpkgs/ClusterSSH/template | 6 ++--- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/ClusterSSH/patches/15config.diff diff --git a/srcpkgs/ClusterSSH/patches/15config.diff b/srcpkgs/ClusterSSH/patches/15config.diff new file mode 100644 index 00000000000000..95aa12681ace32 --- /dev/null +++ b/srcpkgs/ClusterSSH/patches/15config.diff @@ -0,0 +1,30 @@ +This test fails because it doesn't account for running as root in the CI. + +--- a/t/15config.t ++++ b/t/15config.t +@@ -535,25 +535,6 @@ + chmod( 0755, $ENV{HOME} . '/.csshrc.DISABLED', $ENV{HOME} ); + } + +-note('check failure to write default config is caught'); +-$ENV{HOME} = tempdir( CLEANUP => 1 ); +-mkdir( $ENV{HOME} . '/.clusterssh' ); +-mkdir( $ENV{HOME} . '/.clusterssh/config' ); +-$config = App::ClusterSSH::Config->new(); +-trap { +- $config->load_configs(); +-}; +-is( $trap->leaveby, 'return', 'returned ok' ); +-isa_ok( $config, "App::ClusterSSH::Config" ); +-isa_ok( $config, "App::ClusterSSH::Config" ); +-is( $trap->stdout, q{}, 'Expecting no STDOUT' ); +-is( $trap->stderr, +- q{Unable to write default $HOME/.clusterssh/config: Is a directory} +- . $/ +- . $/, +- 'Expecting no STDERR' +-); +- + note('Checking dump'); + $config = App::ClusterSSH::Config->new( + send_menu_xml_file => $ENV{HOME} . '/.clusterssh/send_menu', ); diff --git a/srcpkgs/ClusterSSH/template b/srcpkgs/ClusterSSH/template index 7e3b2c42b43453..7cb23aeaea58e8 100644 --- a/srcpkgs/ClusterSSH/template +++ b/srcpkgs/ClusterSSH/template @@ -1,7 +1,7 @@ # Template file for 'ClusterSSH' pkgname=ClusterSSH -version=4.14 -revision=3 +version=4.16 +revision=1 build_style=perl-ModuleBuild hostmakedepends="xterm openssh perl-CPAN-Changes perl-Module-Build perl-Try-Tiny perl-Tk @@ -16,7 +16,7 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://github.com/duncs/clusterssh" changelog="https://raw.githubusercontent.com/duncs/clusterssh/master/Changes" distfiles="https://github.com/duncs/clusterssh/archive/v${version}.tar.gz" -checksum=179ac8a7c27ec9674d2aa3f65ebb097b4945646c71f83f52fe2b8b24c21cd629 +checksum=1540f42bd521066ab0a41504258ac1aa4c501c6f713057f8906bb896f3335b9f pre_check() { touch README