1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
Rosen Penev
f568979648
minidlna: update to 1.3.0
Fixes two CVEs relating to UPnP.

Removed libuuid dependency. It is not used.

Remove clock_gettime hack. It seems to have been fixed.

Removed upstream patches.

Refreshed the other ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 16:14:36 -08:00
Syrone Wong
e8f0944337
minidlna: fix GCC 10 multiple def compilation error
Diffrent file use its own setjmp_buffer, thus
we have two global variables called setjmp_buffer

I am not sure if we should use only one instance of it.

The patch sent upstream uses a similar approach.

https://sourceforge.net/p/minidlna/bugs/327/

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-08-10 16:20:51 -07:00
Jo-Philipp Wich
e0a6b7906a minidlna: restore service triggers
Restore service triggers which got wrongly removed in commit
733aae9584 ("fix issues").

Without triggers, changing settings from LuCI or calling reload_config
from the cli won't have any effect.

Also adjust the uci commit call to only commit the minidlna configuration
when setting a UUID, to avoid committing unrelated user changes in other
config files.

Ref: https://github.com/openwrt/luci/issues/4194
Fixes: 733aae958 ("minidlna: fix issues")
Fixes: 37367bdc8 ("minidlna: create UUID in config if it is empty")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-06-22 10:16:06 +02:00
Rosen Penev
269ec782eb
minidlna: fix build with newer musl
The configure script is totally broken and does not check for
clock_gettime. Define it manually.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-19 23:44:41 -07:00
Rosen Penev
1480fa2b9a
minidlna: remove unneeded }
Was a mistake while rebasing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-05 16:54:13 -08:00
Rosen Penev
733aae9584
minidlna: fix issues
Removed cover resizing patch. It doesn't work right.

Removed SIGHUP reload. While minidlna handles it, it needs work to
function properly.

Removed service_triggers. They don't work for similar reasons as above.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-04 15:12:52 -08:00
Rosen Penev
e9a65f1380
minidlna: update to latest master
Removed inactive maintainer.

Cleaned up Makefile to remove old options.

Switched to PKG_INSTALL for consistency.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license info.

Removed '' from enabled for consistency.

Ran init script through shellcheck. Batched config file writes.

Switched it to use procd. The -S parameter changes it to foreground. It
stands for systemd.

Added a sysctl tweak to get rid of warning.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-23 18:03:14 -08:00
Vision Lsm
5b4c2b12d3
minidlna: Added support RMVB
Signed-off-by: Vision Lsm <vision.lsm.2012@gmail.com>
2020-02-01 13:04:19 +08:00
Alberto Bursi
37367bdc89 minidlna: create UUID in config if it is empty
better solution than using a static UUID by default

keep the default uuid empty then generate and save
a unique UUID on first start of minidlna service.

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
2020-01-11 11:40:37 +01:00
Alberto Bursi
154f5b6806 minidlna: add static uuid in config
minidlna uses UUID to uniquely identify the media server
by default, if the "uuid" option is not specified in
its setting file it will try to autogenerate it by
reading MAC address.

This seems to fail on some devices resulting in random
UUID on reboot, and this causes confusion and issues as
for clients this is a new server and must be added to
the list.
In OpenWrt there are also devices where the system can't
read the true MAC address and it is therefore randomized
on reboot.

So, add a static UUID in the settings file.
Since each mindlna server should have a different UUID,
if the user has more than one OpenWrt device with
minidlna, he should change the UUID of the
additional devices.

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
2019-12-13 11:12:31 +01:00
Rosen Penev
5e4d40adc1
minidlna: Fix URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-30 21:05:47 -08:00
Rosen Penev
bc283e6899 minidlna: Switch to cloning from HTTPS
Goes through firewalls more easily.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-30 18:19:28 -08:00
Daniel Engberg
1334840179 multimedia/minidlna: Update to latest commit
Update minidlna to latest commit
Cherry pick commits from https://github.com/xavery/minidlna

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-03-14 16:27:25 +00:00
Maxim Storchak
6f83fedc21 minidlna: run as an unprivileged user
- run as an unprivileged user by default
- move generated config to /var/run (/tmp/run in fact)
- disable service until it's configured: there is no way to reliably guess
  where files to be shared are located

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2019-03-10 22:48:25 +08:00
Pavel Kubelun
70a7f396ca minidlna: decrease minidlna log verbosity
Some clients do not close connections properly or do not keep
it alive, so each time the connection times out a corresponding
log entry is written into a log. These messages may spam the log
really hard.
This may be an issue if log is placed on internal flash - it may
prematurely wear a flash chip. This also prevents hdd from spinning
down if the log is located on hdd and the dlna capable tv is online.

