From 406008a2ac8b03317623a9967ec2e5fd3dca7650 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 6 Jan 2021 09:34:29 +0200 Subject: gnu: readymedia: Update to 1.3.0. Fixes CVE-2020-28926. * gnu/packages/upnp.scm (readymedia): Update to 1.3.0. [arguments]: Add configure-flag to not record kernel version of build machine. Add phase to remove spurious substitution of ffmpeg libraries. [inputs]: Add zlib. --- gnu/packages/upnp.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm index fed5eb18ed..9106dd1beb 100644 --- a/gnu/packages/upnp.scm +++ b/gnu/packages/upnp.scm @@ -26,6 +26,7 @@ (define-module (gnu packages upnp) #:use-module (gnu packages) #:use-module (gnu packages gettext) #:use-module (gnu packages autotools) + #:use-module (gnu packages compression) #:use-module (gnu packages video) #:use-module (gnu packages photo) #:use-module (gnu packages image) @@ -126,7 +127,7 @@ (define-public libupnp (define-public readymedia (package (name "readymedia") - (version "1.2.1") + (version "1.3.0") (source (origin (method git-fetch) @@ -137,8 +138,17 @@ (define-public readymedia (file-name (git-file-name name version)) (sha256 (base32 - "160915yv38k0p5zmyncs12kkbbcd8m8fk9jq70fkfd5x6dz40xm4")))) + "0g04lffj37wdv5bnpl5faxpnmlj6bbk8y7ziaz2wp6h82g6kb5wj")))) (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--with-os-name=Linux") ; uname -s + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "Makefile.am" + ((".*LIBAVUTIL_LIBS.*") "")) + #t))))) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf) @@ -150,7 +160,8 @@ (define-public readymedia ("flac" ,flac) ("libvorbis" ,libvorbis) ("sqlite" ,sqlite) - ("ffmpeg" ,ffmpeg))) + ("ffmpeg" ,ffmpeg) + ("zlib" ,zlib))) (home-page "https://sourceforge.net/projects/minidlna/") (synopsis "DLNA/UPnP-AV media server") (description "ReadyMedia (formerly known as MiniDLNA) is a simple media -- cgit v1.2.3