* [PR PATCH] snapcast: add logging
@ 2020-01-30 5:52 voidlinux-github
2020-01-30 5:59 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-30 8:27 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-30 5:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
There is a new pull request by amak79 against master on the void-packages repository
https://github.com/amak79/void-packages snapcast
https://github.com/void-linux/void-packages/pull/18651
snapcast: add logging
This pull request adds service logging to stop snapclient and snapserver from flooding tty1 with connection and stream messages.
A patch file from https://github.com/void-linux/void-packages/pull/18651.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-snapcast-18651.patch --]
[-- Type: text/x-diff, Size: 2301 bytes --]
From 68837e77f906f60f8f30dee4647683b253645c40 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Thu, 30 Jan 2020 16:25:40 +1100
Subject: [PATCH] snapcast: add logging
---
srcpkgs/snapcast/files/snapclient/log/run | 2 ++
srcpkgs/snapcast/files/snapclient/run | 2 +-
srcpkgs/snapcast/files/snapserver/log/run | 2 ++
srcpkgs/snapcast/files/snapserver/run | 2 +-
srcpkgs/snapcast/template | 2 +-
5 files changed, 7 insertions(+), 3 deletions(-)
create mode 100755 srcpkgs/snapcast/files/snapclient/log/run
create mode 100755 srcpkgs/snapcast/files/snapserver/log/run
diff --git a/srcpkgs/snapcast/files/snapclient/log/run b/srcpkgs/snapcast/files/snapclient/log/run
new file mode 100755
index 00000000000..67d63360736
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapclient/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapclient
diff --git a/srcpkgs/snapcast/files/snapclient/run b/srcpkgs/snapcast/files/snapclient/run
index adee7091dca..d39016efd43 100644
--- a/srcpkgs/snapcast/files/snapclient/run
+++ b/srcpkgs/snapcast/files/snapclient/run
@@ -1,3 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
-exec chpst -u _snapclient:audio snapclient ${OPTS}
+exec chpst -u _snapclient:audio snapclient ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/files/snapserver/log/run b/srcpkgs/snapcast/files/snapserver/log/run
new file mode 100755
index 00000000000..13577cf7f05
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapserver/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapserver
diff --git a/srcpkgs/snapcast/files/snapserver/run b/srcpkgs/snapcast/files/snapserver/run
index 5aacae0b70d..638817b1539 100644
--- a/srcpkgs/snapcast/files/snapserver/run
+++ b/srcpkgs/snapcast/files/snapserver/run
@@ -1,3 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
-exec chpst -u _snapserver snapserver ${OPTS}
+exec chpst -u _snapserver snapserver ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template
index c9e8a316a92..c134418ba6d 100644
--- a/srcpkgs/snapcast/template
+++ b/srcpkgs/snapcast/template
@@ -1,7 +1,7 @@
# Template file for 'snapcast'
pkgname=snapcast
version=0.18.1
-revision=1
+revision=2
build_style=cmake
configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)"
hostmakedepends="pkg-config"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] snapcast: add logging
2020-01-30 5:52 [PR PATCH] snapcast: add logging voidlinux-github
@ 2020-01-30 5:59 ` voidlinux-github
2020-01-30 8:27 ` [PR PATCH] [Merged]: " voidlinux-github
1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-30 5:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
There is an updated pull request by amak79 against master on the void-packages repository
https://github.com/amak79/void-packages snapcast
https://github.com/void-linux/void-packages/pull/18651
snapcast: add logging
This pull request adds service logging to stop snapclient and snapserver from flooding tty1 with connection and stream messages.
A patch file from https://github.com/void-linux/void-packages/pull/18651.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-snapcast-18651.patch --]
[-- Type: text/x-diff, Size: 2301 bytes --]
From 152b993332a145ec187a3385c5576d30c2c3c048 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Thu, 30 Jan 2020 16:25:40 +1100
Subject: [PATCH] snapcast: add logging
---
srcpkgs/snapcast/files/snapclient/log/run | 2 ++
srcpkgs/snapcast/files/snapclient/run | 2 +-
srcpkgs/snapcast/files/snapserver/log/run | 2 ++
srcpkgs/snapcast/files/snapserver/run | 2 +-
srcpkgs/snapcast/template | 2 +-
5 files changed, 7 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/snapcast/files/snapclient/log/run
create mode 100644 srcpkgs/snapcast/files/snapserver/log/run
diff --git a/srcpkgs/snapcast/files/snapclient/log/run b/srcpkgs/snapcast/files/snapclient/log/run
new file mode 100644
index 00000000000..67d63360736
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapclient/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapclient
diff --git a/srcpkgs/snapcast/files/snapclient/run b/srcpkgs/snapcast/files/snapclient/run
index adee7091dca..d39016efd43 100644
--- a/srcpkgs/snapcast/files/snapclient/run
+++ b/srcpkgs/snapcast/files/snapclient/run
@@ -1,3 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
-exec chpst -u _snapclient:audio snapclient ${OPTS}
+exec chpst -u _snapclient:audio snapclient ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/files/snapserver/log/run b/srcpkgs/snapcast/files/snapserver/log/run
new file mode 100644
index 00000000000..13577cf7f05
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapserver/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t snapserver
diff --git a/srcpkgs/snapcast/files/snapserver/run b/srcpkgs/snapcast/files/snapserver/run
index 5aacae0b70d..638817b1539 100644
--- a/srcpkgs/snapcast/files/snapserver/run
+++ b/srcpkgs/snapcast/files/snapserver/run
@@ -1,3 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
-exec chpst -u _snapserver snapserver ${OPTS}
+exec chpst -u _snapserver snapserver ${OPTS} 2>&1
diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template
index c9e8a316a92..c134418ba6d 100644
--- a/srcpkgs/snapcast/template
+++ b/srcpkgs/snapcast/template
@@ -1,7 +1,7 @@
# Template file for 'snapcast'
pkgname=snapcast
version=0.18.1
-revision=1
+revision=2
build_style=cmake
configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)"
hostmakedepends="pkg-config"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: snapcast: add logging
2020-01-30 5:52 [PR PATCH] snapcast: add logging voidlinux-github
2020-01-30 5:59 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-30 8:27 ` voidlinux-github
1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2020-01-30 8:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
There's a merged pull request on the void-packages repository
snapcast: add logging
https://github.com/void-linux/void-packages/pull/18651
Description:
This pull request adds service logging to stop snapclient and snapserver from flooding tty1 with connection and stream messages.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-30 8:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 5:52 [PR PATCH] snapcast: add logging voidlinux-github
2020-01-30 5:59 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-30 8:27 ` [PR PATCH] [Merged]: " voidlinux-github
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).