Set the log level to "error" by default.

MAN:
Set this to change the verbosity of the information that is logged
each  section can use a different level: off, fatal, error, warn,
info, or debug
Example
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
2018-02-17 11:29:45 -05:00
James Christopher Adduono
0b7272f967 minidlna: add allow wide links option
Some users might create a minidlna root with symlinks
to shared locations. While this could potentially create
a vulnerability, the option should be available to allow
users to do this should they choose to.

wide_links=no : (default) no content served + error message
 [timestamp] upnphttp.c:1366: error: Rejecting wide link X

wide_links=yes : content served, no error messages

Signed-off-by: James Christopher Adduono <jc@adduono.com>
2017-10-16 21:18:43 -04:00
Ted Hess
ebbd1a2d88 Merge pull request #4873 from jcadduono/minidlna-update
minidlna: update to version 1.2.1
2017-10-13 06:53:44 -04:00
James Christopher Adduono
fd9eceb27b minidlna: remove panasonic video grouping by directory patch
Unfortunately this is breaking sorting and causes some
issues with starting streams on various non-Panasonic
clients. Tested on 5 different models of 2014-2017
Samsung Smart TVs and BubbleUPnP for Android.
Removing this patch fixes sorting by filename and
clients no longer sometimes fail to load the streams.

Signed-off-by: James Christopher Adduono <jc@adduono.com>
2017-10-04 15:32:27 -04:00
James Christopher Adduono
9ff769feca minidlna: update to version 1.2.1
1.2.1 - Released 24-Aug-2017
--------------------------------
- Added Movian client detection and subtitle support.
- Fixed an issue with discovery on non-Linux systems.
- Fixed Bonjour discovery compatibility with TiVo Bolt.
- Fixed NFO file parsing, and added change monitoring support for them.
- Added a workaround for video thumbnails on some Samsung clients.
- Added DoS protection for event subscriptions.
- Fixed content browsing issues with some Samsung TVs.
- Improved non-destructive update scan support.

Signed-off-by: James Christopher Adduono <jc@adduono.com>
2017-09-24 14:28:49 -04:00
Daniel Engberg
d5fcc972ba multimedia/minidlna: Update to 1.2.0
Update minidlna to 1.2.0
Switch to tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-06-15 08:21:18 +02:00
Daniel Engberg
ea6598282f minidlna: Update to latest upstream (2016-09-29)
Updated to latest commit upstream as the latest tagged version didn't get
a tarball release at all. Includes various fixes and also support for
never versions of ffmpeg.

Also added a sorting patch for Panasonic TVs.
Source: c8245740c3

Various improvements to package Makefile.
Source/Template: c389dcdc02/multimedia/minidlna/Makefile

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-02-05 16:53:52 +01:00
Ian Leonard
ac96784627 minidlna: update to 1.1.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-12-29 12:32:12 -08:00
Ted Hess
437a95666a minidlna: Add path to correct PID file for start-stop-daemon
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-12-20 10:41:21 -05:00
Ian Leonard
af0eb7f740 minidlna: update to 1.1.4
The Philips TV patch was included upstream.
Rename the minidlnad binary to minidlna instead of tweaking automake files.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-10-25 23:31:58 -07:00
Ian Leonard
f5a1d1bba6 Merge branch 'master' into license-updates
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	devel/patch/Makefile
	multimedia/minidlna/Makefile
2014-08-10 01:09:06 -07:00
Knyazkov Dmitry
fed19e8c3c That on tv phillips normally open mkv,it is necessary to apply this patch.Add license info
Signed-off-by: Knyazkov Dmitry <medavedik@gmail.com>
2014-08-04 22:34:04 +04:00
Ian Leonard
572ecf828d minidlna: add licensing information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ted Hess
5fd60ef927 minidlna: remove ffmpeg includes - not needed. Now builds with newer ffmpeg versions
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-30 12:03:23 -04:00
medaved
5d65cd1df5 Update minidlna to 1.1.3 version 2014-07-21 16:10:59 +04:00
medaved
d0c9861bcf Delete Makefile~ 2014-07-21 00:41:12 +04:00
medaved
8d9d950235 Update minidlna to 1.1.3 version 2014-07-15 21:18:22 +04:00
medaved
0daad9cc9c first commit 2014-07-15 21:13:56 +04:00