Browse Source

- xupnpd: align patch to fix build

master
vanhofen 7 years ago
parent
commit
0da0cf2e9d
  1. 2
      archive-patches/xupnpd-add-configuration-files.diff
  2. 17
      archive-patches/xupnpd-fix-webif-backlinks.diff

2
archive-patches/xupnpd-add-configuration-files.diff

@ -2,7 +2,7 @@ diff --git a/src/xupnpd.lua b/src/xupnpd.lua
index bebb1e1..25e1d9e 100644 index bebb1e1..25e1d9e 100644
--- a/src/xupnpd.lua --- a/src/xupnpd.lua
+++ b/src/xupnpd.lua +++ b/src/xupnpd.lua
@@ -113,4 +113,13 @@ cfg.ui_path='./ui/' @@ -117,4 +117,13 @@ cfg.ui_path='./ui/'
cfg.drive='' -- reload playlists only if drive state=active/idle, example: cfg.drive='/dev/sda' cfg.drive='' -- reload playlists only if drive state=active/idle, example: cfg.drive='/dev/sda'
cfg.profiles='./profiles/' -- device profiles feature cfg.profiles='./profiles/' -- device profiles feature

17
archive-patches/xupnpd-fix-webif-backlinks.diff

@ -2,16 +2,7 @@ diff --git a/src/ui/xupnpd_ui.lua b/src/ui/xupnpd_ui.lua
index 9236780..d19398b 100644 index 9236780..d19398b 100644
--- a/src/ui/xupnpd_ui.lua --- a/src/ui/xupnpd_ui.lua
+++ b/src/ui/xupnpd_ui.lua +++ b/src/ui/xupnpd_ui.lua
@@ -14,7 +14,7 @@ end @@ -24,7 +24,7 @@ function ui_downloads()
function ui_error()
http.send('<h2>Error occurred</h3>')
- http.send('<br/><a class="btn btn-info" href="/ui">Back</a>')
+ http.send('<br/><a class="btn btn-info" href="/ui/">Back</a>')
end
function ui_downloads()
@@ -26,7 +26,7 @@ function ui_downloads()
end end
end end
http.send('</table>') http.send('</table>')
@ -20,7 +11,7 @@ index 9236780..d19398b 100644
end end
function ui_download(name) function ui_download(name)
@@ -87,7 +87,7 @@ function ui_playlists() @@ -85,7 +85,7 @@ function ui_playlists()
http.send('<input type=file name=m3ufile><br /><br />') http.send('<input type=file name=m3ufile><br /><br />')
http.send('<input class="btn btn-primary" type=submit value=Send>') http.send('<input class="btn btn-primary" type=submit value=Send>')
http.send('</form><hr/>') http.send('</form><hr/>')
@ -29,7 +20,7 @@ index 9236780..d19398b 100644
end end
function ui_feeds() function ui_feeds()
@@ -121,7 +121,7 @@ function ui_feeds() @@ -119,7 +119,7 @@ function ui_feeds()
http.send('<br/><input class="btn btn-primary" type=submit value=Add> <a class="btn btn-info" href="/ui/fhelp" target="_blank">Help</a>') http.send('<br/><input class="btn btn-primary" type=submit value=Add> <a class="btn btn-info" href="/ui/fhelp" target="_blank">Help</a>')
http.send('</form><hr/>') http.send('</form><hr/>')
@ -38,7 +29,7 @@ index 9236780..d19398b 100644
end end
function ui_fhelp() function ui_fhelp()
@@ -429,7 +429,7 @@ function ui_status() @@ -427,7 +427,7 @@ function ui_status()
http.send('</table>') http.send('</table>')

Loading…
Cancel
Save