Github messages for voidlinux
 help / color / mirror / Atom feed
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: Wed, 25 May 2022 04:15:04 +0200	[thread overview]
Message-ID: <20220525021504.zRk7DR2B5Dx9S2L_Dq4oJNT0nfK8S5dLm6Zs8W_FlLQ@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: 1515 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? 

- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl (cross)
  - [x] armv7l (cross)
  - [x] armv6l-musl (cross)

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: 3965 bytes --]

From 1a53f59d80048a846250df5233096ca438404f47 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

---
 .../patches/dont-package-bins.patch           | 15 ++++++++++++++
 srcpkgs/ruby-webrick/template                 | 20 +++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/ruby-webrick/patches/dont-package-bins.patch
 create mode 100644 srcpkgs/ruby-webrick/template

diff --git a/srcpkgs/ruby-webrick/patches/dont-package-bins.patch b/srcpkgs/ruby-webrick/patches/dont-package-bins.patch
new file mode 100644
index 000000000000..ea153da32327
--- /dev/null
+++ b/srcpkgs/ruby-webrick/patches/dont-package-bins.patch
@@ -0,0 +1,15 @@
+This is waiting to be upstreamed in https://github.com/ruby/webrick/pull/94
+
+diff --git a/webrick.gemspec b/webrick.gemspec
+index e97a963..31423e9 100644
+--- a/webrick.gemspec
++++ b/webrick.gemspec
+@@ -18,8 +18,6 @@ Gem::Specification.new do |s|
+     "LICENSE.txt",
+     "README.md",
+     "Rakefile",
+-    "bin/console",
+-    "bin/setup",
+     "lib/webrick.rb",
+     "lib/webrick/accesslog.rb",
+     "lib/webrick/cgi.rb",
diff --git a/srcpkgs/ruby-webrick/template b/srcpkgs/ruby-webrick/template
new file mode 100644
index 000000000000..3acfdebce862
--- /dev/null
+++ b/srcpkgs/ruby-webrick/template
@@ -0,0 +1,20 @@
+# Template file for 'ruby-webrick'
+pkgname=ruby-webrick
+version=1.7.0
+revision=1
+wrksrc="${pkgname#ruby-}-${version}"
+build_style=gemspec
+short_desc="Ruby HTTP server toolkit"
+maintainer="Benjamin Lee <benjamin@typ3.tech>"
+license="BSD-2-Clause"
+homepage="https://github.com/ruby/webrick"
+distfiles="https://github.com/ruby/webrick/archive/v${version}.tar.gz"
+checksum=25df35c696301deddec8cc929954284fa3dfaa86ad90c0cce2ecc5740c476545
+
+do_check() {
+	rake test
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 20dcbf2ebdb15361aac11e36c342e96e82eda663 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
+}

  parent reply	other threads:[~2022-05-25  2:15 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
2022-05-24 20:08 ` Benjamin-L
2022-05-25  2:15 ` Benjamin-L [this message]
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=20220525021504.zRk7DR2B5Dx9S2L_Dq4oJNT0nfK8S5dLm6Zs8W_FlLQ@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).