From: Benjamin-L <Benjamin-L@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: rset-2.4
Date: Tue, 24 May 2022 22:05:49 +0200 [thread overview]
Message-ID: <20220524200549.88ujQvsS10h9cLno3S6VOEev1mzDDKWXNVgNEKZRFxA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31003@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]
There is an updated pull request by Benjamin-L against master on the void-packages repository
https://github.com/Benjamin-L/void-packages new-package-rset
https://github.com/void-linux/void-packages/pull/31003
New package: rset-2.4
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/31003.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-rset-31003.patch --]
[-- Type: text/x-diff, Size: 2991 bytes --]
From 5af025436760ced5fccbdc979ee5875fa3d53a1b Mon Sep 17 00:00:00 2001
From: Benjamin Lee <benjamin@typ3.tech>
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 <benjamin@typ3.tech>"
+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 <benjamin@typ3.tech>
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 <benjamin@typ3.tech>"
+license="ISC"
+homepage="http://scriptedconfiguration.org/"
+distfiles="https://github.com/eradman/rset/archive/refs/tags/${version}.tar.gz"
+checksum=276f9c53c024aa004939e494aac5b5e88215e88fc96cad66dde5cbe258339efb
+
+post_install() {
+ vlicense LICENSE
+}
next prev parent reply other threads:[~2022-05-24 20:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 1:20 [PR PATCH] New package: rset-2.1 Benjamin-L
2021-05-21 1:40 ` [PR PATCH] [Updated] " Benjamin-L
2021-05-21 1:40 ` Benjamin-L
2021-05-21 5:46 ` Benjamin-L
2021-05-22 8:23 ` Benjamin-L
2021-05-22 8:29 ` [PR PATCH] [Updated] " Benjamin-L
2021-05-22 16:02 ` [PR REVIEW] " eradman
2021-05-22 19:27 ` [PR PATCH] [Updated] " Benjamin-L
2021-05-22 19:27 ` [PR REVIEW] " Benjamin-L
2021-05-29 4:41 ` Benjamin-L
2022-05-20 2:12 ` github-actions
2022-05-23 22:02 ` Benjamin-L
2022-05-23 22:17 ` [PR PATCH] [Updated] New package: rset-2.4 Benjamin-L
2022-05-24 4:32 ` Benjamin-L
2022-05-24 20:05 ` Benjamin-L [this message]
2022-05-24 20:08 ` Benjamin-L
2022-05-25 2:15 ` [PR PATCH] [Updated] " Benjamin-L
2022-08-24 2:14 ` github-actions
2022-09-07 2:15 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220524200549.88ujQvsS10h9cLno3S6VOEev1mzDDKWXNVgNEKZRFxA@z \
--to=benjamin-l@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).