]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
mympd: update to 14.0.1
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Feb 2024 10:27:48 +0000 (11:27 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 11 Feb 2024 10:27:48 +0000 (11:27 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/menu/EX-mympd.menu [new file with mode: 0644]
config/rootfiles/common/configroot
config/rootfiles/common/web-user-interface
config/rootfiles/packages/mympd
html/cgi-bin/mympd.cgi [new file with mode: 0644]
lfs/mympd

diff --git a/config/menu/EX-mympd.menu b/config/menu/EX-mympd.menu
new file mode 100644 (file)
index 0000000..b3108d3
--- /dev/null
@@ -0,0 +1,5 @@
+    $subipfire->{'41.mympd'} = {'caption' => myMPD,
+                                 'uri' => '/cgi-bin/mympd.cgi',
+                                 'title' => myMPD,
+                                 'enabled' => 1,
+                                 };
index 7235ce10fa32cfa6d9a3143a8a8dc8a1f1816364..64c88f9330abd217cf243856a28fbbcb6aa20e52 100644 (file)
@@ -120,6 +120,7 @@ var/ipfire/menu.d/70-log.menu
 #var/ipfire/menu.d/EX-apcupsd.menu
 #var/ipfire/menu.d/EX-guardian.menu
 #var/ipfire/menu.d/EX-mpfire.menu
+#var/ipfire/menu.d/EX-mympd.menu
 #var/ipfire/menu.d/EX-samba.menu
 #var/ipfire/menu.d/EX-tor.menu
 #var/ipfire/menu.d/EX-vdr.menu
index f00a3cb37c61a9d5827e20f0a95aca2eaa58f824..882f1397ef653b7a48605ce28d89a48df662f570 100644 (file)
@@ -57,6 +57,7 @@ srv/web/ipfire/cgi-bin/memory.cgi
 srv/web/ipfire/cgi-bin/modem-status.cgi
 srv/web/ipfire/cgi-bin/modem.cgi
 #srv/web/ipfire/cgi-bin/mpfire.cgi
+#srv/web/ipfire/cgi-bin/mympd.cgi
 srv/web/ipfire/cgi-bin/netexternal.cgi
 srv/web/ipfire/cgi-bin/netinternal.cgi
 srv/web/ipfire/cgi-bin/netother.cgi
index bc9912b85aa84991c15de6d38d820d034112b1e7..b0ac2859fcf5b2d00d6fecfcd22a4df814c69b3e 100644 (file)
@@ -1,5 +1,6 @@
 etc/rc.d/init.d/mympd
 usr/bin/mympd
+usr/bin/mympd-config
 usr/bin/mympd-script
 #usr/lib/systemd/system/mympd.service
 #usr/share/doc/mympd
@@ -7,6 +8,7 @@ usr/bin/mympd-script
 #usr/share/doc/mympd/LICENSE.md
 #usr/share/doc/mympd/README.md
 #usr/share/doc/mympd/SECURITY.md
+#usr/share/man/man1/mympd-config.1.gz
 #usr/share/man/man1/mympd-script.1.gz
 #usr/share/man/man1/mympd.1.gz
 var/ipfire/backup/addons/includes/mympd
@@ -16,3 +18,5 @@ var/lib/mympd
 #var/lib/mympd/config/ssl_port
 #var/lib/mympd/state
 #var/lib/mympd/state/music_directory
+srv/web/ipfire/cgi-bin/mympd.cgi
+var/ipfire/menu.d/EX-mympd.menu
diff --git a/html/cgi-bin/mympd.cgi b/html/cgi-bin/mympd.cgi
new file mode 100644 (file)
index 0000000..4b524d2
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/perl
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+print "Status: 302 Moved Temporarily\n";
+print "Location: https://$ENV{SERVER_ADDR}:8800\n\n";
+
+exit (0);
index 9a43ac6b7dcb7bd4303f831ab3ce32099674b9eb..bc0cc4da9bfab42eedb85037d07e041354a1e733 100644 (file)
--- a/lfs/mympd
+++ b/lfs/mympd
@@ -26,7 +26,7 @@ include Config
 
 SUMMARY    = Webfrontend for Music Player Daemon
 
-VER        = 13.0.6
+VER        = 14.0.1
 
 THISAPP    = myMPD-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mympd
-PAK_VER    = 1
+PAK_VER    = 2
 
 # TODO move mpd initskript and config to mpd package to run without mpfire
 DEPS       = mpd libmpdclient mpfire
@@ -49,7 +49,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 2ecd8d42b9398e85fc6c149c9e55f760f2039434039d558ac1914b447858a59676ed9300bc89b2a25757b8d9828dec5934376d4587f6b84026d07adbfd2e4a33
+$(DL_FILE)_BLAKE2 = adc78e430f6afa88e35712119ce7a1545a962204b62f44a895fac17527ee696060f2e71a9313792d7c89d47905e27c4b4b72c3d13471fab27b16421eb2d992a5
 
 install : $(TARGET)