This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via a4f29a53477951513a7621f52c313541e87bf735 (commit) from 761e73230f5e6540e3bdc9d49dfcde158356cfc2 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit a4f29a53477951513a7621f52c313541e87bf735 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sun Feb 11 13:33:39 2024 +0100
transmission: add menuentry to transmission webgui
Signed-off-by: Arne Fitzenreiter arne_f@ipfire.org
-----------------------------------------------------------------------
Summary of changes: config/menu/EX-transmission.menu | 5 +++++ config/rootfiles/common/configroot | 1 + config/rootfiles/common/web-user-interface | 1 + config/rootfiles/packages/transmission | 2 ++ html/cgi-bin/{vdr.cgi => transmission.cgi} | 2 +- lfs/transmission | 2 +- 6 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 config/menu/EX-transmission.menu copy html/cgi-bin/{vdr.cgi => transmission.cgi} (96%)
Difference in files: diff --git a/config/menu/EX-transmission.menu b/config/menu/EX-transmission.menu new file mode 100644 index 000000000..5199f6c99 --- /dev/null +++ b/config/menu/EX-transmission.menu @@ -0,0 +1,5 @@ + $subipfire->{'42.transmission'} = {'caption' => TransmissionBT, + 'uri' => '/cgi-bin/transmission.cgi', + 'title' => TransmissionBT, + 'enabled' => 1, + }; diff --git a/config/rootfiles/common/configroot b/config/rootfiles/common/configroot index 64c88f933..a286a1538 100644 --- a/config/rootfiles/common/configroot +++ b/config/rootfiles/common/configroot @@ -123,6 +123,7 @@ var/ipfire/menu.d/70-log.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-transmission.menu #var/ipfire/menu.d/EX-vdr.menu #var/ipfire/menu.d/EX-wio.menu #var/ipfire/menu.d/EX-wlanap.menu diff --git a/config/rootfiles/common/web-user-interface b/config/rootfiles/common/web-user-interface index 882f1397e..d2ef6ab10 100644 --- a/config/rootfiles/common/web-user-interface +++ b/config/rootfiles/common/web-user-interface @@ -79,6 +79,7 @@ srv/web/ipfire/cgi-bin/system.cgi srv/web/ipfire/cgi-bin/time.cgi #srv/web/ipfire/cgi-bin/tor.cgi srv/web/ipfire/cgi-bin/traffic.cgi +#srv/web/ipfire/cgi-bin/transmission.cgi srv/web/ipfire/cgi-bin/updatexlrator.cgi srv/web/ipfire/cgi-bin/urlfilter.cgi #srv/web/ipfire/cgi-bin/vdr.cgi diff --git a/config/rootfiles/packages/transmission b/config/rootfiles/packages/transmission index 827205a11..66b832e3c 100644 --- a/config/rootfiles/packages/transmission +++ b/config/rootfiles/packages/transmission @@ -17,3 +17,5 @@ usr/share/transmission #usr/share/transmission/public_html/transmission-app.js #usr/share/transmission/public_html/transmission-app.js.LEGAL.txt var/ipfire/backup/addons/includes/transmission +srv/web/ipfire/cgi-bin/transmission.cgi +var/ipfire/menu.d/EX-transmission.menu diff --git a/html/cgi-bin/transmission.cgi b/html/cgi-bin/transmission.cgi new file mode 100644 index 000000000..8fdcc5cd0 --- /dev/null +++ b/html/cgi-bin/transmission.cgi @@ -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: http://$ENV%7BSERVER_ADDR%7D:9091%5Cn%5Cn"; + +exit (0); diff --git a/lfs/transmission b/lfs/transmission index 3b77a85e0..298c2a0e9 100644 --- a/lfs/transmission +++ b/lfs/transmission @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = transmission -PAK_VER = 21 +PAK_VER = 22
DEPS =
hooks/post-receive -- IPFire 2.x development tree