From 5af025436760ced5fccbdc979ee5875fa3d53a1b Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Mon, 23 May 2022 15:20:23 -0700 Subject: [PATCH 1/2] New package: ruby-webrick-1.7.0 --- srcpkgs/ruby-webrick/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/ruby-webrick/template diff --git a/srcpkgs/ruby-webrick/template b/srcpkgs/ruby-webrick/template new file mode 100644 index 000000000000..f84388454b06 --- /dev/null +++ b/srcpkgs/ruby-webrick/template @@ -0,0 +1,18 @@ +# Template file for 'ruby-webrick' +pkgname=ruby-webrick +version=1.7.0 +revision=1 +build_style=gem +short_desc="Ruby HTTP server toolkit" +maintainer="Benjamin Lee " +license="BSD-2-Clause" +homepage="https://github.com/ruby/webrick" +checksum=87e9b8e39947b7925338a5eb55427b11ce1f2b25a3645770ec9f39d8ebdb8cb4 + +do_check() { + rake test +} + +post_install() { + vlicense LICENSE.txt +} From 9c8f1fcdf6c0437540cfcb603bffe957b6f4cb02 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Wed, 19 May 2021 18:16:50 -0700 Subject: [PATCH 2/2] New package: rset-2.4 --- .../use-inetutils-hostname-in-test.patch | 19 +++++++++++++++++++ srcpkgs/rset/template | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 srcpkgs/rset/patches/use-inetutils-hostname-in-test.patch create mode 100644 srcpkgs/rset/template diff --git a/srcpkgs/rset/patches/use-inetutils-hostname-in-test.patch b/srcpkgs/rset/patches/use-inetutils-hostname-in-test.patch new file mode 100644 index 000000000000..614bd1755138 --- /dev/null +++ b/srcpkgs/rset/patches/use-inetutils-hostname-in-test.patch @@ -0,0 +1,19 @@ +diff --git a/tests/input/local_exec_out_01.pln b/tests/input/local_exec_out_01.pln +index 6abff11..31e034a 100644 +--- a/tests/input/local_exec_out_01.pln ++++ b/tests/input/local_exec_out_01.pln +@@ -1,12 +1,12 @@ + one: + { +- echo "LOCAL_HOSTNAME=$(hostname -s)" ++ echo "LOCAL_HOSTNAME=$(inetutils-hostname -s)" + } + echo "$LOCAL_HOSTNAME" + + two: + { +- printf "LOCAL_HOSTNAME=$(hostname -s)" ++ printf "LOCAL_HOSTNAME=$(inetutils-hostname -s)" + } + echo "$LOCAL_HOSTNAME" + diff --git a/srcpkgs/rset/template b/srcpkgs/rset/template new file mode 100644 index 000000000000..24d2d07415bd --- /dev/null +++ b/srcpkgs/rset/template @@ -0,0 +1,19 @@ +# Template file for 'rset' +pkgname=rset +version=2.4 +revision=1 +build_style=configure +make_install_args="PREFIX=/usr" +make_check_target=test +hostmakedepends="gcc" +checkdepends="ruby>=2.4 ruby-webrick wget inetutils-hostname" +short_desc="Configure systems using any scripting language" +maintainer="Benjamin Lee " +license="ISC" +homepage="http://scriptedconfiguration.org/" +distfiles="https://github.com/eradman/rset/archive/refs/tags/${version}.tar.gz" +checksum=276f9c53c024aa004939e494aac5b5e88215e88fc96cad66dde5cbe258339efb + +post_install() { + vlicense LICENSE +}