From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [wip] services fixes - enhancements
Date: Thu, 03 Feb 2022 21:25:41 +0100 [thread overview]
Message-ID: <20220203202541.5Y29nEYfThPnxxDamamULQ1U0P9wh35frBG4ZBn14WE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35384@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages service-fixes
https://github.com/void-linux/void-packages/pull/35384
[wip] services fixes - enhancements
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/35384.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-service-fixes-35384.patch --]
[-- Type: text/x-diff, Size: 5938 bytes --]
From b81bf990c156ca86b0df2f5bb9e429697863b43f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 3 Feb 2022 21:45:31 +0200
Subject: [PATCH 1/4] vault: fix and enhance service, add sample conf file.
---
srcpkgs/vault/files/vault.conf | 6 ++++++
srcpkgs/vault/files/vault/log/run | 1 +
srcpkgs/vault/files/vault/run | 2 +-
srcpkgs/vault/template | 3 ++-
4 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/vault/files/vault.conf
create mode 120000 srcpkgs/vault/files/vault/log/run
diff --git a/srcpkgs/vault/files/vault.conf b/srcpkgs/vault/files/vault.conf
new file mode 100644
index 000000000000..c2a404c6cfcf
--- /dev/null
+++ b/srcpkgs/vault/files/vault.conf
@@ -0,0 +1,6 @@
+# Please configure vault according to the the documentation.
+# The contents below are the bare minimum to allow the service to run.
+
+storage "file" {
+ path = "/mnt/vault/data"
+}
diff --git a/srcpkgs/vault/files/vault/log/run b/srcpkgs/vault/files/vault/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/vault/files/vault/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/vault/files/vault/run b/srcpkgs/vault/files/vault/run
index 840cc2836921..f578ddbbbd39 100644
--- a/srcpkgs/vault/files/vault/run
+++ b/srcpkgs/vault/files/vault/run
@@ -1,3 +1,3 @@
#!/bin/sh
-exec chpst -u _vault vault server -config=/etc/vault/
+exec chpst -u _vault vault server -config=/etc/vault.conf 2>&1
diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 1ba3566e77c7..ff6064bf94c5 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,7 +1,7 @@
# Template file for 'vault'
pkgname=vault
version=1.9.2
-revision=1
+revision=2
build_style=go
go_import_path="github.com/hashicorp/vault"
go_build_tags="release"
@@ -26,4 +26,5 @@ esac
post_install() {
vlicense LICENSE
vsv vault
+ vconf ${FILESDIR}/vault.conf
}
From f68a91d7e4ed394766c9a0e5695c8915a7be29dc Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 3 Feb 2022 22:08:22 +0200
Subject: [PATCH 2/4] spampd: add log service.
---
srcpkgs/spampd/files/spampd/log/run | 1 +
srcpkgs/spampd/files/spampd/run | 2 +-
srcpkgs/spampd/template | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/spampd/files/spampd/log/run
diff --git a/srcpkgs/spampd/files/spampd/log/run b/srcpkgs/spampd/files/spampd/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/spampd/files/spampd/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/spampd/files/spampd/run b/srcpkgs/spampd/files/spampd/run
index 7c19ace4ea96..8db3b3a3f0c4 100755
--- a/srcpkgs/spampd/files/spampd/run
+++ b/srcpkgs/spampd/files/spampd/run
@@ -1,3 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
-exec spampd --nodetach ${OPTS:=--host=127.0.0.1:10025 --relayhost=127.0.0.1:10026 --a --rh --u=_spampd --g=_spampd --maxsize=512}
+exec spampd --nodetach ${OPTS:=--host=127.0.0.1:10025 --relayhost=127.0.0.1:10026 --a --rh --u=_spampd --g=_spampd --maxsize=512} 2>&1
diff --git a/srcpkgs/spampd/template b/srcpkgs/spampd/template
index 4380aae4f8bc..76bd4c99f9d7 100644
--- a/srcpkgs/spampd/template
+++ b/srcpkgs/spampd/template
@@ -1,7 +1,7 @@
# Template file for 'spampd'
pkgname=spampd
version=2.30
-revision=2
+revision=3
build_style=gnu-makefile
hostmakedepends="perl"
depends="perl perl-Net-Server spamassassin"
From 082a429c3a4a7bc3294c86ff759684ce277c56f2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 3 Feb 2022 22:17:54 +0200
Subject: [PATCH 3/4] etcd: add log service.
---
srcpkgs/etcd/files/etcd/log/run | 1 +
srcpkgs/etcd/files/etcd/run | 2 +-
srcpkgs/etcd/template | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/etcd/files/etcd/log/run
diff --git a/srcpkgs/etcd/files/etcd/log/run b/srcpkgs/etcd/files/etcd/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/etcd/files/etcd/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/etcd/files/etcd/run b/srcpkgs/etcd/files/etcd/run
index 4d3f36562993..38100d14923f 100644
--- a/srcpkgs/etcd/files/etcd/run
+++ b/srcpkgs/etcd/files/etcd/run
@@ -4,4 +4,4 @@ export ETCD_DATA_DIR=/var/lib/etcd
export ETCD_NAME=etcd
[ -r conf ] && . ./conf
-exec chpst -u etcd:etcd etcd
+exec chpst -u etcd:etcd etcd 2>&1
diff --git a/srcpkgs/etcd/template b/srcpkgs/etcd/template
index b255d53874f7..fbf8e4c4a5cb 100644
--- a/srcpkgs/etcd/template
+++ b/srcpkgs/etcd/template
@@ -1,7 +1,7 @@
# Template file for 'etcd'
pkgname=etcd
version=3.4.4
-revision=2
+revision=3
build_style=go
go_import_path="github.com/coreos/etcd"
go_package="${go_import_path} ${go_import_path}/etcdctl"
From f7bac14c9bc95611acaeb5151d4d003f1c6daa0e Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 3 Feb 2022 22:24:35 +0200
Subject: [PATCH 4/4] cntlm: add log service.
---
srcpkgs/cntlm/files/cntlm/log/run | 1 +
srcpkgs/cntlm/template | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/cntlm/files/cntlm/log/run
diff --git a/srcpkgs/cntlm/files/cntlm/log/run b/srcpkgs/cntlm/files/cntlm/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/cntlm/files/cntlm/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/cntlm/template b/srcpkgs/cntlm/template
index 50da46505715..351bd94a07ab 100644
--- a/srcpkgs/cntlm/template
+++ b/srcpkgs/cntlm/template
@@ -1,7 +1,7 @@
# Template file for 'cntlm'
pkgname=cntlm
version=0.92.3
-revision=6
+revision=7
build_style=gnu-configure
hostmakedepends="which"
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
next prev parent reply other threads:[~2022-02-03 20:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-03 19:50 [PR PATCH] " mobinmob
2022-02-03 19:56 ` mobinmob
2022-02-03 20:01 ` [PR PATCH] [Updated] " mobinmob
2022-02-03 20:02 ` mobinmob
2022-02-03 20:09 ` [PR PATCH] [Updated] " mobinmob
2022-02-03 20:19 ` mobinmob
2022-02-03 20:25 ` mobinmob [this message]
2022-02-05 9:41 ` mobinmob
2022-02-05 10:04 ` mobinmob
2022-02-05 10:56 ` mobinmob
2022-02-05 11:34 ` mobinmob
2022-02-05 14:05 ` mobinmob
2022-02-05 14:54 ` mobinmob
2022-02-05 20:30 ` [PR PATCH] [Updated] " mobinmob
2022-02-05 20:31 ` mobinmob
2022-05-28 11:28 ` [PR PATCH] [Closed]: " mobinmob
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=20220203202541.5Y29nEYfThPnxxDamamULQ1U0P9wh35frBG4ZBn14WE@z \
--to=mobinmob@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).