]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
mpd: disable https peer/host verification
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 30 Dec 2024 17:52:36 +0000 (18:52 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 30 Dec 2024 17:52:36 +0000 (18:52 +0100)
if myMPD is serving playlists mpd cannot load this
with enabled verification.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/mpd/mpd.conf
lfs/mpd

index c4aabdf0b4bcfb4c10e5135cce6e6673fba500df..d051e641fe76684244d329e690a1dfc8bfd7f7e8 100644 (file)
@@ -106,6 +106,17 @@ audio_buffer_size  "2048"
 #
 ##########################################################
 
+########## DISABLE HTTPS HOST/PEER VERIFICATION ##########
+#
+# This is needed for myMPD that run a webserver on the
+# localhost to update playlists for webradio streams.
+#
+input {
+    plugin             "curl"
+    verify_host        "no"
+    verify_peer        "no"
+}
+##########################################################
 
 ################### HTTP PROXY ###########################
 #
diff --git a/lfs/mpd b/lfs/mpd
index 4ef453fb176e969fba58230da33cfb679376f452..40b34b910d9377f937fb279b70e592ca59e6d512 100644 (file)
--- a/lfs/mpd
+++ b/lfs/mpd
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/${THISAPP}
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpd
-PAK_VER    = 41
+PAK_VER    = 42
 # SUP_ARCH   = aarch64 x86_64
 
 DEPS       = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr fmt