Received: by mail.netbsd.org (Postfix, from userid 605) id E2B3F84D5E; Wed, 6 Jul 2022 10:04:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 27E4B84D4A for ; Wed, 6 Jul 2022 10:04:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id R70Bl4l6Cs-Z for ; Wed, 6 Jul 2022 10:04:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 800C284CD9 for ; Wed, 6 Jul 2022 10:04:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 79FF4FB1A; Wed, 6 Jul 2022 10:04:46 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_165710188697930" MIME-Version: 1.0 Date: Wed, 6 Jul 2022 10:04:46 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/audio/snapcast To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20220706100446.79FF4FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_165710188697930 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Wed Jul 6 10:04:46 UTC 2022 Modified Files: pkgsrc/audio/snapcast: Makefile distinfo pkgsrc/audio/snapcast/patches: patch-server_etc_snapserver.conf Log Message: snapcast: allow the web interface to be used by setting reasonable default config values for pkgsrc-based installations To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/snapcast/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/snapcast/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_165710188697930 Content-Disposition: inline Content-Length: 3226 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/snapcast/Makefile diff -u pkgsrc/audio/snapcast/Makefile:1.4 pkgsrc/audio/snapcast/Makefile:1.5 --- pkgsrc/audio/snapcast/Makefile:1.4 Wed Jul 6 10:02:13 2022 +++ pkgsrc/audio/snapcast/Makefile Wed Jul 6 10:04:46 2022 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2022/07/06 10:02:13 nia Exp $ +# $NetBSD: Makefile,v 1.5 2022/07/06 10:04:46 nia Exp $ DISTNAME= snapcast-0.26.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_GITHUB:=badaix/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -31,6 +31,7 @@ SUBST_FILES.etc+= server/etc/snapserver. SUBST_FILES.etc+= server/server_settings.hpp SUBST_FILES.etc+= server/snapserver.cpp SUBST_FILES.etc+= server/snapserver.1 +SUBST_VARS.etc+= PREFIX SUBST_VARS.etc+= PKG_SYSCONFDIR SUBST_VARS.etc+= VARBASE Index: pkgsrc/audio/snapcast/distinfo diff -u pkgsrc/audio/snapcast/distinfo:1.1 pkgsrc/audio/snapcast/distinfo:1.2 --- pkgsrc/audio/snapcast/distinfo:1.1 Sun Jul 3 16:09:15 2022 +++ pkgsrc/audio/snapcast/distinfo Wed Jul 6 10:04:46 2022 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2022/07/03 16:09:15 nia Exp $ +$NetBSD: distinfo,v 1.2 2022/07/06 10:04:46 nia Exp $ BLAKE2s (snapcast-0.26.0.tar.gz) = e0ef56ee25d30c8536158949c5e5f85b32a8c410303da939ef844bb3dc300012 SHA512 (snapcast-0.26.0.tar.gz) = fc7885e42a11794e33314544083251ffbb91a0cf160c6d4b854c56f57ffe9f38f75c7594478c9edabfe9076959938cd8de891dd456e66202692de664a75cde71 @@ -11,7 +11,7 @@ SHA1 (patch-client_player_sun__player.hp SHA1 (patch-client_snapclient.cpp) = d682d4c1de438251d1510d40387e9a0b2bcf926f SHA1 (patch-common_utils.hpp) = 8184a65459accd76b55e8e9e95d1911439fb4d8a SHA1 (patch-server_CMakeLists.txt) = 49144e902844bd3308871a625f5da56575904855 -SHA1 (patch-server_etc_snapserver.conf) = a740795aa764ffb5870a4d798518a0464ca3517b +SHA1 (patch-server_etc_snapserver.conf) = f274e31ab54d76ea8ce839f5d2d918c111a80604 SHA1 (patch-server_server__settings.hpp) = 50950a4855ecc336dbec146b86935fa18942dc1d SHA1 (patch-server_snapserver.1) = 3459c6109635d1ad72c1aee92e302088a2317007 SHA1 (patch-server_snapserver.cpp) = 62d5dcbfe369f9095e9b6c695680650f7eb458b6 Index: pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf diff -u pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf:1.1 pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf:1.2 --- pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf:1.1 Sun Jul 3 16:09:15 2022 +++ pkgsrc/audio/snapcast/patches/patch-server_etc_snapserver.conf Wed Jul 6 10:04:46 2022 @@ -1,4 +1,4 @@ -$NetBSD: patch-server_etc_snapserver.conf,v 1.1 2022/07/03 16:09:15 nia Exp $ +$NetBSD: patch-server_etc_snapserver.conf,v 1.2 2022/07/06 10:04:46 nia Exp $ Don't hardcode various paths, allow pkgsrc to substitute them. @@ -22,3 +22,12 @@ Don't hardcode various paths, allow pkgs # - "$HOME/.config/snapserver/" when not running as daemon #datadir = +@@ -65,7 +65,7 @@ + + # serve a website from the doc_root location + # disabled if commented or empty +-doc_root = /usr/share/snapserver/snapweb ++doc_root = @PREFIX@/share/snapserver/snapweb + + # Hostname or IP under which clients can reach this host + # used to serve cached cover art --_----------=_165710188697930--