Hello community,
here is the log from the commit of package minidlna.15204 for
openSUSE:Leap:15.2:Update checked in at 2020-12-04 16:24:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/minidlna.15204 (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.minidlna.15204.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minidlna.15204"
Fri Dec 4 16:24:00 2020 rev:1 rq:852345 version:1.3.0
Changes:
--------
New Changes file:
--- /dev/null 2020-11-18 17:46:03.679371574 +0100
+++
/work/SRC/openSUSE:Leap:15.2:Update/.minidlna.15204.new.5913/minidlna.changes
2020-12-04 16:24:00.568706803 +0100
@@ -0,0 +1,196 @@
+-------------------------------------------------------------------
+Tue Dec 1 11:08:23 CET 2020 - [email protected]
+
+- update to version 1.3.0 (bsc#1179447)
+ - Fixed some build warnings when building with musl.
+ - Use $USER instead of $LOGNAME for the default friendly name.
+ - Fixed build with GCC 10
+ - Fixed some warnings from newer compilers
+ - Disallow negative HTTP chunk lengths. [CVE-2020-28926]
+ - Validate SUBSCRIBE callback URL. [CVE-2020-12695]
+ - Fixed spurious warnings with ogg coverart
+ - Fixed an issue with VLC where browse results would be truncated.
+ - Fixed bookmarks on Samsung Q series
+ - Added DSD file support.
+ - Fixed potential stack smash vulnerability in getsyshwaddr on macOS.
+ - Will now reload the log file on SIGHUP.
+ - Worked around bad SearchCriteria from the Control4 Android app.
+ - Increased max supported network addresses to 8.
+ - Added forced alphasort capability.
+ - Added episode season and number metadata support.
+ - Enabled subtitles by default for unknown DLNA clients, and add
enable_subtitles config option.
+ - Fixed discovery when connected to certain WiFi routers.
+ - Added FreeBSD kqueue support.
+ - Added the ability to set the group to run as.
+- remove upstreamed hunks from minidlna-multiple_definition.patch
+- add zlib-devel to BuildRequires
+
+-------------------------------------------------------------------
+Mon Jun 8 10:51:07 CEST 2020 - [email protected]
+
+- add patch minidlna-multiple_definition.patch to fix
+ multiple definition linker errors with recent gcc
+ (from https://706916.bugs.gentoo.org/attachment.cgi?id=641058)
+
+-------------------------------------------------------------------
+Mon Dec 10 08:45:27 UTC 2018 - [email protected]
+
+- Use pkgconfig(libav*) to refer to ffmpeg
+
+-------------------------------------------------------------------
+Mon Oct 22 12:53:50 UTC 2018 - Ismail Dönmez <[email protected]>
+
+- Fix a typo in spec file
+- Use %license
+
+-------------------------------------------------------------------
+Tue Dec 12 00:58:22 CET 2017 - [email protected]
+
+- update service file: add reload action
+
+-------------------------------------------------------------------
+Mon Dec 11 12:20:30 UTC 2017 - [email protected]
+
+- Cleanup spec file with spec-clener
+
+-------------------------------------------------------------------
+Mon Dec 11 00:09:54 CET 2017 - [email protected]
+
+- reworked specfile based on fedora variant
+- switched to systemd
+- added patch minidlna-vdr.diff to serve vdr files
+
+- update to 1.2.1 release
+ - 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.
+
+- update to 1.2.0 release
+ - Add libavformat > 57 compatibility.
+ - Add TiVo Bonjour discovery support using Avahi for Bolt.
+ - Improve Samsung BD-J5500 support.
+ - Add quirk to fix video playback on Hyundai TVs.
+ - Add non-destructive update rescan support.
+ - Enhance bookmark support to work with Kodi.
+
+- update to 1.1.6 release
+ - Add AllShare and Windows client detection.
+ - Update support for LG2012 TV.
+ - Fix Samsung bookmarking on magic containers.
+ - Fix SQL error when moving captions.
+ - Add wide_links config option.
+ - Fix external subtitles on Samsung Series J.
+ - Add string localization support for magic containers.
+ - Rework NLS init to work with non-en_US locales.
+
+- update to 1.1.5 release
+ - Re-enable Samsung DCM10, which adds video bookmarks and "BasicView"
support.
+ - Allow SSDP M-SEARCH from other subnets.
+ - Fix some nfo file character escaping.
+ - Fix crash with >3 network interfaces.
+ - Support rotation of monochrome JPEGs.
+ - Handle cover art streams that come after the video stream.
+ - Recognize new hard links with inotify.
+ - Work around LG TV ordering bug.
+ - Implement TiVo image PixelShape support.
+ - Support thumbnail rotation.
+ - Use "Album Artist" tag from AAC files.
+ - Add Korean translations.
+ - Fix handling of bad FLAC files.
+
+- update to 1.1.4 release
+ - Add magic container infrastructure.
+ - Add magic containers for 50 recent items for each category.
+ - Fix bad null termination in AAC parsing.
+ - Fix requests for the last byte of a file, which affected MKV playback on
Philips TV's.
+ - Support 64-bit time_t values.
+
+- update to 1.1.3 release
+ - Enhance log level settings.
+ - Fix Samsung browsing when root_container is set.
+ - Add Clang compiling support.
+ - Fix compiling on systems without iconv.
+ - Add merge_media_dirs option, to revert to the old behavior.
+ - Add Asus O!Play client support.
+ - Fix Broken SSDP multicast membership addition.
+ - Fix crash bug with an emtpy filter argument.
+ - Accept SMI subtitles in addition to SRT.
+ - Add BubbleUPnP detection and enable subtitle support.
+ - Allow the user to specify an arbitrary root container.
+ - Add libavcodec > 54 / libav 10 compatibility.
+ - Get embedded cover art from video files with recent libavformat versions.
+ - Disable Samsung DCM10 capability, as it breaks compatibility with new
models.
+ - Add subtitle support for NetFront™ Living Connect middleware-based clients.
+
+- update to 1.1.2 release
+ - Show client status on our basic presentation page.
+ - Add a new force_sort_criteria option, to globally override the
SortCriteria value sent by the client.
+ - Fix a couple resource leaks.
+ - Add configuration include file support.
+ - Support DLNA/UPnP-AV searches issued by clients using the Grilo framework.
+ - Fix some clients playing artwork instead of movie.
+ - Fix bookmarks on Samsung Series E clients.
+ - Add an extra folder level if there are multiple media locations.
+ - Fix some multicast membership issues with changing network settings.
+ - Make max number of children (connections) configurable.
+ - Fix choppy playback with some file types on Panasonic clients by
increasing the max connection limit.
+
+- update to 1.1.1 release
+ - Add network interface monitoring support on Linux.
+ - Don't require a configured network interface to start up.
+ - Fix some minor spec compliance issues.
+
+- update to 1.1.0 release
+ - Add support for other operating systems.
+ - Switch to autoconf from our handcrafted genconfig.sh.
+ - Add configuration option for UUID.
+ - Add configuration option to specify the user to run as.
+ - Add support for limiting a media dir to multiple media types.
+ - Force a rescan if we detect a new or missing media_dir entry.
+ - Fix crash caused by certain TiVo clients.
+ - Fix crash bug on video files with some ffmpeg library versions.
+ - Add support for TiVo MPEG-TS files.
+ - Add some logging and forking tweaks to work better with systemd.
+ - Validate or escape user input to prevent SQL injection.
+ - Add forced sorting support for Panasonic devices.
+
+
+-------------------------------------------------------------------
+Thu Apr 13 05:40:29 UTC 2012 - [email protected]
+
+- update to 1.0.24 release
+
+-------------------------------------------------------------------
+Thu Sep 8 05:40:29 UTC 2011 - [email protected]
+
+- updated to version 1.0.22
+- added rescan action to rcminildna file
+
+ 1.0.22 - Released 24-Aug-2011
+ --------------------------------
+ - Add bookmark support for some Samsung TV's.
+ - Fix a memory leak when certain model Samsung TV's or Roku devices are on
the network.
+ - Fix detection of Samsung Series D models.
+ - Add WAV MIME workaround for Marantz Receivers and Roku SoundBridge.
+ - Fix bitrate displayed on Microsoft PFS devices.
+ - Fix a scanner crash when trying to scan image files with no read access.
+
+ 1.0.21 - Released 18-July-2011
+ --------------------------------
+ - Fix a few issues with new libav/ffmpeg versions.
+ - Fix FF/REW of AVI files on Samsung Series B TV's.
+ - Fix a crash bug when playing music on TiVo.
+ - Add the ability to change the root media container.
+ - Add WAV/RIFF INFO tag parsing support for the most common tags.
+ - Fix a crash bug with clients that request a large number of results.
+
+-------------------------------------------------------------------
+Fri Jul 15 10:07:07 UTC 2011 - [email protected]
+
+- Initial version
+
New:
----
minidlna-1.3.0.tar.gz
minidlna-multiple_definition.patch
minidlna-tmpfiles.conf
minidlna-vdr.diff
minidlna.changes
minidlna.service
minidlna.spec
minidlna_logrotate
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ minidlna.spec ++++++
#
# spec file for package minidlna
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2012 by Lars Vogdt <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: minidlna
Version: 1.3.0
Release: 0
Summary: DLNA compatible server
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other
URL: http://sourceforge.net/projects/minidlna/
Source0:
http://prdownloads.sourceforge.net/minidlna/%{name}-%{version}.tar.gz
# Systemd unit file
Source1: %{name}.service
# tmpfiles configuration for the /run directory
Source2: %{name}-tmpfiles.conf
# logrotate configuration
Source3: minidlna_logrotate
# VDR FIX thanks to Boris from openSuse
Patch0: minidlna-vdr.diff
Patch1: minidlna-multiple_definition.patch
#BuildRequires: cvs
BuildRequires: e2fsprogs-devel
BuildRequires: flac-devel
BuildRequires: libexif-devel
BuildRequires: libid3tag-devel
BuildRequires: libjpeg-devel
BuildRequires: libuuid-devel
BuildRequires: libvorbis-devel
BuildRequires: sqlite-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
Requires: logrotate
Requires: sqlite3
Requires(pre): pwdutils
Provides: ReadyMedia = %{version}
%description
MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
compliant with DLNA/UPnP-AV clients.
%prep
%setup -q
%patch0
%patch1 -p1
%build
#./autogen.sh
# Edit the default config file
sed -i 's/#log_dir=\/var\/log/#log_dir=\/var\/log\/minidlna/' \
%{name}.conf
CFLAGS="%{optflags} -I/usr/include/ffmpeg"
%configure \
--with-db-path=%{_localstatedir}/cache/%{name} \
--with-log-path=%{_localstatedir}/log/%{name} \
--enable-tivo
make %{?_smp_mflags}
%install
%make_install
# install service file
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
# install tmpfiles configuration
install -D -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
#
install -d %{buildroot}%{_sbindir}
ln -s /sbin/service %{buildroot}%{_sbindir}/rc%{name}
# install logrotate file
install -D -m0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
# install cache directory
install -d -m0700 %{buildroot}%{_var}/cache/%{name}
# install log directory
install -d -m0700 %{buildroot}%{_var}/log/%{name}
# install manpages
install -D -m0644 minidlna.conf.5 %{buildroot}/%{_mandir}/man5/minidlna.conf.5
install -D -m0644 minidlnad.8 %{buildroot}/%{_mandir}/man8/minidlnad.8
# install example config
install -D -m0644 minidlna.conf %{buildroot}/%{_sysconfdir}/minidlna.conf
# find language dependent files
%find_lang minidlna
%pre
getent group minidlna >/dev/null || groupadd -r minidlna
getent passwd minidlna >/dev/null || \
useradd -r -g minidlna -d /dev/null -s /sbin/nologin \
-c "minidlna service account" minidlna
%service_add_pre minidlna.service
%preun
%service_del_preun minidlna.service
%post
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
%service_add_post minidlna.service
%postun
%service_del_postun minidlna.service
%files -f minidlna.lang
%license LICENCE* COPYING
%doc NEWS README TODO
%attr(-,minidlna,minidlna) %config(noreplace) %{_sysconfdir}/%{name}.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%{_mandir}/man5/*
%{_mandir}/man8/*
%{_sbindir}/*
%{_tmpfilesdir}/%{name}.conf
%{_unitdir}/%{name}.service
%attr(0700,minidlna,minidlna) %{_var}/cache/%{name}
%attr(0700,minidlna,minidlna) %{_var}/log/%{name}
%changelog
++++++ minidlna-multiple_definition.patch ++++++
--- minidlna-1.2.1/tivo_utils.h 2020/06/08 08:47:55 1.1
+++ minidlna-1.2.1/tivo_utils.h 2020/06/08 08:48:08
@@ -30,7 +30,9 @@
unsigned char isInit; /* True if initialized */
unsigned char i, j; /* State variables */
unsigned char s[256]; /* State variables */
-} sqlite3Prng;
+};
+
+extern struct sqlite3PrngType sqlite3Prng;
char *
decodeString(char *string, int inplace);
--- minidlna-1.2.1/tivo_utils.c 2020/06/08 08:47:38 1.1
+++ minidlna-1.2.1/tivo_utils.c 2020/06/08 08:47:50
@@ -27,6 +27,8 @@
#include <sqlite3.h>
#include "tivo_utils.h"
+struct sqlite3PrngType sqlite3Prng;
+
/* This function based on byRequest */
char *
decodeString(char *string, int inplace)
++++++ minidlna-tmpfiles.conf ++++++
d /run/minidlna 0755 minidlna minidlna -
++++++ minidlna-vdr.diff ++++++
Index: utils.c
===================================================================
--- utils.c.orig 2017-05-17 22:55:17.000000000 +0200
+++ utils.c 2017-06-29 01:34:45.635284163 +0200
@@ -400,6 +400,7 @@ is_video(const char * file)
#ifdef TIVO_SUPPORT
ends_with(file, ".TiVo") ||
#endif
+ ends_with(file, ".vdr") ||
ends_with(file, ".mov") || ends_with(file, ".3gp"));
}
@@ -417,6 +417,7 @@
ends_with(file, ".m4a") || ends_with(file, ".aac") ||
ends_with(file, ".mp4") || ends_with(file, ".m4p") ||
ends_with(file, ".wav") || ends_with(file, ".ogg") ||
+ ends_with(file, ".vdr") ||
ends_with(file, ".pcm") || ends_with(file, ".3gp") ||
ends_with(file, ".dsf") || ends_with(file, ".dff"));
}
++++++ minidlna.service ++++++
[Unit]
Description=MiniDLNA is a DLNA/UPnP-AV server software
After=network-online.target syslog.target local-fs.target
Wants=network-online.target
[Service]
User=minidlna
Group=minidlna
PIDFile=/run/minidlna/minidlna.pid
Type=simple
ExecStart=/usr/sbin/minidlnad -S
ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
++++++ minidlna_logrotate ++++++
/var/log/minidlna/*.log {
compress
dateext
notifempty
missingok
nocreate
copytruncate
maxage 60
rotate 99
size 4M
}
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]