From db41ed9b30439280ea7c0f6213e2b27630c98723 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 27 Feb 2024 16:05:33 +0100 Subject: [PATCH] rset: update to 3.0. --- srcpkgs/rset/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/rset/template b/srcpkgs/rset/template index 760f3c0e748..88525fe2e47 100644 --- a/srcpkgs/rset/template +++ b/srcpkgs/rset/template @@ -1,12 +1,10 @@ # Template file for 'rset' pkgname=rset -version=2.9 +version=3.0 revision=1 build_style=gnu-makefile make_build_args="-f Makefile.linux" -make_check_args="${make_build_args}" make_install_args="${make_build_args}" -make_check_target="test" checkdepends="ruby ruby-webrick wget" short_desc="Remote Staging Execution Tool" maintainer="Leah Neukirchen " @@ -14,12 +12,17 @@ license="ISC" homepage="https://scriptedconfiguration.org/" changelog="https://github.com/eradman/rset/blob/master/NEWS" distfiles="https://scriptedconfiguration.org/code/rset-${version}.tar.gz" -checksum=23669ddff71fe9ef53e0517f085489328a1d9fb70648f465f5c18ff08731dec9 +checksum=065b11ebe17f766478f748cc792a554a02fafb2f5d98a07a48e68417b5c5d2d8 post_patch() { - vsed -i -e 's/hostname -s/hostname/' tests/input/local_exec_out_01.pln + vsed -i -e 's/hostname -s/hostname/' tests/input/local_exec.pln + vsed -i -e "s/'r'/O_RDONLY/" tests/cmd_pipe_stdin.c } post_install() { vlicense LICENSE } + +do_check() { + make -C tests -f Makefile.linux LD=${CC} +}